@colijnit/transaction 255.1.10 → 255.1.12
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 +51 -15
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/add-product/add-product.component.js +17 -6
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +13 -18
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +4 -13
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +3 -14
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +3 -6
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/service/article-connector.service.js +18 -1
- package/esm2015/lib/service/transaction.service.js +4 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +59 -54
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss +1 -1
- package/lib/component/transaction-header/transaction-header/style/_layout.scss +1 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +4 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +7 -7
- package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +7 -2
- package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +4 -4
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +6 -1
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +3 -3
- package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss +5 -5
- package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +2 -0
- package/lib/component/transaction-header-fields/transaction-header-deliverydate-definitive-button/style/_layout.scss +1 -0
- package/lib/component/transaction-header-fields/transaction-header-deliverydate-definitive-button/style/_material-definition.scss +2 -2
- package/lib/component/transaction-internal/style/_material-definition.scss +1 -1
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/service/article-connector.service.d.ts +1 -0
- package/lib/service/transaction.service.d.ts +1 -0
- package/package.json +1 -1
- package/colijnit-transaction-255.1.6.tgz +0 -0
|
@@ -3,8 +3,8 @@ export class Version {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.name = "@colijnit/transaction";
|
|
5
5
|
this.description = "Colijn IT transaction package";
|
|
6
|
-
this.symVer = "255.1.
|
|
7
|
-
this.publishDate = "
|
|
6
|
+
this.symVer = "255.1.12";
|
|
7
|
+
this.publishDate = "13-8-2024 17:47:42";
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tdmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvdHJhbnNhY3Rpb24tdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx1REFBdUQ7QUFDdkQsTUFBTSxPQUFPLE9BQU87SUFBcEI7UUFDUyxTQUFJLEdBQUcsdUJBQXVCLENBQUM7UUFDL0IsZ0JBQVcsR0FBRywrQkFBK0IsQ0FBQztRQUM5QyxXQUFNLEdBQUcsVUFBVSxDQUFDO1FBQ3BCLGdCQUFXLEdBQUcsb0JBQW9CLENBQUM7SUFDNUMsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gdGhpcyBmaWxlIGlzIGR5bmFtaWNhbGx5IGNyZWF0ZWQsIGRvIG5vdCBjaGFuZ2UgdGhpc1xuZXhwb3J0IGNsYXNzIFZlcnNpb24ge1xuICBwdWJsaWMgbmFtZSA9IFwiQGNvbGlqbml0L3RyYW5zYWN0aW9uXCI7XG4gIHB1YmxpYyBkZXNjcmlwdGlvbiA9IFwiQ29saWpuIElUIHRyYW5zYWN0aW9uIHBhY2thZ2VcIjtcbiAgcHVibGljIHN5bVZlciA9IFwiMjU1LjEuMTJcIjtcbiAgcHVibGljIHB1Ymxpc2hEYXRlID0gXCIxMy04LTIwMjQgMTc6NDc6NDJcIjtcbn0iXX0=
|
|
@@ -262,8 +262,8 @@ class Version {
|
|
|
262
262
|
constructor() {
|
|
263
263
|
this.name = "@colijnit/transaction";
|
|
264
264
|
this.description = "Colijn IT transaction package";
|
|
265
|
-
this.symVer = "255.1.
|
|
266
|
-
this.publishDate = "
|
|
265
|
+
this.symVer = "255.1.12";
|
|
266
|
+
this.publishDate = "13-8-2024 17:47:42";
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
|
|
@@ -540,6 +540,7 @@ var Icon;
|
|
|
540
540
|
Icon["RegularBoxOpenCircleCheck"] = "regular_box_open_circle_check";
|
|
541
541
|
Icon["RegularCartFlatbedBoxesCircleCheck"] = "regular_cart_flatbed_boxes_circle_check";
|
|
542
542
|
Icon["RegularCartShoppingCircleQuestion"] = "regular_cart_shopping_circle_question";
|
|
543
|
+
Icon["RegularEuroSignMinus"] = "regular_euro_sign_minus";
|
|
543
544
|
Icon["RegularIndustryClock"] = "regular_industry_clock";
|
|
544
545
|
Icon["RegularIndustryTag"] = "regular_industry_tag";
|
|
545
546
|
Icon["RegularReceiptSlash"] = "regular_receipt_slash";
|
|
@@ -683,6 +684,7 @@ const IconSvg = {
|
|
|
683
684
|
"regular_box_open_circle_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M17.2 125.5L58.9 42.1c3-6 9.6-9.5 16.3-8.7C156.8 43.6 238.4 53.8 320 64c-27.8 46.3-55.7 92.7-83.5 139c-7.4 12.4-22.3 18.3-36.2 14.3C145.9 201.7 91.4 186.2 37 170.6c-19.2-5.5-28.8-27.2-19.8-45.1zM64 211.6l48 13.7c0 51.1 0 102.1 0 153.2c61.3 15.3 122.7 30.7 184 46c0-80.2 0-160.3 0-240.5c0-13.3 10.7-24 24-24s24 10.7 24 24c0 31.7 0 63.5 0 95.2c-15.3 26.1-24 56.4-24 88.8c0 38.7 12.5 74.6 33.8 103.6c-6.1 1.5-12.2 3-18.3 4.6c-10.1 2.5-20.8 2.5-31 0c-68-17-136.1-34-204.1-51C79 419.8 64 400.6 64 378.6c0-55.7 0-111.3 0-167zM320 64L564.8 33.4c6.7-.9 13.3 2.6 16.3 8.7c13.9 27.8 27.7 55.6 41.6 83.4c9 17.9-.5 39.6-19.8 45.1c-27.1 7.8-54.2 15.5-81.3 23.3c-8.4-1.2-16.9-1.9-25.6-1.9c-30.1 0-58.5 7.6-83.3 20.9c-3.7-2.5-6.9-5.9-9.3-9.9c-27.8-46.3-55.6-92.7-83.4-139zm32 304c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm76.7-11.3c-6.2 6.2-6.2 16.4 0 22.6c13.3 13.3 26.7 26.7 40 40c6.2 6.2 16.4 6.2 22.6 0c24-24 48-48 72-72c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0c-20.2 20.2-40.5 40.5-60.7 60.7c-9.6-9.6-19.1-19.1-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0z\"/></svg>",
|
|
684
685
|
"regular_cart_flatbed_boxes_circle_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48c16 0 32 0 48 0c4.4 0 8 3.6 8 8c0 117.4 0 234.7 0 352c0 30.9 25.1 56 56 56c8 0 16 0 24 0c0 26.5 21.5 48 48 48s48-21.5 48-48c30.8 0 61.7 0 92.5 0c-9.6-14.6-17-30.8-21.9-48c-39.5 0-79.1 0-118.6 0c-24 0-48 0-72 0c-4.4 0-8-3.6-8-8c0-117.4 0-234.7 0-352c0-30.9-25.1-56-56-56C56 0 40 0 24 0zM240 80l128 0c0 55.7 0 111.5 0 167.2c13.8-14.6 30-26.8 48-36c0-43.7 0-87.5 0-131.2c0-26.5-21.5-48-48-48c-42.7 0-85.3 0-128 0c-26.5 0-48 21.5-48 48c0 74.7 0 149.3 0 224c0 26.5 21.5 48 48 48c26.9 0 53.8 0 80.7 0c1.5-16.8 5.4-32.9 11.3-48c-30.7 0-61.3 0-92 0c0-74.7 0-149.3 0-224zm320 0l0 64c-21.3 0-42.7 0-64 0c0-21.3 0-42.7 0-64c21.3 0 42.7 0 64 0zM496 32c-26.5 0-48 21.5-48 48c0 21.3 0 42.7 0 64c0 26.5 21.5 48 48 48c21.3 0 42.7 0 64 0c26.5 0 48-21.5 48-48c0-21.3 0-42.7 0-64c0-26.5-21.5-48-48-48c-21.3 0-42.7 0-64 0zM352 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm211.3-20.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0c-20.2 20.2-40.5 40.5-60.7 60.7c-9.6-9.6-19.1-19.1-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6c13.3 13.3 26.7 26.7 40 40c6.2 6.2 16.4 6.2 22.6 0c24-24 48-48 72-72z\"/></svg>",
|
|
685
686
|
"regular_cart_shopping_circle_question": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48c15.2 0 30.3 0 45.5 0c3.8 0 7.1 2.7 7.9 6.5c17.2 90.4 34.4 180.7 51.6 271c6.5 34 36.2 58.5 70.7 58.5c40.3 0 80.7 0 121 0c-.5-5.3-.7-10.6-.7-16c0-10.9 1-21.6 2.9-32c-41.1 0-82.1 0-123.2 0c-11.5 0-21.4-8.2-23.6-19.5c-1.8-9.5-3.6-19-5.4-28.5c56.2 0 112.3 0 168.5 0c9.2-18 21.4-34.2 36-48c-71.2 0-142.4 0-213.6 0c-10.2-53.3-20.3-106.7-30.5-160c129.9 0 259.7 0 389.6 0c-10.1 37.4-20.1 74.7-30.2 112.1c1.8-.1 3.7-.1 5.5-.1c14.8 0 29.1 1.8 42.8 5.2c10.3-38.3 20.6-76.6 30.9-114.8C576.6 57 557.4 32 531.1 32c-137 0-274 0-411 0C111 12.8 91.6 0 69.5 0C54.3 0 39.2 0 24 0zM176 512c17.1 0 33-9.1 41.6-24s8.6-33.1 0-48s-24.4-24-41.6-24s-33 9.1-41.6 24s-8.6 33.1 0 48s24.4 24 41.6 24zM640 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM496 416c-13.3 0-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24s-10.7-24-24-24zM473.6 280c-23 0-41.6 18.6-41.6 41.6c0 2.1 0 4.3 0 6.4c0 8.8 7.2 16 16 16s16-7.2 16-16c0-2.1 0-4.3 0-6.4c0-5.3 4.3-9.6 9.6-9.6c13.5 0 27 0 40.5 0c7.7 0 13.9 6.2 13.9 13.9c0 5.2-2.9 9.9-7.4 12.3c-10.7 5.6-21.3 11.2-32 16.8c-5.3 2.8-8.6 8.2-8.6 14.2c0 4.9 0 9.8 0 14.8c0 8.8 7.2 16 16 16s16-7.2 16-16c0-1.7 0-3.4 0-5.1c7.8-4.1 15.6-8.2 23.5-12.3c15.1-7.9 24.5-23.6 24.5-40.6c0-25.4-20.6-45.9-45.9-45.9c-13.5 0-27 0-40.5 0z\"/></svg>",
|
|
687
|
+
"regular_euro_sign_minus": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M0 216c0-13.3 10.7-24 24-24l33.3 0C84.8 99.5 170.5 32 272 32l24 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-24 0c-74.6 0-138.4 46.4-164 112l156 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L96.7 240c-.5 5.3-.7 10.6-.7 16s.2 10.7 .7 16L264 272c6.4 0 12.1 2.5 16.4 6.5c-7.6 12.9-13.6 26.8-17.8 41.5L108 320c25.1 64.4 87.1 110.3 160 112c6.9 17.6 16.5 33.7 28.3 48c-.1 0-.2 0-.3 0l-24 0C170.5 480 84.8 412.5 57.3 320L24 320c-13.3 0-24-10.7-24-24s10.7-24 24-24l24.6 0c-.4-5.3-.6-10.6-.6-16s.2-10.7 .6-16L24 240c-13.3 0-24-10.7-24-24zM288 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm64 0c0 8.8 7.2 16 16 16l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-128 0c-8.8 0-16 7.2-16 16z\"/></svg>",
|
|
686
688
|
"regular_industry_clock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M88 80c-4.4 0-8 3.6-8 8c0 72 0 144 0 216c0 16 0 32 0 48c0 18.7 0 37.3 0 56c0 13.3 10.7 24 24 24c76 0 152 0 228 0c6.9 17.5 16.5 33.7 28.3 48c-85.4 0-170.9 0-256.3 0c-39.8 0-72-32.2-72-72c0-18.7 0-37.3 0-56c0-16 0-32 0-48c0-72 0-144 0-216c0-30.9 25.1-56 56-56c16 0 32 0 48 0c30.9 0 56 25.1 56 56c0 28.3 0 56.6 0 84.9c34.6-20.2 69.2-40.4 103.8-60.6c32-18.7 72.2 4.4 72.2 41.5c0 9 0 18 0 27c34-21.8 68.1-43.6 102.1-65.4c32-20.4 73.9 2.5 73.9 40.5c0 14.2 0 28.5 0 42.7c-15.3-4.3-31.4-6.6-48-6.6c0-12 0-24.1 0-36.1c-46.4 29.7-92.7 59.3-139.1 89c-7.4 4.7-16.8 5-24.5 .8s-12.5-12.3-12.5-21.1c0-23.6 0-47.3 0-70.9c-46.6 27.2-93.2 54.5-139.8 81.7c-7.4 4.3-16.6 4.4-24 .1s-12-12.2-12-20.8c0-42.2 0-84.5 0-126.7c0-4.4-3.6-8-8-8c-16 0-32.1 0-48.1 0zM352 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm160-64c0-8.8-7.2-16-16-16s-16 7.2-16 16c0 21.3 0 42.7 0 64c0 8.8 7.2 16 16 16c16 0 32 0 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16c-10.7 0-21.3 0-32 0c0-16 0-32 0-48z\"/></svg>",
|
|
687
689
|
"regular_industry_tag": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M88 80c-4.4 0-8 3.6-8 8c0 72 0 144 0 216c0 16 0 32 0 48c0 18.7 0 37.3 0 56c0 13.3 10.7 24 24 24c90.3 0 180.7 0 271 0c16 16 32 32 48 48c-106.3 0-212.6 0-318.9 0c-39.8 0-72-32.2-72-72c0-18.7 0-37.3 0-56c0-16 0-32 0-48c0-72 0-144 0-216c0-30.9 25.1-56 56-56c16 0 32 0 48 0c30.9 0 56 25.1 56 56c0 28.3 0 56.6 0 84.9c34.6-20.2 69.2-40.4 103.8-60.6c32-18.7 72.2 4.4 72.2 41.5c0 9 0 18 0 27c34-21.8 68.1-43.6 102.1-65.4c32-20.4 73.9 2.5 73.9 40.5c0 25 0 50.1 0 75.1c-5.2-5.2-10.5-10.5-15.7-15.7c-9.1-9.1-20.2-15.8-32.3-19.6c0-13.3 0-26.5 0-39.8c-18.8 12-37.6 24.1-56.4 36.1c-18.7 0-37.4 0-56.1 0c-28.4 0-52.4 18.6-60.6 44.3c-2-3.5-3-7.5-3-11.7c0-23.6 0-47.3 0-70.9c-46.6 27.2-93.2 54.5-139.8 81.7c-7.4 4.3-16.6 4.4-24 .1s-12-12.2-12-20.8c0-42.2 0-84.5 0-126.7c0-4.4-3.6-8-8-8c-16 0-32.1 0-48.1 0zM359 262.6c0-17.6 14.3-32 32-32c27.6 0 55.1 0 82.7 0c17 0 33.3 6.7 45.3 18.7c35.8 35.8 71.5 71.6 107.3 107.4c18.7 18.7 18.7 49.1 0 67.9c-24.5 24.4-48.9 48.9-73.4 73.3c-18.7 18.7-49.1 18.7-67.9 0c-35.8-35.8-71.5-71.5-107.3-107.3c-12-12-18.7-28.3-18.7-45.2c0-27.6 0-55.2 0-82.8zm80 72c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z\"/></svg>",
|
|
688
690
|
"regular_receipt_slash": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1C68.5 28.4 98.3 51.7 128 75c0-17 0-34 0-51c0-9.4 5.5-17.9 14-21.8s18.5-2.5 25.6 3.6c13.5 11.5 26.9 23.1 40.4 34.6c13.5-11.5 26.9-23.1 40.4-34.6c8.9-7.7 22.2-7.7 31.2 0c13.5 11.5 26.9 23.1 40.4 34.6c13.5-11.5 26.9-23.1 40.4-34.6c8.9-7.7 22.2-7.7 31.2 0c13.5 11.5 26.9 23.1 40.4 34.6c13.5-11.5 26.9-23.1 40.4-34.6c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8c0 117.3 0 234.6 0 352c39.6 31 79.2 62.1 118.8 93.1c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1C403.8 352.2 206.5 197.6 9.2 42.9C-1.2 34.7-3.1 19.6 5.1 9.2zM128 196.9l48 37.8c0 67 0 134.1 0 201.1c5.5-4.7 10.9-9.3 16.4-14c8.9-7.7 22.2-7.7 31.2 0c13.5 11.5 26.9 23.1 40.4 34.6c13.5-11.5 26.9-23.1 40.4-34.6c8.9-7.7 22.2-7.7 31.2 0c13.5 11.5 26.9 23.1 40.4 34.6c13-11.1 26-22.3 39-33.4l94.9 74.8c-2.3 5.2-6.5 9.6-11.9 12c-8.5 3.9-18.5 2.5-25.6-3.6c-13.5-11.5-26.9-23.1-40.4-34.6c-13.5 11.5-26.9 23.1-40.4 34.6c-8.9 7.7-22.2 7.7-31.2 0c-13.5-11.5-26.9-23.1-40.4-34.6c-13.5 11.5-26.9 23.1-40.4 34.6c-8.9 7.7-22.2 7.7-31.2 0c-13.5-11.5-26.9-23.1-40.4-34.6c-13.5 11.5-26.9 23.1-40.4 34.6c-7.1 6.1-17.1 7.5-25.6 3.6s-14-12.4-14-21.8c0-97 0-194.1 0-291.1zM176 76.2l0 36.4c17.5 13.7 35.1 27.5 52.6 41.2c4.4-6 11.4-9.9 19.4-9.9c48 0 96 0 144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24c-38.2 0-76.5 0-114.7 0c17 13.3 34 26.7 51 40c21.2 0 42.5 0 63.7 0c13.3 0 24 10.7 24 24s-10.7 24-24 24c-.8 0-1.6 0-2.5 0c24.8 19.5 49.6 38.9 74.5 58.4c0-87.4 0-174.8 0-262.2c-5.5 4.7-10.9 9.3-16.4 14c-8.9 7.7-22.2 7.7-31.2 0C402.9 78.7 389.5 67.1 376 55.6c-13.5 11.5-26.9 23.1-40.4 34.6c-8.9 7.7-22.2 7.7-31.2 0C290.9 78.7 277.5 67.1 264 55.6c-13.5 11.5-26.9 23.1-40.4 34.6c-8.9 7.7-22.2 7.7-31.2 0c-5.5-4.7-10.9-9.3-16.4-14zM224 344c0-13.3 10.7-24 24-24c12.1 0 24.2 0 36.3 0c20.3 16 40.6 32 60.9 48c-32.4 0-64.8 0-97.2 0c-13.3 0-24-10.7-24-24z\"/></svg>",
|
|
@@ -1940,6 +1942,23 @@ class ArticleConnectorService {
|
|
|
1940
1942
|
});
|
|
1941
1943
|
});
|
|
1942
1944
|
}
|
|
1945
|
+
getArticleListWithBarcodeArticleNrEanCode(search) {
|
|
1946
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1947
|
+
return new Promise((resolve, reject) => {
|
|
1948
|
+
return this.connector.getArticleListWithBarcodeArticleNrEanCode(search).then((response) => {
|
|
1949
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1950
|
+
// return this._boFactory.makeWithRawBackendData(ArticleExtended, response.resultObject) as ArticleLight;
|
|
1951
|
+
const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleLight, response.resultObject);
|
|
1952
|
+
resolve(collection);
|
|
1953
|
+
}
|
|
1954
|
+
else {
|
|
1955
|
+
this._handleExceptionFromResponse(response);
|
|
1956
|
+
reject(null);
|
|
1957
|
+
}
|
|
1958
|
+
});
|
|
1959
|
+
});
|
|
1960
|
+
});
|
|
1961
|
+
}
|
|
1943
1962
|
getMainArticles() {
|
|
1944
1963
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1945
1964
|
return new Promise((resolve, reject) => {
|
|
@@ -10624,6 +10643,9 @@ class TransactionService extends PendingReasonService {
|
|
|
10624
10643
|
getArticles(request) {
|
|
10625
10644
|
return this.articleConnector.searchArticles(request);
|
|
10626
10645
|
}
|
|
10646
|
+
getArticleListWithBarcodeArticleNrEanCode(search) {
|
|
10647
|
+
return this.articleConnector.getArticleListWithBarcodeArticleNrEanCode(search);
|
|
10648
|
+
}
|
|
10627
10649
|
getMainArticles() {
|
|
10628
10650
|
return this.articleConnector.getMainArticles();
|
|
10629
10651
|
}
|
|
@@ -31521,11 +31543,11 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
31521
31543
|
|
|
31522
31544
|
</ng-template>
|
|
31523
31545
|
<ng-template #firstBlock>
|
|
31524
|
-
<div class="transaction-header-block-row">
|
|
31525
|
-
<div class="
|
|
31526
|
-
<co-icon class="
|
|
31527
|
-
[iconData]="iconCacheService.getIcon(icons.
|
|
31528
|
-
|
|
31546
|
+
<div class="transaction-header-block-row" (click)="showDialog = true">
|
|
31547
|
+
<div class="planning-request-button-wrapper" [screenConfigurationObject]="cfgNames.HeaderDeliveryPreferedHeader" screenConfigNativeElement>
|
|
31548
|
+
<co-icon class="planning-request-button" [class.co-transaction-check]="transactionInfo.deliveryDateDefinitive"
|
|
31549
|
+
[iconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
|
|
31550
|
+
(click)="showDialog = true"></co-icon>
|
|
31529
31551
|
</div>
|
|
31530
31552
|
<div class="header-deliverydate-wrapper" [screenConfigurationObject]="cfgNames.HeaderDeliveryDateHeader" screenConfigNativeElement>
|
|
31531
31553
|
<div class="header-delivery-deliverydate-label co-transaction-label" [textContent]="'DELIVERY_DATE' | localize"></div>
|
|
@@ -31538,17 +31560,10 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
31538
31560
|
></co-transaction-header-delivery-date>
|
|
31539
31561
|
</div>
|
|
31540
31562
|
</div>
|
|
31541
|
-
<div class="header-deliverdate-definitive-wrapper" [screenConfigurationObject]="cfgNames.HeaderDeliveryDefinitiveHeader" screenConfigNativeElement>
|
|
31542
|
-
<co-transaction-header-deliverydate-definitive-button
|
|
31543
|
-
[screenConfigurationObject]="cfgNames.HeaderDeliveryDefinitiveHeader"
|
|
31544
|
-
[class.closed]="transactionInfo.deliveryDateDefinitive"
|
|
31545
|
-
[transactionInfo]="transactionInfo">
|
|
31546
|
-
</co-transaction-header-deliverydate-definitive-button>
|
|
31547
|
-
</div>
|
|
31548
31563
|
</div>
|
|
31549
31564
|
</ng-template>
|
|
31550
31565
|
<ng-template #secondBlock>
|
|
31551
|
-
<co-transaction-header-delivery-method-button class="header-delivery-method"
|
|
31566
|
+
<co-transaction-header-delivery-method-button class="header-delivery-method"
|
|
31552
31567
|
[screenConfigurationObject]="cfgNames.HeaderDeliveryMethod"
|
|
31553
31568
|
[transactionInfo]="transactionInfo"
|
|
31554
31569
|
></co-transaction-header-delivery-method-button>
|
|
@@ -31561,10 +31576,12 @@ TransactionHeaderDeliveryComponent.decorators = [
|
|
|
31561
31576
|
></co-transaction-header-preferred-delivery-date-->
|
|
31562
31577
|
</ng-template>
|
|
31563
31578
|
<ng-template #thirdBlock>
|
|
31564
|
-
<div class="
|
|
31565
|
-
<co-
|
|
31566
|
-
|
|
31567
|
-
|
|
31579
|
+
<div class="header-deliverdate-definitive-wrapper" [screenConfigurationObject]="cfgNames.HeaderDeliveryDefinitiveHeader" screenConfigNativeElement>
|
|
31580
|
+
<co-transaction-header-deliverydate-definitive-button
|
|
31581
|
+
[screenConfigurationObject]="cfgNames.HeaderDeliveryDefinitiveHeader"
|
|
31582
|
+
[class.closed]="transactionInfo.deliveryDateDefinitive"
|
|
31583
|
+
[transactionInfo]="transactionInfo">
|
|
31584
|
+
</co-transaction-header-deliverydate-definitive-button>
|
|
31568
31585
|
</div>
|
|
31569
31586
|
</ng-template>
|
|
31570
31587
|
<ng-template #hiddenBlock>
|
|
@@ -38324,10 +38341,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
38324
38341
|
</div>
|
|
38325
38342
|
</ng-container>
|
|
38326
38343
|
<ng-container *ngIf="relation && relation.relationId">
|
|
38327
|
-
<div class="
|
|
38328
|
-
<co-avatar class="transaction-relation-avatar" [relationId]="relation.relationId"></co-avatar>
|
|
38329
|
-
</div>
|
|
38330
|
-
<div class="header-relation-content">
|
|
38344
|
+
<div class="header-relation-content" (click)="showDialog = true">
|
|
38331
38345
|
<label class="header-block-label co-transaction-label" [textContent]="'RELATION' | localize"
|
|
38332
38346
|
[screenConfigurationObject]="cfgNames.HeaderRelationRelationHeader" screenConfigNativeElement
|
|
38333
38347
|
></label>
|
|
@@ -38342,7 +38356,7 @@ TransactionHeaderRelationComponent.decorators = [
|
|
|
38342
38356
|
</ng-template>
|
|
38343
38357
|
<ng-template #secondBlock>
|
|
38344
38358
|
<ng-container *ngIf="relation && relation.relationId">
|
|
38345
|
-
<div class="header-relation-content">
|
|
38359
|
+
<div class="header-relation-content" (click)="showDialog = true">
|
|
38346
38360
|
<label class="header-block-label co-transaction-label" [textContent]="'COMMUNICATION' | localize" *ngIf="showCommunicationLabel"></label>
|
|
38347
38361
|
<div class="header-relation-email text-overflow" [textContent]="relation.primaryEmail"
|
|
38348
38362
|
[screenConfigurationObject]="cfgNames.HeaderRelationEmailHeader" screenConfigNativeElement></div>
|
|
@@ -38434,12 +38448,7 @@ TransactionHeaderOrderComponent.decorators = [
|
|
|
38434
38448
|
>
|
|
38435
38449
|
</co-transaction-header-block>
|
|
38436
38450
|
<ng-template #firstBlock>
|
|
38437
|
-
<div class="transaction-header-block-row">
|
|
38438
|
-
<div class="transaction-header-icon" [screenConfigurationObject]="cfgNames.HeaderOrderAvatarHeader" screenConfigNativeElement>
|
|
38439
|
-
<co-icon class="header-order-icon" (click)="showDialog = true"
|
|
38440
|
-
[iconData]="iconCacheService.getIcon(icons.CartShoppingRegular)">
|
|
38441
|
-
</co-icon>
|
|
38442
|
-
</div>
|
|
38451
|
+
<div class="transaction-header-block-row" (click)="showDialog = true">
|
|
38443
38452
|
<div class="header-order-total-wrapper" [screenConfigurationObject]="cfgNames.HeaderOrderOrderTotalHeader" screenConfigNativeElement>
|
|
38444
38453
|
<span class="header-order-total-label co-transaction-label" [textContent]="'ORDER_TOTAL' | localize"></span>
|
|
38445
38454
|
<div class="header-order-total" [textContent]="transactionTotal.netAmount | coCurrency"></div>
|
|
@@ -38447,14 +38456,10 @@ TransactionHeaderOrderComponent.decorators = [
|
|
|
38447
38456
|
</div>
|
|
38448
38457
|
</ng-template>
|
|
38449
38458
|
<ng-template #secondBlock>
|
|
38450
|
-
<div class="transaction-header-block-row" [screenConfigurationObject]="cfgNames.HeaderOrderDiscountHeader" screenConfigNativeElement>
|
|
38459
|
+
<div class="transaction-header-block-row" (click)="showDialog = true" [screenConfigurationObject]="cfgNames.HeaderOrderDiscountHeader" screenConfigNativeElement>
|
|
38451
38460
|
<div class="transaction-header-discount-button">
|
|
38452
38461
|
<div class="header-discount" (click)="openDiscount($event)">
|
|
38453
|
-
<co-icon class="header-discount-icon" [iconData]="iconCacheService.getIcon(icons.
|
|
38454
|
-
<div class="spacer"></div>
|
|
38455
|
-
<span class="co-transaction-overflow-ellipsis transaction-discount"
|
|
38456
|
-
[class.transaction-negative-value]="transactionTotal.totalDiscountAmount < 0"
|
|
38457
|
-
[textContent]="(transactionTotal.totalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)"></span>
|
|
38462
|
+
<co-icon class="header-discount-icon" [iconData]="iconCacheService.getIcon(icons.RegularEuroSignMinus)"></co-icon>
|
|
38458
38463
|
</div>
|
|
38459
38464
|
</div>
|
|
38460
38465
|
</div>
|
|
@@ -38650,13 +38655,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
38650
38655
|
</div>
|
|
38651
38656
|
</div>
|
|
38652
38657
|
<ng-template #firstBlock>
|
|
38653
|
-
<div class="transaction-header-block-row">
|
|
38654
|
-
<div class="transaction-header-icon" [screenConfigurationObject]="cfgNames.HeaderPaymentAvatarHeader" screenConfigNativeElement>
|
|
38655
|
-
<co-icon class="header-order-icon"
|
|
38656
|
-
(click)="showDialog = true"
|
|
38657
|
-
[iconData]="iconCacheService.getIcon(icons.CreditCardRegular)">
|
|
38658
|
-
</co-icon>
|
|
38659
|
-
</div>
|
|
38658
|
+
<div class="transaction-header-block-row" (click)="showDialog = true">
|
|
38660
38659
|
<div class="header-downpayment-amount-wrapper" [screenConfigurationObject]="cfgNames.HeaderPaymentAmountHeader" screenConfigNativeElement>
|
|
38661
38660
|
<div class="header-deposit-label co-transaction-label" [textContent]="'DOWNPAYMENT_AMOUNT' | localize"></div>
|
|
38662
38661
|
<co-transaction-header-deposit-amount class="transaction-header-deposit"
|
|
@@ -38669,7 +38668,7 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
38669
38668
|
</div>
|
|
38670
38669
|
</ng-template>
|
|
38671
38670
|
<ng-template #firstBlockRest>
|
|
38672
|
-
<div class="transaction-header-block-row">
|
|
38671
|
+
<div class="transaction-header-block-row" (click)="showDialog = true">
|
|
38673
38672
|
<div class="transaction-header-icon" [screenConfigurationObject]="cfgNames.HeaderPaymentAvatarHeader" screenConfigNativeElement>
|
|
38674
38673
|
<co-icon class="header-order-icon"
|
|
38675
38674
|
(click)="showPaymentDialog = true"
|
|
@@ -38704,11 +38703,6 @@ TransactionHeaderPaymentComponent.decorators = [
|
|
|
38704
38703
|
<div class="header-payment-button-wrapper" (click)="openPayment($event)" [screenConfigurationObject]="cfgNames.HeaderPaymentPaymentHeader" screenConfigNativeElement>
|
|
38705
38704
|
<co-icon class="header-order-icon" [iconData]="iconCacheService.getIcon(icons.CreditCardRegularCheck)">
|
|
38706
38705
|
</co-icon>
|
|
38707
|
-
<div class="spacer"></div>
|
|
38708
|
-
<div class="payment-payed-wrapper">
|
|
38709
|
-
<!--div class="header-payed-label co-transaction-label" [textContent]="'DOWNPAYMENT_DONE' | localize"></div-->
|
|
38710
|
-
<span class="payment-paid" [class.success]="paid >= toPay" [textContent]="(paid | coCurrency) || 0"></span>
|
|
38711
|
-
</div>
|
|
38712
38706
|
<!--co-transaction-header-payment-button *ngIf="transactionInfo.transactionKind !== transKind.PurchaseOrder"
|
|
38713
38707
|
[transactionInfo]="transactionInfo"
|
|
38714
38708
|
></co-transaction-header-payment-button-->
|
|
@@ -48619,13 +48613,24 @@ class AddProductComponent {
|
|
|
48619
48613
|
this.searchText = undefined;
|
|
48620
48614
|
this._changeDetector.detectChanges();
|
|
48621
48615
|
// first check if there's a single article found
|
|
48622
|
-
|
|
48623
|
-
if
|
|
48624
|
-
|
|
48616
|
+
// This is a two check step:
|
|
48617
|
+
// Check if there is an exact match on barcode, ean or articlenumber
|
|
48618
|
+
// if not: check with search like
|
|
48619
|
+
// else open catalogus
|
|
48620
|
+
const fullMatchSearch = yield this.transactionService.getArticleListWithBarcodeArticleNrEanCode(text);
|
|
48621
|
+
if (fullMatchSearch && fullMatchSearch.length === 1) {
|
|
48622
|
+
const article = yield this.transactionService.getArticleExtended(fullMatchSearch[0].articleNr);
|
|
48625
48623
|
yield this.handleAddArticle(article);
|
|
48626
48624
|
}
|
|
48627
|
-
else {
|
|
48628
|
-
this.
|
|
48625
|
+
else {
|
|
48626
|
+
const foundArticles = yield this.transactionService.getArticles(this.catalogParameters);
|
|
48627
|
+
if (foundArticles && foundArticles.length === 1) {
|
|
48628
|
+
const article = yield this.transactionService.getArticleExtended(foundArticles[0].articleNumber);
|
|
48629
|
+
yield this.handleAddArticle(article);
|
|
48630
|
+
}
|
|
48631
|
+
else {
|
|
48632
|
+
this.showCatalogDialog();
|
|
48633
|
+
}
|
|
48629
48634
|
}
|
|
48630
48635
|
});
|
|
48631
48636
|
}
|