@tomei/finance 0.3.71 → 0.3.73
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/dist/document/document.js +6 -0
- package/dist/document/document.js.map +1 -1
- package/dist/finance-company/finance-company.js +6 -0
- package/dist/finance-company/finance-company.js.map +1 -1
- package/dist/models/document.entity.d.ts +2 -0
- package/dist/models/document.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/document/document.ts +6 -0
- package/src/finance-company/finance-company.ts +6 -0
- package/src/models/document.entity.ts +4 -0
package/package.json
CHANGED
package/src/document/document.ts
CHANGED
|
@@ -151,6 +151,8 @@ export default class Document extends AccountSystemEntity {
|
|
|
151
151
|
this.IssuedById = documentData.IssuedById;
|
|
152
152
|
this.IssuedToId = documentData.IssuedToId;
|
|
153
153
|
this.IssuedToType = documentData.IssuedToType;
|
|
154
|
+
this.RelatedObjectId = documentData.RelatedObjectId;
|
|
155
|
+
this.RelatedObjectType = documentData.RelatedObjectType;
|
|
154
156
|
this.CreatedById = documentData.CreatedById;
|
|
155
157
|
this.CreatedAt = documentData.CreatedAt;
|
|
156
158
|
this.UpdatedById = documentData.UpdatedById;
|
|
@@ -194,6 +196,8 @@ export default class Document extends AccountSystemEntity {
|
|
|
194
196
|
document.IssuedById = documentData.IssuedById;
|
|
195
197
|
document.IssuedToId = documentData.IssuedToId;
|
|
196
198
|
document.IssuedToType = documentData.IssuedToType;
|
|
199
|
+
document.RelatedObjectId = documentData.RelatedObjectId;
|
|
200
|
+
document.RelatedObjectType = documentData.RelatedObjectType;
|
|
197
201
|
document.CreatedById = documentData.CreatedById;
|
|
198
202
|
document.CreatedAt = documentData.CreatedAt;
|
|
199
203
|
document.UpdatedById = documentData.UpdatedById;
|
|
@@ -380,6 +384,8 @@ export default class Document extends AccountSystemEntity {
|
|
|
380
384
|
this.IssuedById = params.IssuedById;
|
|
381
385
|
this.IssuedToId = params.IssuedToId;
|
|
382
386
|
this.IssuedToType = params.IssuedToType;
|
|
387
|
+
this.RelatedObjectId = params.RelatedObjectId;
|
|
388
|
+
this.RelatedObjectType = params.RelatedObjectType;
|
|
383
389
|
this.CreatedById = params.CreatedById;
|
|
384
390
|
this.CreatedAt = params.CreatedAt;
|
|
385
391
|
this.UpdatedById = params.UpdatedById;
|
|
@@ -511,6 +511,8 @@ export default class FinanceCompany extends ObjectBase {
|
|
|
511
511
|
IssuedById: invoice.IssuedById,
|
|
512
512
|
IssuedToId: invoice.IssuedToId,
|
|
513
513
|
IssuedToType: invoice.IssuedToType,
|
|
514
|
+
RelatedObjectId: invoice.RelatedObjectId,
|
|
515
|
+
RelatedObjectYpe: invoice.RelatedObjectType,
|
|
514
516
|
CreatedById: invoice.CreatedById,
|
|
515
517
|
CreatedAt: new Date(),
|
|
516
518
|
UpdatedById: invoice.UpdatedById,
|
|
@@ -723,6 +725,8 @@ export default class FinanceCompany extends ObjectBase {
|
|
|
723
725
|
IssuedById: loginUser.ObjectId,
|
|
724
726
|
IssuedToId: customer.ObjectId,
|
|
725
727
|
IssuedToType: invoice.IssuedToType,
|
|
728
|
+
RelatedObjectId: invoice.RelatedObjectId,
|
|
729
|
+
RelatedObjectYpe: invoice.RelatedObjectType,
|
|
726
730
|
CreatedById: loginUser.ObjectId,
|
|
727
731
|
CreatedAt: new Date(),
|
|
728
732
|
UpdatedById: loginUser.ObjectId,
|
|
@@ -929,6 +933,8 @@ export default class FinanceCompany extends ObjectBase {
|
|
|
929
933
|
IssuedById: loginUser.ObjectId,
|
|
930
934
|
IssuedToId: customer.ObjectId,
|
|
931
935
|
IssuedToType: creditNote.IssuedToType,
|
|
936
|
+
RelatedObjectId: creditNote.RelatedObjectId,
|
|
937
|
+
RelatedObjectYpe: creditNote.RelatedObjectType,
|
|
932
938
|
CreatedById: loginUser.ObjectId,
|
|
933
939
|
CreatedAt: new Date(),
|
|
934
940
|
UpdatedById: loginUser.ObjectId,
|