@colijnit/transaction 12.1.121 → 12.1.122
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/bundles/colijnit-transaction.umd.js +737 -605
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +286 -284
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +287 -285
- package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -1
- package/esm2015/lib/component/checkout/checkout.component.js +9 -15
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +12 -8
- package/esm2015/lib/component/core/base/transaction-base.component.js +4 -2
- package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +4 -2
- package/esm2015/lib/component/payment/payment.component.js +7 -2
- package/esm2015/lib/component/transaction-button/transaction-button.component.js +2 -1
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +2 -9
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +4 -10
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-base.component.js +44 -5
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-delivery.component.js +1 -28
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-order.component.js +1 -28
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-payment.component.js +24 -4
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.js +16 -59
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.component.js +61 -16
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.module.js +10 -3
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +1 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.component.js +108 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.module.js +29 -0
- package/esm2015/lib/enum/icon.enum.js +3 -1
- package/esm2015/lib/model/icon-svg.js +3 -1
- package/esm2015/lib/service/pending-reason.service.js +3 -3
- package/esm2015/lib/service/relation.service.js +7 -7
- package/esm2015/lib/service/transaction-base.service.js +19 -17
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +407 -274
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.d.ts +2 -2
- package/lib/component/core/base/transaction-base.component.d.ts +2 -1
- package/lib/component/deposit-payment/deposit-payment.component.d.ts +1 -0
- package/lib/component/payment/payment.component.d.ts +2 -1
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +6 -22
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +1 -28
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +0 -11
- package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +0 -10
- package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +12 -2
- package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss +3 -0
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-base.component.d.ts +7 -2
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-delivery.component.d.ts +0 -2
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-order.component.d.ts +0 -2
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-payment.component.d.ts +2 -2
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.d.ts +1 -22
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.component.d.ts +24 -1
- package/lib/component/transaction-header-fields/transaction-header-payment-button/style/_layout.scss +18 -0
- package/lib/component/transaction-header-fields/transaction-header-payment-button/style/_material-definition.scss +9 -0
- package/lib/component/transaction-header-fields/transaction-header-payment-button/style/_theme.scss +13 -0
- package/lib/component/transaction-header-fields/transaction-header-payment-button/style/material.scss +4 -0
- package/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.component.d.ts +28 -0
- package/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +2 -0
- package/lib/service/transaction-base.service.d.ts +2 -1
- package/package.json +2 -2
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
function Version() {
|
|
33
33
|
this.name = "@colijnit/transaction";
|
|
34
34
|
this.description = "Colijn IT transaction package";
|
|
35
|
-
this.symVer = "12.1.
|
|
36
|
-
this.publishDate = "
|
|
35
|
+
this.symVer = "12.1.122";
|
|
36
|
+
this.publishDate = "27-5-2023 09:00:54";
|
|
37
37
|
}
|
|
38
38
|
return Version;
|
|
39
39
|
}());
|
|
@@ -685,6 +685,7 @@
|
|
|
685
685
|
Icon["CartShoppingSolid"] = "cart_shopping_solid";
|
|
686
686
|
Icon["CashRegister"] = "cash_register";
|
|
687
687
|
Icon["CheckDuotone"] = "check_duotone";
|
|
688
|
+
Icon["CreditCardRegular"] = "credit_card_regular";
|
|
688
689
|
Icon["CreditCardSolid"] = "credit_card_solid";
|
|
689
690
|
Icon["DeliveryTruck"] = "delivery_truck";
|
|
690
691
|
Icon["DetailView"] = "detail_view";
|
|
@@ -763,6 +764,7 @@
|
|
|
763
764
|
Icon["TruckMovingSolid"] = "truck_moving_solid";
|
|
764
765
|
Icon["Txt"] = "txt";
|
|
765
766
|
Icon["Unlock"] = "unlock";
|
|
767
|
+
Icon["UserRegular"] = "user_regular";
|
|
766
768
|
Icon["Warehouse"] = "warehouse";
|
|
767
769
|
Icon["XSolid"] = "x_solid";
|
|
768
770
|
})(Icon || (Icon = {}));
|
|
@@ -791,6 +793,7 @@
|
|
|
791
793
|
"cart_shopping_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M96 0C107.5 0 117.4 8.19 119.6 19.51L121.1 32H541.8C562.1 32 578.3 52.25 572.6 72.66L518.6 264.7C514.7 278.5 502.1 288 487.8 288H170.7L179.9 336H488C501.3 336 512 346.7 512 360C512 373.3 501.3 384 488 384H159.1C148.5 384 138.6 375.8 136.4 364.5L76.14 48H24C10.75 48 0 37.25 0 24C0 10.75 10.75 0 24 0H96zM128 464C128 437.5 149.5 416 176 416C202.5 416 224 437.5 224 464C224 490.5 202.5 512 176 512C149.5 512 128 490.5 128 464zM512 464C512 490.5 490.5 512 464 512C437.5 512 416 490.5 416 464C416 437.5 437.5 416 464 416C490.5 416 512 437.5 512 464z\"/></svg>",
|
|
792
794
|
"cash_register": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M35.39,18.12H14.62L10,29.66H40ZM23,19.29H27l.1,1.6H22.87Zm-.13,2h4.32l.12,1.81H22.72Zm-.15,2.3h4.62l.14,2.08h-4.9ZM17.9,19.29H22l-.16,1.6H17.54Zm-.46,2h4.32l-.18,1.81H17Zm-.53,2.3h4.62l-.2,2.08h-4.9Zm-1.16,5.06.55-2.42H27.49l.16,2.42ZM28,19.29H32.1l.36,1.6H28.2Zm.2,2h4.32L33,23.12H28.42Zm.23,2.3h4.62l.48,2.08h-4.9Zm.5,5.06-.24-2.42h5l.55,2.42Z\" fill=\"#484f60\"/><path d=\"M10,29.66v9.23H40V29.66Zm27.69,6.92H12.31V32H37.69Z\" fill=\"#484f60\"/><path d=\"M15.63,11.11v7.58H34.37V11.11Zm17.31,6.15H17.06V12.54H32.94Z\" fill=\"#484f60\"/></svg>",
|
|
793
795
|
"check_duotone": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><defs><style>.fa-secondary{opacity:.4}</style></defs><path class=\"fa-primary\" d=\"M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z\"/></svg>",
|
|
796
|
+
"credit_card_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M512 80c8.8 0 16 7.2 16 16v32H48V96c0-8.8 7.2-16 16-16H512zm16 144V416c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V224H528zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm56 304c-13.3 0-24 10.7-24 24s10.7 24 24 24h48c13.3 0 24-10.7 24-24s-10.7-24-24-24H120zm128 0c-13.3 0-24 10.7-24 24s10.7 24 24 24H360c13.3 0 24-10.7 24-24s-10.7-24-24-24H248z\"/></svg>",
|
|
794
797
|
"credit_card_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M512 32C547.3 32 576 60.65 576 96V128H0V96C0 60.65 28.65 32 64 32H512zM576 416C576 451.3 547.3 480 512 480H64C28.65 480 0 451.3 0 416V224H576V416zM112 352C103.2 352 96 359.2 96 368C96 376.8 103.2 384 112 384H176C184.8 384 192 376.8 192 368C192 359.2 184.8 352 176 352H112zM240 384H368C376.8 384 384 376.8 384 368C384 359.2 376.8 352 368 352H240C231.2 352 224 359.2 224 368C224 376.8 231.2 384 240 384z\"/></svg>",
|
|
795
798
|
"delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
|
|
796
799
|
"detail_view": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><polygon points=\"24.55 16.18 24.55 27.49 2.44 27.49 2.44 5.38 14.69 5.38 15.59 4.48 14.04 2.94 0 2.94 0 29.93 26.99 29.93 26.99 15.88 25.92 14.81 24.55 16.18\" fill=\"#484f60\"/><polygon points=\"30 .4 17.92 .4 22 4.48 12.24 16.23 14.16 18.15 25.92 8.4 30 12.48 30 .4\" fill=\"#484f60\"/></g></g></svg>",
|
|
@@ -869,6 +872,7 @@
|
|
|
869
872
|
"truck_moving_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M64 32C28.7 32 0 60.7 0 96V304v80 16c0 44.2 35.8 80 80 80c26.2 0 49.4-12.6 64-32c14.6 19.4 37.8 32 64 32c44.2 0 80-35.8 80-80c0-5.5-.6-10.8-1.6-16H416h33.6c-1 5.2-1.6 10.5-1.6 16c0 44.2 35.8 80 80 80s80-35.8 80-80c0-5.5-.6-10.8-1.6-16H608c17.7 0 32-14.3 32-32V288 272 261.7c0-9.2-3.2-18.2-9-25.3l-58.8-71.8c-10.6-13-26.5-20.5-43.3-20.5H480V96c0-35.3-28.7-64-64-64H64zM585 256H480V192h48.8c2.4 0 4.7 1.1 6.2 2.9L585 256zM528 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM240 400c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM80 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z\"/></svg>",
|
|
870
873
|
"txt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.68,2.36h-1.9V32h-1.3V26.63h-1.9V25.54h5.1ZM30.4,32,29,29.74,27.55,32H26l2.19-3.34-2-3.07h1.52L29,27.6l1.26-2.06h1.5l-2,3.12L32,32Zm6.86-5.32h-1.9V32H34.07V26.63H32.16V25.54h5.1Z\" fill=\"#484f60\"/></svg>",
|
|
871
874
|
"unlock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M32.65,21.67H17.35c-2.81,0-3.06,2.29-3.06,5.12v8.09c0,2.83.25,5.12,3.06,5.12h15.3c2.81,0,3.06-2.29,3.06-5.12V26.79C35.71,24,35.46,21.67,32.65,21.67ZM20.22,37.49l2.61-6.32a3.82,3.82,0,1,1,4.35,0l2.6,6.32Z\" fill=\"#484f60\"/><path d=\"M35.51,16.64c0-3.6-2-4.07-4.51-4.07h0c-2.49,0-4.51.47-4.51,4.07v3h-2.7v-3C23.79,11.62,27,10,31,10h0c4,0,7.21,1.62,7.21,6.64Z\" fill=\"#484f60\"/></svg>",
|
|
875
|
+
"user_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z\"/></svg>",
|
|
872
876
|
"warehouse": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M6 19H8V21H6V19M12 3L2 8V21H4V13H20V21H22V8L12 3M8 11H4V9H8V11M14 11H10V9H14V11M20 11H16V9H20V11M6 15H8V17H6V15M10 15H12V17H10V15M10 19H12V21H10V19M14 19H16V21H14V19Z\" /></svg>",
|
|
873
877
|
"x_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z\"/></svg>"
|
|
874
878
|
};
|
|
@@ -6186,6 +6190,7 @@
|
|
|
6186
6190
|
this.expanded = true;
|
|
6187
6191
|
this.preview = false;
|
|
6188
6192
|
this.readonly = false;
|
|
6193
|
+
this.relationChange = new i0.EventEmitter();
|
|
6189
6194
|
this.isService = false;
|
|
6190
6195
|
this.lineOperationStatuses = [];
|
|
6191
6196
|
this.transactionLines = [];
|
|
@@ -6518,6 +6523,7 @@
|
|
|
6518
6523
|
preview: [{ type: i0.HostBinding, args: ['class.preview',] }, { type: i0.Input }],
|
|
6519
6524
|
selected: [{ type: i0.HostBinding, args: ['class.is-selected',] }, { type: i0.Input }],
|
|
6520
6525
|
readonly: [{ type: i0.HostBinding, args: ['class.read-only',] }, { type: i0.Input }],
|
|
6526
|
+
relationChange: [{ type: i0.Output }],
|
|
6521
6527
|
isText: [{ type: i0.HostBinding, args: ['class.is-text',] }],
|
|
6522
6528
|
isArticle: [{ type: i0.HostBinding, args: ['class.is-article',] }]
|
|
6523
6529
|
};
|
|
@@ -7296,16 +7302,14 @@
|
|
|
7296
7302
|
this._boFactory = new businessObjectFactory.BusinessObjectFactory();
|
|
7297
7303
|
}
|
|
7298
7304
|
RelationService.prototype.getCustomerFullObject = function (relationNo) {
|
|
7299
|
-
|
|
7300
|
-
return this.
|
|
7301
|
-
|
|
7302
|
-
}).getValue();
|
|
7305
|
+
// return this._selectSingleCacheService.requestCache<CustomerFullObject>(CustomerFullObject, relationNo, () => {
|
|
7306
|
+
return this._adapterService.getCustomerFullObject(relationNo);
|
|
7307
|
+
// }).getValue();
|
|
7303
7308
|
};
|
|
7304
7309
|
RelationService.prototype.getSupplierFullObject = function (relationNo) {
|
|
7305
|
-
|
|
7306
|
-
return this.
|
|
7307
|
-
|
|
7308
|
-
}).getValue();
|
|
7310
|
+
// return this._selectSingleCacheService.requestCache<SupplierFullObject>(SupplierFullObject, relationNo, () => {
|
|
7311
|
+
return this._adapterService.getSupplierFullObject(relationNo);
|
|
7312
|
+
// }).getValue();
|
|
7309
7313
|
};
|
|
7310
7314
|
RelationService.prototype.insertAddress = function (address) {
|
|
7311
7315
|
return this._adapterService.insertAddress(address);
|
|
@@ -7477,6 +7481,7 @@
|
|
|
7477
7481
|
this.applicationUser = false;
|
|
7478
7482
|
this.invoiceAddressSameAsDelivery = true;
|
|
7479
7483
|
this.activeRubric = TransactionTypeCategory.SalesOrderOverview;
|
|
7484
|
+
this.getRelationOnRememberCurrentTransaction = true;
|
|
7480
7485
|
this.currentTransaction = new transactionInfoResponse_bo.TransactionInfoResponse();
|
|
7481
7486
|
this.purchasePortalLine = [];
|
|
7482
7487
|
this.docDeliveryBatch = new docDeliveryBatch_bo.DocDeliveryBatch();
|
|
@@ -7791,6 +7796,32 @@
|
|
|
7791
7796
|
});
|
|
7792
7797
|
});
|
|
7793
7798
|
};
|
|
7799
|
+
TransactionBaseService.prototype.saveTransactionAndCommit = function (response) {
|
|
7800
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7801
|
+
var saveTransactionResponse;
|
|
7802
|
+
return __generator(this, function (_a) {
|
|
7803
|
+
switch (_a.label) {
|
|
7804
|
+
case 0: return [4 /*yield*/, this.saveTransaction(false)];
|
|
7805
|
+
case 1:
|
|
7806
|
+
saveTransactionResponse = _a.sent();
|
|
7807
|
+
if (!(saveTransactionResponse && saveTransactionResponse.isSuccess)) return [3 /*break*/, 4];
|
|
7808
|
+
return [4 /*yield*/, this.commit()];
|
|
7809
|
+
case 2:
|
|
7810
|
+
_a.sent();
|
|
7811
|
+
this.rememberCurrentTransaction(saveTransactionResponse);
|
|
7812
|
+
if (!response) return [3 /*break*/, 4];
|
|
7813
|
+
return [4 /*yield*/, this._handleAfterRememberCurrentTransaction(response)];
|
|
7814
|
+
case 3:
|
|
7815
|
+
_a.sent();
|
|
7816
|
+
_a.label = 4;
|
|
7817
|
+
case 4:
|
|
7818
|
+
// we need to do an extra commit to release the lock
|
|
7819
|
+
// const commitSuccess: boolean = await this.commit();
|
|
7820
|
+
return [2 /*return*/, saveTransactionResponse && saveTransactionResponse.isSuccess /*&& commitSuccess*/];
|
|
7821
|
+
}
|
|
7822
|
+
});
|
|
7823
|
+
});
|
|
7824
|
+
};
|
|
7794
7825
|
TransactionBaseService.prototype.rememberCurrentTransaction = function (value) {
|
|
7795
7826
|
return __awaiter(this, void 0, void 0, function () {
|
|
7796
7827
|
return __generator(this, function (_a) {
|
|
@@ -7802,7 +7833,7 @@
|
|
|
7802
7833
|
this._setAmount();
|
|
7803
7834
|
this._checkHeaderStatus();
|
|
7804
7835
|
this._checkRefTransaction(); // todo: get from the header status
|
|
7805
|
-
if (this.currentTransaction.transactionInfo.relation && this.currentTransaction.transactionInfo.relation.relationId) {
|
|
7836
|
+
if (this.getRelationOnRememberCurrentTransaction && this.currentTransaction.transactionInfo.relation && this.currentTransaction.transactionInfo.relation.relationId) {
|
|
7806
7837
|
this._getRelation(this.currentTransaction.transactionInfo.relation);
|
|
7807
7838
|
}
|
|
7808
7839
|
this.transactionUpdated.next(this.currentTransaction);
|
|
@@ -7894,29 +7925,6 @@
|
|
|
7894
7925
|
this.currentTransaction.transactionInfo.preferredDeliveryDate2 = "=";
|
|
7895
7926
|
}
|
|
7896
7927
|
};
|
|
7897
|
-
TransactionBaseService.prototype._saveTransactionAndCommit = function (response) {
|
|
7898
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7899
|
-
var saveTransactionResponse, commitSuccess;
|
|
7900
|
-
return __generator(this, function (_a) {
|
|
7901
|
-
switch (_a.label) {
|
|
7902
|
-
case 0: return [4 /*yield*/, this.saveTransaction(false)];
|
|
7903
|
-
case 1:
|
|
7904
|
-
saveTransactionResponse = _a.sent();
|
|
7905
|
-
if (!(saveTransactionResponse && saveTransactionResponse.isSuccess)) return [3 /*break*/, 3];
|
|
7906
|
-
this.rememberCurrentTransaction(saveTransactionResponse);
|
|
7907
|
-
if (!response) return [3 /*break*/, 3];
|
|
7908
|
-
return [4 /*yield*/, this._handleAfterRememberCurrentTransaction(response)];
|
|
7909
|
-
case 2:
|
|
7910
|
-
_a.sent();
|
|
7911
|
-
_a.label = 3;
|
|
7912
|
-
case 3: return [4 /*yield*/, this.commit()];
|
|
7913
|
-
case 4:
|
|
7914
|
-
commitSuccess = _a.sent();
|
|
7915
|
-
return [2 /*return*/, saveTransactionResponse && saveTransactionResponse.isSuccess && commitSuccess];
|
|
7916
|
-
}
|
|
7917
|
-
});
|
|
7918
|
-
});
|
|
7919
|
-
};
|
|
7920
7928
|
TransactionBaseService.prototype._isValidTransaction = function () {
|
|
7921
7929
|
return !!(this.currentTransaction && this.currentTransaction.transactionInfo && this.currentTransaction.transactionInfo.id);
|
|
7922
7930
|
};
|
|
@@ -8029,7 +8037,7 @@
|
|
|
8029
8037
|
hasPendingReasons = response.headerOperationStatuses.filter(function (los) { return los.pendingReason !== "NONE"; }).length > 0;
|
|
8030
8038
|
if (!hasPendingReasons) {
|
|
8031
8039
|
if ((this.autoSave && saveTransaction) || overrideSave) {
|
|
8032
|
-
return [2 /*return*/, this.
|
|
8040
|
+
return [2 /*return*/, this.saveTransactionAndCommit(response)];
|
|
8033
8041
|
}
|
|
8034
8042
|
else { // just replace transaction object
|
|
8035
8043
|
this.rememberCurrentTransaction(response);
|
|
@@ -8082,7 +8090,7 @@
|
|
|
8082
8090
|
hasPendingReasons = response.lineOperationStatuses.filter(function (los) { return los.pendingReason !== "NONE"; }).length > 0;
|
|
8083
8091
|
if (!hasPendingReasons) {
|
|
8084
8092
|
if (this.autoSave) {
|
|
8085
|
-
return [2 /*return*/, this.
|
|
8093
|
+
return [2 /*return*/, this.saveTransactionAndCommit(response)];
|
|
8086
8094
|
}
|
|
8087
8095
|
else {
|
|
8088
8096
|
this.rememberCurrentTransaction(response);
|
|
@@ -10263,7 +10271,7 @@
|
|
|
10263
10271
|
};
|
|
10264
10272
|
CheckoutComponent.prototype.handleCreateTransaction = function (event) {
|
|
10265
10273
|
return __awaiter(this, void 0, void 0, function () {
|
|
10266
|
-
var success, _a,
|
|
10274
|
+
var success, _a, saveSuccess;
|
|
10267
10275
|
return __generator(this, function (_b) {
|
|
10268
10276
|
switch (_b.label) {
|
|
10269
10277
|
case 0:
|
|
@@ -10288,18 +10296,13 @@
|
|
|
10288
10296
|
if (!success) {
|
|
10289
10297
|
return [2 /*return*/];
|
|
10290
10298
|
}
|
|
10291
|
-
return [4 /*yield*/, this.service.
|
|
10299
|
+
return [4 /*yield*/, this.service.saveTransactionAndCommit()];
|
|
10292
10300
|
case 6:
|
|
10293
|
-
|
|
10294
|
-
if (
|
|
10295
|
-
return [4 /*yield*/, this.service.commit()];
|
|
10296
|
-
case 7:
|
|
10297
|
-
commitResponse = _b.sent();
|
|
10298
|
-
if (commitResponse) {
|
|
10301
|
+
saveSuccess = _b.sent();
|
|
10302
|
+
if (saveSuccess) {
|
|
10299
10303
|
this.handleTransactionFinished(this.service.currentTransaction.transactionInfo.id);
|
|
10300
10304
|
}
|
|
10301
|
-
|
|
10302
|
-
case 8: return [2 /*return*/];
|
|
10305
|
+
return [2 /*return*/];
|
|
10303
10306
|
}
|
|
10304
10307
|
});
|
|
10305
10308
|
});
|
|
@@ -10326,32 +10329,28 @@
|
|
|
10326
10329
|
};
|
|
10327
10330
|
CheckoutComponent.prototype.handleDeliveryValidation = function () {
|
|
10328
10331
|
return __awaiter(this, void 0, void 0, function () {
|
|
10329
|
-
var valid,
|
|
10332
|
+
var valid, saveSuccess, lockSuccess, _a;
|
|
10330
10333
|
return __generator(this, function (_b) {
|
|
10331
10334
|
switch (_b.label) {
|
|
10332
10335
|
case 0:
|
|
10333
|
-
if (!(this.checkoutDelivery && this.stepDelivery)) return [3 /*break*/,
|
|
10336
|
+
if (!(this.checkoutDelivery && this.stepDelivery)) return [3 /*break*/, 5];
|
|
10334
10337
|
valid = this.checkoutDelivery.submit();
|
|
10335
|
-
if (!valid) return [3 /*break*/,
|
|
10336
|
-
return [4 /*yield*/, this.service.
|
|
10338
|
+
if (!valid) return [3 /*break*/, 4];
|
|
10339
|
+
return [4 /*yield*/, this.service.saveTransactionAndCommit()];
|
|
10337
10340
|
case 1:
|
|
10338
|
-
|
|
10339
|
-
if (!
|
|
10340
|
-
return [4 /*yield*/, this.service.commit()];
|
|
10341
|
-
case 2:
|
|
10342
|
-
commitResponse = _b.sent();
|
|
10343
|
-
if (!commitResponse) return [3 /*break*/, 5];
|
|
10341
|
+
saveSuccess = _b.sent();
|
|
10342
|
+
if (!saveSuccess) return [3 /*break*/, 4];
|
|
10344
10343
|
return [4 /*yield*/, this.service.tryToLockTransaction(this.service.currentTransaction.transactionInfo.id, this.service.currentTransaction.transactionInfo.version)];
|
|
10345
|
-
case
|
|
10344
|
+
case 2:
|
|
10346
10345
|
lockSuccess = _b.sent();
|
|
10347
|
-
if (!lockSuccess) return [3 /*break*/,
|
|
10346
|
+
if (!lockSuccess) return [3 /*break*/, 4];
|
|
10348
10347
|
_a = this.stepDelivery;
|
|
10349
10348
|
return [4 /*yield*/, this.handleSaveDelivery()];
|
|
10350
|
-
case
|
|
10349
|
+
case 3:
|
|
10351
10350
|
_a.completed = _b.sent();
|
|
10352
|
-
_b.label =
|
|
10353
|
-
case
|
|
10354
|
-
case
|
|
10351
|
+
_b.label = 4;
|
|
10352
|
+
case 4: return [2 /*return*/, valid];
|
|
10353
|
+
case 5: return [2 /*return*/];
|
|
10355
10354
|
}
|
|
10356
10355
|
});
|
|
10357
10356
|
});
|
|
@@ -12613,7 +12612,7 @@
|
|
|
12613
12612
|
TransactionButtonComponent.decorators = [
|
|
12614
12613
|
{ type: i0.Component, args: [{
|
|
12615
12614
|
selector: 'co-transaction-button',
|
|
12616
|
-
template: "\n <div class=\"transaction-button-icon-wrapper\" *ngIf=iconData>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"iconData\"></co-icon>\n <div class=\"spacer\"></div>\n </div>\n <div class=\"transaction-button-label-title-wrapper\" [class.title]=\"title\">\n <span class=\"transaction-button-title co-transaction-overflow-ellipsis\" [textContent]=\"title\"></span>\n <span class=\"transaction-button-label co-transaction-overflow-ellipsis\" [textContent]=\"label\"></span>\n </div>\n <div class=\"transaction-button-icon-wrapper right\" *ngIf=rightIconData>\n <div class=\"spacer\"></div>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"rightIconData\"></co-icon>\n </div>\n <co-checkmark-overlay [successful]=\"showCheckMarkLoader\" [visible]=\"checkMarkOverlayVisible\"></co-checkmark-overlay>\n ",
|
|
12615
|
+
template: "\n <div class=\"transaction-button-icon-wrapper\" *ngIf=iconData>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"iconData\"></co-icon>\n <div class=\"spacer\"></div>\n </div>\n <div class=\"transaction-button-label-title-wrapper\" [class.title]=\"title\">\n <span class=\"transaction-button-title co-transaction-overflow-ellipsis\" [textContent]=\"title\"></span>\n <span class=\"transaction-button-label co-transaction-overflow-ellipsis\" [textContent]=\"label\"></span>\n <ng-content></ng-content>\n </div>\n <div class=\"transaction-button-icon-wrapper right\" *ngIf=rightIconData>\n <div class=\"spacer\"></div>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"rightIconData\"></co-icon>\n </div>\n <co-checkmark-overlay [successful]=\"showCheckMarkLoader\" [visible]=\"checkMarkOverlayVisible\"></co-checkmark-overlay>\n ",
|
|
12617
12616
|
encapsulation: i0.ViewEncapsulation.None
|
|
12618
12617
|
},] }
|
|
12619
12618
|
];
|
|
@@ -16566,6 +16565,7 @@
|
|
|
16566
16565
|
this._sharedService = _sharedService;
|
|
16567
16566
|
this._paymentService = _paymentService;
|
|
16568
16567
|
this.icons = Icon;
|
|
16568
|
+
this.updateDepositAmount = false;
|
|
16569
16569
|
this.payed = new i0.EventEmitter();
|
|
16570
16570
|
this.paymentMethodIdx = 0;
|
|
16571
16571
|
this.cashRegisterIdx = 0;
|
|
@@ -16598,12 +16598,24 @@
|
|
|
16598
16598
|
return true;
|
|
16599
16599
|
};
|
|
16600
16600
|
PaymentComponent.prototype.ngOnInit = function () {
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16601
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
16602
|
+
var _this = this;
|
|
16603
|
+
return __generator(this, function (_a) {
|
|
16604
|
+
switch (_a.label) {
|
|
16605
|
+
case 0:
|
|
16606
|
+
if (!this.updateDepositAmount) return [3 /*break*/, 2];
|
|
16607
|
+
return [4 /*yield*/, this._transactionService.updateHeaderTransactionDepositAmount(this.transactionUuid, this.amountToPay, true)];
|
|
16608
|
+
case 1:
|
|
16609
|
+
_a.sent();
|
|
16610
|
+
_a.label = 2;
|
|
16611
|
+
case 2:
|
|
16612
|
+
this._getPaymentMethods().then(function () {
|
|
16613
|
+
_this.showLoader = false;
|
|
16614
|
+
_this._getDepositPaymentInfo();
|
|
16615
|
+
_this._prepareCashRegisters();
|
|
16616
|
+
});
|
|
16617
|
+
return [2 /*return*/];
|
|
16618
|
+
}
|
|
16607
16619
|
});
|
|
16608
16620
|
});
|
|
16609
16621
|
};
|
|
@@ -16817,6 +16829,7 @@
|
|
|
16817
16829
|
transId: [{ type: i0.Input }],
|
|
16818
16830
|
transactionUuid: [{ type: i0.Input }],
|
|
16819
16831
|
branch: [{ type: i0.Input }],
|
|
16832
|
+
updateDepositAmount: [{ type: i0.Input }],
|
|
16820
16833
|
amount: [{ type: i0.Input }],
|
|
16821
16834
|
currencyId: [{ type: i0.Input }],
|
|
16822
16835
|
payed: [{ type: i0.Output }],
|
|
@@ -16953,6 +16966,7 @@
|
|
|
16953
16966
|
var DepositPaymentComponent = /** @class */ (function () {
|
|
16954
16967
|
function DepositPaymentComponent(_paymentService) {
|
|
16955
16968
|
this._paymentService = _paymentService;
|
|
16969
|
+
this.showTitle = true;
|
|
16956
16970
|
this.paymentMethods = [];
|
|
16957
16971
|
this.depositPayments = [];
|
|
16958
16972
|
this.showLoader = true;
|
|
@@ -16991,7 +17005,7 @@
|
|
|
16991
17005
|
DepositPaymentComponent.decorators = [
|
|
16992
17006
|
{ type: i0.Component, args: [{
|
|
16993
17007
|
selector: "co-deposit-payment",
|
|
16994
|
-
template: "\n <div class=\"down-payment-payments-title\" [textContent]=\"'PAYMENTS_MADE' | localize\"></div>\n <div class=\"down-payment-payments-wrapper\">\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <div class=\"down-payment-payments\" *ngFor=\"let payment of depositPayments\">\n <co-payment-tile\n [image]=\"payment.paymentMethod?.image\"\n [description]=\"payment.paymentMethod?.payment.description\"\n ></co-payment-tile>\n <div class=\"deposit-payment-spacer\"></div>\n <div class=\"down-payment-amount-wrapper\">\n <div class=\"down-payment-date\" [textContent]=\"payment.depositPayment?.date | date:'d MMMM yyyy | HH:mm'\"></div>\n <div class=\"down-payment-amount\" [textContent]=\"payment.depositPayment?.depositPaymentAmount | coCurrency\"></div>\n </div>\n </div>\n </div>\n ",
|
|
17008
|
+
template: "\n <div class=\"down-payment-payments-title\" [textContent]=\"'PAYMENTS_MADE' | localize\" *ngIf=\"showTitle\"></div>\n <div class=\"down-payment-payments-wrapper\">\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <div class=\"down-payment-payments\" *ngFor=\"let payment of depositPayments\">\n <co-payment-tile\n [image]=\"payment.paymentMethod?.image\"\n [description]=\"payment.paymentMethod?.payment.description\"\n ></co-payment-tile>\n <div class=\"deposit-payment-spacer\"></div>\n <div class=\"down-payment-amount-wrapper\">\n <div class=\"down-payment-date\" [textContent]=\"payment.depositPayment?.date | date:'d MMMM yyyy | HH:mm'\"></div>\n <div class=\"down-payment-amount\" [textContent]=\"payment.depositPayment?.depositPaymentAmount | coCurrency\"></div>\n </div>\n </div>\n </div>\n ",
|
|
16995
17009
|
encapsulation: i0.ViewEncapsulation.None
|
|
16996
17010
|
},] }
|
|
16997
17011
|
];
|
|
@@ -17000,6 +17014,7 @@
|
|
|
17000
17014
|
]; };
|
|
17001
17015
|
DepositPaymentComponent.propDecorators = {
|
|
17002
17016
|
branch: [{ type: i0.Input }],
|
|
17017
|
+
showTitle: [{ type: i0.Input }],
|
|
17003
17018
|
transactionUuid: [{ type: i0.Input }],
|
|
17004
17019
|
showClass: [{ type: i0.HostBinding, args: ["class.co-deposit-payment",] }]
|
|
17005
17020
|
};
|
|
@@ -17726,7 +17741,7 @@
|
|
|
17726
17741
|
CheckoutOverviewPaymentComponent.decorators = [
|
|
17727
17742
|
{ type: i0.Component, args: [{
|
|
17728
17743
|
selector: "co-checkout-overview-payment",
|
|
17729
|
-
template: "\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'YOUR_DATA' | localize\"></span>\n <div class=\"two-column-grid\">\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'DELIVERY_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"deliveryAddress.displayAddress\"></span>\n <span [textContent]=\"deliveryAddress.displayPostal\"></span>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"invoiceAddress.displayAddress\"></span>\n <span [textContent]=\"invoiceAddress.displayPostal\"></span>\n </div>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'CONTACT_DETAILS' | localize\"></span>\n <span [textContent]=\"relation.primaryEmail\"></span>\n <span [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeYourDataClick.emit()\"></div>\n </div>\n </div>\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'DELIVERY' | localize\"></span>\n <div class=\"overview-address\">\n <div class=\"overview-row\">\n <span [textContent]=\"'EXPECTED_DELIVERY_DATE' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd MMM yyyy'\"></span>\n </div>\n <div class=\"overview-row\">\n <span [textContent]=\"'DELIVERY_METHOD' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryMethod\"></span>\n </div>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeDeliveryClick.emit()\"></div>\n </div>\n </div>\n <co-payment *ngIf=\"showPayment\"\n [transId]=\"transaction.transactionInfo.id\"\n [branch]=\"transaction.transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [amount]=\"transaction.transactionInfo.depositAmount || transaction.transactionTotal.netAmount\"\n [currencyId]=\"transaction.transactionInfo.currencyId\"\n (payed)=\"handlePayed()\"\n ></co-payment>\n ",
|
|
17744
|
+
template: "\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'YOUR_DATA' | localize\"></span>\n <div class=\"two-column-grid\">\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'DELIVERY_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"deliveryAddress.displayAddress\"></span>\n <span [textContent]=\"deliveryAddress.displayPostal\"></span>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"invoiceAddress.displayAddress\"></span>\n <span [textContent]=\"invoiceAddress.displayPostal\"></span>\n </div>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'CONTACT_DETAILS' | localize\"></span>\n <span [textContent]=\"relation.primaryEmail\"></span>\n <span [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeYourDataClick.emit()\"></div>\n </div>\n </div>\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'DELIVERY' | localize\"></span>\n <div class=\"overview-address\">\n <div class=\"overview-row\">\n <span [textContent]=\"'EXPECTED_DELIVERY_DATE' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd MMM yyyy'\"></span>\n </div>\n <div class=\"overview-row\">\n <span [textContent]=\"'DELIVERY_METHOD' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryMethod\"></span>\n </div>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeDeliveryClick.emit()\"></div>\n </div>\n </div>\n <co-payment *ngIf=\"showPayment\"\n [updateDepositAmount]=\"true\"\n [transId]=\"transaction.transactionInfo.id\"\n [branch]=\"transaction.transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [amount]=\"transaction.transactionInfo.depositAmount || transaction.transactionTotal.netAmount\"\n [currencyId]=\"transaction.transactionInfo.currencyId\"\n (payed)=\"handlePayed()\"\n ></co-payment>\n ",
|
|
17730
17745
|
encapsulation: i0.ViewEncapsulation.None
|
|
17731
17746
|
},] }
|
|
17732
17747
|
];
|
|
@@ -17759,7 +17774,7 @@
|
|
|
17759
17774
|
TransactionHeaderDeliveryComponent.decorators = [
|
|
17760
17775
|
{ type: i0.Component, args: [{
|
|
17761
17776
|
selector: "co-transaction-header-delivery",
|
|
17762
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n
|
|
17777
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <co-transaction-header-delivery-method-button class=\"header-delivery-method\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-delivery-method-button>\n <co-icon class=\"planning-request-button\" [class.co-transaction-check]=\"transactionInfo.deliveryDateDefinitive\"\n [iconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-delivery-deliverydate-label co-transaction-label\" [textContent]=\"'DELIVERY_DATE' | localize\"></div>\n <div class=\"header-delivery-deliverydate-wrapper\" [class.closed]=\"transactionInfo.deliveryDateDefinitive\">\n <co-transaction-header-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-delivery-date>\n <co-transaction-header-deliverydate-definitive-button [transactionInfo]=\"transactionInfo\"></co-transaction-header-deliverydate-definitive-button>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-delivery-preferred-deliverydate-label co-transaction-label\" [textContent]=\"'PREFERRED_DATE' | localize\"></div>\n <co-transaction-header-preferred-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-preferred-delivery-date>\n </ng-template>\n <ng-template #thirdBlock>\n <co-transaction-header-partial-delivery class=\"transaction-header-partial-delivery co-transaction-label\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-partial-delivery>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"3\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n ",
|
|
17763
17778
|
encapsulation: i0.ViewEncapsulation.None
|
|
17764
17779
|
},] }
|
|
17765
17780
|
];
|
|
@@ -17769,18 +17784,22 @@
|
|
|
17769
17784
|
|
|
17770
17785
|
var TransactionHeaderBlockComponent = /** @class */ (function () {
|
|
17771
17786
|
function TransactionHeaderBlockComponent() {
|
|
17772
|
-
this.hasDetails = false;
|
|
17773
17787
|
this.headerClick = new i0.EventEmitter();
|
|
17774
17788
|
}
|
|
17775
17789
|
TransactionHeaderBlockComponent.prototype.showClass = function () {
|
|
17776
17790
|
return true;
|
|
17777
17791
|
};
|
|
17792
|
+
TransactionHeaderBlockComponent.prototype.handleHostClick = function (event) {
|
|
17793
|
+
if (event.target && event.target.className.indexOf('clickable-header') > -1) {
|
|
17794
|
+
this.headerClick.emit(event);
|
|
17795
|
+
}
|
|
17796
|
+
};
|
|
17778
17797
|
return TransactionHeaderBlockComponent;
|
|
17779
17798
|
}());
|
|
17780
17799
|
TransactionHeaderBlockComponent.decorators = [
|
|
17781
17800
|
{ type: i0.Component, args: [{
|
|
17782
17801
|
selector: "co-transaction-header-block",
|
|
17783
|
-
template: "\n <div #wrapper class=\"transaction-header-block-wrapper\"
|
|
17802
|
+
template: "\n <div #wrapper class=\"transaction-header-block-wrapper\">\n <div class=\"transaction-header-block-header clickable-header\">\n <ng-container [ngTemplateOutlet]=\"headerBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-content clickable-header\">\n <div class=\"transaction-header-block-content-first\" *ngIf=\"firstBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"firstBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-second\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"secondBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-third\" *ngIf=\"thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"thirdBlockTemplate\"></ng-container>\n </div>\n </div>\n </div>\n ",
|
|
17784
17803
|
encapsulation: i0.ViewEncapsulation.None
|
|
17785
17804
|
},] }
|
|
17786
17805
|
];
|
|
@@ -17789,9 +17808,9 @@
|
|
|
17789
17808
|
firstBlockTemplate: [{ type: i0.Input }],
|
|
17790
17809
|
secondBlockTemplate: [{ type: i0.Input }],
|
|
17791
17810
|
thirdBlockTemplate: [{ type: i0.Input }],
|
|
17792
|
-
hasDetails: [{ type: i0.Input }],
|
|
17793
17811
|
headerClick: [{ type: i0.Output }],
|
|
17794
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-header-block",] }]
|
|
17812
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-header-block",] }],
|
|
17813
|
+
handleHostClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
|
|
17795
17814
|
};
|
|
17796
17815
|
|
|
17797
17816
|
var TransactionHeaderBlockModule = /** @class */ (function () {
|
|
@@ -18797,17 +18816,27 @@
|
|
|
18797
18816
|
|
|
18798
18817
|
var TransactionHeaderPopupComponent = /** @class */ (function (_super) {
|
|
18799
18818
|
__extends(TransactionHeaderPopupComponent, _super);
|
|
18800
|
-
function TransactionHeaderPopupComponent() {
|
|
18801
|
-
var _this = _super.
|
|
18819
|
+
function TransactionHeaderPopupComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, dialogService, formMasterService, relationService) {
|
|
18820
|
+
var _this = _super.call(this, transactionEventService, iconCacheService, imageService, dictionaryService, service, changeDetector) || this;
|
|
18821
|
+
_this.transactionEventService = transactionEventService;
|
|
18822
|
+
_this.service = service;
|
|
18823
|
+
_this.iconCacheService = iconCacheService;
|
|
18824
|
+
_this.dictionaryService = dictionaryService;
|
|
18825
|
+
_this.imageService = imageService;
|
|
18826
|
+
_this.changeDetector = changeDetector;
|
|
18827
|
+
_this.dialogService = dialogService;
|
|
18828
|
+
_this.formMasterService = formMasterService;
|
|
18829
|
+
_this.relationService = relationService;
|
|
18802
18830
|
_this.closeClick = new i0.EventEmitter();
|
|
18803
18831
|
_this.categories = [
|
|
18804
|
-
{ index: 0, description: "CLIENT_INFORMATION" },
|
|
18805
|
-
{ index: 1, description: "ORDER_INFORMATION1" },
|
|
18806
|
-
{ index: 2, description: "PAYMENT_INFORMATION" },
|
|
18807
|
-
{ index: 3, description: "DELIVERY_INFORMATION" }
|
|
18832
|
+
{ index: 0, icon: Icon.UserRegular, description: "CLIENT_INFORMATION" },
|
|
18833
|
+
{ index: 1, icon: Icon.CartShoppingRegular, description: "ORDER_INFORMATION1" },
|
|
18834
|
+
{ index: 2, icon: Icon.CreditCardRegular, description: "PAYMENT_INFORMATION" },
|
|
18835
|
+
{ index: 3, icon: Icon.TruckMovingRegular, description: "DELIVERY_INFORMATION" }
|
|
18808
18836
|
];
|
|
18809
18837
|
_this.okButtonEnabled = false;
|
|
18810
|
-
_this.activeCategory = { index: 0, description: "CLIENT_INFORMATION" };
|
|
18838
|
+
_this.activeCategory = { index: 0, icon: Icon.CreditCardRegular, description: "CLIENT_INFORMATION" };
|
|
18839
|
+
_this.cloneRelation = new customerFullObject_bo.CustomerFullObject();
|
|
18811
18840
|
_this._subs = [];
|
|
18812
18841
|
return _this;
|
|
18813
18842
|
}
|
|
@@ -18826,6 +18855,7 @@
|
|
|
18826
18855
|
TransactionHeaderPopupComponent.prototype.ngOnInit = function () {
|
|
18827
18856
|
var _this = this;
|
|
18828
18857
|
_super.prototype.ngOnInit.call(this);
|
|
18858
|
+
this.transactionService.getRelationOnRememberCurrentTransaction = false;
|
|
18829
18859
|
this._subs.push(this.transactionEventService.headerPopupSaveButtonEnableChange.subscribe(function (enabled) {
|
|
18830
18860
|
_this.okButtonEnabled = enabled;
|
|
18831
18861
|
}), this.transactionEventService.headerPopupClose.subscribe(function (commit) { return __awaiter(_this, void 0, void 0, function () {
|
|
@@ -18833,16 +18863,14 @@
|
|
|
18833
18863
|
return __generator(this, function (_b) {
|
|
18834
18864
|
switch (_b.label) {
|
|
18835
18865
|
case 0:
|
|
18836
|
-
if (!commit) return [3 /*break*/,
|
|
18837
|
-
|
|
18838
|
-
|
|
18866
|
+
if (!commit) return [3 /*break*/, 1];
|
|
18867
|
+
_a = true;
|
|
18868
|
+
return [3 /*break*/, 3];
|
|
18869
|
+
case 1: return [4 /*yield*/, this.transactionService.rollback()];
|
|
18870
|
+
case 2:
|
|
18839
18871
|
_a = _b.sent();
|
|
18840
|
-
|
|
18841
|
-
case 2: return [4 /*yield*/, this.transactionService.rollback()];
|
|
18872
|
+
_b.label = 3;
|
|
18842
18873
|
case 3:
|
|
18843
|
-
_a = _b.sent();
|
|
18844
|
-
_b.label = 4;
|
|
18845
|
-
case 4:
|
|
18846
18874
|
result = _a;
|
|
18847
18875
|
if (result) {
|
|
18848
18876
|
this.closeClick.emit();
|
|
@@ -18853,9 +18881,18 @@
|
|
|
18853
18881
|
}); }));
|
|
18854
18882
|
};
|
|
18855
18883
|
TransactionHeaderPopupComponent.prototype.ngOnDestroy = function () {
|
|
18884
|
+
this.transactionService.getRelationOnRememberCurrentTransaction = true;
|
|
18856
18885
|
_super.prototype.ngOnDestroy.call(this);
|
|
18857
18886
|
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
18858
18887
|
};
|
|
18888
|
+
TransactionHeaderPopupComponent.prototype.relationSet = function () {
|
|
18889
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18890
|
+
return __generator(this, function (_a) {
|
|
18891
|
+
this.cloneRelation = this.relationService.cloneRelation(this.relation);
|
|
18892
|
+
return [2 /*return*/];
|
|
18893
|
+
});
|
|
18894
|
+
});
|
|
18895
|
+
};
|
|
18859
18896
|
TransactionHeaderPopupComponent.prototype.handleCloseClick = function (event) {
|
|
18860
18897
|
this.transactionEventService.headerPopupWantsToClose.next();
|
|
18861
18898
|
};
|
|
@@ -18870,10 +18907,21 @@
|
|
|
18870
18907
|
TransactionHeaderPopupComponent.decorators = [
|
|
18871
18908
|
{ type: i0.Component, args: [{
|
|
18872
18909
|
selector: 'co-transaction-header-popup',
|
|
18873
|
-
template: "\n <co-dialog class=\"transaction-header-dialog\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\" (closeClick)=\"handleCloseClick($event)\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title\" [textContent]=\"activeCategory.description | localize\"></div>\n </ng-template>\n <div class=\"transaction-header-popup-categories\">\n <div class=\"transaction-header-popup-category\" [class.selected]=\"activeCategory.index === cat.index\" *ngFor=\"let cat of categories\" \n (click)=\"handleCategoryClick(cat)\">\n <div class=\"title\" [textContent]=\"cat.description | localize\"></div>\n </div>\n </div>\n <div class=\"transaction-header-popup-content-wrapper\">\n <co-transaction-header-popup-relation class=\"category-content\" *ngIf=\"activeCategory.index === 0\" \n [relation]=\"
|
|
18910
|
+
template: "\n <co-dialog class=\"transaction-header-dialog\" \n [customCssClass]=\"'transaction-header-dialog'\" \n [headerTemplate]=\"headerTemplate\" \n [footerTemplate]=\"footerTemplate\" \n (closeClick)=\"handleCloseClick($event)\">\n <ng-template #headerTemplate>\n <div class=\"transaction-header-popup-dialog-header-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(activeCategory.icon)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"activeCategory.description | localize\"></div>\n </div>\n </ng-template>\n <div class=\"transaction-header-popup-categories\">\n <div class=\"transaction-header-popup-category\" [class.selected]=\"activeCategory.index === cat.index\" *ngFor=\"let cat of categories\" \n (click)=\"handleCategoryClick(cat)\">\n <div class=\"title\" [textContent]=\"cat.description | localize\"></div>\n </div>\n </div>\n <div class=\"transaction-header-popup-content-wrapper\">\n <co-transaction-header-popup-relation class=\"category-content\" *ngIf=\"activeCategory.index === 0\" \n [(relation)]=\"cloneRelation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-relation>\n <co-transaction-header-popup-order class=\"category-content\" *ngIf=\"activeCategory.index === 1\"\n [relation]=\"cloneRelation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-order>\n <co-transaction-header-popup-payment class=\"category-content\" *ngIf=\"activeCategory.index === 2\"\n [relation]=\"cloneRelation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-payment>\n <co-transaction-header-popup-delivery class=\"category-content\" *ngIf=\"activeCategory.index === 3\"\n [relation]=\"cloneRelation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-delivery>\n </div>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\" \n [disabled]=\"!okButtonEnabled\" \n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\" \n (click)=\"handleOkButtonClick($event)\"></co-button>\n </div>\n </ng-template>\n </co-dialog>\n ",
|
|
18874
18911
|
encapsulation: i0.ViewEncapsulation.None
|
|
18875
18912
|
},] }
|
|
18876
18913
|
];
|
|
18914
|
+
TransactionHeaderPopupComponent.ctorParameters = function () { return [
|
|
18915
|
+
{ type: TransactionEventService },
|
|
18916
|
+
{ type: TransactionService },
|
|
18917
|
+
{ type: IconCacheService },
|
|
18918
|
+
{ type: DictionaryService },
|
|
18919
|
+
{ type: TransactionImageService },
|
|
18920
|
+
{ type: i0.ChangeDetectorRef },
|
|
18921
|
+
{ type: DialogService },
|
|
18922
|
+
{ type: corecomponents_v12.FormMasterService },
|
|
18923
|
+
{ type: RelationService }
|
|
18924
|
+
]; };
|
|
18877
18925
|
TransactionHeaderPopupComponent.propDecorators = {
|
|
18878
18926
|
activeCategoryIndex: [{ type: i0.Input }],
|
|
18879
18927
|
closeClick: [{ type: i0.Output }],
|
|
@@ -18882,7 +18930,7 @@
|
|
|
18882
18930
|
|
|
18883
18931
|
var TransactionHeaderPopupBaseComponent = /** @class */ (function (_super_1) {
|
|
18884
18932
|
__extends(TransactionHeaderPopupBaseComponent, _super_1);
|
|
18885
|
-
function TransactionHeaderPopupBaseComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, dialogService, formMasterService) {
|
|
18933
|
+
function TransactionHeaderPopupBaseComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, dialogService, formMasterService, relationService) {
|
|
18886
18934
|
var _this = _super_1.call(this, transactionEventService, iconCacheService, imageService, dictionaryService, service, changeDetector) || this;
|
|
18887
18935
|
_this.transactionEventService = transactionEventService;
|
|
18888
18936
|
_this.service = service;
|
|
@@ -18892,6 +18940,7 @@
|
|
|
18892
18940
|
_this.changeDetector = changeDetector;
|
|
18893
18941
|
_this.dialogService = dialogService;
|
|
18894
18942
|
_this.formMasterService = formMasterService;
|
|
18943
|
+
_this.relationService = relationService;
|
|
18895
18944
|
_this.readonly = true;
|
|
18896
18945
|
_this.dirty = false;
|
|
18897
18946
|
_this._subs = [];
|
|
@@ -18925,7 +18974,7 @@
|
|
|
18925
18974
|
this._subs.push(this.transactionEventService.headerPopupSaveButtonClick.subscribe(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
18926
18975
|
return __generator(this, function (_a) {
|
|
18927
18976
|
switch (_a.label) {
|
|
18928
|
-
case 0: return [4 /*yield*/, this.
|
|
18977
|
+
case 0: return [4 /*yield*/, this.saveObjects()];
|
|
18929
18978
|
case 1:
|
|
18930
18979
|
_a.sent();
|
|
18931
18980
|
return [2 /*return*/];
|
|
@@ -18963,6 +19012,80 @@
|
|
|
18963
19012
|
});
|
|
18964
19013
|
});
|
|
18965
19014
|
};
|
|
19015
|
+
TransactionHeaderPopupBaseComponent.prototype.transactionInfoSet = function () {
|
|
19016
|
+
var _super = Object.create(null, {
|
|
19017
|
+
transactionInfoSet: { get: function () { return _super_1.prototype.transactionInfoSet; } }
|
|
19018
|
+
});
|
|
19019
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
19020
|
+
var _a;
|
|
19021
|
+
return __generator(this, function (_b) {
|
|
19022
|
+
switch (_b.label) {
|
|
19023
|
+
case 0:
|
|
19024
|
+
_super.transactionInfoSet.call(this);
|
|
19025
|
+
if (!this.headerReadonly) return [3 /*break*/, 1];
|
|
19026
|
+
this.readonly = true;
|
|
19027
|
+
return [3 /*break*/, 3];
|
|
19028
|
+
case 1:
|
|
19029
|
+
_a = this;
|
|
19030
|
+
return [4 /*yield*/, this.lockTransaction()];
|
|
19031
|
+
case 2:
|
|
19032
|
+
_a.readonly = !(_b.sent());
|
|
19033
|
+
_b.label = 3;
|
|
19034
|
+
case 3: return [2 /*return*/];
|
|
19035
|
+
}
|
|
19036
|
+
});
|
|
19037
|
+
});
|
|
19038
|
+
};
|
|
19039
|
+
TransactionHeaderPopupBaseComponent.prototype.saveObjects = function () {
|
|
19040
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
19041
|
+
return __generator(this, function (_a) {
|
|
19042
|
+
switch (_a.label) {
|
|
19043
|
+
case 0:
|
|
19044
|
+
if (!this.formMasterService.submitSlaves()) return [3 /*break*/, 3];
|
|
19045
|
+
this.transactionEventService.headerPopupSaveButtonEnableChange.next(false);
|
|
19046
|
+
return [4 /*yield*/, this.saveRelation()];
|
|
19047
|
+
case 1:
|
|
19048
|
+
_a.sent();
|
|
19049
|
+
return [4 /*yield*/, this.saveTransaction()];
|
|
19050
|
+
case 2:
|
|
19051
|
+
_a.sent();
|
|
19052
|
+
this.setFormPristine();
|
|
19053
|
+
this.transactionEventService.headerPopupClose.next(true);
|
|
19054
|
+
_a.label = 3;
|
|
19055
|
+
case 3: return [2 /*return*/];
|
|
19056
|
+
}
|
|
19057
|
+
});
|
|
19058
|
+
});
|
|
19059
|
+
};
|
|
19060
|
+
TransactionHeaderPopupBaseComponent.prototype.saveRelation = function () {
|
|
19061
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
19062
|
+
var _a;
|
|
19063
|
+
return __generator(this, function (_b) {
|
|
19064
|
+
switch (_b.label) {
|
|
19065
|
+
case 0:
|
|
19066
|
+
_a = this.service;
|
|
19067
|
+
return [4 /*yield*/, this.relationService.updateRelation(this.relation.relationType, this.relation)];
|
|
19068
|
+
case 1:
|
|
19069
|
+
_a.relation = _b.sent();
|
|
19070
|
+
return [2 /*return*/];
|
|
19071
|
+
}
|
|
19072
|
+
});
|
|
19073
|
+
});
|
|
19074
|
+
};
|
|
19075
|
+
TransactionHeaderPopupBaseComponent.prototype.saveTransaction = function () {
|
|
19076
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
19077
|
+
return __generator(this, function (_a) {
|
|
19078
|
+
switch (_a.label) {
|
|
19079
|
+
case 0:
|
|
19080
|
+
this.transactionService.getRelationOnRememberCurrentTransaction = true;
|
|
19081
|
+
return [4 /*yield*/, this.transactionService.saveTransactionAndCommit()];
|
|
19082
|
+
case 1:
|
|
19083
|
+
_a.sent();
|
|
19084
|
+
return [2 /*return*/];
|
|
19085
|
+
}
|
|
19086
|
+
});
|
|
19087
|
+
});
|
|
19088
|
+
};
|
|
18966
19089
|
TransactionHeaderPopupBaseComponent.prototype.setFormPristine = function () {
|
|
18967
19090
|
this.dirty = false;
|
|
18968
19091
|
if (this.form) {
|
|
@@ -18983,7 +19106,7 @@
|
|
|
18983
19106
|
case 1:
|
|
18984
19107
|
response = _a.sent();
|
|
18985
19108
|
if (!(response.button === AppPopupButtonType.Yes)) return [3 /*break*/, 3];
|
|
18986
|
-
return [4 /*yield*/, this.
|
|
19109
|
+
return [4 /*yield*/, this.saveObjects()];
|
|
18987
19110
|
case 2:
|
|
18988
19111
|
_a.sent();
|
|
18989
19112
|
return [3 /*break*/, 4];
|
|
@@ -19008,7 +19131,8 @@
|
|
|
19008
19131
|
{ type: TransactionImageService },
|
|
19009
19132
|
{ type: i0.ChangeDetectorRef },
|
|
19010
19133
|
{ type: DialogService },
|
|
19011
|
-
{ type: corecomponents_v12.FormMasterService }
|
|
19134
|
+
{ type: corecomponents_v12.FormMasterService },
|
|
19135
|
+
{ type: RelationService }
|
|
19012
19136
|
]; };
|
|
19013
19137
|
TransactionHeaderPopupBaseComponent.propDecorators = {
|
|
19014
19138
|
content: [{ type: i0.ViewChild, args: [corecomponents_v12.FormComponent,] }]
|
|
@@ -19016,23 +19140,13 @@
|
|
|
19016
19140
|
|
|
19017
19141
|
var TransactionHeaderPopupRelationComponent = /** @class */ (function (_super) {
|
|
19018
19142
|
__extends(TransactionHeaderPopupRelationComponent, _super);
|
|
19019
|
-
function TransactionHeaderPopupRelationComponent(
|
|
19020
|
-
var _this = _super.
|
|
19021
|
-
_this.transactionEventService = transactionEventService;
|
|
19022
|
-
_this.service = service;
|
|
19023
|
-
_this.iconCacheService = iconCacheService;
|
|
19024
|
-
_this.dictionaryService = dictionaryService;
|
|
19025
|
-
_this.imageService = imageService;
|
|
19026
|
-
_this.changeDetector = changeDetector;
|
|
19027
|
-
_this.dialogService = dialogService;
|
|
19028
|
-
_this.formMasterService = formMasterService;
|
|
19029
|
-
_this._relationService = _relationService;
|
|
19143
|
+
function TransactionHeaderPopupRelationComponent() {
|
|
19144
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
19030
19145
|
_this.addressType = addressType_enum.AddressType;
|
|
19031
19146
|
_this.deliveryAddressNawNr = 0;
|
|
19032
19147
|
_this.invoiceAddressNawNr = 0;
|
|
19033
19148
|
_this.invoiceAddressSameAsDeliveryAddress = true;
|
|
19034
19149
|
_this.categories = [_this.dictionaryService.get('CLIENT_DATA'), _this.dictionaryService.get('PRIVACY_PREFERENCES')];
|
|
19035
|
-
_this.cloneRelation = new customerFullObject_bo.CustomerFullObject();
|
|
19036
19150
|
return _this;
|
|
19037
19151
|
}
|
|
19038
19152
|
TransactionHeaderPopupRelationComponent.prototype.showClass = function () {
|
|
@@ -19044,12 +19158,11 @@
|
|
|
19044
19158
|
return __generator(this, function (_a) {
|
|
19045
19159
|
switch (_a.label) {
|
|
19046
19160
|
case 0:
|
|
19047
|
-
this.cloneRelation = this._relationService.cloneRelation(this.relation);
|
|
19048
19161
|
if (this.relationKind === relationKind_enum.RelationKind.Customer) {
|
|
19049
|
-
this.customerGroup = this.
|
|
19162
|
+
this.customerGroup = this.relation.customerGroup;
|
|
19050
19163
|
}
|
|
19051
|
-
if (this.
|
|
19052
|
-
firstAddress = this.
|
|
19164
|
+
if (this.relation.addresses && this.relation.addresses.length > 0) {
|
|
19165
|
+
firstAddress = this.relation.addresses[0];
|
|
19053
19166
|
this.setIndexDeliveryAddress(firstAddress.nawNr);
|
|
19054
19167
|
}
|
|
19055
19168
|
return [4 /*yield*/, this._lockRelation()];
|
|
@@ -19061,14 +19174,14 @@
|
|
|
19061
19174
|
});
|
|
19062
19175
|
};
|
|
19063
19176
|
TransactionHeaderPopupRelationComponent.prototype.setIndexDeliveryAddress = function (nawNr) {
|
|
19064
|
-
var address = this.
|
|
19177
|
+
var address = this.relation.addresses.find(function (a) { return a.nawNr === nawNr; });
|
|
19065
19178
|
if (address) {
|
|
19066
19179
|
// address.searchAddress = true;
|
|
19067
19180
|
this.deliveryAddressNawNr = nawNr;
|
|
19068
19181
|
}
|
|
19069
19182
|
};
|
|
19070
19183
|
TransactionHeaderPopupRelationComponent.prototype.setIndexInvoiceAddress = function (nawNr) {
|
|
19071
|
-
var address = this.
|
|
19184
|
+
var address = this.relation.addresses.find(function (a) { return a.nawNr === nawNr; });
|
|
19072
19185
|
if (address) {
|
|
19073
19186
|
// address.searchAddress = true;
|
|
19074
19187
|
this.invoiceAddressNawNr = nawNr;
|
|
@@ -19091,24 +19204,7 @@
|
|
|
19091
19204
|
TransactionHeaderPopupRelationComponent.prototype.handleChangeCustomGroup = function (group) {
|
|
19092
19205
|
this.customerGroup = group;
|
|
19093
19206
|
if (this.relationKind === relationKind_enum.RelationKind.Customer) {
|
|
19094
|
-
this.
|
|
19095
|
-
}
|
|
19096
|
-
};
|
|
19097
|
-
TransactionHeaderPopupRelationComponent.prototype.saveObject = function () {
|
|
19098
|
-
var _this = this;
|
|
19099
|
-
if (this.readonly) {
|
|
19100
|
-
return;
|
|
19101
|
-
}
|
|
19102
|
-
if (this.formMasterService.submitSlaves()) {
|
|
19103
|
-
this.transactionEventService.headerPopupSaveButtonEnableChange.next(false);
|
|
19104
|
-
this._relationService.updateRelation(this.cloneRelation.relationType, this.cloneRelation).then(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
19105
|
-
return __generator(this, function (_a) {
|
|
19106
|
-
this.service.relation = this.cloneRelation;
|
|
19107
|
-
this.setFormPristine();
|
|
19108
|
-
this.transactionEventService.headerPopupClose.next(true);
|
|
19109
|
-
return [2 /*return*/];
|
|
19110
|
-
});
|
|
19111
|
-
}); });
|
|
19207
|
+
this.relation.customerGroup = this.customerGroup;
|
|
19112
19208
|
}
|
|
19113
19209
|
};
|
|
19114
19210
|
TransactionHeaderPopupRelationComponent.prototype._lockRelation = function () {
|
|
@@ -19116,7 +19212,7 @@
|
|
|
19116
19212
|
var lockResult;
|
|
19117
19213
|
return __generator(this, function (_a) {
|
|
19118
19214
|
switch (_a.label) {
|
|
19119
|
-
case 0: return [4 /*yield*/, this.
|
|
19215
|
+
case 0: return [4 /*yield*/, this.relationService.lockRelation(this.relation.relationType, parseInt(this.relation.relationNumber, 0))];
|
|
19120
19216
|
case 1:
|
|
19121
19217
|
lockResult = _a.sent();
|
|
19122
19218
|
if (!!lockResult.success) return [3 /*break*/, 3];
|
|
@@ -19138,24 +19234,13 @@
|
|
|
19138
19234
|
TransactionHeaderPopupRelationComponent.decorators = [
|
|
19139
19235
|
{ type: i0.Component, args: [{
|
|
19140
19236
|
selector: 'co-transaction-header-popup-relation',
|
|
19141
|
-
template: "\n <co-transaction-filter-categories [categories]=\"categories\" (categoryClick)=\"handleNavigationClick($event)\"></co-transaction-filter-categories>\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div #navigationItems class=\"header-relation-navigation-wrapper\">\n <div #mainItems class=\"header-relation-navigation-content\">\n <div class=\"transaction-header-popup-section general\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PERSONAL_DATA' | localize\"></div>\n <co-relation-type *ngIf=\"relationKind === relKind.Customer\"\n [readonly]=\"readonly\"\n [relation]=\"
|
|
19237
|
+
template: "\n <co-transaction-filter-categories [categories]=\"categories\" (categoryClick)=\"handleNavigationClick($event)\"></co-transaction-filter-categories>\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div #navigationItems class=\"header-relation-navigation-wrapper\">\n <div #mainItems class=\"header-relation-navigation-content\">\n <div class=\"transaction-header-popup-section general\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PERSONAL_DATA' | localize\"></div>\n <co-relation-type *ngIf=\"relationKind === relKind.Customer\"\n [readonly]=\"readonly\"\n [relation]=\"relation\"\n ></co-relation-type>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <relation-customer-groups [readonly]=\"readonly\" [model]=\"customerGroup\" (modelChange)=\"handleChangeCustomGroup($event)\" required></relation-customer-groups>\n </ng-container>\n <co-relation-general [readonly]=\"readonly\" [(relation)]=\"relation\" [relationType]=\"relationType\" [relationKind]=\"relationKind\"></co-relation-general>\n </div>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'ADDRESSES' | localize\"></div>\n <co-relation-addresses\n [readonly]=\"readonly\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.DeliveryAddress\"\n [selectedNawNr]=\"deliveryAddressNawNr\"\n (selectedNawNrChange)=\"setIndexDeliveryAddress($event)\"\n ></co-relation-addresses>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></div>\n <co-input-checkbox [readonly]=\"readonly\" [(model)]=\"invoiceAddressSameAsDeliveryAddress\" (modelChange)=\"checkSameAddress($event)\"\n [label]=\"'SAME_AS_DELIVERY' | localize\"></co-input-checkbox>\n <div class=\"overview-delivery-invoice-address\" *ngIf=\"!invoiceAddressSameAsDeliveryAddress\" @showHideInvoiceAddress>\n <co-relation-addresses\n [readonly]=\"readonly\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.BillingAddress\"\n [selectedNawNr]=\"invoiceAddressNawNr\"\n (selectedNawNrChange)=\"setIndexInvoiceAddress($event)\"\n ></co-relation-addresses>\n </div>\n </ng-container>\n </div>\n </div>\n <div #preferenceItems class=\"header-relation-navigation-content\">\n <co-relation-preferences [readonly]=\"readonly\" [relation]=\"relation\"></co-relation-preferences>\n </div>\n </div>\n </co-form>\n </div>\n ",
|
|
19142
19238
|
providers: [
|
|
19143
19239
|
corecomponents_v12.FormMasterService
|
|
19144
19240
|
],
|
|
19145
19241
|
encapsulation: i0.ViewEncapsulation.None
|
|
19146
19242
|
},] }
|
|
19147
19243
|
];
|
|
19148
|
-
TransactionHeaderPopupRelationComponent.ctorParameters = function () { return [
|
|
19149
|
-
{ type: TransactionEventService },
|
|
19150
|
-
{ type: TransactionService },
|
|
19151
|
-
{ type: IconCacheService },
|
|
19152
|
-
{ type: DictionaryService },
|
|
19153
|
-
{ type: TransactionImageService },
|
|
19154
|
-
{ type: i0.ChangeDetectorRef },
|
|
19155
|
-
{ type: DialogService },
|
|
19156
|
-
{ type: corecomponents_v12.FormMasterService },
|
|
19157
|
-
{ type: RelationService }
|
|
19158
|
-
]; };
|
|
19159
19244
|
TransactionHeaderPopupRelationComponent.propDecorators = {
|
|
19160
19245
|
navigationItems: [{ type: i0.ViewChild, args: ['navigationItems', { read: i0.ElementRef },] }],
|
|
19161
19246
|
mainItems: [{ type: i0.ViewChild, args: ['mainItems', { read: i0.ElementRef },] }],
|
|
@@ -19221,51 +19306,14 @@
|
|
|
19221
19306
|
},] }
|
|
19222
19307
|
];
|
|
19223
19308
|
|
|
19224
|
-
var TransactionHeaderPopupOrderComponent = /** @class */ (function (
|
|
19225
|
-
__extends(TransactionHeaderPopupOrderComponent,
|
|
19309
|
+
var TransactionHeaderPopupOrderComponent = /** @class */ (function (_super) {
|
|
19310
|
+
__extends(TransactionHeaderPopupOrderComponent, _super);
|
|
19226
19311
|
function TransactionHeaderPopupOrderComponent() {
|
|
19227
|
-
return
|
|
19312
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19228
19313
|
}
|
|
19229
19314
|
TransactionHeaderPopupOrderComponent.prototype.showClass = function () {
|
|
19230
19315
|
return true;
|
|
19231
19316
|
};
|
|
19232
|
-
TransactionHeaderPopupOrderComponent.prototype.transactionInfoSet = function () {
|
|
19233
|
-
var _super = Object.create(null, {
|
|
19234
|
-
transactionInfoSet: { get: function () { return _super_1.prototype.transactionInfoSet; } }
|
|
19235
|
-
});
|
|
19236
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
19237
|
-
var _a;
|
|
19238
|
-
return __generator(this, function (_b) {
|
|
19239
|
-
switch (_b.label) {
|
|
19240
|
-
case 0:
|
|
19241
|
-
_super.transactionInfoSet.call(this);
|
|
19242
|
-
if (!this.headerReadonly) return [3 /*break*/, 1];
|
|
19243
|
-
this.readonly = true;
|
|
19244
|
-
return [3 /*break*/, 3];
|
|
19245
|
-
case 1:
|
|
19246
|
-
_a = this;
|
|
19247
|
-
return [4 /*yield*/, this.lockTransaction()];
|
|
19248
|
-
case 2:
|
|
19249
|
-
_a.readonly = !(_b.sent());
|
|
19250
|
-
_b.label = 3;
|
|
19251
|
-
case 3: return [2 /*return*/];
|
|
19252
|
-
}
|
|
19253
|
-
});
|
|
19254
|
-
});
|
|
19255
|
-
};
|
|
19256
|
-
TransactionHeaderPopupOrderComponent.prototype.saveObject = function () {
|
|
19257
|
-
var _this = this;
|
|
19258
|
-
if (this.readonly) {
|
|
19259
|
-
return;
|
|
19260
|
-
}
|
|
19261
|
-
if (this.formMasterService.submitSlaves()) {
|
|
19262
|
-
this.transactionEventService.headerPopupSaveButtonEnableChange.next(false);
|
|
19263
|
-
this.transactionService.saveTransaction().then(function () {
|
|
19264
|
-
_this.setFormPristine();
|
|
19265
|
-
_this.transactionEventService.headerPopupClose.next(true);
|
|
19266
|
-
});
|
|
19267
|
-
}
|
|
19268
|
-
};
|
|
19269
19317
|
return TransactionHeaderPopupOrderComponent;
|
|
19270
19318
|
}(TransactionHeaderPopupBaseComponent));
|
|
19271
19319
|
TransactionHeaderPopupOrderComponent.decorators = [
|
|
@@ -19279,51 +19327,14 @@
|
|
|
19279
19327
|
showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-header-popup-order',] }]
|
|
19280
19328
|
};
|
|
19281
19329
|
|
|
19282
|
-
var TransactionHeaderPopupDeliveryComponent = /** @class */ (function (
|
|
19283
|
-
__extends(TransactionHeaderPopupDeliveryComponent,
|
|
19330
|
+
var TransactionHeaderPopupDeliveryComponent = /** @class */ (function (_super) {
|
|
19331
|
+
__extends(TransactionHeaderPopupDeliveryComponent, _super);
|
|
19284
19332
|
function TransactionHeaderPopupDeliveryComponent() {
|
|
19285
|
-
return
|
|
19333
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19286
19334
|
}
|
|
19287
19335
|
TransactionHeaderPopupDeliveryComponent.prototype.showClass = function () {
|
|
19288
19336
|
return true;
|
|
19289
19337
|
};
|
|
19290
|
-
TransactionHeaderPopupDeliveryComponent.prototype.transactionInfoSet = function () {
|
|
19291
|
-
var _super = Object.create(null, {
|
|
19292
|
-
transactionInfoSet: { get: function () { return _super_1.prototype.transactionInfoSet; } }
|
|
19293
|
-
});
|
|
19294
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
19295
|
-
var _a;
|
|
19296
|
-
return __generator(this, function (_b) {
|
|
19297
|
-
switch (_b.label) {
|
|
19298
|
-
case 0:
|
|
19299
|
-
_super.transactionInfoSet.call(this);
|
|
19300
|
-
if (!this.headerReadonly) return [3 /*break*/, 1];
|
|
19301
|
-
this.readonly = true;
|
|
19302
|
-
return [3 /*break*/, 3];
|
|
19303
|
-
case 1:
|
|
19304
|
-
_a = this;
|
|
19305
|
-
return [4 /*yield*/, this.lockTransaction()];
|
|
19306
|
-
case 2:
|
|
19307
|
-
_a.readonly = !(_b.sent());
|
|
19308
|
-
_b.label = 3;
|
|
19309
|
-
case 3: return [2 /*return*/];
|
|
19310
|
-
}
|
|
19311
|
-
});
|
|
19312
|
-
});
|
|
19313
|
-
};
|
|
19314
|
-
TransactionHeaderPopupDeliveryComponent.prototype.saveObject = function () {
|
|
19315
|
-
var _this = this;
|
|
19316
|
-
if (this.readonly) {
|
|
19317
|
-
return;
|
|
19318
|
-
}
|
|
19319
|
-
if (this.formMasterService.submitSlaves()) {
|
|
19320
|
-
this.transactionEventService.headerPopupSaveButtonEnableChange.next(false);
|
|
19321
|
-
this.transactionService.saveTransaction().then(function () {
|
|
19322
|
-
_this.setFormPristine();
|
|
19323
|
-
_this.transactionEventService.headerPopupClose.next(true);
|
|
19324
|
-
});
|
|
19325
|
-
}
|
|
19326
|
-
};
|
|
19327
19338
|
return TransactionHeaderPopupDeliveryComponent;
|
|
19328
19339
|
}(TransactionHeaderPopupBaseComponent));
|
|
19329
19340
|
TransactionHeaderPopupDeliveryComponent.decorators = [
|
|
@@ -19346,11 +19357,11 @@
|
|
|
19346
19357
|
return true;
|
|
19347
19358
|
};
|
|
19348
19359
|
return TransactionHeaderPopupPaymentComponent;
|
|
19349
|
-
}(
|
|
19360
|
+
}(TransactionHeaderPopupBaseComponent));
|
|
19350
19361
|
TransactionHeaderPopupPaymentComponent.decorators = [
|
|
19351
19362
|
{ type: i0.Component, args: [{
|
|
19352
19363
|
selector: 'co-transaction-header-popup-payment',
|
|
19353
|
-
template: "\n <co-deposit-payment [branch]=\"transactionInfo.branch?.relationNr\" [transactionUuid]=\"transactionInfo.uuid\"></co-deposit-payment>\n ",
|
|
19364
|
+
template: "\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'TO_PAY_DOWN' | localize\"></div>\n <div class=\"transaction-header-popup-two-column-grid\">\n <co-transaction-header-deposit-percentage [transactionInfo]=\"transactionInfo\" [lockAndSave]=\"false\"></co-transaction-header-deposit-percentage>\n <co-transaction-header-deposit-amount [transactionInfo]=\"transactionInfo\" [lockAndSave]=\"false\"></co-transaction-header-deposit-amount>\n </div>\n <div class=\"transaction-header-popup-two-column-grid\">\n <co-transaction-header-payment-button *ngIf=\"transactionInfo.transactionKind !== transKind.PurchaseOrder\"\n [transactionInfo]=\"transactionInfo\"\n [lockAndSave]=\"false\"\n ></co-transaction-header-payment-button>\n </div>\n </div>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PAYMENTS_MADE' | localize\"></div>\n <co-deposit-payment [branch]=\"transactionInfo.branch?.relationNr\" [transactionUuid]=\"transactionInfo.uuid\" [showTitle]=\"false\"></co-deposit-payment>\n </div>\n </co-form>\n </div>\n ",
|
|
19354
19365
|
encapsulation: i0.ViewEncapsulation.None
|
|
19355
19366
|
},] }
|
|
19356
19367
|
];
|
|
@@ -20253,97 +20264,6 @@
|
|
|
20253
20264
|
},] }
|
|
20254
20265
|
];
|
|
20255
20266
|
|
|
20256
|
-
var TransactionHeaderPopupModule = /** @class */ (function () {
|
|
20257
|
-
function TransactionHeaderPopupModule() {
|
|
20258
|
-
}
|
|
20259
|
-
return TransactionHeaderPopupModule;
|
|
20260
|
-
}());
|
|
20261
|
-
TransactionHeaderPopupModule.decorators = [
|
|
20262
|
-
{ type: i0.NgModule, args: [{
|
|
20263
|
-
imports: [
|
|
20264
|
-
common.CommonModule,
|
|
20265
|
-
corecomponents_v12.CoDialogModule,
|
|
20266
|
-
PipeModule,
|
|
20267
|
-
TransactionFilterCategoriesModule,
|
|
20268
|
-
corecomponents_v12.FormModule,
|
|
20269
|
-
RelationTypeModule,
|
|
20270
|
-
CoreModule,
|
|
20271
|
-
RelationGeneralModule,
|
|
20272
|
-
RelationAddressesModule,
|
|
20273
|
-
corecomponents_v12.InputCheckboxModule,
|
|
20274
|
-
RelationPreferencesModule,
|
|
20275
|
-
TransactionHeaderBranchModule,
|
|
20276
|
-
TransactionHeaderSalesPersonModule,
|
|
20277
|
-
TransactionHeaderAdministrativeRelationModule,
|
|
20278
|
-
TransactionHeaderPriceKindModule,
|
|
20279
|
-
TransactionHeaderCurrencyModule,
|
|
20280
|
-
TransactionHeaderPaymentConditionModule,
|
|
20281
|
-
TransactionHeaderHoldCodesModule,
|
|
20282
|
-
TransactionHeaderMarketingModule,
|
|
20283
|
-
DepositPaymentModule,
|
|
20284
|
-
TransactionHeaderDeliveryOptionsModule,
|
|
20285
|
-
TransactionHeaderRemarksModule,
|
|
20286
|
-
TransactionHeaderReferenceModule,
|
|
20287
|
-
TransactionHeaderRelationReferenceModule,
|
|
20288
|
-
TransactionHeaderDeliveryMethodButtonModule,
|
|
20289
|
-
corecomponents_v12.ButtonModule,
|
|
20290
|
-
TransactionHeaderDefinitiveModule,
|
|
20291
|
-
TransactionHeaderPartialDeliveryModule,
|
|
20292
|
-
TransactionHeaderDeliveryDateModule,
|
|
20293
|
-
TransactionHeaderPreferredDeliveryDateModule,
|
|
20294
|
-
TransactionHeaderDeliverydateDefinitiveButtonModule
|
|
20295
|
-
],
|
|
20296
|
-
declarations: [
|
|
20297
|
-
TransactionHeaderPopupComponent,
|
|
20298
|
-
TransactionHeaderPopupRelationComponent,
|
|
20299
|
-
TransactionHeaderPopupOrderComponent,
|
|
20300
|
-
TransactionHeaderPopupDeliveryComponent,
|
|
20301
|
-
TransactionHeaderPopupPaymentComponent
|
|
20302
|
-
],
|
|
20303
|
-
exports: [
|
|
20304
|
-
TransactionHeaderPopupComponent
|
|
20305
|
-
]
|
|
20306
|
-
},] }
|
|
20307
|
-
];
|
|
20308
|
-
|
|
20309
|
-
var TransactionHeaderDeliveryModule = /** @class */ (function () {
|
|
20310
|
-
function TransactionHeaderDeliveryModule() {
|
|
20311
|
-
}
|
|
20312
|
-
return TransactionHeaderDeliveryModule;
|
|
20313
|
-
}());
|
|
20314
|
-
TransactionHeaderDeliveryModule.decorators = [
|
|
20315
|
-
{ type: i0.NgModule, args: [{
|
|
20316
|
-
imports: [
|
|
20317
|
-
common.CommonModule,
|
|
20318
|
-
CoreModule,
|
|
20319
|
-
TransactionHeaderBlockModule,
|
|
20320
|
-
corecomponents_v12.InputCheckboxModule,
|
|
20321
|
-
corecomponents_v12.IconModule,
|
|
20322
|
-
PipeModule,
|
|
20323
|
-
corecomponents_v12.InputDatePickerModule,
|
|
20324
|
-
TransactionHeaderDeliveryDateModule,
|
|
20325
|
-
corecomponents_v12.CoDialogModule,
|
|
20326
|
-
TransactionHeaderDeliveryOptionsModule,
|
|
20327
|
-
TransactionHeaderRemarksModule,
|
|
20328
|
-
TransactionHeaderReferenceModule,
|
|
20329
|
-
TransactionHeaderRelationReferenceModule,
|
|
20330
|
-
TransactionHeaderDeliveryMethodModule,
|
|
20331
|
-
TransactionHeaderPreferredDeliveryDateModule,
|
|
20332
|
-
DialogTransactionHeaderDeliveryMethodModule,
|
|
20333
|
-
TransactionHeaderPartialDeliveryModule,
|
|
20334
|
-
TransactionHeaderPopupModule,
|
|
20335
|
-
TransactionHeaderDeliveryMethodButtonModule,
|
|
20336
|
-
TransactionHeaderDeliverydateDefinitiveButtonModule
|
|
20337
|
-
],
|
|
20338
|
-
declarations: [
|
|
20339
|
-
TransactionHeaderDeliveryComponent
|
|
20340
|
-
],
|
|
20341
|
-
exports: [
|
|
20342
|
-
TransactionHeaderDeliveryComponent
|
|
20343
|
-
]
|
|
20344
|
-
},] }
|
|
20345
|
-
];
|
|
20346
|
-
|
|
20347
20267
|
var TransactionHeaderDepositPercentageComponent = /** @class */ (function (_super) {
|
|
20348
20268
|
__extends(TransactionHeaderDepositPercentageComponent, _super);
|
|
20349
20269
|
function TransactionHeaderDepositPercentageComponent() {
|
|
@@ -20493,6 +20413,215 @@
|
|
|
20493
20413
|
},] }
|
|
20494
20414
|
];
|
|
20495
20415
|
|
|
20416
|
+
var TransactionHeaderPaymentButtonComponent = /** @class */ (function (_super_1) {
|
|
20417
|
+
__extends(TransactionHeaderPaymentButtonComponent, _super_1);
|
|
20418
|
+
function TransactionHeaderPaymentButtonComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, _paymentService) {
|
|
20419
|
+
var _this = _super_1.call(this, transactionEventService, iconCacheService, imageService, dictionaryService, service, changeDetector) || this;
|
|
20420
|
+
_this.transactionEventService = transactionEventService;
|
|
20421
|
+
_this.service = service;
|
|
20422
|
+
_this.iconCacheService = iconCacheService;
|
|
20423
|
+
_this.dictionaryService = dictionaryService;
|
|
20424
|
+
_this.imageService = imageService;
|
|
20425
|
+
_this.changeDetector = changeDetector;
|
|
20426
|
+
_this._paymentService = _paymentService;
|
|
20427
|
+
_this.paid = 0;
|
|
20428
|
+
_this.toPay = 0;
|
|
20429
|
+
_this.depositPayments = [];
|
|
20430
|
+
_this.showPaymentDialog = false;
|
|
20431
|
+
return _this;
|
|
20432
|
+
}
|
|
20433
|
+
TransactionHeaderPaymentButtonComponent.prototype.showClass = function () {
|
|
20434
|
+
return true;
|
|
20435
|
+
};
|
|
20436
|
+
TransactionHeaderPaymentButtonComponent.prototype.openPayment = function (event) {
|
|
20437
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
20438
|
+
return __generator(this, function (_a) {
|
|
20439
|
+
switch (_a.label) {
|
|
20440
|
+
case 0:
|
|
20441
|
+
event.preventDefault();
|
|
20442
|
+
event.stopPropagation();
|
|
20443
|
+
return [4 /*yield*/, this.lockTransaction()];
|
|
20444
|
+
case 1:
|
|
20445
|
+
if (_a.sent()) {
|
|
20446
|
+
this.showPaymentDialog = true;
|
|
20447
|
+
}
|
|
20448
|
+
return [2 /*return*/];
|
|
20449
|
+
}
|
|
20450
|
+
});
|
|
20451
|
+
});
|
|
20452
|
+
};
|
|
20453
|
+
TransactionHeaderPaymentButtonComponent.prototype.handleCloseDialogClick = function (event) {
|
|
20454
|
+
event.preventDefault();
|
|
20455
|
+
event.stopPropagation();
|
|
20456
|
+
this.showPaymentDialog = false;
|
|
20457
|
+
};
|
|
20458
|
+
TransactionHeaderPaymentButtonComponent.prototype.transactionInfoSet = function () {
|
|
20459
|
+
var _super = Object.create(null, {
|
|
20460
|
+
transactionInfoSet: { get: function () { return _super_1.prototype.transactionInfoSet; } }
|
|
20461
|
+
});
|
|
20462
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
20463
|
+
return __generator(this, function (_a) {
|
|
20464
|
+
_super.transactionInfoSet.call(this);
|
|
20465
|
+
this._getDepositPaymentInfo();
|
|
20466
|
+
return [2 /*return*/];
|
|
20467
|
+
});
|
|
20468
|
+
});
|
|
20469
|
+
};
|
|
20470
|
+
TransactionHeaderPaymentButtonComponent.prototype._getDepositPaymentInfo = function () {
|
|
20471
|
+
var _this = this;
|
|
20472
|
+
if (!this.transactionInfo.uuid) {
|
|
20473
|
+
return;
|
|
20474
|
+
}
|
|
20475
|
+
this.depositPayments.length = 0;
|
|
20476
|
+
this._paymentService.getDepositPaymentInfo(this.transactionInfo.uuid).then(function (info) {
|
|
20477
|
+
if (info) {
|
|
20478
|
+
_this.toPay = info.depositAmount;
|
|
20479
|
+
_this.paid = info.depositPaymentAmountTotal;
|
|
20480
|
+
}
|
|
20481
|
+
});
|
|
20482
|
+
};
|
|
20483
|
+
return TransactionHeaderPaymentButtonComponent;
|
|
20484
|
+
}(TransactionBaseComponent));
|
|
20485
|
+
TransactionHeaderPaymentButtonComponent.decorators = [
|
|
20486
|
+
{ type: i0.Component, args: [{
|
|
20487
|
+
selector: 'co-transaction-header-payment-button',
|
|
20488
|
+
template: "\n <co-transaction-button class=\"custom-width\"\n [readonly]=\"headerReadonly\"\n [iconData]=\"iconCacheService.getIcon(icons.CreditCardRegular)\"\n [tooltip]=\"tooltipMessage\"\n (click)=\"openPayment($event)\"\n >\n <div class=\"payment-payed-wrapper\">\n <span class=\"payment-to-pay\" [textContent]=\"(toPay | coCurrency) || 0\"></span>\n <span class=\"payment-divider\" [textContent]=\"'/'\"></span>\n <span class=\"payment-paid\" [class.success]=\"paid >= toPay\" [textContent]=\"(paid | coCurrency) || 0\"></span>\n </div>\n </co-transaction-button>\n <co-dialog class=\"payment-dialog\" [customCssClass]=\"'payment-dialog co-small-scrollbar'\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"handleCloseDialogClick($event)\"\n >\n <co-payment\n [transId]=\"transactionInfo.id\"\n [branch]=\"transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"toPay\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
|
|
20489
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
20490
|
+
},] }
|
|
20491
|
+
];
|
|
20492
|
+
TransactionHeaderPaymentButtonComponent.ctorParameters = function () { return [
|
|
20493
|
+
{ type: TransactionEventService },
|
|
20494
|
+
{ type: TransactionService },
|
|
20495
|
+
{ type: IconCacheService },
|
|
20496
|
+
{ type: DictionaryService },
|
|
20497
|
+
{ type: TransactionImageService },
|
|
20498
|
+
{ type: i0.ChangeDetectorRef },
|
|
20499
|
+
{ type: PaymentService }
|
|
20500
|
+
]; };
|
|
20501
|
+
TransactionHeaderPaymentButtonComponent.propDecorators = {
|
|
20502
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-header-payment-button',] }]
|
|
20503
|
+
};
|
|
20504
|
+
|
|
20505
|
+
var TransactionHeaderPaymentButtonModule = /** @class */ (function () {
|
|
20506
|
+
function TransactionHeaderPaymentButtonModule() {
|
|
20507
|
+
}
|
|
20508
|
+
return TransactionHeaderPaymentButtonModule;
|
|
20509
|
+
}());
|
|
20510
|
+
TransactionHeaderPaymentButtonModule.decorators = [
|
|
20511
|
+
{ type: i0.NgModule, args: [{
|
|
20512
|
+
imports: [
|
|
20513
|
+
common.CommonModule,
|
|
20514
|
+
corecomponents_v12.IconModule,
|
|
20515
|
+
PipeModule,
|
|
20516
|
+
TransactionButtonModule,
|
|
20517
|
+
corecomponents_v12.TooltipDirectiveModule,
|
|
20518
|
+
corecomponents_v12.CoDialogModule,
|
|
20519
|
+
PaymentModule
|
|
20520
|
+
],
|
|
20521
|
+
declarations: [
|
|
20522
|
+
TransactionHeaderPaymentButtonComponent
|
|
20523
|
+
],
|
|
20524
|
+
exports: [
|
|
20525
|
+
TransactionHeaderPaymentButtonComponent
|
|
20526
|
+
]
|
|
20527
|
+
},] }
|
|
20528
|
+
];
|
|
20529
|
+
|
|
20530
|
+
var TransactionHeaderPopupModule = /** @class */ (function () {
|
|
20531
|
+
function TransactionHeaderPopupModule() {
|
|
20532
|
+
}
|
|
20533
|
+
return TransactionHeaderPopupModule;
|
|
20534
|
+
}());
|
|
20535
|
+
TransactionHeaderPopupModule.decorators = [
|
|
20536
|
+
{ type: i0.NgModule, args: [{
|
|
20537
|
+
imports: [
|
|
20538
|
+
common.CommonModule,
|
|
20539
|
+
corecomponents_v12.CoDialogModule,
|
|
20540
|
+
PipeModule,
|
|
20541
|
+
TransactionFilterCategoriesModule,
|
|
20542
|
+
corecomponents_v12.FormModule,
|
|
20543
|
+
RelationTypeModule,
|
|
20544
|
+
CoreModule,
|
|
20545
|
+
RelationGeneralModule,
|
|
20546
|
+
RelationAddressesModule,
|
|
20547
|
+
corecomponents_v12.InputCheckboxModule,
|
|
20548
|
+
RelationPreferencesModule,
|
|
20549
|
+
TransactionHeaderBranchModule,
|
|
20550
|
+
TransactionHeaderSalesPersonModule,
|
|
20551
|
+
TransactionHeaderAdministrativeRelationModule,
|
|
20552
|
+
TransactionHeaderPriceKindModule,
|
|
20553
|
+
TransactionHeaderCurrencyModule,
|
|
20554
|
+
TransactionHeaderPaymentConditionModule,
|
|
20555
|
+
TransactionHeaderHoldCodesModule,
|
|
20556
|
+
TransactionHeaderMarketingModule,
|
|
20557
|
+
DepositPaymentModule,
|
|
20558
|
+
TransactionHeaderDeliveryOptionsModule,
|
|
20559
|
+
TransactionHeaderRemarksModule,
|
|
20560
|
+
TransactionHeaderReferenceModule,
|
|
20561
|
+
TransactionHeaderRelationReferenceModule,
|
|
20562
|
+
TransactionHeaderDeliveryMethodButtonModule,
|
|
20563
|
+
corecomponents_v12.ButtonModule,
|
|
20564
|
+
TransactionHeaderDefinitiveModule,
|
|
20565
|
+
TransactionHeaderPartialDeliveryModule,
|
|
20566
|
+
TransactionHeaderDeliveryDateModule,
|
|
20567
|
+
TransactionHeaderPreferredDeliveryDateModule,
|
|
20568
|
+
TransactionHeaderDeliverydateDefinitiveButtonModule,
|
|
20569
|
+
TransactionHeaderDepositPercentageModule,
|
|
20570
|
+
TransactionHeaderDepositAmountModule,
|
|
20571
|
+
TransactionHeaderPaymentButtonModule,
|
|
20572
|
+
corecomponents_v12.IconModule
|
|
20573
|
+
],
|
|
20574
|
+
declarations: [
|
|
20575
|
+
TransactionHeaderPopupComponent,
|
|
20576
|
+
TransactionHeaderPopupRelationComponent,
|
|
20577
|
+
TransactionHeaderPopupOrderComponent,
|
|
20578
|
+
TransactionHeaderPopupDeliveryComponent,
|
|
20579
|
+
TransactionHeaderPopupPaymentComponent
|
|
20580
|
+
],
|
|
20581
|
+
exports: [
|
|
20582
|
+
TransactionHeaderPopupComponent
|
|
20583
|
+
]
|
|
20584
|
+
},] }
|
|
20585
|
+
];
|
|
20586
|
+
|
|
20587
|
+
var TransactionHeaderDeliveryModule = /** @class */ (function () {
|
|
20588
|
+
function TransactionHeaderDeliveryModule() {
|
|
20589
|
+
}
|
|
20590
|
+
return TransactionHeaderDeliveryModule;
|
|
20591
|
+
}());
|
|
20592
|
+
TransactionHeaderDeliveryModule.decorators = [
|
|
20593
|
+
{ type: i0.NgModule, args: [{
|
|
20594
|
+
imports: [
|
|
20595
|
+
common.CommonModule,
|
|
20596
|
+
CoreModule,
|
|
20597
|
+
TransactionHeaderBlockModule,
|
|
20598
|
+
corecomponents_v12.InputCheckboxModule,
|
|
20599
|
+
corecomponents_v12.IconModule,
|
|
20600
|
+
PipeModule,
|
|
20601
|
+
corecomponents_v12.InputDatePickerModule,
|
|
20602
|
+
TransactionHeaderDeliveryDateModule,
|
|
20603
|
+
corecomponents_v12.CoDialogModule,
|
|
20604
|
+
TransactionHeaderDeliveryOptionsModule,
|
|
20605
|
+
TransactionHeaderRemarksModule,
|
|
20606
|
+
TransactionHeaderReferenceModule,
|
|
20607
|
+
TransactionHeaderRelationReferenceModule,
|
|
20608
|
+
TransactionHeaderDeliveryMethodModule,
|
|
20609
|
+
TransactionHeaderPreferredDeliveryDateModule,
|
|
20610
|
+
DialogTransactionHeaderDeliveryMethodModule,
|
|
20611
|
+
TransactionHeaderPartialDeliveryModule,
|
|
20612
|
+
TransactionHeaderPopupModule,
|
|
20613
|
+
TransactionHeaderDeliveryMethodButtonModule,
|
|
20614
|
+
TransactionHeaderDeliverydateDefinitiveButtonModule
|
|
20615
|
+
],
|
|
20616
|
+
declarations: [
|
|
20617
|
+
TransactionHeaderDeliveryComponent
|
|
20618
|
+
],
|
|
20619
|
+
exports: [
|
|
20620
|
+
TransactionHeaderDeliveryComponent
|
|
20621
|
+
]
|
|
20622
|
+
},] }
|
|
20623
|
+
];
|
|
20624
|
+
|
|
20496
20625
|
var CheckoutModule = /** @class */ (function () {
|
|
20497
20626
|
function CheckoutModule() {
|
|
20498
20627
|
}
|
|
@@ -21072,7 +21201,7 @@
|
|
|
21072
21201
|
TransactionHeaderRelationComponent.decorators = [
|
|
21073
21202
|
{ type: i0.Component, args: [{
|
|
21074
21203
|
selector: "co-transaction-header-relation",
|
|
21075
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n
|
|
21204
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"relation.displayName\"></div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-relation-address\" [textContent]=\"relation.displayFirstAddress\"></div>\n <div class=\"header-relation-postal\" [textContent]=\"relation.displayFirstPostal\"></div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-relation-email\" [textContent]=\"relation.primaryEmail\"></div>\n <div class=\"header-relation-phone\" [textContent]=\"relation.primaryPhoneOrMobileNumber\"></div>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"0\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n ",
|
|
21076
21205
|
providers: [
|
|
21077
21206
|
corecomponents_v12.FormMasterService
|
|
21078
21207
|
],
|
|
@@ -21256,7 +21385,7 @@
|
|
|
21256
21385
|
TransactionHeaderPaymentComponent.decorators = [
|
|
21257
21386
|
{ type: i0.Component, args: [{
|
|
21258
21387
|
selector: "co-transaction-header-payment",
|
|
21259
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n
|
|
21388
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"'BALANCE' | localize\"></div>\n <co-transaction-header-payment-button *ngIf=\"transactionInfo.transactionKind !== transKind.PurchaseOrder\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-header-payment-button>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_PERCENTAGE' | localize\"></div>\n <co-transaction-header-deposit-percentage class=\"transaction-header-deposit\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-percentage>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_AMOUNT' | localize\"></div>\n <co-transaction-header-deposit-amount class=\"transaction-header-deposit\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-amount>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"2\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n<!--\n <co-dialog class=\"transaction-header-payment-dialog\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title\" [textContent]=\"'PAYMENT_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"payment-dialog-section\">\n <co-deposit-payment [branch]=\"transactionInfo.branch?.relationNr\" [transactionUuid]=\"transactionInfo.uuid\"></co-deposit-payment>\n </div>\n </co-dialog>\n-->\n <co-dialog class=\"payment-dialog\" [customCssClass]=\"'co-small-scrollbar'\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"showPaymentDialog = false\"\n >\n <co-payment\n [transId]=\"transactionInfo.id\"\n [branch]=\"transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"toPay\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
|
|
21260
21389
|
encapsulation: i0.ViewEncapsulation.None
|
|
21261
21390
|
},] }
|
|
21262
21391
|
];
|
|
@@ -21292,7 +21421,8 @@
|
|
|
21292
21421
|
TransactionHeaderDepositAmountModule,
|
|
21293
21422
|
DialogTransactionHeaderDiscountModule,
|
|
21294
21423
|
DepositPaymentModule,
|
|
21295
|
-
TransactionHeaderPopupModule
|
|
21424
|
+
TransactionHeaderPopupModule,
|
|
21425
|
+
TransactionHeaderPaymentButtonModule
|
|
21296
21426
|
],
|
|
21297
21427
|
declarations: [
|
|
21298
21428
|
TransactionHeaderPaymentComponent
|
|
@@ -31066,301 +31196,303 @@
|
|
|
31066
31196
|
exports["ɵfz"] = TransactionHeaderDeliverydateDefinitiveButtonModule;
|
|
31067
31197
|
exports["ɵg"] = TransactionConnectorService;
|
|
31068
31198
|
exports["ɵga"] = TransactionHeaderDeliverydateDefinitiveButtonComponent;
|
|
31069
|
-
exports["ɵgb"] =
|
|
31070
|
-
exports["ɵgc"] =
|
|
31071
|
-
exports["ɵgd"] =
|
|
31072
|
-
exports["ɵge"] =
|
|
31073
|
-
exports["ɵgf"] =
|
|
31074
|
-
exports["ɵgg"] =
|
|
31075
|
-
exports["ɵgh"] =
|
|
31076
|
-
exports["ɵgi"] =
|
|
31077
|
-
exports["ɵgj"] =
|
|
31078
|
-
exports["ɵgk"] =
|
|
31079
|
-
exports["ɵgl"] =
|
|
31080
|
-
exports["ɵgm"] =
|
|
31081
|
-
exports["ɵgn"] =
|
|
31082
|
-
exports["ɵgo"] =
|
|
31083
|
-
exports["ɵgp"] =
|
|
31084
|
-
exports["ɵgq"] =
|
|
31085
|
-
exports["ɵgr"] =
|
|
31086
|
-
exports["ɵgs"] =
|
|
31087
|
-
exports["ɵgt"] =
|
|
31088
|
-
exports["ɵgu"] =
|
|
31089
|
-
exports["ɵgv"] =
|
|
31090
|
-
exports["ɵgw"] =
|
|
31091
|
-
exports["ɵgx"] =
|
|
31092
|
-
exports["ɵgy"] =
|
|
31093
|
-
exports["ɵgz"] =
|
|
31199
|
+
exports["ɵgb"] = TransactionHeaderDepositPercentageModule;
|
|
31200
|
+
exports["ɵgc"] = TransactionHeaderDepositPercentageComponent;
|
|
31201
|
+
exports["ɵgd"] = TransactionHeaderDepositAmountModule;
|
|
31202
|
+
exports["ɵge"] = TransactionHeaderDepositAmountComponent;
|
|
31203
|
+
exports["ɵgf"] = TransactionHeaderPaymentButtonModule;
|
|
31204
|
+
exports["ɵgg"] = TransactionHeaderPaymentButtonComponent;
|
|
31205
|
+
exports["ɵgh"] = TransactionHeaderPopupComponent;
|
|
31206
|
+
exports["ɵgi"] = TransactionHeaderPopupRelationComponent;
|
|
31207
|
+
exports["ɵgj"] = TransactionHeaderPopupBaseComponent;
|
|
31208
|
+
exports["ɵgk"] = TransactionHeaderPopupOrderComponent;
|
|
31209
|
+
exports["ɵgl"] = TransactionHeaderPopupDeliveryComponent;
|
|
31210
|
+
exports["ɵgm"] = TransactionHeaderPopupPaymentComponent;
|
|
31211
|
+
exports["ɵgn"] = CheckoutOverviewRelationEditComponent;
|
|
31212
|
+
exports["ɵgo"] = CheckoutOverviewDeliveryEditComponent;
|
|
31213
|
+
exports["ɵgp"] = CheckoutOverviewDeliveryAddressComponent;
|
|
31214
|
+
exports["ɵgq"] = CheckoutOverviewPaymentComponent;
|
|
31215
|
+
exports["ɵgr"] = CheckoutLoginComponent;
|
|
31216
|
+
exports["ɵgs"] = TransactionHeaderPaymentModule;
|
|
31217
|
+
exports["ɵgt"] = TransactionHeaderPaymentComponent;
|
|
31218
|
+
exports["ɵgu"] = TransactionLinesGridModule;
|
|
31219
|
+
exports["ɵgv"] = TransactionBaseGridModule;
|
|
31220
|
+
exports["ɵgw"] = TransactionLineSidePanelModule;
|
|
31221
|
+
exports["ɵgx"] = TransactionLineSidePanelDefaultModule;
|
|
31222
|
+
exports["ɵgy"] = TransactionLinePriceListModule;
|
|
31223
|
+
exports["ɵgz"] = TransactionLinePriceListComponent;
|
|
31094
31224
|
exports["ɵh"] = TransactionConnectorAdapterService;
|
|
31095
|
-
exports["ɵha"] =
|
|
31096
|
-
exports["ɵhb"] =
|
|
31097
|
-
exports["ɵhc"] =
|
|
31098
|
-
exports["ɵhd"] =
|
|
31099
|
-
exports["ɵhe"] =
|
|
31100
|
-
exports["ɵhf"] =
|
|
31101
|
-
exports["ɵhg"] =
|
|
31102
|
-
exports["ɵhh"] =
|
|
31103
|
-
exports["ɵhi"] =
|
|
31104
|
-
exports["ɵhj"] =
|
|
31105
|
-
exports["ɵhk"] =
|
|
31106
|
-
exports["ɵhl"] =
|
|
31107
|
-
exports["ɵhm"] =
|
|
31108
|
-
exports["ɵhn"] =
|
|
31109
|
-
exports["ɵho"] =
|
|
31110
|
-
exports["ɵhp"] =
|
|
31111
|
-
exports["ɵhq"] =
|
|
31112
|
-
exports["ɵhr"] =
|
|
31113
|
-
exports["ɵhs"] =
|
|
31114
|
-
exports["ɵht"] =
|
|
31115
|
-
exports["ɵhu"] =
|
|
31116
|
-
exports["ɵhv"] =
|
|
31117
|
-
exports["ɵhw"] =
|
|
31118
|
-
exports["ɵhx"] =
|
|
31119
|
-
exports["ɵhy"] =
|
|
31120
|
-
exports["ɵhz"] =
|
|
31225
|
+
exports["ɵha"] = TransactionLineVatModule;
|
|
31226
|
+
exports["ɵhb"] = TransactionLineVatComponent;
|
|
31227
|
+
exports["ɵhc"] = TransactionLineQuantityModule;
|
|
31228
|
+
exports["ɵhd"] = TransactionLineQuantityComponent;
|
|
31229
|
+
exports["ɵhe"] = TransactionLineLineDiscountModule;
|
|
31230
|
+
exports["ɵhf"] = TransactionLineLineDiscountComponent;
|
|
31231
|
+
exports["ɵhg"] = TransactionLineDeliveryMethodModule;
|
|
31232
|
+
exports["ɵhh"] = TransactionLineDeliveryMethodComponent;
|
|
31233
|
+
exports["ɵhi"] = TransactionLineDeliveryDateModule;
|
|
31234
|
+
exports["ɵhj"] = TransactionDateSelectModule;
|
|
31235
|
+
exports["ɵhk"] = TransactionDateSelectComponent;
|
|
31236
|
+
exports["ɵhl"] = TransactionLineDeliveryDateComponent;
|
|
31237
|
+
exports["ɵhm"] = TransactionLineReferenceModule;
|
|
31238
|
+
exports["ɵhn"] = TransactionLineReferenceComponent;
|
|
31239
|
+
exports["ɵho"] = TransactionLineCommissionCodeModule;
|
|
31240
|
+
exports["ɵhp"] = TransactionLineCommissionCodeComponent;
|
|
31241
|
+
exports["ɵhq"] = TransactionLineWarehouseModule;
|
|
31242
|
+
exports["ɵhr"] = TransactionLineWarehouseComponent;
|
|
31243
|
+
exports["ɵhs"] = TransactionLineDiscountAmountModule;
|
|
31244
|
+
exports["ɵht"] = TransactionLineDiscountAmountComponent;
|
|
31245
|
+
exports["ɵhu"] = TransactionLineQuantumDiscountModule;
|
|
31246
|
+
exports["ɵhv"] = TransactionLineQuantumDiscountComponent;
|
|
31247
|
+
exports["ɵhw"] = TransactionLineSpecialDiscountModule;
|
|
31248
|
+
exports["ɵhx"] = TransactionLineSpecialDiscountComponent;
|
|
31249
|
+
exports["ɵhy"] = TransactionLineSupplierModule;
|
|
31250
|
+
exports["ɵhz"] = TransactionLineSupplierComponent;
|
|
31121
31251
|
exports["ɵi"] = SelectMultipleCacheService;
|
|
31122
|
-
exports["ɵia"] =
|
|
31123
|
-
exports["ɵib"] =
|
|
31124
|
-
exports["ɵic"] =
|
|
31125
|
-
exports["ɵid"] =
|
|
31126
|
-
exports["ɵie"] =
|
|
31127
|
-
exports["ɵif"] =
|
|
31128
|
-
exports["ɵig"] =
|
|
31129
|
-
exports["ɵih"] =
|
|
31130
|
-
exports["ɵii"] =
|
|
31131
|
-
exports["ɵij"] =
|
|
31132
|
-
exports["ɵik"] =
|
|
31133
|
-
exports["ɵil"] =
|
|
31134
|
-
exports["ɵim"] =
|
|
31135
|
-
exports["ɵin"] =
|
|
31136
|
-
exports["ɵio"] =
|
|
31137
|
-
exports["ɵip"] =
|
|
31138
|
-
exports["ɵiq"] =
|
|
31139
|
-
exports["ɵir"] =
|
|
31140
|
-
exports["ɵis"] =
|
|
31141
|
-
exports["ɵit"] =
|
|
31142
|
-
exports["ɵiu"] =
|
|
31143
|
-
exports["ɵiv"] =
|
|
31144
|
-
exports["ɵiw"] =
|
|
31145
|
-
exports["ɵix"] =
|
|
31146
|
-
exports["ɵiy"] =
|
|
31147
|
-
exports["ɵiz"] =
|
|
31252
|
+
exports["ɵia"] = TransactionLinePriceModule;
|
|
31253
|
+
exports["ɵib"] = TransactionLinePriceComponent;
|
|
31254
|
+
exports["ɵic"] = TransactionLineSupplierButtonModule;
|
|
31255
|
+
exports["ɵid"] = DialogTransactionLineSupplierModule;
|
|
31256
|
+
exports["ɵie"] = DialogTransactionLineSupplierComponent;
|
|
31257
|
+
exports["ɵif"] = TransactionLineSupplierButtonComponent;
|
|
31258
|
+
exports["ɵig"] = TransactionLineSidePanelDefaultComponent;
|
|
31259
|
+
exports["ɵih"] = TransactionReceivingGoodsHistoryModule;
|
|
31260
|
+
exports["ɵii"] = TransactionHistoryGridModule;
|
|
31261
|
+
exports["ɵij"] = TransactionHistoryGridStatusModule;
|
|
31262
|
+
exports["ɵik"] = TransactionHistoryGridStatusComponent;
|
|
31263
|
+
exports["ɵil"] = TransactionHistoryGridComponent;
|
|
31264
|
+
exports["ɵim"] = TransactionReceivingGoodsHistoryComponent;
|
|
31265
|
+
exports["ɵin"] = TransactionButtonBarModule;
|
|
31266
|
+
exports["ɵio"] = AnimatedCheckboxModule;
|
|
31267
|
+
exports["ɵip"] = AnimatedCheckboxComponent;
|
|
31268
|
+
exports["ɵiq"] = TransactionButtonBarComponent;
|
|
31269
|
+
exports["ɵir"] = TransactionButtonBarButtonComponent;
|
|
31270
|
+
exports["ɵis"] = TransactionButtonBarButtonBaseComponent;
|
|
31271
|
+
exports["ɵit"] = TransactionSalesPurchaseButtonBarButtonComponent;
|
|
31272
|
+
exports["ɵiu"] = TransactionPurchaseReceiveGoodsButtonBarButtonComponent;
|
|
31273
|
+
exports["ɵiv"] = TransactionSalesAllocationButtonBarButtonComponent;
|
|
31274
|
+
exports["ɵiw"] = TransactionPurchaseConfirmationButtonBarButtonComponent;
|
|
31275
|
+
exports["ɵix"] = TransactionSalesDeliveryButtonBarButtonComponent;
|
|
31276
|
+
exports["ɵiy"] = TransactionSalesInvoiceButtonBarButtonComponent;
|
|
31277
|
+
exports["ɵiz"] = TransactionPurchaseInvoiceButtonBarButtonComponent;
|
|
31148
31278
|
exports["ɵj"] = BusinessObjectCacheManagerService;
|
|
31149
|
-
exports["ɵja"] =
|
|
31150
|
-
exports["ɵjb"] =
|
|
31151
|
-
exports["ɵjc"] =
|
|
31152
|
-
exports["ɵjd"] =
|
|
31153
|
-
exports["ɵje"] =
|
|
31154
|
-
exports["ɵjf"] =
|
|
31155
|
-
exports["ɵjg"] =
|
|
31156
|
-
exports["ɵjh"] =
|
|
31157
|
-
exports["ɵji"] =
|
|
31158
|
-
exports["ɵjj"] =
|
|
31159
|
-
exports["ɵjk"] =
|
|
31160
|
-
exports["ɵjl"] =
|
|
31161
|
-
exports["ɵjm"] =
|
|
31162
|
-
exports["ɵjn"] =
|
|
31163
|
-
exports["ɵjo"] =
|
|
31164
|
-
exports["ɵjp"] =
|
|
31165
|
-
exports["ɵjq"] =
|
|
31166
|
-
exports["ɵjr"] =
|
|
31167
|
-
exports["ɵjs"] =
|
|
31168
|
-
exports["ɵjt"] =
|
|
31169
|
-
exports["ɵju"] =
|
|
31170
|
-
exports["ɵjv"] =
|
|
31171
|
-
exports["ɵjw"] =
|
|
31172
|
-
exports["ɵjx"] =
|
|
31173
|
-
exports["ɵjy"] =
|
|
31174
|
-
exports["ɵjz"] =
|
|
31279
|
+
exports["ɵja"] = TransactionLineSidePanelPurchaseModule;
|
|
31280
|
+
exports["ɵjb"] = DefaultOkCancelButtonsModule;
|
|
31281
|
+
exports["ɵjc"] = DefaultOkCancelButtonsComponent;
|
|
31282
|
+
exports["ɵjd"] = TransactionAvailableStockGridModule;
|
|
31283
|
+
exports["ɵje"] = TransactionAvailableStockGridComponent;
|
|
31284
|
+
exports["ɵjf"] = TransactionLinePurchaseReceiveGoodsModule;
|
|
31285
|
+
exports["ɵjg"] = TransactionLineWarehouseLocationButtonModule;
|
|
31286
|
+
exports["ɵjh"] = DialogTransactionLineWarehouseLocationModule;
|
|
31287
|
+
exports["ɵji"] = TransactionLineWarehouseLocationModule;
|
|
31288
|
+
exports["ɵjj"] = TransactionLineWarehouseLocationComponent;
|
|
31289
|
+
exports["ɵjk"] = ArticleService;
|
|
31290
|
+
exports["ɵjl"] = DialogTransactionLineWarehouseLocationComponent;
|
|
31291
|
+
exports["ɵjm"] = TransactionLineWarehouseLocationButtonComponent;
|
|
31292
|
+
exports["ɵjn"] = TransactionLabeledWarehouseLocationButtonModule;
|
|
31293
|
+
exports["ɵjo"] = TransactionLabeledWarehouseLocationButtonComponent;
|
|
31294
|
+
exports["ɵjp"] = TransactionLinePurchaseReceiveGoodsComponent;
|
|
31295
|
+
exports["ɵjq"] = TransactionLinePurchaseConfirmationModule;
|
|
31296
|
+
exports["ɵjr"] = TransactionLabeledPriceInputModule;
|
|
31297
|
+
exports["ɵjs"] = TransactionLabeledPriceInputComponent;
|
|
31298
|
+
exports["ɵjt"] = TransactionLinePurchaseConfirmationComponent;
|
|
31299
|
+
exports["ɵju"] = TransactionLineSidePanelPurchaseComponent;
|
|
31300
|
+
exports["ɵjv"] = TransactionLineSidePanelSalesModule;
|
|
31301
|
+
exports["ɵjw"] = TransactionAllocateGoodsHistoryModule;
|
|
31302
|
+
exports["ɵjx"] = TransactionAllocateGoodsHistoryComponent;
|
|
31303
|
+
exports["ɵjy"] = TransactionLineSalesAllocationModule;
|
|
31304
|
+
exports["ɵjz"] = TransactionLineSalesAllocationComponent;
|
|
31175
31305
|
exports["ɵk"] = CacheField;
|
|
31176
|
-
exports["ɵka"] =
|
|
31177
|
-
exports["ɵkb"] =
|
|
31178
|
-
exports["ɵkc"] =
|
|
31179
|
-
exports["ɵkd"] =
|
|
31180
|
-
exports["ɵke"] =
|
|
31181
|
-
exports["ɵkf"] =
|
|
31182
|
-
exports["ɵkg"] =
|
|
31183
|
-
exports["ɵkh"] =
|
|
31184
|
-
exports["ɵki"] =
|
|
31185
|
-
exports["ɵkj"] =
|
|
31186
|
-
exports["ɵkk"] =
|
|
31187
|
-
exports["ɵkl"] =
|
|
31188
|
-
exports["ɵkm"] =
|
|
31189
|
-
exports["ɵkn"] =
|
|
31190
|
-
exports["ɵko"] =
|
|
31191
|
-
exports["ɵkp"] =
|
|
31192
|
-
exports["ɵkq"] =
|
|
31193
|
-
exports["ɵkr"] =
|
|
31194
|
-
exports["ɵks"] =
|
|
31195
|
-
exports["ɵkt"] =
|
|
31196
|
-
exports["ɵku"] =
|
|
31197
|
-
exports["ɵkv"] =
|
|
31198
|
-
exports["ɵkw"] =
|
|
31199
|
-
exports["ɵkx"] =
|
|
31200
|
-
exports["ɵky"] =
|
|
31201
|
-
exports["ɵkz"] =
|
|
31306
|
+
exports["ɵka"] = TransactionLineSalesDeliveryModule;
|
|
31307
|
+
exports["ɵkb"] = TransactionLineDeliveryHistoryModule;
|
|
31308
|
+
exports["ɵkc"] = TransactionLineDeliveryHistoryComponent;
|
|
31309
|
+
exports["ɵkd"] = TransactionLineSalesDeliveryComponent;
|
|
31310
|
+
exports["ɵke"] = TransactionLineSalesInvoiceModule;
|
|
31311
|
+
exports["ɵkf"] = TransactionLineInvoiceHistoryModule;
|
|
31312
|
+
exports["ɵkg"] = TransactionLineInvoiceHistoryComponent;
|
|
31313
|
+
exports["ɵkh"] = TransactionLineSalesInvoiceComponent;
|
|
31314
|
+
exports["ɵki"] = TransactionLineSidePanelSalesComponent;
|
|
31315
|
+
exports["ɵkj"] = TransactionLineSidePanelComponent;
|
|
31316
|
+
exports["ɵkk"] = TransactionLineActionButtonsModule;
|
|
31317
|
+
exports["ɵkl"] = TransactionArticleTextOverviewModule;
|
|
31318
|
+
exports["ɵkm"] = TransactionArticleTextOverviewComponent;
|
|
31319
|
+
exports["ɵkn"] = TransactionLineActionButtonsComponent;
|
|
31320
|
+
exports["ɵko"] = TransactionLineActionButtonsPopupComponent;
|
|
31321
|
+
exports["ɵkp"] = TransactionBaseGridComponent;
|
|
31322
|
+
exports["ɵkq"] = TransactionGridBaseComponent;
|
|
31323
|
+
exports["ɵkr"] = DialogTransactionLineCommissionCodeModule;
|
|
31324
|
+
exports["ɵks"] = DialogTransactionLineCommissionCodeComponent;
|
|
31325
|
+
exports["ɵkt"] = DialogTransactionLineWarehouseModule;
|
|
31326
|
+
exports["ɵku"] = DialogTransactionLineWarehouseComponent;
|
|
31327
|
+
exports["ɵkv"] = DialogTransactionLineWarehouseCcModule;
|
|
31328
|
+
exports["ɵkw"] = DialogTransactionLineWarehouseCcComponent;
|
|
31329
|
+
exports["ɵkx"] = DialogTransactionLineDeliveryMethodModule;
|
|
31330
|
+
exports["ɵky"] = DialogTransactionLineDeliveryMethodComponent;
|
|
31331
|
+
exports["ɵkz"] = DialogTransactionLineVatModule;
|
|
31202
31332
|
exports["ɵl"] = SelectMultipleParameterizedCacheService;
|
|
31203
|
-
exports["ɵla"] =
|
|
31204
|
-
exports["ɵlb"] =
|
|
31205
|
-
exports["ɵlc"] =
|
|
31206
|
-
exports["ɵld"] =
|
|
31207
|
-
exports["ɵle"] =
|
|
31208
|
-
exports["ɵlf"] =
|
|
31209
|
-
exports["ɵlg"] =
|
|
31210
|
-
exports["ɵlh"] =
|
|
31211
|
-
exports["ɵli"] =
|
|
31212
|
-
exports["ɵlj"] =
|
|
31213
|
-
exports["ɵlk"] =
|
|
31214
|
-
exports["ɵll"] =
|
|
31215
|
-
exports["ɵlm"] =
|
|
31216
|
-
exports["ɵln"] =
|
|
31217
|
-
exports["ɵlo"] =
|
|
31218
|
-
exports["ɵlp"] =
|
|
31219
|
-
exports["ɵlq"] =
|
|
31220
|
-
exports["ɵlr"] =
|
|
31221
|
-
exports["ɵls"] =
|
|
31222
|
-
exports["ɵlt"] =
|
|
31223
|
-
exports["ɵlu"] =
|
|
31224
|
-
exports["ɵlv"] =
|
|
31225
|
-
exports["ɵlw"] =
|
|
31226
|
-
exports["ɵlx"] =
|
|
31227
|
-
exports["ɵly"] =
|
|
31228
|
-
exports["ɵlz"] =
|
|
31333
|
+
exports["ɵla"] = DialogTransactionLineVatComponent;
|
|
31334
|
+
exports["ɵlb"] = DialogTransactionLineDiscountModule;
|
|
31335
|
+
exports["ɵlc"] = DialogTransactionLinePriceListModule;
|
|
31336
|
+
exports["ɵld"] = DialogTransactionLinePriceListComponent;
|
|
31337
|
+
exports["ɵle"] = DialogTransactionLineDiscountComponent;
|
|
31338
|
+
exports["ɵlf"] = DialogTransactionHeaderBranchModule;
|
|
31339
|
+
exports["ɵlg"] = DialogTransactionHeaderBranchComponent;
|
|
31340
|
+
exports["ɵlh"] = TransactionLinesGridComponent;
|
|
31341
|
+
exports["ɵli"] = DiscountModule;
|
|
31342
|
+
exports["ɵlj"] = DiscountComponent;
|
|
31343
|
+
exports["ɵlk"] = QuickSendButtonModule;
|
|
31344
|
+
exports["ɵll"] = QuickSendButtonComponent;
|
|
31345
|
+
exports["ɵlm"] = TransactionQuickAccessSendMethodBaseComponent;
|
|
31346
|
+
exports["ɵln"] = TransactionQuickAccessOverviewModule;
|
|
31347
|
+
exports["ɵlo"] = DialogCatalogModule;
|
|
31348
|
+
exports["ɵlp"] = DialogCatalogComponent;
|
|
31349
|
+
exports["ɵlq"] = TransactionSendDocumentsModule;
|
|
31350
|
+
exports["ɵlr"] = TransactionSendDocumentsComponent;
|
|
31351
|
+
exports["ɵls"] = AddProductModule;
|
|
31352
|
+
exports["ɵlt"] = AddProductComponent;
|
|
31353
|
+
exports["ɵlu"] = TransactionQuickAccessOverviewComponent;
|
|
31354
|
+
exports["ɵlv"] = TransactionQuickAccessOrderDeliveryModule;
|
|
31355
|
+
exports["ɵlw"] = TransactionQuickAccessOrderDeliveryComponent;
|
|
31356
|
+
exports["ɵlx"] = TransactionQuickAccessOrderPurchaseModule;
|
|
31357
|
+
exports["ɵly"] = TransactionQuickAccessOrderPurchaseComponent;
|
|
31358
|
+
exports["ɵlz"] = TransactionQuickAccessGoodsAllocationModule;
|
|
31229
31359
|
exports["ɵm"] = ErrorService;
|
|
31230
|
-
exports["ɵma"] =
|
|
31231
|
-
exports["ɵmb"] =
|
|
31232
|
-
exports["ɵmc"] =
|
|
31233
|
-
exports["ɵmd"] =
|
|
31234
|
-
exports["ɵme"] =
|
|
31235
|
-
exports["ɵmf"] =
|
|
31236
|
-
exports["ɵmg"] =
|
|
31237
|
-
exports["ɵmh"] =
|
|
31238
|
-
exports["ɵmi"] =
|
|
31239
|
-
exports["ɵmj"] =
|
|
31240
|
-
exports["ɵmk"] =
|
|
31241
|
-
exports["ɵml"] =
|
|
31242
|
-
exports["ɵmm"] =
|
|
31243
|
-
exports["ɵmn"] =
|
|
31244
|
-
exports["ɵmo"] =
|
|
31245
|
-
exports["ɵmp"] =
|
|
31246
|
-
exports["ɵmq"] =
|
|
31247
|
-
exports["ɵmr"] =
|
|
31248
|
-
exports["ɵms"] =
|
|
31249
|
-
exports["ɵmt"] =
|
|
31250
|
-
exports["ɵmu"] =
|
|
31251
|
-
exports["ɵmv"] =
|
|
31252
|
-
exports["ɵmw"] =
|
|
31253
|
-
exports["ɵmx"] =
|
|
31254
|
-
exports["ɵmy"] =
|
|
31255
|
-
exports["ɵmz"] =
|
|
31360
|
+
exports["ɵma"] = TransactionQuickAccessGoodsAllocationComponent;
|
|
31361
|
+
exports["ɵmb"] = TransactionQuickAccessPurchaseOrderOverviewModule;
|
|
31362
|
+
exports["ɵmc"] = TransactionQuickAccessPurchaseOrderOverviewComponent;
|
|
31363
|
+
exports["ɵmd"] = TransactionQuickAccessInvoiceModule;
|
|
31364
|
+
exports["ɵme"] = TransactionQuickAccessInvoiceComponent;
|
|
31365
|
+
exports["ɵmf"] = TransactionOrderConfirmationGridModule;
|
|
31366
|
+
exports["ɵmg"] = TransactionOrderConfirmationGridComponent;
|
|
31367
|
+
exports["ɵmh"] = TransactionGridModule;
|
|
31368
|
+
exports["ɵmi"] = TransactionGridComponent;
|
|
31369
|
+
exports["ɵmj"] = TransactionTileModule;
|
|
31370
|
+
exports["ɵmk"] = TransactionTileComponent;
|
|
31371
|
+
exports["ɵml"] = TransactionOverviewLineModule;
|
|
31372
|
+
exports["ɵmm"] = EditableLabelModule;
|
|
31373
|
+
exports["ɵmn"] = EditableLabelComponent;
|
|
31374
|
+
exports["ɵmo"] = TransactionBaseLineModule;
|
|
31375
|
+
exports["ɵmp"] = TransactionBaseLineComponent;
|
|
31376
|
+
exports["ɵmq"] = TransactionLineCommissionButtonModule;
|
|
31377
|
+
exports["ɵmr"] = TransactionLineCommissionButtonComponent;
|
|
31378
|
+
exports["ɵms"] = TransactionLineWarehouseButtonModule;
|
|
31379
|
+
exports["ɵmt"] = TransactionLineWarehouseButtonComponent;
|
|
31380
|
+
exports["ɵmu"] = TransactionLineDeliveryButtonModule;
|
|
31381
|
+
exports["ɵmv"] = TransactionLineDeliveryButtonComponent;
|
|
31382
|
+
exports["ɵmw"] = TransactionLineDeliveryDateButtonModule;
|
|
31383
|
+
exports["ɵmx"] = TransactionLineDeliveryDateButtonComponent;
|
|
31384
|
+
exports["ɵmy"] = TransactionLineAmountModule;
|
|
31385
|
+
exports["ɵmz"] = TransactionLineAmountComponent;
|
|
31256
31386
|
exports["ɵn"] = SelectSingleCacheService;
|
|
31257
|
-
exports["ɵna"] =
|
|
31258
|
-
exports["ɵnb"] =
|
|
31259
|
-
exports["ɵnc"] =
|
|
31260
|
-
exports["ɵnd"] =
|
|
31261
|
-
exports["ɵne"] =
|
|
31262
|
-
exports["ɵnf"] =
|
|
31263
|
-
exports["ɵng"] =
|
|
31264
|
-
exports["ɵnh"] =
|
|
31265
|
-
exports["ɵni"] =
|
|
31266
|
-
exports["ɵnj"] =
|
|
31267
|
-
exports["ɵnk"] =
|
|
31268
|
-
exports["ɵnl"] =
|
|
31269
|
-
exports["ɵnm"] =
|
|
31270
|
-
exports["ɵnn"] =
|
|
31271
|
-
exports["ɵno"] =
|
|
31272
|
-
exports["ɵnp"] =
|
|
31273
|
-
exports["ɵnq"] =
|
|
31274
|
-
exports["ɵnr"] =
|
|
31275
|
-
exports["ɵns"] =
|
|
31276
|
-
exports["ɵnt"] =
|
|
31277
|
-
exports["ɵnu"] =
|
|
31278
|
-
exports["ɵnv"] =
|
|
31279
|
-
exports["ɵnw"] =
|
|
31280
|
-
exports["ɵnx"] =
|
|
31281
|
-
exports["ɵny"] =
|
|
31282
|
-
exports["ɵnz"] =
|
|
31387
|
+
exports["ɵna"] = TransactionLineVatButtonModule;
|
|
31388
|
+
exports["ɵnb"] = TransactionLineVatButtonComponent;
|
|
31389
|
+
exports["ɵnc"] = TransactionLineDiscountButtonModule;
|
|
31390
|
+
exports["ɵnd"] = TransactionLineDiscountButtonComponent;
|
|
31391
|
+
exports["ɵne"] = TransactionOverviewLineComponent;
|
|
31392
|
+
exports["ɵnf"] = TransactionOrderDeliveryLineModule;
|
|
31393
|
+
exports["ɵng"] = TransactionOrderDeliveryLineComponent;
|
|
31394
|
+
exports["ɵnh"] = TransactionOrderDeliveryLineBaseComponent;
|
|
31395
|
+
exports["ɵni"] = TransactionReceiveGoodsLineModule;
|
|
31396
|
+
exports["ɵnj"] = TransactionPrintPackageStickerModule;
|
|
31397
|
+
exports["ɵnk"] = TransactionPrintPackageStickerComponent;
|
|
31398
|
+
exports["ɵnl"] = TransactionReceiveGoodsLineComponent;
|
|
31399
|
+
exports["ɵnm"] = TransactionReceiveGoodsLineBaseComponent;
|
|
31400
|
+
exports["ɵnn"] = TransactionPurchaseLineModule;
|
|
31401
|
+
exports["ɵno"] = TransactionNavigationButtonModule;
|
|
31402
|
+
exports["ɵnp"] = TransactionNavigationButtonComponent;
|
|
31403
|
+
exports["ɵnq"] = TransactionLineDropShipmentButtonModule;
|
|
31404
|
+
exports["ɵnr"] = TransactionLineDropShipmentButtonComponent;
|
|
31405
|
+
exports["ɵns"] = TransactionPurchaseLineComponent;
|
|
31406
|
+
exports["ɵnt"] = TransactionPurchaseLineBaseComponent;
|
|
31407
|
+
exports["ɵnu"] = TransactionInvoiceLineModule;
|
|
31408
|
+
exports["ɵnv"] = TransactionInvoiceLineComponent;
|
|
31409
|
+
exports["ɵnw"] = TransactionInvoiceLineBaseComponent;
|
|
31410
|
+
exports["ɵnx"] = TransactionGoodsAllocationLineModule;
|
|
31411
|
+
exports["ɵny"] = TransactionGoodsAllocationLineComponent;
|
|
31412
|
+
exports["ɵnz"] = TransactionPurchaseOrderLineModule;
|
|
31283
31413
|
exports["ɵo"] = SelectSingleParameterizedCacheService;
|
|
31284
|
-
exports["ɵoa"] =
|
|
31285
|
-
exports["ɵob"] =
|
|
31286
|
-
exports["ɵoc"] =
|
|
31287
|
-
exports["ɵod"] =
|
|
31288
|
-
exports["ɵoe"] =
|
|
31289
|
-
exports["ɵof"] =
|
|
31290
|
-
exports["ɵog"] =
|
|
31291
|
-
exports["ɵoh"] =
|
|
31292
|
-
exports["ɵoi"] =
|
|
31293
|
-
exports["ɵoj"] =
|
|
31294
|
-
exports["ɵok"] =
|
|
31295
|
-
exports["ɵol"] =
|
|
31296
|
-
exports["ɵom"] =
|
|
31297
|
-
exports["ɵon"] =
|
|
31298
|
-
exports["ɵoo"] =
|
|
31299
|
-
exports["ɵop"] =
|
|
31300
|
-
exports["ɵoq"] =
|
|
31301
|
-
exports["ɵor"] =
|
|
31302
|
-
exports["ɵos"] =
|
|
31303
|
-
exports["ɵot"] =
|
|
31304
|
-
exports["ɵou"] =
|
|
31305
|
-
exports["ɵov"] =
|
|
31306
|
-
exports["ɵow"] =
|
|
31307
|
-
exports["ɵox"] =
|
|
31308
|
-
exports["ɵoy"] =
|
|
31309
|
-
exports["ɵoz"] =
|
|
31414
|
+
exports["ɵoa"] = TransactionPurchasePortalLineConfirmedPriceModule;
|
|
31415
|
+
exports["ɵob"] = TransactionPurchasePortalLineConfirmedPriceComponent;
|
|
31416
|
+
exports["ɵoc"] = TransactionPurchasePortalLineGrossOrderPriceModule;
|
|
31417
|
+
exports["ɵod"] = TransactionPurchasePortalLineGrossOrderPriceComponent;
|
|
31418
|
+
exports["ɵoe"] = TransactionPurchasePortalLineNetOrderPriceModule;
|
|
31419
|
+
exports["ɵof"] = TransactionPurchasePortalLineNetOrderPriceComponent;
|
|
31420
|
+
exports["ɵog"] = TransactionPurchasePortalLineDeliveryDateModule;
|
|
31421
|
+
exports["ɵoh"] = TransactionPurchasePortalLineDeliveryDateComponent;
|
|
31422
|
+
exports["ɵoi"] = TransactionPurchasePortalLineConfirmedDeliveryDateModule;
|
|
31423
|
+
exports["ɵoj"] = TransactionPurchasePortalLineConfirmedDeliveryDateComponent;
|
|
31424
|
+
exports["ɵok"] = TransactionPurchaseOrderLineComponent;
|
|
31425
|
+
exports["ɵol"] = TransactionPurchaseOrderLineBaseComponent;
|
|
31426
|
+
exports["ɵom"] = TransactionPurchaseOverviewLineModule;
|
|
31427
|
+
exports["ɵon"] = TransactionNavigationButtonListModule;
|
|
31428
|
+
exports["ɵoo"] = TransactionNavigationButtonListComponent;
|
|
31429
|
+
exports["ɵop"] = TransactionPurchaseOverviewLineComponent;
|
|
31430
|
+
exports["ɵoq"] = TransactionCardModule;
|
|
31431
|
+
exports["ɵor"] = TransactionCardPurchaseOverviewModule;
|
|
31432
|
+
exports["ɵos"] = TransactionCardHeaderModule;
|
|
31433
|
+
exports["ɵot"] = TransactionCardHeaderComponent;
|
|
31434
|
+
exports["ɵou"] = TransactionCardFooterModule;
|
|
31435
|
+
exports["ɵov"] = TransactionCardFooterComponent;
|
|
31436
|
+
exports["ɵow"] = TransactionCardPurchaseOverviewComponent;
|
|
31437
|
+
exports["ɵox"] = TransactionCardSalesOverviewModule;
|
|
31438
|
+
exports["ɵoy"] = TransactionCardSalesOverviewComponent;
|
|
31439
|
+
exports["ɵoz"] = TransactionCardReceiveGoodsModule;
|
|
31310
31440
|
exports["ɵp"] = ArticleConnectorService;
|
|
31311
|
-
exports["ɵpa"] =
|
|
31312
|
-
exports["ɵpb"] =
|
|
31313
|
-
exports["ɵpc"] =
|
|
31314
|
-
exports["ɵpd"] =
|
|
31315
|
-
exports["ɵpe"] =
|
|
31316
|
-
exports["ɵpf"] =
|
|
31317
|
-
exports["ɵpg"] =
|
|
31318
|
-
exports["ɵph"] =
|
|
31319
|
-
exports["ɵpi"] =
|
|
31320
|
-
exports["ɵpj"] =
|
|
31321
|
-
exports["ɵpk"] =
|
|
31322
|
-
exports["ɵpl"] =
|
|
31323
|
-
exports["ɵpm"] =
|
|
31324
|
-
exports["ɵpn"] =
|
|
31325
|
-
exports["ɵpo"] =
|
|
31326
|
-
exports["ɵpp"] =
|
|
31327
|
-
exports["ɵpq"] =
|
|
31328
|
-
exports["ɵpr"] =
|
|
31329
|
-
exports["ɵps"] =
|
|
31330
|
-
exports["ɵpt"] =
|
|
31331
|
-
exports["ɵpu"] =
|
|
31332
|
-
exports["ɵpv"] =
|
|
31333
|
-
exports["ɵpw"] =
|
|
31334
|
-
exports["ɵpx"] =
|
|
31335
|
-
exports["ɵpy"] =
|
|
31336
|
-
exports["ɵpz"] =
|
|
31441
|
+
exports["ɵpa"] = TransactionCardReceiveGoodsComponent;
|
|
31442
|
+
exports["ɵpb"] = TransactionCardInvoiceModule;
|
|
31443
|
+
exports["ɵpc"] = TransactionCardInvoiceComponent;
|
|
31444
|
+
exports["ɵpd"] = TransactionCardOrderDeliveryModule;
|
|
31445
|
+
exports["ɵpe"] = TransactionCardOrderDeliveryComponent;
|
|
31446
|
+
exports["ɵpf"] = TransactionCardComponent;
|
|
31447
|
+
exports["ɵpg"] = TransactionTextLineModule;
|
|
31448
|
+
exports["ɵph"] = TransactionTextLineComponent;
|
|
31449
|
+
exports["ɵpi"] = SearchViewModeService;
|
|
31450
|
+
exports["ɵpj"] = TransactionSearchSalesOrderTileModule;
|
|
31451
|
+
exports["ɵpk"] = TransactionSearchSalesOrderTileComponent;
|
|
31452
|
+
exports["ɵpl"] = TransactionSearchTileBaseComponent;
|
|
31453
|
+
exports["ɵpm"] = TransactionSearchPurchaseOrderTileModule;
|
|
31454
|
+
exports["ɵpn"] = TransactionSearchPurchaseOrderTileComponent;
|
|
31455
|
+
exports["ɵpo"] = TransactionSearchSalesOrderGridModule;
|
|
31456
|
+
exports["ɵpp"] = TransactionSearchSalesOrderGridComponent;
|
|
31457
|
+
exports["ɵpq"] = TransactionSearchGridBaseComponent;
|
|
31458
|
+
exports["ɵpr"] = TransactionSearchPurchaseOrderGridModule;
|
|
31459
|
+
exports["ɵps"] = TransactionSearchPurchaseOrderGridComponent;
|
|
31460
|
+
exports["ɵpt"] = TransactionSearchGridModule;
|
|
31461
|
+
exports["ɵpu"] = TransactionSearchGridComponent;
|
|
31462
|
+
exports["ɵpv"] = TransactionSearchTileModule;
|
|
31463
|
+
exports["ɵpw"] = TransactionSearchTileComponent;
|
|
31464
|
+
exports["ɵpx"] = TransactionSalesOrderFilterModule;
|
|
31465
|
+
exports["ɵpy"] = TransactionSalesOrderFilterContentOrderModule;
|
|
31466
|
+
exports["ɵpz"] = TransactionFilterItemModule;
|
|
31337
31467
|
exports["ɵq"] = RelationConnectorService;
|
|
31338
|
-
exports["ɵqa"] =
|
|
31339
|
-
exports["ɵqb"] =
|
|
31340
|
-
exports["ɵqc"] =
|
|
31341
|
-
exports["ɵqd"] =
|
|
31342
|
-
exports["ɵqe"] =
|
|
31343
|
-
exports["ɵqf"] =
|
|
31344
|
-
exports["ɵqg"] =
|
|
31345
|
-
exports["ɵqh"] =
|
|
31346
|
-
exports["ɵqi"] =
|
|
31347
|
-
exports["ɵqj"] =
|
|
31348
|
-
exports["ɵqk"] =
|
|
31349
|
-
exports["ɵql"] =
|
|
31350
|
-
exports["ɵqm"] =
|
|
31351
|
-
exports["ɵqn"] =
|
|
31352
|
-
exports["ɵqo"] =
|
|
31353
|
-
exports["ɵqp"] =
|
|
31354
|
-
exports["ɵqq"] =
|
|
31355
|
-
exports["ɵqr"] =
|
|
31356
|
-
exports["ɵqs"] =
|
|
31357
|
-
exports["ɵqt"] =
|
|
31358
|
-
exports["ɵqu"] =
|
|
31359
|
-
exports["ɵqv"] =
|
|
31360
|
-
exports["ɵqw"] =
|
|
31361
|
-
exports["ɵqx"] =
|
|
31362
|
-
exports["ɵqy"] =
|
|
31468
|
+
exports["ɵqa"] = TransactionFilterItemComponent;
|
|
31469
|
+
exports["ɵqb"] = TransactionSalesOrderFilterContentOrderComponent;
|
|
31470
|
+
exports["ɵqc"] = TransactionFilterContentBaseComponent;
|
|
31471
|
+
exports["ɵqd"] = FilterRequestService;
|
|
31472
|
+
exports["ɵqe"] = TransactionSalesOrderFilterContentLogisticsModule;
|
|
31473
|
+
exports["ɵqf"] = TransactionFilterHistoricStateModule;
|
|
31474
|
+
exports["ɵqg"] = TransactionFilterHistoricStateComponent;
|
|
31475
|
+
exports["ɵqh"] = TransactionSalesOrderFilterContentLogisticsComponent;
|
|
31476
|
+
exports["ɵqi"] = TransactionSalesOrderFilterContentArticleModule;
|
|
31477
|
+
exports["ɵqj"] = TransactionSalesOrderFilterContentArticleComponent;
|
|
31478
|
+
exports["ɵqk"] = TransactionSalesOrderFilterComponent;
|
|
31479
|
+
exports["ɵql"] = TransactionFilterBaseComponent;
|
|
31480
|
+
exports["ɵqm"] = TransactionPurchaseOrderFilterModule;
|
|
31481
|
+
exports["ɵqn"] = TransactionPurchaseOrderFilterContentOrderModule;
|
|
31482
|
+
exports["ɵqo"] = TransactionPurchaseOrderFilterContentOrderComponent;
|
|
31483
|
+
exports["ɵqp"] = TransactionPurchaseOrderFilterContentLogisticsModule;
|
|
31484
|
+
exports["ɵqq"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
|
|
31485
|
+
exports["ɵqr"] = TransactionPurchaseOrderFilterContentArticleModule;
|
|
31486
|
+
exports["ɵqs"] = TransactionPurchaseOrderFilterContentArticleComponent;
|
|
31487
|
+
exports["ɵqt"] = TransactionPurchaseOrderFilterComponent;
|
|
31488
|
+
exports["ɵqu"] = SearchFeatureModule;
|
|
31489
|
+
exports["ɵqv"] = SearchHeaderButtonsModule;
|
|
31490
|
+
exports["ɵqw"] = SearchHeaderButtonsComponent;
|
|
31491
|
+
exports["ɵqx"] = SearchFilterPanelModule;
|
|
31492
|
+
exports["ɵqy"] = SearchFilterPanelComponent;
|
|
31493
|
+
exports["ɵqz"] = SearchComponent;
|
|
31363
31494
|
exports["ɵr"] = CoreModule;
|
|
31495
|
+
exports["ɵra"] = TransactionTagComponent;
|
|
31364
31496
|
exports["ɵs"] = ConfirmationDialogModule;
|
|
31365
31497
|
exports["ɵt"] = PipeModule;
|
|
31366
31498
|
exports["ɵu"] = AppendPipe;
|