@tomei/finance 0.6.20 → 0.6.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/finance",
3
- "version": "0.6.20",
3
+ "version": "0.6.21",
4
4
  "description": "NestJS package for finance module",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1072,6 +1072,13 @@ export default class Document extends AccountSystemEntity {
1072
1072
  searchObj.Status = search.Status;
1073
1073
  }
1074
1074
 
1075
+ if (search.RelatedObjectId) {
1076
+ searchObj.RelatedObjectId = search.RelatedObjectId;
1077
+ }
1078
+ if (search.RelatedObjectType) {
1079
+ searchObj.RelatedObjectType = search.RelatedObjectType;
1080
+ }
1081
+
1075
1082
  /*If pagination is requested, update query options*/
1076
1083
  if (page && row) {
1077
1084
  options = {
@@ -8,4 +8,6 @@ export interface IDocumentFindAll {
8
8
  IssuedToId?: string;
9
9
  IssuedToType?: string;
10
10
  Status?: DocumentStatus;
11
+ RelatedObjectId?: string;
12
+ RelatedObjectType?: string;
11
13
  }