@colijnit/transaction 255.1.38 → 255.1.40
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 +414 -91
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction-255.1.39.tgz +0 -0
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/core/base/transaction-payment-base.component.js +12 -4
- package/esm2015/lib/component/delivery-planning/service/delivery-planning.service.js +18 -1
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/delivery-planning-overview-popup.component.js +53 -33
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-line/delivery-planning-overview-tile-line.component.js +21 -11
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/delivery-planning-overview-tile.component.js +12 -2
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile-settings-popup/delivery-planning-overview-tile-settings-popup.component.js +53 -3
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/delivery-planning-overview.component.js +79 -24
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +2 -1
- package/esm2015/lib/component/transaction/transaction.component.js +4 -1
- package/esm2015/lib/component/transaction-card/transaction-card-planning/transaction-card-planning.component.js +33 -4
- package/esm2015/lib/component/transaction-internal/transaction-internal.component.js +7 -4
- package/esm2015/lib/component/transaction-line/transaction-planning-line/transaction-planning-line.component.js +2 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +2 -2
- package/esm2015/lib/component/transaction-line-side-panel-planning/transaction-line-side-panel-planning.component.js +2 -2
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation.component.js +21 -8
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.module.js +3 -2
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.component.js +22 -7
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +2 -1
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-purchase-reservation-order-tile/transaction-purchase-reservation-order-tile.component.js +4 -14
- package/esm2015/lib/component/transaction-service-overview/components/transaction-service-message.component.js +3 -3
- package/esm2015/lib/component/transaction-service-overview/components/transaction-service-message.module.js +4 -3
- package/esm2015/lib/component/transaction-service-overview/transaction-service-overview.component.js +5 -3
- package/esm2015/lib/enum/icon.enum.js +7 -1
- package/esm2015/lib/enum/transaction-cfg-name.enum.js +3 -1
- package/esm2015/lib/model/icon-svg.js +7 -1
- package/esm2015/lib/service/transaction-create.service.js +12 -1
- package/esm2015/lib/service/transaction-payment.service.js +9 -3
- package/esm2015/lib/service/transaction.service.js +11 -4
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +368 -117
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/transaction-payment-base.component.d.ts +5 -2
- package/lib/component/delivery-planning/service/delivery-planning.service.d.ts +4 -0
- package/lib/component/delivery-planning/style/_layout.scss +22 -1
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/delivery-planning-overview-popup.component.d.ts +9 -6
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-line/delivery-planning-overview-tile-line.component.d.ts +3 -0
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-line/style/_layout.scss +25 -10
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/delivery-planning-overview-tile.component.d.ts +9 -0
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/style/_layout.scss +13 -0
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile-settings-popup/delivery-planning-overview-tile-settings-popup.component.d.ts +14 -3
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/delivery-planning-overview.component.d.ts +16 -0
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/style/_layout.scss +9 -6
- package/lib/component/delivery-planning-main/style/_layout.scss +0 -1
- package/lib/component/transaction/transaction.component.d.ts +1 -0
- package/lib/component/transaction-card/transaction-card-planning/transaction-card-planning.component.d.ts +19 -0
- package/lib/component/transaction-internal/style/_layout.scss +6 -0
- package/lib/component/transaction-internal/transaction-internal.component.d.ts +1 -0
- package/lib/component/transaction-line-side-panel-planning/style/_layout.scss +20 -17
- package/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/style/_layout.scss +16 -4
- package/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation.component.d.ts +5 -1
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.component.d.ts +2 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-purchase-reservation-order-tile/style/_layout.scss +26 -20
- package/lib/component/transaction-service-overview/transaction-service-overview.component.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +6 -0
- package/lib/enum/transaction-cfg-name.enum.d.ts +2 -1
- package/lib/service/transaction-create.service.d.ts +2 -0
- package/lib/service/transaction-payment.service.d.ts +3 -1
- package/lib/service/transaction.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
function Version() {
|
|
34
34
|
this.name = "@colijnit/transaction";
|
|
35
35
|
this.description = "Colijn IT transaction package";
|
|
36
|
-
this.symVer = "255.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "255.1.40";
|
|
37
|
+
this.publishDate = "23-9-2024 18:21:43";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -700,6 +700,7 @@
|
|
|
700
700
|
Icon["BoxOpenFullRegular"] = "box_open_full_regular";
|
|
701
701
|
Icon["CalendarDay"] = "calendar_day";
|
|
702
702
|
Icon["CalendarDayRegular"] = "calendar_day_regular";
|
|
703
|
+
Icon["CalendarLinesRegular"] = "calendar_lines_regular";
|
|
703
704
|
Icon["Cancel"] = "cancel";
|
|
704
705
|
Icon["CaretDownSolid"] = "caret_down_solid";
|
|
705
706
|
Icon["CaretUpSolid"] = "caret_up_solid";
|
|
@@ -717,6 +718,7 @@
|
|
|
717
718
|
Icon["CheckDuotone"] = "check_duotone";
|
|
718
719
|
Icon["CheckThin"] = "check_thin";
|
|
719
720
|
Icon["ChevronDownRegular"] = "chevron_down_regular";
|
|
721
|
+
Icon["ChevronRightRegular"] = "chevron_right_regular";
|
|
720
722
|
Icon["ChevronUpRegular"] = "chevron_up_regular";
|
|
721
723
|
Icon["CircleExclamationRegular"] = "circle_exclamation_regular";
|
|
722
724
|
Icon["CloseDialog"] = "close_dialog";
|
|
@@ -781,12 +783,15 @@
|
|
|
781
783
|
Icon["RegularBoxOpenCircleCheck"] = "regular_box_open_circle_check";
|
|
782
784
|
Icon["RegularCartFlatbedBoxesCircleCheck"] = "regular_cart_flatbed_boxes_circle_check";
|
|
783
785
|
Icon["RegularCartShoppingCircleQuestion"] = "regular_cart_shopping_circle_question";
|
|
786
|
+
Icon["RegularCartShoppingClock"] = "regular_cart_shopping_clock";
|
|
784
787
|
Icon["RegularEuroSignMinus"] = "regular_euro_sign_minus";
|
|
785
788
|
Icon["RegularIndustryClock"] = "regular_industry_clock";
|
|
786
789
|
Icon["RegularIndustryTag"] = "regular_industry_tag";
|
|
787
790
|
Icon["RegularReceiptSlash"] = "regular_receipt_slash";
|
|
788
791
|
Icon["RegularTruckMovingCircleExclamation"] = "regular_truck_moving_circle_exclamation";
|
|
789
792
|
Icon["RegularTruckMovingCircleUser"] = "regular_truck_moving_circle_user";
|
|
793
|
+
Icon["RegularTruckMovingClock"] = "regular_truck_moving_clock";
|
|
794
|
+
Icon["RegularWarehouseClock"] = "regular_warehouse_clock";
|
|
790
795
|
Icon["Remark"] = "remark";
|
|
791
796
|
Icon["Resize"] = "resize";
|
|
792
797
|
Icon["ServiceCartRegular"] = "service_cart_regular";
|
|
@@ -814,6 +819,7 @@
|
|
|
814
819
|
Icon["ToolboxRegular"] = "toolbox_regular";
|
|
815
820
|
Icon["TrashBin"] = "trash_bin";
|
|
816
821
|
Icon["TrashCanLight"] = "trash_can_light";
|
|
822
|
+
Icon["TrashCanRegular"] = "trash_can_regular";
|
|
817
823
|
Icon["TriangleDown"] = "triangle_down";
|
|
818
824
|
Icon["TriangleUp"] = "triangle_up";
|
|
819
825
|
Icon["Truck"] = "truck";
|
|
@@ -849,6 +855,7 @@
|
|
|
849
855
|
"box_open_full_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M480.9 3.1C456-6.2 428.4 6.3 419.1 31.2L384 124.8C382.2 55.6 325.6 0 256 0C185.3 0 128 57.3 128 128c0 2.2 .1 4.3 .2 6.5l65.5 8.2c-1.1-4.7-1.7-9.6-1.7-14.7c0-35.3 28.7-64 64-64s64 28.7 64 64c0 10.7-2.6 20.7-7.2 29.6l7.2 .9 161.4-20.2 27.5-73.4c9.3-24.8-3.3-52.5-28.1-61.8zM58.9 170.1L17.2 253.5c-9 17.9 .6 39.6 19.8 45.1l163.3 46.7c13.9 4 28.8-1.9 36.2-14.3L320 192 75.2 161.4c-6.7-.8-13.3 2.7-16.3 8.7zM576 339.6l-48 13.7v57.2l-184 46V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V456.5l-184-46V353.3L64 339.6v71c0 22 15 41.2 36.4 46.6l204.1 51c10.2 2.5 20.9 2.5 31 0l204.1-51c21.4-5.3 36.4-24.5 36.4-46.6v-71zm46.8-86.1l-41.7-83.4c-3-6.1-9.6-9.6-16.3-8.7L320 192l83.4 139c7.4 12.4 22.3 18.3 36.2 14.3l163.3-46.7c19.3-5.5 28.8-27.2 19.8-45.1z\"/></svg>",
|
|
850
856
|
"calendar_day": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path fill=\"#022D42\" d=\"M35.4,13.7H14.6c-0.6,0-1,0.5-1,1V20h22.9v-5.2C36.4,14.2,36,13.7,35.4,13.7z M19,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C20.8,18,20,18.8,19,18.8z M31,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8C32.7,18,32,18.8,31,18.8z\"/><path fill=\"#022D42\" d=\"M35.4,22.3v12.6L31.3,39H14.6c0,0,0,0,0,0V22.3H35.4 M36.4,21.3H13.6V39c0,0.6,0.5,1,1,1h17.2l4.7-4.7V21.3L36.4,21.3z\"/><rect x=\"18.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"30.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"18.6\" y=\"30.5\" fill=\"#022D42\" width=\"3.4\" height=\"3.4\"/><rect x=\"19.1\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/></g></svg>",
|
|
851
857
|
"calendar_day_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M208 256C216.8 256 224 263.2 224 272V368C224 376.8 216.8 384 208 384H112C103.2 384 96 376.8 96 368V272C96 263.2 103.2 256 112 256H208zM128 0C141.3 0 152 10.75 152 24V64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0zM400 192H48V448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192z\"/></svg>",
|
|
858
|
+
"calendar_lines_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L64 64C28.7 64 0 92.7 0 128l0 16 0 48L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-256 0-48 0-16c0-35.3-28.7-64-64-64l-40 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L152 64l0-40zM48 192l352 0 0 256c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256zm48 88c0 13.3 10.7 24 24 24l208 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-208 0c-13.3 0-24 10.7-24 24zm24 72c-13.3 0-24 10.7-24 24s10.7 24 24 24l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-112 0z\"/></svg>",
|
|
852
859
|
"cancel": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"36 35.16 30.45 35.16 14 14.84 19.55 14.84 36 35.16\" fill=\"#484f60\"/><polygon points=\"14 35.16 19.55 35.16 36 14.84 30.45 14.84 14 35.16\" fill=\"#484f60\"/></svg>",
|
|
853
860
|
"caret_down_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path d=\"M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z\"/></svg>",
|
|
854
861
|
"caret_up_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path d=\"M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z\"/></svg>",
|
|
@@ -866,6 +873,7 @@
|
|
|
866
873
|
"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>",
|
|
867
874
|
"check_thin": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><polygon points=\"13.26 27.6 4.37 15.1 5.19 14.52 13.1 25.66 24.73 2.4 25.63 2.85 13.26 27.6\" fill=\"#484f60\"/></g></svg>",
|
|
868
875
|
"chevron_down_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z\"/></svg>",
|
|
876
|
+
"chevron_right_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path d=\"M305 239c9.4 9.4 9.4 24.6 0 33.9L113 465c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l175-175L79 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L305 239z\"/></svg>",
|
|
869
877
|
"chevron_up_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M239 111c9.4-9.4 24.6-9.4 33.9 0L465 303c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-175-175L81 337c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 111z\"/></svg>",
|
|
870
878
|
"circle_exclamation_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-13.3 0-24 10.7-24 24V264c0 13.3 10.7 24 24 24s24-10.7 24-24V152c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z\"/></svg>",
|
|
871
879
|
"close_dialog": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M326.6 166.6L349.3 144 304 98.7l-22.6 22.6L192 210.7l-89.4-89.4L80 98.7 34.7 144l22.6 22.6L146.7 256 57.4 345.4 34.7 368 80 413.3l22.6-22.6L192 301.3l89.4 89.4L304 413.3 349.3 368l-22.6-22.6L237.3 256l89.4-89.4z\"/></svg>",
|
|
@@ -930,12 +938,15 @@
|
|
|
930
938
|
"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>",
|
|
931
939
|
"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>",
|
|
932
940
|
"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>",
|
|
941
|
+
"regular_cart_shopping_clock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 24C0 10.7 10.7 0 24 0L69.5 0C91.6 0 111 12.8 120.1 32l411 0c26.3 0 45.5 25 38.6 50.4L538.8 197.2c-13.7-3.4-28-5.2-42.8-5.2c-1.8 0-3.7 0-5.5 .1L520.7 80 131.1 80l30.5 160 213.6 0c-14.6 13.8-26.8 30-36 48l-168.5 0 5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5l123.2 0c-1.9 10.4-2.9 21.1-2.9 32c0 5.4 .2 10.7 .7 16l-121 0c-34.5 0-64.2-24.5-70.7-58.5L77.4 54.5c-.8-3.8-4.1-6.5-7.9-6.5L24 48C10.7 48 0 37.3 0 24zM134.4 440c8.6-14.9 24.4-24 41.6-24s33 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-48zM352 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm128-64l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16s-16 7.2-16 16z\"/></svg>",
|
|
933
942
|
"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>",
|
|
934
943
|
"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>",
|
|
935
944
|
"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>",
|
|
936
945
|
"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>",
|
|
937
946
|
"regular_truck_moving_circle_exclamation": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M72 80c-13.3 0-24 10.7-24 24c0 74.2 0 148.5 0 222.7c9.8-4.3 20.6-6.7 32-6.7c26.2 0 49.4 12.6 64 32c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32c16.2 0 32.5 0 48.7 0c-.5 5.3-.7 10.6-.7 16c0 10.9 1 21.6 2.9 32c-11.6 0-23.3 0-34.9 0c0 44.2-35.8 80-80 80c-26.2 0-49.4-12.6-64-32c-14.6 19.4-37.8 32-64 32c-44.2 0-80-35.8-80-80c0-16 0-32 0-48s0-32 0-48c0-66.7 0-133.3 0-200C0 64.2 32.2 32 72 32c112 0 224 0 336 0c39.8 0 72 32.2 72 72c0 13.3 0 26.7 0 40c16.3 0 32.5 0 48.8 0c16.8 0 32.7 7.5 43.3 20.5c19.6 24 39.3 47.9 58.9 71.9c5.8 7.1 9 16.1 9 25.3c0 1.7 0 3.4 0 5.1c-24.4-34.6-61-60.1-103.5-70.1c-.5-.6-1-1.2-1.5-1.8c-1.5-1.9-3.8-2.9-6.2-2.9c-10.9 0-21.9 0-32.8 0c-5.3 0-10.7 0-16 0c0 .2 0 .5 0 .7c-16.8 1.5-32.9 5.4-48 11.3c0-33.3 0-66.7 0-100c0-13.3-10.7-24-24-24c-112 0-224 0-336 0zM240 400c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM80 432c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm560-64c0 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-24zm16-128c0-8.8-7.2-16-16-16s-16 7.2-16 16c0 26.7 0 53.3 0 80c0 8.8 7.2 16 16 16s16-7.2 16-16c0-26.7 0-53.3 0-80z\"/></svg>",
|
|
938
947
|
"regular_truck_moving_circle_user": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M72 80c-13.3 0-24 10.7-24 24c0 74.2 0 148.5 0 222.7c9.8-4.3 20.6-6.7 32-6.7c26.2 0 49.4 12.6 64 32c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32c16.2 0 32.5 0 48.7 0c-.5 5.3-.7 10.6-.7 16c0 10.9 1 21.6 2.9 32c-11.6 0-23.3 0-34.9 0c0 44.2-35.8 80-80 80c-26.2 0-49.4-12.6-64-32c-14.6 19.4-37.8 32-64 32c-44.2 0-80-35.8-80-80c0-16 0-32 0-48s0-32 0-48c0-66.7 0-133.3 0-200C0 64.2 32.2 32 72 32c112 0 224 0 336 0c39.8 0 72 32.2 72 72c0 13.3 0 26.7 0 40c16.3 0 32.5 0 48.8 0c16.8 0 32.7 7.5 43.3 20.5c19.6 24 39.3 47.9 58.9 71.9c5.8 7.1 9 16.1 9 25.3c0 1.7 0 3.4 0 5.1c-24.4-34.6-61-60.1-103.5-70.1c-.5-.6-1-1.2-1.5-1.8c-1.5-1.9-3.8-2.9-6.2-2.9c-10.9 0-21.9 0-32.8 0c-5.3 0-10.7 0-16 0c0 .2 0 .5 0 .7c-16.8 1.5-32.9 5.4-48 11.3c0-33.3 0-66.7 0-100c0-13.3-10.7-24-24-24c-112 0-224 0-336 0zM240 400c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM80 432c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm272-64c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zM496 480c30.2 0 57.5-11.9 77.7-31.3c-6.2-19-24-32.7-45.1-32.7c-21.7 0-43.5 0-65.2 0c-21 0-38.9 13.7-45.1 32.7C438.5 468.1 465.8 480 496 480zm0-96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z\"/></svg>",
|
|
948
|
+
"regular_truck_moving_clock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 104C0 64.2 32.2 32 72 32l336 0c39.8 0 72 32.2 72 72l0 40 48.8 0c16.8 0 32.7 7.5 43.3 20.5L631 236.4c5.8 7.1 9 16.1 9 25.3l0 5.1c-24.4-34.6-61-60.1-103.5-70.1l-1.5-1.8c-1.5-1.9-3.8-2.9-6.2-2.9L496 192l-16 0 0 .7c-16.8 1.5-32.9 5.4-48 11.3l0-100c0-13.3-10.7-24-24-24L72 80c-13.3 0-24 10.7-24 24l0 222.7c9.8-4.3 20.6-6.7 32-6.7c26.2 0 49.4 12.6 64 32c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32l48.7 0c-.5 5.3-.7 10.6-.7 16c0 10.9 1 21.6 2.9 32L288 400c0 44.2-35.8 80-80 80c-26.2 0-49.4-12.6-64-32c-14.6 19.4-37.8 32-64 32c-44.2 0-80-35.8-80-80l0-48 0-48L0 104zM48 400c0 17.7 14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32zm128 0c0 17.7 14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32zm176-32c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm128-64l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16s-16 7.2-16 16z\"/></svg>",
|
|
949
|
+
"regular_warehouse_clock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 176.3c0-29.3 17.8-55.7 44.9-66.7L299 6.6c13.5-5.5 28.6-5.5 42.1 0l254 103c27.2 11 45 37.4 45 66.7L640 488l0-120 0-101.2c-12.9-18.3-29.2-34-48-46.3l0-44.2c0-9.8-5.9-18.6-15-22.2L323 51.1c-1.9-.8-4.1-.8-6 0L63 154.1c-9.1 3.7-15 12.5-15 22.2L48 488c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 176.3zM96 232c0-22.1 17.9-40 40-40l360 0c-46.8 0-89.3 18.2-120.8 48L144 240l0 40 199.5 0c-8.5 14.8-15 30.9-19 48L144 328l0 48 176.2 0c.7 16.7 3.8 32.8 8.9 48L144 424l0 40 204.5 0c12.3 18.8 28 35.1 46.3 48l-274.5 0-.3 0c-13.3 0-24-10.7-24-24l0-256zM352 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm128-64l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16s-16 7.2-16 16zm16-112l8 0c2.5 0 4.9 .2 7.2 .7c-5-.4-10.1-.7-15.2-.7z\"/></svg>",
|
|
939
950
|
"remark": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><path d=\"M15,.93C6.72,.93,0,5.83,0,11.89c0,2.12,.84,4.09,2.27,5.77h-.16c.16,.1,.28,.22,.43,.32,.4,.44,.86,.85,1.35,1.24,3.07,3.75,.06,8.71-3.25,9.84,5.79-1.34,9.31-3.89,10.9-6.53,1.11,.19,2.27,.31,3.46,.31,8.28,0,15-4.91,15-10.96S23.28,.93,15,.93Z\" fill=\"#484f60\"/></g></svg>",
|
|
940
951
|
"resize": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><polygon points=\"1.1 49.9 1.1 30.6 7.8 37.3 37.3 8 30.6 1.3 49.9 1.3 49.9 20.6 43.2 13.9 13.7 43.2 20.5 49.9 1.1 49.9\" fill=\"#4d5050\"/></svg>",
|
|
941
952
|
"service_cart_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M64 24C64 10.7 74.7 0 88 0h45.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H234.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H552c13.3 0 24 10.7 24 24s-10.7 24-24 24H263.7c-34.6 0-64.3-24.6-70.7-58.5l-51.6-271c-.7-3.8-4-6.5-7.9-6.5H88C74.7 48 64 37.3 64 24zM225.6 240H523.2c10.9 0 20.4-7.3 23.2-17.8L584.7 80H195.1l30.5 160zM192 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM24 96h80c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 80h96c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 80H136c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24z\"/></svg>",
|
|
@@ -963,6 +974,7 @@
|
|
|
963
974
|
"toolbox_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M184 80l144 0c4.4 0 8 3.6 8 8l0 40-160 0 0-40c0-4.4 3.6-8 8-8zm-56 8l0 40-28.1 0c-12.7 0-24.9 5.1-33.9 14.1L14.1 193.9c-9 9-14.1 21.2-14.1 33.9L0 328l0 88c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-88 0-100.1c0-12.7-5.1-24.9-14.1-33.9l-51.9-51.9c-9-9-21.2-14.1-33.9-14.1L384 128l0-40c0-30.9-25.1-56-56-56L184 32c-30.9 0-56 25.1-56 56zM464 304l-96 0 0-16c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 16-128 0 0-16c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 16-96 0 0-76.1L99.9 176l312.2 0L464 227.9l0 76.1zM48 352l96 0 0 16c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16 128 0 0 16c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16 96 0 0 64c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16l0-64z\"/></svg>",
|
|
964
975
|
"trash_bin": "<svg preserveAspectRatio=\"none\" version=\"1.1\" viewBox=\"0 0 50 50\" x=\"0px\" xmlns=\"http://www.w3.org/2000/svg\" y=\"0px\"><g transform=\" translate(14 10)\"><path d=\"M 0 0 L 0 18.215 C 0 19.99 1.439 21.429 3.215 21.429 L 15 21.429 C 16.775 21.429 18.215 19.99 18.215 18.215 L 18.215 0 L 0 0 Z M 4.287 19.286 L 2.143 19.286 L 2.143 2.143 L 4.287 2.143 L 4.287 19.286 Z M 10.18 19.286 L 8.037 19.286 L 8.037 2.143 L 10.18 2.143 L 10.18 19.286 Z M 16.072 19.286 L 13.93 19.286 L 13.93 2.143 L 16.072 2.143 L 16.072 19.286 Z\" fill=\"#1E2930\" transform=\" translate(1.891 8.571)\" /><path d=\"M 18.213 2.143 L 10.713 2.143 C 11.305 2.143 11.785 1.664 11.785 1.071 C 11.785 0.479 11.305 0 10.713 0 L 9.643 0 C 9.051 0 8.57 0.479 8.57 1.071 C 8.57 1.664 9.051 2.143 9.643 2.143 L 2.143 2.143 C 0.959 2.143 0 3.103 0 4.286 L 0 5.357 C 0 6.541 0.959 6.429 2.143 6.429 L 18.213 6.429 C 19.397 6.429 20.357 6.541 20.357 5.357 L 20.357 4.286 C 20.357 3.103 19.397 2.143 18.213 2.143 Z\" fill=\"#1E2930\" transform=\" translate(0.821 0)\" /></g></svg>",
|
|
965
976
|
"trash_can_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M144 400C144 408.8 136.8 416 128 416C119.2 416 112 408.8 112 400V176C112 167.2 119.2 160 128 160C136.8 160 144 167.2 144 176V400zM240 400C240 408.8 232.8 416 224 416C215.2 416 208 408.8 208 400V176C208 167.2 215.2 160 224 160C232.8 160 240 167.2 240 176V400zM336 400C336 408.8 328.8 416 320 416C311.2 416 304 408.8 304 400V176C304 167.2 311.2 160 320 160C328.8 160 336 167.2 336 176V400zM310.1 22.56L336.9 64H432C440.8 64 448 71.16 448 80C448 88.84 440.8 96 432 96H416V432C416 476.2 380.2 512 336 512H112C67.82 512 32 476.2 32 432V96H16C7.164 96 0 88.84 0 80C0 71.16 7.164 64 16 64H111.1L137 22.56C145.8 8.526 161.2 0 177.7 0H270.3C286.8 0 302.2 8.526 310.1 22.56V22.56zM148.9 64H299.1L283.8 39.52C280.9 34.84 275.8 32 270.3 32H177.7C172.2 32 167.1 34.84 164.2 39.52L148.9 64zM64 432C64 458.5 85.49 480 112 480H336C362.5 480 384 458.5 384 432V96H64V432z\"/></svg>",
|
|
977
|
+
"trash_can_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M170.5 51.6L151.5 80l145 0-19-28.4c-1.5-2.2-4-3.6-6.7-3.6l-93.7 0c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80 368 80l48 0 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 304c0 44.2-35.8 80-80 80l-224 0c-44.2 0-80-35.8-80-80l0-304-8 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l8 0 48 0 13.8 0 36.7-55.1C140.9 9.4 158.4 0 177.1 0l93.7 0c18.7 0 36.2 9.4 46.6 24.9zM80 128l0 304c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-304L80 128zm80 64l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16z\"/></svg>",
|
|
966
978
|
"triangle_down": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"29.06 18.75 37.5 18.75 25 31.25 12.5 18.75 20.95 18.75 29.06 18.75\" fill=\"#484f60\"/></svg>",
|
|
967
979
|
"triangle_up": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"20.94 31.25 12.5 31.25 25 18.75 37.5 31.25 29.05 31.25 20.94 31.25\" fill=\"#484f60\"/></svg>",
|
|
968
980
|
"truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.75\" width=\"17.47\" height=\"12.62\" fill=\"#484f60\"/><path d=\"M37,18.11h-8V28.84H20.22a4.42,4.42,0,0,1,1.41,2.73H30a4.41,4.41,0,0,1,8.76,0H40V24.63Zm-.26,6.73H32.25a.57.57,0,0,1-.57-.57V20a.57.57,0,0,1,.57-.58h2.63a.58.58,0,0,1,.52.35L37.31,24A.58.58,0,0,1,36.78,24.84Z\" fill=\"#484f60\"/><path d=\"M14.28,28.84a4.39,4.39,0,0,0-1.42,2.73H12l-2-1.26V28.84Z\" fill=\"#484f60\"/><path d=\"M31.25,32.1a3.16,3.16,0,1,0,3.16-3.16A3.16,3.16,0,0,0,31.25,32.1Z\" fill=\"#484f60\"/><path d=\"M14.09,32.1a3.16,3.16,0,1,0,3.16-3.16A3.15,3.15,0,0,0,14.09,32.1Z\" fill=\"#484f60\"/></svg>",
|
|
@@ -11569,6 +11581,8 @@
|
|
|
11569
11581
|
TransactionCfgName["StickerAmount"] = "stickerAmount";
|
|
11570
11582
|
TransactionCfgName["LineWarehouseLocationReceived"] = "lineWarehouseLocationReceived";
|
|
11571
11583
|
/* Invoice_check rubric */
|
|
11584
|
+
/* Service Overview Tab*/
|
|
11585
|
+
TransactionCfgName["ServiceMessage"] = "serviceMessage";
|
|
11572
11586
|
})(exports.TransactionCfgName || (exports.TransactionCfgName = {}));
|
|
11573
11587
|
|
|
11574
11588
|
var TransactionScreenConfigurationService = /** @class */ (function (_super) {
|
|
@@ -12204,7 +12218,7 @@
|
|
|
12204
12218
|
DialogTransactionLineWarehouseCcComponent.decorators = [
|
|
12205
12219
|
{ type: i0.Component, args: [{
|
|
12206
12220
|
selector: "co-dialog-transaction-line-warehouse-cc",
|
|
12207
|
-
template: "\n <co-dialog\n [customCssClass]=\"'co-small-scrollbar'\"\n [headerTemplate]=\"dialogHeader\"\n [footerTemplate]=\"footerTemplate\"\n (closeClick)=\"handleCloseDialog($event, buttonType.Cancel)\">\n <div class=\"transaction-line-warehouse-cc-section flex\">\n <co-input-number-picker\n class=\"quantity-number-picker\"\n [(model)]=\"quantity\" [min]=\"1\"\n [decimals]=\"decimals\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n (modelChange)=\"handleQuantityChange($event)\">\n </co-input-number-picker>\n <co-button\n *ngIf=\"showDirectSell\"\n class=\"bordered\"\n [iconData]=\"iconCacheService.getIcon(icons.IndustryRegular)\"\n (click)=\"directSellModalVisible = true\">\n </co-button>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\" *ngIf=\"transactionKind !== transKind.PurchaseOrder\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n <co-transaction-line-commission-code\n [transactionLine]=\"transactionLine\"\n [value]=\"commissionCode\"\n [useModel]=\"false\"\n (valueChange)=\"handleCommissionCodeChange($event)\"></co-transaction-line-commission-code>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'WAREHOUSE' | localize\"></div>\n <co-transaction-line-warehouse\n [transactionLine]=\"transactionLine\"\n [value]=\"warehouse\"\n [useModel]=\"false\"\n (valueChange)=\"handleWarehouseChange($event)\"></co-transaction-line-warehouse>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"co-dialog-header-title\" [textContent]=\"'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"handleOkClick()\"></co-button>\n <co-button class=\"close-button\"\n [iconData]=\"iconCacheService.getIcon(icons.Crossskinny)\"\n (click)=\"handleCloseDialog($event, buttonType.Cancel)\"></co-button>\n </div>\n </ng-template>\n\n <co-dialog-sell\n *ngIf=\"directSellModalVisible\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [lineUuid]=\"transactionLine.uuid\"\n [goodId]=\"transactionLine.goodId\"\n (showDirectSellModal)=\"showDirectSellModal($event)\">\n </co-dialog-sell>\n ",
|
|
12221
|
+
template: "\n <co-dialog\n [customCssClass]=\"'co-small-scrollbar'\"\n [headerTemplate]=\"dialogHeader\"\n [footerTemplate]=\"footerTemplate\"\n (closeClick)=\"handleCloseDialog($event, buttonType.Cancel)\">\n <div class=\"transaction-line-warehouse-cc-section flex\">\n <co-input-number-picker\n class=\"quantity-number-picker\"\n [(model)]=\"quantity\" [min]=\"1\"\n [decimals]=\"decimals\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n (modelChange)=\"handleQuantityChange($event)\">\n </co-input-number-picker>\n <co-button\n *ngIf=\"showDirectSell\"\n class=\"bordered\"\n [iconData]=\"iconCacheService.getIcon(icons.IndustryRegular)\"\n (click)=\"directSellModalVisible = true\">\n </co-button>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\" *ngIf=\"transactionKind !== transKind.PurchaseOrder\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n <co-transaction-line-commission-code\n [transactionLine]=\"transactionLine\"\n [value]=\"commissionCode\"\n [useModel]=\"false\"\n (valueChange)=\"handleCommissionCodeChange($event)\"></co-transaction-line-commission-code>\n </div>\n <div class=\"transaction-line-warehouse-cc-section\">\n <div class=\"transaction-line-warehouse-cc-section-label\" [textContent]=\"'WAREHOUSE' | localize\"></div>\n <co-transaction-line-warehouse\n [transactionLine]=\"transactionLine\"\n [value]=\"warehouse\"\n [useModel]=\"false\"\n [transactionInfo]=\"transactionInfo\"\n (valueChange)=\"handleWarehouseChange($event)\"></co-transaction-line-warehouse>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"co-dialog-header-title\" [textContent]=\"'COMMISSION_CODE_WAREHOUSE_SELECTION' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"handleOkClick()\"></co-button>\n <co-button class=\"close-button\"\n [iconData]=\"iconCacheService.getIcon(icons.Crossskinny)\"\n (click)=\"handleCloseDialog($event, buttonType.Cancel)\"></co-button>\n </div>\n </ng-template>\n\n <co-dialog-sell\n *ngIf=\"directSellModalVisible\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [lineUuid]=\"transactionLine.uuid\"\n [goodId]=\"transactionLine.goodId\"\n (showDirectSellModal)=\"showDirectSellModal($event)\">\n </co-dialog-sell>\n ",
|
|
12208
12222
|
encapsulation: i0.ViewEncapsulation.None
|
|
12209
12223
|
},] }
|
|
12210
12224
|
];
|
|
@@ -16250,9 +16264,16 @@
|
|
|
16250
16264
|
TransactionService.prototype.getWarehouses = function () {
|
|
16251
16265
|
return this.connector.getWarehouses(this.currentBranch);
|
|
16252
16266
|
};
|
|
16253
|
-
TransactionService.prototype.getWarehouseStockInfoByGoodAndBranch = function (goodId) {
|
|
16254
|
-
var transactionBranch
|
|
16255
|
-
|
|
16267
|
+
TransactionService.prototype.getWarehouseStockInfoByGoodAndBranch = function (goodId, transactionInfo) {
|
|
16268
|
+
var transactionBranch;
|
|
16269
|
+
if (transactionInfo && transactionInfo.branch) {
|
|
16270
|
+
transactionBranch = transactionInfo.branch.relationNr;
|
|
16271
|
+
}
|
|
16272
|
+
else if (this.currentTransaction && this.currentTransaction.transactionInfo && this.currentTransaction.transactionInfo.branch)
|
|
16273
|
+
transactionBranch = this.currentTransaction.transactionInfo.branch.relationNr;
|
|
16274
|
+
else {
|
|
16275
|
+
transactionBranch = this.currentBranch;
|
|
16276
|
+
}
|
|
16256
16277
|
return this.connector.getWarehouseStockInfoByGoodAndBranch(goodId, transactionBranch);
|
|
16257
16278
|
};
|
|
16258
16279
|
TransactionService.prototype.getMaxConfirmedDeliveryDateForPurchaseOrder = function (transId) {
|
|
@@ -27028,12 +27049,36 @@
|
|
|
27028
27049
|
});
|
|
27029
27050
|
};
|
|
27030
27051
|
TransactionLinesSidePanelCashDeskComponent.prototype.paymentMethodSelected = function (method, index) {
|
|
27031
|
-
this
|
|
27032
|
-
|
|
27033
|
-
|
|
27034
|
-
|
|
27035
|
-
|
|
27036
|
-
|
|
27052
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
27053
|
+
var registers, register;
|
|
27054
|
+
var _this = this;
|
|
27055
|
+
return __generator(this, function (_a) {
|
|
27056
|
+
switch (_a.label) {
|
|
27057
|
+
case 0:
|
|
27058
|
+
this.cashRegisterNr = this.posOrderData ? this.posOrderData.cashRegisterNr : this.transaction.transactionInfo.cashRegisterNr;
|
|
27059
|
+
this.cashRegisterGroupId = this.posOrderData ? this.posOrderData.cashRegisterGroupId : this.transaction.transactionInfo.cashRegisterGroupId;
|
|
27060
|
+
this.cashRegisterDrawerId = this.posOrderData ? this.posOrderData.cashDrawerId : undefined;
|
|
27061
|
+
this.printerName = this.posOrderData ? this.posOrderData.printerName : undefined;
|
|
27062
|
+
if (!((this.cashRegisterDrawerId === undefined || this.cashRegisterDrawerId === null) ||
|
|
27063
|
+
(this.printerName === undefined || this.printerName === null))) return [3 /*break*/, 2];
|
|
27064
|
+
return [4 /*yield*/, this.transactionService.getCashRegisters(this.transactionInfo.branch.relationNr, this.cashRegisterGroupId)];
|
|
27065
|
+
case 1:
|
|
27066
|
+
registers = _a.sent();
|
|
27067
|
+
register = registers.find(function (c) { return c.nr === _this.cashRegisterNr; });
|
|
27068
|
+
if (register !== undefined && register !== null) {
|
|
27069
|
+
if (this.cashRegisterDrawerId === undefined || this.cashRegisterDrawerId === null) {
|
|
27070
|
+
this.cashRegisterDrawerNr = register.defaultDrawerNumber;
|
|
27071
|
+
}
|
|
27072
|
+
this.printerName = this.printerName ? this.printerName : register.defaultPrinter;
|
|
27073
|
+
}
|
|
27074
|
+
_a.label = 2;
|
|
27075
|
+
case 2:
|
|
27076
|
+
this.selectedPaymentMethod = method;
|
|
27077
|
+
this.showCashRegisterPaymentDialog = true;
|
|
27078
|
+
return [2 /*return*/];
|
|
27079
|
+
}
|
|
27080
|
+
});
|
|
27081
|
+
});
|
|
27037
27082
|
};
|
|
27038
27083
|
TransactionLinesSidePanelCashDeskComponent.prototype._getPaymentMethods = function () {
|
|
27039
27084
|
var _this = this;
|
|
@@ -27047,7 +27092,7 @@
|
|
|
27047
27092
|
TransactionLinesSidePanelCashDeskComponent.decorators = [
|
|
27048
27093
|
{ type: i0.Component, args: [{
|
|
27049
27094
|
selector: 'co-transaction-lines-side-panel-cash-desk',
|
|
27050
|
-
template: "\n <div class=\"cash-register-button-wrapper\">\n <co-button class=\"expense-button\" [iconData]=\"iconCacheService.getIcon(icons.UpFromLineRegular)\"\n [label]=\"'EXPENSE' | localize\" (click)=\"showExpenseDialog = true\">\n </co-button>\n </div>\n <div class=\"cash-register-payment-methods-wrapper\">\n <co-payment-tile *ngFor=\"let paymentMethod of paymentMethods; let index = index\"\n [image]=\"paymentMethod.image\"\n [description]=\"paymentMethod.payment.description\"\n [showRadioButton]=\"false\"\n (selectedChange)=\"paymentMethodSelected(paymentMethod, index)\"\n ></co-payment-tile>\n </div>\n <co-transaction-cash-register-payment-dialog *ngIf=\"showCashRegisterPaymentDialog\"\n [transactionNr]=\"transaction.transactionInfo.transactionNr\"\n [transId]=\"transaction.transactionInfo.id\"\n [branch]=\"transaction.transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [amount]=\"transaction.transactionTotal.netAmount\"\n [currencyId]=\"transaction.transactionInfo.currencyId\"\n [relation]=\"relation\"\n [paymentViewModel]=\"selectedPaymentMethod\"\n [cashRegisterNr]=\"cashRegisterNr\"\n [cashRegisterGroupId]=\"cashRegisterGroupId\"\n [cashRegisterDrawerId]=\"cashRegisterDrawerId\"\n [printerName]=\"printerName\"\n [emailLayout]=\"emailLayout\"\n [printerLayout]=\"printerLayout\"\n (posOrderPayed)=\"handlePayed()\"\n (closeDialog)=\"showCashRegisterPaymentDialog = false\"\n >\n </co-transaction-cash-register-payment-dialog>\n <co-transaction-cash-register-order-expense-dialog *ngIf=\"showExpenseDialog\"\n [transaction]=\"this.transaction\"\n (cancelClicked)=\"showExpenseDialog = false\"\n (okayClicked)=\"createExpenseForOrder($event)\"\n >\n </co-transaction-cash-register-order-expense-dialog>\n ",
|
|
27095
|
+
template: "\n <div class=\"cash-register-button-wrapper\">\n <co-button class=\"expense-button\" [iconData]=\"iconCacheService.getIcon(icons.UpFromLineRegular)\"\n [label]=\"'EXPENSE' | localize\" (click)=\"showExpenseDialog = true\">\n </co-button>\n </div>\n <div class=\"cash-register-payment-methods-wrapper\">\n <co-payment-tile *ngFor=\"let paymentMethod of paymentMethods; let index = index\"\n [image]=\"paymentMethod.image\"\n [description]=\"paymentMethod.payment.description\"\n [showRadioButton]=\"false\"\n (selectedChange)=\"paymentMethodSelected(paymentMethod, index)\"\n ></co-payment-tile>\n </div>\n <co-transaction-cash-register-payment-dialog *ngIf=\"showCashRegisterPaymentDialog\"\n [transactionNr]=\"transaction.transactionInfo.transactionNr\"\n [transId]=\"transaction.transactionInfo.id\"\n [branch]=\"transaction.transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [amount]=\"transaction.transactionTotal.netAmount\"\n [currencyId]=\"transaction.transactionInfo.currencyId\"\n [relation]=\"relation\"\n [paymentViewModel]=\"selectedPaymentMethod\"\n [cashRegisterNr]=\"cashRegisterNr\"\n [cashRegisterGroupId]=\"cashRegisterGroupId\"\n [cashRegisterDrawerId]=\"cashRegisterDrawerId\"\n [cashRegisterDrawerNr]=\"cashRegisterDrawerNr\"\n [printerName]=\"printerName\"\n [emailLayout]=\"emailLayout\"\n [printerLayout]=\"printerLayout\"\n (posOrderPayed)=\"handlePayed()\"\n (closeDialog)=\"showCashRegisterPaymentDialog = false\"\n >\n </co-transaction-cash-register-payment-dialog>\n <co-transaction-cash-register-order-expense-dialog *ngIf=\"showExpenseDialog\"\n [transaction]=\"this.transaction\"\n (cancelClicked)=\"showExpenseDialog = false\"\n (okayClicked)=\"createExpenseForOrder($event)\"\n >\n </co-transaction-cash-register-order-expense-dialog>\n ",
|
|
27051
27096
|
encapsulation: i0.ViewEncapsulation.None
|
|
27052
27097
|
},] }
|
|
27053
27098
|
];
|
|
@@ -27108,12 +27153,16 @@
|
|
|
27108
27153
|
this.viewMode = exports.DeliveryPlanningViewModes.Fullscreen;
|
|
27109
27154
|
this.currentPlanningMode = exports.DeliveryPlanningModes.Transaction;
|
|
27110
27155
|
this.currentStartDate = new Date();
|
|
27156
|
+
this.availabilityCheckEvent = new rxjs.Subject();
|
|
27111
27157
|
}
|
|
27112
27158
|
Object.defineProperty(DeliveryPlanningService.prototype, "dragging", {
|
|
27113
27159
|
get: function () {
|
|
27114
27160
|
return this._dragging;
|
|
27115
27161
|
},
|
|
27116
27162
|
set: function (value) {
|
|
27163
|
+
if (!this._dragging && value) {
|
|
27164
|
+
this.availabilityCheckEvent.next(this.currentTransId);
|
|
27165
|
+
}
|
|
27117
27166
|
this._dragging = value;
|
|
27118
27167
|
},
|
|
27119
27168
|
enumerable: false,
|
|
@@ -27188,10 +27237,10 @@
|
|
|
27188
27237
|
});
|
|
27189
27238
|
DeliveryPlanningService.prototype.getOrderSequenceValue = function () {
|
|
27190
27239
|
return __awaiter(this, void 0, void 0, function () {
|
|
27191
|
-
return __generator(this, function (
|
|
27192
|
-
switch (
|
|
27240
|
+
return __generator(this, function (_b) {
|
|
27241
|
+
switch (_b.label) {
|
|
27193
27242
|
case 0: return [4 /*yield*/, this._transaction.getSequenceValue(sequenceName_enum.SequenceName.PlanLine)];
|
|
27194
|
-
case 1: return [2 /*return*/,
|
|
27243
|
+
case 1: return [2 /*return*/, _b.sent()];
|
|
27195
27244
|
}
|
|
27196
27245
|
});
|
|
27197
27246
|
});
|
|
@@ -27199,8 +27248,8 @@
|
|
|
27199
27248
|
DeliveryPlanningService.prototype.getTransportOrders = function (planningTransportWeekDay) {
|
|
27200
27249
|
return __awaiter(this, void 0, void 0, function () {
|
|
27201
27250
|
var request, orderResponse;
|
|
27202
|
-
return __generator(this, function (
|
|
27203
|
-
switch (
|
|
27251
|
+
return __generator(this, function (_b) {
|
|
27252
|
+
switch (_b.label) {
|
|
27204
27253
|
case 0:
|
|
27205
27254
|
request = new getTransportOrdersRequest_bo.GetTransportOrdersRequest();
|
|
27206
27255
|
request.transportId = planningTransportWeekDay.transport.transportId;
|
|
@@ -27208,7 +27257,7 @@
|
|
|
27208
27257
|
request.planningId = this.currentPlanning.planningId;
|
|
27209
27258
|
return [4 /*yield*/, this._transaction.getTransportOrders(request)];
|
|
27210
27259
|
case 1:
|
|
27211
|
-
orderResponse =
|
|
27260
|
+
orderResponse = _b.sent();
|
|
27212
27261
|
if (orderResponse) {
|
|
27213
27262
|
planningTransportWeekDay.plannedOrders = orderResponse;
|
|
27214
27263
|
planningTransportWeekDay.ordersLoaded = true;
|
|
@@ -27250,7 +27299,7 @@
|
|
|
27250
27299
|
DeliveryPlanningService.prototype.getPlanningTransportWeek = function () {
|
|
27251
27300
|
return __awaiter(this, void 0, void 0, function () {
|
|
27252
27301
|
var weekArrays;
|
|
27253
|
-
return __generator(this, function (
|
|
27302
|
+
return __generator(this, function (_b) {
|
|
27254
27303
|
weekArrays = [];
|
|
27255
27304
|
this._transaction.getPlanTransportWeek(this.currentStartDate, this.currentPlanning.planningId).then(function (result) {
|
|
27256
27305
|
if (result.length > 0) {
|
|
@@ -27263,6 +27312,18 @@
|
|
|
27263
27312
|
});
|
|
27264
27313
|
});
|
|
27265
27314
|
};
|
|
27315
|
+
DeliveryPlanningService.prototype.totalAssemblyTime = function (planOrder) {
|
|
27316
|
+
var _a;
|
|
27317
|
+
if (planOrder) {
|
|
27318
|
+
var total_1 = 0;
|
|
27319
|
+
(_a = planOrder === null || planOrder === void 0 ? void 0 : planOrder.lines) === null || _a === void 0 ? void 0 : _a.forEach(function (line) {
|
|
27320
|
+
if (line.minutes > 0) {
|
|
27321
|
+
total_1 += line.minutes;
|
|
27322
|
+
}
|
|
27323
|
+
});
|
|
27324
|
+
return total_1;
|
|
27325
|
+
}
|
|
27326
|
+
};
|
|
27266
27327
|
return DeliveryPlanningService;
|
|
27267
27328
|
}());
|
|
27268
27329
|
DeliveryPlanningService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DeliveryPlanningService_Factory() { return new DeliveryPlanningService(i0__namespace.ɵɵinject(TransactionConnectorService)); }, token: DeliveryPlanningService, providedIn: "root" });
|
|
@@ -27344,6 +27405,7 @@
|
|
|
27344
27405
|
}
|
|
27345
27406
|
};
|
|
27346
27407
|
TransactionPlanningLineComponent.prototype.dragStarted = function (ev) {
|
|
27408
|
+
this._deliveryPlanningService.currentTransId = this.transaction.transactionInfo.id;
|
|
27347
27409
|
ev.dataTransfer.setData("text", "lines");
|
|
27348
27410
|
};
|
|
27349
27411
|
TransactionPlanningLineComponent.prototype.lineNotPlanned = function (line) {
|
|
@@ -27601,8 +27663,17 @@
|
|
|
27601
27663
|
|
|
27602
27664
|
var TransactionCardPlanningComponent = /** @class */ (function (_super) {
|
|
27603
27665
|
__extends(TransactionCardPlanningComponent, _super);
|
|
27604
|
-
function TransactionCardPlanningComponent() {
|
|
27605
|
-
var _this = _super.
|
|
27666
|
+
function TransactionCardPlanningComponent(_deliveryPlanningService, transactionEventService, iconCacheService, screenConfigService, orderLineSetService, imageService, dictionaryService, transactionService, changeDetector) {
|
|
27667
|
+
var _this = _super.call(this, transactionEventService, iconCacheService, screenConfigService, imageService, dictionaryService, transactionService, changeDetector) || this;
|
|
27668
|
+
_this._deliveryPlanningService = _deliveryPlanningService;
|
|
27669
|
+
_this.transactionEventService = transactionEventService;
|
|
27670
|
+
_this.iconCacheService = iconCacheService;
|
|
27671
|
+
_this.screenConfigService = screenConfigService;
|
|
27672
|
+
_this.orderLineSetService = orderLineSetService;
|
|
27673
|
+
_this.imageService = imageService;
|
|
27674
|
+
_this.dictionaryService = dictionaryService;
|
|
27675
|
+
_this.transactionService = transactionService;
|
|
27676
|
+
_this.changeDetector = changeDetector;
|
|
27606
27677
|
_this.expanded = false;
|
|
27607
27678
|
_this.statusBarConfigNames = {
|
|
27608
27679
|
statusBarBT: _this.cfgNames.StatusBarBT,
|
|
@@ -27631,6 +27702,7 @@
|
|
|
27631
27702
|
this.transactionEventService.openSidePanel.next(line);
|
|
27632
27703
|
};
|
|
27633
27704
|
TransactionCardPlanningComponent.prototype.dragStarted = function (ev) {
|
|
27705
|
+
this._deliveryPlanningService.currentTransId = this.transaction.transactionInfo.id;
|
|
27634
27706
|
ev.dataTransfer.setData("text", "lines");
|
|
27635
27707
|
};
|
|
27636
27708
|
return TransactionCardPlanningComponent;
|
|
@@ -27642,6 +27714,17 @@
|
|
|
27642
27714
|
encapsulation: i0.ViewEncapsulation.None
|
|
27643
27715
|
},] }
|
|
27644
27716
|
];
|
|
27717
|
+
TransactionCardPlanningComponent.ctorParameters = function () { return [
|
|
27718
|
+
{ type: DeliveryPlanningService },
|
|
27719
|
+
{ type: TransactionEventService },
|
|
27720
|
+
{ type: IconCacheService },
|
|
27721
|
+
{ type: TransactionScreenConfigurationService },
|
|
27722
|
+
{ type: OrderLineSetService },
|
|
27723
|
+
{ type: TransactionImageService },
|
|
27724
|
+
{ type: DictionaryService },
|
|
27725
|
+
{ type: TransactionService },
|
|
27726
|
+
{ type: i0.ChangeDetectorRef }
|
|
27727
|
+
]; };
|
|
27645
27728
|
TransactionCardPlanningComponent.propDecorators = {
|
|
27646
27729
|
transactionLineActionButtons: [{ type: i0.ViewChild, args: [TransactionLineActionButtonsComponent,] }],
|
|
27647
27730
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-card-sales-overview",] }]
|
|
@@ -29361,7 +29444,7 @@
|
|
|
29361
29444
|
TransactionLineWarehouseComponent.prototype.ngOnInit = function () {
|
|
29362
29445
|
var _this = this;
|
|
29363
29446
|
this.viewModels.length = 0;
|
|
29364
|
-
this.transactionService.getWarehouseStockInfoByGoodAndBranch(this.transactionLine.goodId).then(function (warehouses) {
|
|
29447
|
+
this.transactionService.getWarehouseStockInfoByGoodAndBranch(this.transactionLine.goodId, this.transactionInfo).then(function (warehouses) {
|
|
29365
29448
|
_this.collection = !_this.transactionLine.dropShipment ? warehouses.slice() : warehouses.slice().filter(function (warehouse) { return warehouse.dropShipment; });
|
|
29366
29449
|
_this.detectChanges();
|
|
29367
29450
|
});
|
|
@@ -33738,7 +33821,17 @@
|
|
|
33738
33821
|
},
|
|
33739
33822
|
set: function (value) {
|
|
33740
33823
|
this._cashRegisterDrawerNr = value;
|
|
33741
|
-
this.
|
|
33824
|
+
this.setCashDrawerIdIfValidDrawer(this._cashRegisterDrawerNr);
|
|
33825
|
+
},
|
|
33826
|
+
enumerable: false,
|
|
33827
|
+
configurable: true
|
|
33828
|
+
});
|
|
33829
|
+
Object.defineProperty(TransactionPaymentService.prototype, "cashRegisterDrawerId", {
|
|
33830
|
+
get: function () {
|
|
33831
|
+
return this._cashRegisterDrawerId;
|
|
33832
|
+
},
|
|
33833
|
+
set: function (value) {
|
|
33834
|
+
this._cashRegisterDrawerId = value;
|
|
33742
33835
|
},
|
|
33743
33836
|
enumerable: false,
|
|
33744
33837
|
configurable: true
|
|
@@ -33983,7 +34076,7 @@
|
|
|
33983
34076
|
TransactionPaymentService.prototype._dataUriToBase64 = function (uri, mimeType) {
|
|
33984
34077
|
return uri ? "data:" + mimeType + ";base64," + uri : "";
|
|
33985
34078
|
};
|
|
33986
|
-
TransactionPaymentService.prototype.
|
|
34079
|
+
TransactionPaymentService.prototype.setCashDrawerIdIfValidDrawer = function (drawerNr) {
|
|
33987
34080
|
return __awaiter(this, void 0, void 0, function () {
|
|
33988
34081
|
var request, drawers;
|
|
33989
34082
|
var _this = this;
|
|
@@ -34136,7 +34229,18 @@
|
|
|
34136
34229
|
},
|
|
34137
34230
|
set: function (value) {
|
|
34138
34231
|
this._cashRegisterDrawerId = value;
|
|
34139
|
-
this.paymentService.
|
|
34232
|
+
this.paymentService.cashRegisterDrawerId = this._cashRegisterDrawerId;
|
|
34233
|
+
},
|
|
34234
|
+
enumerable: false,
|
|
34235
|
+
configurable: true
|
|
34236
|
+
});
|
|
34237
|
+
Object.defineProperty(TransactionPaymentBaseComponent.prototype, "cashRegisterDrawerNr", {
|
|
34238
|
+
get: function () {
|
|
34239
|
+
return this._cashRegisterDrawerNr;
|
|
34240
|
+
},
|
|
34241
|
+
set: function (value) {
|
|
34242
|
+
this._cashRegisterDrawerNr = value;
|
|
34243
|
+
this.paymentService.cashRegisterDrawerNr = this._cashRegisterDrawerNr;
|
|
34140
34244
|
},
|
|
34141
34245
|
enumerable: false,
|
|
34142
34246
|
configurable: true
|
|
@@ -34242,7 +34346,7 @@
|
|
|
34242
34346
|
this.cashRegisterIdx = index;
|
|
34243
34347
|
this.cashRegisterNr = cashRegister.nr;
|
|
34244
34348
|
this.cashRegisterGroupId = cashRegister.group;
|
|
34245
|
-
this.
|
|
34349
|
+
this.cashRegisterDrawerNr = cashRegister.defaultDrawerNumber;
|
|
34246
34350
|
this.paymentService.printerName = cashRegister.defaultPrinter;
|
|
34247
34351
|
};
|
|
34248
34352
|
TransactionPaymentBaseComponent.prototype.handlePayment = function () {
|
|
@@ -34285,7 +34389,7 @@
|
|
|
34285
34389
|
if (currentCashRegister) {
|
|
34286
34390
|
_this.cashRegisterNr = currentCashRegister.nr;
|
|
34287
34391
|
_this.cashRegisterGroupId = currentCashRegister.group;
|
|
34288
|
-
_this.
|
|
34392
|
+
_this.cashRegisterDrawerNr = currentCashRegister.defaultDrawerNumber;
|
|
34289
34393
|
_this.prepareCashDrawers(currentCashRegister.group);
|
|
34290
34394
|
_this.paymentService.printerName = currentCashRegister.defaultPrinter;
|
|
34291
34395
|
}
|
|
@@ -34326,6 +34430,7 @@
|
|
|
34326
34430
|
cashRegisterNr: [{ type: i0.Input }],
|
|
34327
34431
|
cashRegisterGroupId: [{ type: i0.Input }],
|
|
34328
34432
|
cashRegisterDrawerId: [{ type: i0.Input }],
|
|
34433
|
+
cashRegisterDrawerNr: [{ type: i0.Input }],
|
|
34329
34434
|
printerName: [{ type: i0.Input }],
|
|
34330
34435
|
emailLayout: [{ type: i0.Input }],
|
|
34331
34436
|
printerLayout: [{ type: i0.Input }],
|
|
@@ -39405,8 +39510,23 @@
|
|
|
39405
39510
|
});
|
|
39406
39511
|
});
|
|
39407
39512
|
};
|
|
39513
|
+
//In this case we need information about a separate transaction to add info from it to the transaction we actually wish to create.
|
|
39514
|
+
//As such we need to fetch a transaction but just return it. Not set it on the service.
|
|
39515
|
+
TransactionCreateService.prototype.getSeparateTransactionById = function (transactionId) {
|
|
39516
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
39517
|
+
return __generator(this, function (_a) {
|
|
39518
|
+
switch (_a.label) {
|
|
39519
|
+
case 0: return [4 /*yield*/, this.connector.getTransactionById(transactionId)];
|
|
39520
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
39521
|
+
}
|
|
39522
|
+
});
|
|
39523
|
+
});
|
|
39524
|
+
};
|
|
39408
39525
|
return TransactionCreateService;
|
|
39409
|
-
}(TransactionService));
|
|
39526
|
+
}(TransactionService));
|
|
39527
|
+
TransactionCreateService.decorators = [
|
|
39528
|
+
{ type: i0.Injectable }
|
|
39529
|
+
];
|
|
39410
39530
|
|
|
39411
39531
|
var TransactionHeaderPopupServiceFieldsComponent = /** @class */ (function () {
|
|
39412
39532
|
function TransactionHeaderPopupServiceFieldsComponent(transactionService) {
|
|
@@ -41175,6 +41295,7 @@
|
|
|
41175
41295
|
this.relation = new customerFullObject_bo.CustomerFullObject();
|
|
41176
41296
|
this.showHeader = true;
|
|
41177
41297
|
this.showViewModeButtons = true;
|
|
41298
|
+
this.transactionPlanning = false;
|
|
41178
41299
|
this.relationChange = new i0.EventEmitter();
|
|
41179
41300
|
this.showQuickAccess = true;
|
|
41180
41301
|
this.showButtonBar = true;
|
|
@@ -41542,7 +41663,7 @@
|
|
|
41542
41663
|
TransactionInternalComponent.decorators = [
|
|
41543
41664
|
{ type: i0.Component, args: [{
|
|
41544
41665
|
selector: 'co-transaction-internal',
|
|
41545
|
-
template: "\n <ng-container *ngIf=\"loaded\">\n <co-click-block></co-click-block>\n <co-transaction-header\n *ngIf=\"showHeader\"\n [transaction]=\"transaction\"\n [relation]=\"relation\"\n (relationChange)=\"handleRelationChange($event)\">\n </co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access\n *ngIf=\"showQuickAccess\"\n class=\"transaction-lines-header-item\"\n [transaction]=\"transaction\"\n [relation]=\"relation\"\n [activeCategory]=\"activeCategory\">\n </co-transaction-quick-access>\n <co-transaction-button-bar\n *ngIf=\"showButtonBar\"\n class=\"transaction-lines-header-item\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\">\n </co-transaction-button-bar>\n\n <div class=\"transaction-lines-header-item right\">\n <co-avatar\n class=\"transaction-sales-avatar\"\n [relationId]=\"transaction.transactionInfo.handledBy\"\n [screenConfigurationObject]=\"cfgNames.HeaderHandledBy\"\n screenConfigNativeElement>\n </co-avatar>\n <co-avatar\n class=\"transaction-sales-avatar\"\n [relationId]=\"transaction.transactionInfo.branch?.relationId\"\n [screenConfigurationObject]=\"cfgNames.HeaderBranch\"\n screenConfigNativeElement>\n </co-avatar>\n <co-view-mode-buttons\n *ngIf=\"!shouldShowTiles() && showViewModeButtons\"\n [showViewModes]=\"[viewModes.List, viewModes.Tiles]\"\n (viewModeChange)=\"handleViewModeChange($event)\">\n </co-view-mode-buttons>\n </div>\n </div>\n\n <div class=\"transaction-lines-content-wrapper\">\n <!--<co-transaction-document-button-bar [transaction]=\"transaction\"></co-transaction-document-button-bar>-->\n <div class=\"transaction-lines-content\">\n <div *ngIf=\"activeCategory === category.ServiceOrderService\">\n <co-transaction-service-overview [posOrderData]=\"posOrderData\" [transaction]=\"transaction\"></co-transaction-service-overview>\n </div>\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles || shouldShowTiles()\">\n <co-transaction-cards\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\">\n </co-transaction-cards>\n </div>\n <div class=\"transaction-lines-wrapper\"\n *ngIf=\"(activeViewMode === viewModes.List && !shouldShowTiles()) && activeCategory !== category.ServiceOrderService\">\n <co-transaction-lines\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n (saveTransactionLine)=\"saveTransactionLineText($event)\">\n </co-transaction-lines>\n </div>\n <div class=\"transaction-footer-wrapper\">\n <div class=\"transaction-footer-left\">\n <co-add-product\n *ngIf=\"activeCategory === categories.SalesOrderCashRegister ||\n activeCategory === categories.SalesOrderOverview ||\n activeCategory === categories.PurchaseOrderOverview ||\n activeCategory === categories.SalesOrderQuotation ||\n activeCategory === categories.ServiceOrderOverview\">\n </co-add-product>\n <co-transaction-button\n class=\"custom-width text-rule\"\n *ngIf=\"activeCategory !== categories.ServiceOrderService\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"\n (click)=\"handleTransactionText()\">\n </co-transaction-button>\n </div>\n\n <div class=\"transaction-footer-center\">\n <co-transaction-margin *ngIf=\"activeCategory === categories.SalesOrderMarginInfo\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionMarginInfo]=\"transactionMarginInfo\"\n ></co-transaction-margin>\n </div>\n\n <co-transaction-totals\n *ngIf=\"activeCategory !== category.ServiceOrderService\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionTotal]=\"transaction.transactionTotal\"\n [showDiscount]=\"true\">\n </co-transaction-totals>\n </div>\n </div>\n\n <co-transaction-lines-side-panel\n *ngIf=\"\n transaction &&\n (transaction.transactionInfo.transactionKind === transactionKind.CashDesk && !fullyInvoiced())\"\n [posOrderData]=\"posOrderData\"\n [transaction]=\"transaction\">\n </co-transaction-lines-side-panel>\n\n <co-transaction-line-side-panel\n *ngIf=\"showSidePanel\"\n [transaction]=\"transaction\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"sidePanelTransactionLine\"\n [activeCategory]=\"activeCategory\"\n (cancelClick)=\"showSidePanel = false\">\n </co-transaction-line-side-panel>\n\n <!--Popup voor wijzigen volgorde van tekstregels-->\n <co-transaction-article-text-overview\n *ngIf=\"showArticleTextOverview\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (closeClick)=\"closeArticleTextOverview()\"\n (cancelClick)=\"closeArticleTextOverview()\">\n </co-transaction-article-text-overview>\n\n <!--Popup voor aanmaken en updaten transactietekstregels-->\n <co-transaction-article-text\n *ngIf=\"showTransactionText\"\n [header]=\"'ORDER_TEXT_LINE' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [editText]=\"textToEdit\"\n [orderLineSetDTO]=\"selectedOrderLineSetDTO\"\n [transactionLine]=\"transactionLine\"\n (saveClick)=\"saveTransactionLineText($event)\"\n (closeClick)=\"closeTransactionText()\"\n (cancelClick)=\"closeTransactionText()\"\n (saveOrderLineSetClick)=\"saveOrderLineSet($event)\">\n </co-transaction-article-text>\n\n <!--Popup voor aanmaken en updaten artikeltekstregels-->\n <co-transaction-article-text\n *ngIf=\"showArticleText\"\n [header]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [showArticleImageDescription]=\"transactionLine.articleBound\"\n [showImage]=\"false\"\n [articleLineNr]=\"transactionLine.lineNr\"\n [articleRef]=\"transactionLine.articleNumber\"\n [transactionLine]=\"transactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveArticleLineText($event)\"\n (closeClick)=\"closeArticleText()\"\n (cancelClick)=\"closeArticleText()\">\n </co-transaction-article-text>\n\n <co-transaction-copy-order\n *ngIf=\"showCopyOrderDialog\"\n [transaction]=\"transaction\"\n (closeDialog)=\"showCopyOrderDialog = false\">\n </co-transaction-copy-order>\n </div>\n </ng-container>\n ",
|
|
41666
|
+
template: "\n <ng-container *ngIf=\"loaded\">\n <co-click-block></co-click-block>\n <co-transaction-header\n *ngIf=\"showHeader\"\n [transaction]=\"transaction\"\n [relation]=\"relation\"\n (relationChange)=\"handleRelationChange($event)\">\n </co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access\n *ngIf=\"showQuickAccess\"\n class=\"transaction-lines-header-item\"\n [transaction]=\"transaction\"\n [relation]=\"relation\"\n [activeCategory]=\"activeCategory\">\n </co-transaction-quick-access>\n <co-transaction-button-bar\n *ngIf=\"showButtonBar\"\n class=\"transaction-lines-header-item\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\">\n </co-transaction-button-bar>\n\n <div class=\"transaction-lines-header-item right\">\n <co-avatar\n class=\"transaction-sales-avatar\"\n [relationId]=\"transaction.transactionInfo.handledBy\"\n [screenConfigurationObject]=\"cfgNames.HeaderHandledBy\"\n screenConfigNativeElement>\n </co-avatar>\n <co-avatar\n class=\"transaction-sales-avatar\"\n [relationId]=\"transaction.transactionInfo.branch?.relationId\"\n [screenConfigurationObject]=\"cfgNames.HeaderBranch\"\n screenConfigNativeElement>\n </co-avatar>\n <co-view-mode-buttons\n *ngIf=\"!shouldShowTiles() && showViewModeButtons\"\n [showViewModes]=\"[viewModes.List, viewModes.Tiles]\"\n (viewModeChange)=\"handleViewModeChange($event)\">\n </co-view-mode-buttons>\n </div>\n </div>\n\n <div class=\"transaction-lines-content-wrapper\">\n <!--<co-transaction-document-button-bar [transaction]=\"transaction\"></co-transaction-document-button-bar>-->\n <div class=\"transaction-lines-content\">\n <div *ngIf=\"activeCategory === category.ServiceOrderService\">\n <co-transaction-service-overview [posOrderData]=\"posOrderData\" [transaction]=\"transaction\"></co-transaction-service-overview>\n </div>\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles || shouldShowTiles() || transactionPlanning\">\n <co-transaction-cards\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n [class.planning-cards]=\"transactionPlanning\">\n </co-transaction-cards>\n </div>\n <div class=\"transaction-lines-wrapper\"\n *ngIf=\"(activeViewMode === viewModes.List && !shouldShowTiles()) && activeCategory !== category.ServiceOrderService && !transactionPlanning\">\n <co-transaction-lines\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n (saveTransactionLine)=\"saveTransactionLineText($event)\">\n </co-transaction-lines>\n </div>\n <div class=\"transaction-footer-wrapper\">\n <div class=\"transaction-footer-left\">\n <co-add-product\n *ngIf=\"activeCategory === categories.SalesOrderCashRegister ||\n activeCategory === categories.SalesOrderOverview ||\n activeCategory === categories.PurchaseOrderOverview ||\n activeCategory === categories.SalesOrderQuotation ||\n activeCategory === categories.ServiceOrderOverview\">\n </co-add-product>\n <co-transaction-button\n class=\"custom-width text-rule\"\n *ngIf=\"activeCategory !== categories.ServiceOrderService\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"\n (click)=\"handleTransactionText()\">\n </co-transaction-button>\n </div>\n\n <div class=\"transaction-footer-center\">\n <co-transaction-margin *ngIf=\"activeCategory === categories.SalesOrderMarginInfo\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionMarginInfo]=\"transactionMarginInfo\"\n ></co-transaction-margin>\n </div>\n\n <co-transaction-totals\n *ngIf=\"activeCategory !== category.ServiceOrderService\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionTotal]=\"transaction.transactionTotal\"\n [showDiscount]=\"true\">\n </co-transaction-totals>\n </div>\n </div>\n\n <co-transaction-lines-side-panel\n *ngIf=\"\n transaction &&\n (transaction.transactionInfo.transactionKind === transactionKind.CashDesk && !fullyInvoiced())\"\n [posOrderData]=\"posOrderData\"\n [transaction]=\"transaction\">\n </co-transaction-lines-side-panel>\n\n <co-transaction-line-side-panel\n *ngIf=\"showSidePanel\"\n [transaction]=\"transaction\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"sidePanelTransactionLine\"\n [activeCategory]=\"activeCategory\"\n (cancelClick)=\"showSidePanel = false\">\n </co-transaction-line-side-panel>\n\n <!--Popup voor wijzigen volgorde van tekstregels-->\n <co-transaction-article-text-overview\n *ngIf=\"showArticleTextOverview\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (closeClick)=\"closeArticleTextOverview()\"\n (cancelClick)=\"closeArticleTextOverview()\">\n </co-transaction-article-text-overview>\n\n <!--Popup voor aanmaken en updaten transactietekstregels-->\n <co-transaction-article-text\n *ngIf=\"showTransactionText\"\n [header]=\"'ORDER_TEXT_LINE' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [editText]=\"textToEdit\"\n [orderLineSetDTO]=\"selectedOrderLineSetDTO\"\n [transactionLine]=\"transactionLine\"\n (saveClick)=\"saveTransactionLineText($event)\"\n (closeClick)=\"closeTransactionText()\"\n (cancelClick)=\"closeTransactionText()\"\n (saveOrderLineSetClick)=\"saveOrderLineSet($event)\">\n </co-transaction-article-text>\n\n <!--Popup voor aanmaken en updaten artikeltekstregels-->\n <co-transaction-article-text\n *ngIf=\"showArticleText\"\n [header]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [showArticleImageDescription]=\"transactionLine.articleBound\"\n [showImage]=\"false\"\n [articleLineNr]=\"transactionLine.lineNr\"\n [articleRef]=\"transactionLine.articleNumber\"\n [transactionLine]=\"transactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveArticleLineText($event)\"\n (closeClick)=\"closeArticleText()\"\n (cancelClick)=\"closeArticleText()\">\n </co-transaction-article-text>\n\n <co-transaction-copy-order\n *ngIf=\"showCopyOrderDialog\"\n [transaction]=\"transaction\"\n (closeDialog)=\"showCopyOrderDialog = false\">\n </co-transaction-copy-order>\n </div>\n </ng-container>\n ",
|
|
41546
41667
|
providers: [{
|
|
41547
41668
|
provide: corecomponents_v12.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
41548
41669
|
useExisting: i0.forwardRef(function () { return TransactionInternalComponent; })
|
|
@@ -41573,6 +41694,7 @@
|
|
|
41573
41694
|
transaction: [{ type: i0.Input }],
|
|
41574
41695
|
showHeader: [{ type: i0.Input }],
|
|
41575
41696
|
showViewModeButtons: [{ type: i0.Input }],
|
|
41697
|
+
transactionPlanning: [{ type: i0.Input }],
|
|
41576
41698
|
relationChange: [{ type: i0.Output }],
|
|
41577
41699
|
showQuickAccess: [{ type: i0.HostBinding, args: ['class.show-quick-access',] }, { type: i0.Input }],
|
|
41578
41700
|
showButtonBar: [{ type: i0.HostBinding, args: ['class.show-button-bar',] }, { type: i0.Input }],
|
|
@@ -43141,7 +43263,7 @@
|
|
|
43141
43263
|
TransactionLineSidePanelPlanningComponent.decorators = [
|
|
43142
43264
|
{ type: i0.Component, args: [{
|
|
43143
43265
|
selector: "co-transaction-line-side-panel-planning",
|
|
43144
|
-
template: "\n <div class=\"wrapper\">\n <co-delivery-planning [currentPlanningViewMode]=\"deliveryPlanningViewModes.Sidebar\" [calendarViewMode]=\"calendarViewModes.DaysAround\" [currentPlanningMode]=\"deliveryPlanningModes.Transaction\"></co-delivery-planning>\n </div>\n ",
|
|
43266
|
+
template: "\n <div class=\"wrapper line-side-planning\">\n <co-delivery-planning [currentPlanningViewMode]=\"deliveryPlanningViewModes.Sidebar\" [calendarViewMode]=\"calendarViewModes.DaysAround\" [currentPlanningMode]=\"deliveryPlanningModes.Transaction\"></co-delivery-planning>\n </div>\n ",
|
|
43145
43267
|
encapsulation: i0.ViewEncapsulation.None
|
|
43146
43268
|
},] }
|
|
43147
43269
|
];
|
|
@@ -44795,6 +44917,7 @@
|
|
|
44795
44917
|
this.getTransportOrdersEvent = new i0.EventEmitter();
|
|
44796
44918
|
this.updatePlanningTransportWeek = new i0.EventEmitter();
|
|
44797
44919
|
this.openSettingsDialogEvent = new i0.EventEmitter();
|
|
44920
|
+
this.calendarPlanEvent = new i0.EventEmitter();
|
|
44798
44921
|
}
|
|
44799
44922
|
Object.defineProperty(DeliveryPlanningOverviewTileComponent.prototype, "tileMode", {
|
|
44800
44923
|
get: function () {
|
|
@@ -44826,6 +44949,10 @@
|
|
|
44826
44949
|
DeliveryPlanningOverviewTileComponent.prototype.drop = function (event) {
|
|
44827
44950
|
// moveItemInArray(this.planningLines, event.previousIndex, event.currentIndex);
|
|
44828
44951
|
};
|
|
44952
|
+
DeliveryPlanningOverviewTileComponent.prototype.handleDrop = function (event) {
|
|
44953
|
+
event.preventDefault();
|
|
44954
|
+
event.stopPropagation();
|
|
44955
|
+
};
|
|
44829
44956
|
DeliveryPlanningOverviewTileComponent.prototype.formattedDate = function (date) {
|
|
44830
44957
|
return "" + this._datePipe.transform(date, 'H:mm', "GMT+1");
|
|
44831
44958
|
};
|
|
@@ -44857,12 +44984,15 @@
|
|
|
44857
44984
|
order.endTime = new Date(obj['endTime']);
|
|
44858
44985
|
this.updatePlanningTransportWeek.emit();
|
|
44859
44986
|
};
|
|
44987
|
+
DeliveryPlanningOverviewTileComponent.prototype.handleCalendarPlanEvent = function (data) {
|
|
44988
|
+
this.calendarPlanEvent.emit(data);
|
|
44989
|
+
};
|
|
44860
44990
|
return DeliveryPlanningOverviewTileComponent;
|
|
44861
44991
|
}());
|
|
44862
44992
|
DeliveryPlanningOverviewTileComponent.decorators = [
|
|
44863
44993
|
{ type: i0.Component, args: [{
|
|
44864
44994
|
selector: "co-delivery-planning-overview-tile",
|
|
44865
|
-
template: "\n <div class=\"delivery-planning-overview-tile-wrapper\">\n <div class=\"header-tile-wrapper\">\n <div class=\"header-title\" (click)=\"expandedChange()\">\n <co-icon *ngIf=\"!expanded\" [iconData]=\"iconCacheService.getIcon(icons.CaretDownSolid)\"></co-icon>\n <co-icon *ngIf=\"expanded\" [iconData]=\"iconCacheService.getIcon(icons.CaretUpSolid)\"></co-icon>\n <span class=\"header-title\" [textContent]=\"transportDay?.transport.registrationNumber\"></span>\n </div>\n <div class=\"truck-header-tile\">\n <co-icon\n [iconData]=\"iconCacheService.getIcon(icons.TruckContainerDuo)\"></co-icon>\n <co-icon class=\"small\" (click)=\"openSettingsDialog()\"\n [iconData]=\"iconCacheService.getIcon(icons.SlidersUpRegular)\"></co-icon>\n\n </div>\n\n </div>\n <div class=\"planning-wrapper\">\n <div class=\"status-wrapper row\">\n <co-delivery-planning-tile-status\n [currentVolume]=\"transportDay?.orderAmount\"\n [maxVolume]=\"transportDay?.maxOrderAmount\"\n [currentTimeTotal]=\"transportDay?.minutes\"\n [timeTotal]=\"transportDay?.maxMinutes\">\n </co-delivery-planning-tile-status>\n <div class=\"planning-short-line-wrapper\" *ngIf=\"!expanded\">\n <co-delivery-planning-overview-short-line\n *ngFor=\"let order of transportDay?.plannedOrders\"\n (deleteLineEvent)=\"handleDeleteLineClick($event)\"\n [order]=\"order\">\n </co-delivery-planning-overview-short-line>\n </div>\n </div>\n <co-collapsible [expanded]=\"expanded\">\n <div class=\"tile-content-wrapper column\">\n\n <div class=\"planning-lines-wrapper\" cdkDropList (cdkDropListDropped)=\"drop($event)\"\n *ngIf=\"tileMode === tileModes.Normal\">\n <co-delivery-planning-overview-tile-line cdkDrag\n *ngFor=\"let order of transportDay?.plannedOrders\"\n (deleteLineEvent)=\"handleDeleteLineClick($event)\"\n [order]=\"order\">\n </co-delivery-planning-overview-tile-line>\n </div>\n\n <ng-template #customTemplate let-hour=\"hour\" let-objects=\"objects\">\n <div>\n <div\n *ngFor=\"let obj of objects\"\n class=\"custom-scheduled-object\"\n draggable=\"true\"\n (dragstart)=\"onCustomDragStart($event, obj)\"\n >\n <co-delivery-planning-overview-tile-line cdkDrag\n *ngFor=\"let obj of objects\"\n (deleteLineEvent)=\"handleDeleteLineClick($event)\"\n [order]=\"obj\">\n </co-delivery-planning-overview-tile-line>\n </div>\n </div>\n </ng-template>\n\n <co-hour-scheduling *ngIf=\"ordersLoaded && tileMode === tileModes.Calendar\"\n [schedule]=\"transportDay\"\n [startTimeProp]=\"'startTime'\"\n [endTimeProp]=\"'endTime'\"\n [objectsProp]=\"'plannedOrders'\"\n [childProp]=\"'transport'\"\n [customTemplate]=\"customTemplate\"\n [customTemplateUsed]=\"true\"\n [idProp]=\"'transId'\"\n (timeChangeEvent)=\"handleTimeChangeEvent($event)\"\n\n ></co-hour-scheduling>\n </div>\n </co-collapsible>\n </div>\n\n </div>\n ",
|
|
44995
|
+
template: "\n <div class=\"delivery-planning-overview-tile-wrapper\">\n <div class=\"header-tile-wrapper\">\n <div class=\"header-title\" (click)=\"expandedChange()\">\n <co-icon *ngIf=\"!expanded\" [iconData]=\"iconCacheService.getIcon(icons.CaretDownSolid)\"></co-icon>\n <co-icon *ngIf=\"expanded\" [iconData]=\"iconCacheService.getIcon(icons.CaretUpSolid)\"></co-icon>\n <span class=\"header-title\" [textContent]=\"transportDay?.transport.registrationNumber\"></span>\n </div>\n <div class=\"truck-header-tile\">\n <co-icon\n [iconData]=\"iconCacheService.getIcon(icons.TruckContainerDuo)\"></co-icon>\n <co-icon class=\"small\" (click)=\"openSettingsDialog()\"\n [iconData]=\"iconCacheService.getIcon(icons.SlidersUpRegular)\"></co-icon>\n\n </div>\n\n </div>\n <div class=\"planning-wrapper\">\n <div class=\"status-wrapper row\">\n <co-delivery-planning-tile-status\n [currentVolume]=\"transportDay?.orderAmount\"\n [maxVolume]=\"transportDay?.maxOrderAmount\"\n [currentTimeTotal]=\"transportDay?.minutes\"\n [timeTotal]=\"transportDay?.maxMinutes\">\n </co-delivery-planning-tile-status>\n <div class=\"planning-short-line-wrapper\" *ngIf=\"!expanded\">\n <co-delivery-planning-overview-short-line\n *ngFor=\"let order of transportDay?.plannedOrders\"\n (deleteLineEvent)=\"handleDeleteLineClick($event)\"\n [order]=\"order\">\n </co-delivery-planning-overview-short-line>\n </div>\n </div>\n <co-collapsible [expanded]=\"expanded\">\n <div class=\"tile-content-wrapper column\">\n\n <div class=\"planning-lines-wrapper\" cdkDropList (cdkDropListDropped)=\"drop($event)\"\n *ngIf=\"tileMode === tileModes.Normal\">\n <co-delivery-planning-overview-tile-line cdkDrag\n *ngFor=\"let order of transportDay?.plannedOrders\"\n (deleteLineEvent)=\"handleDeleteLineClick($event)\"\n [order]=\"order\">\n </co-delivery-planning-overview-tile-line>\n </div>\n\n <ng-template #customTemplate let-hour=\"hour\" let-objects=\"objects\">\n <div>\n <div\n *ngFor=\"let obj of objects\"\n class=\"custom-scheduled-object\"\n draggable=\"true\"\n (dragstart)=\"onCustomDragStart($event, obj)\"\n >\n <co-delivery-planning-overview-tile-line cdkDrag\n *ngFor=\"let obj of objects\"\n (deleteLineEvent)=\"handleDeleteLineClick($event)\"\n [order]=\"obj\">\n </co-delivery-planning-overview-tile-line>\n </div>\n </div>\n </ng-template>\n\n <co-hour-scheduling *ngIf=\"ordersLoaded && tileMode === tileModes.Calendar\"\n [schedule]=\"transportDay\"\n [startTimeProp]=\"'startTime'\"\n [endTimeProp]=\"'endTime'\"\n [objectsProp]=\"'plannedOrders'\"\n [childProp]=\"'transport'\"\n [customTemplate]=\"customTemplate\"\n [customTemplateUsed]=\"true\"\n [idProp]=\"'transId'\"\n (timeChangeEvent)=\"handleTimeChangeEvent($event)\"\n (drop)=\"handleDrop($event)\"\n (newObjectPlanEvent)=\"handleCalendarPlanEvent($event)\"\n ></co-hour-scheduling>\n </div>\n </co-collapsible>\n </div>\n\n </div>\n ",
|
|
44866
44996
|
encapsulation: i0.ViewEncapsulation.None
|
|
44867
44997
|
},] }
|
|
44868
44998
|
];
|
|
@@ -44879,6 +45009,7 @@
|
|
|
44879
45009
|
getTransportOrdersEvent: [{ type: i0.Output }],
|
|
44880
45010
|
updatePlanningTransportWeek: [{ type: i0.Output }],
|
|
44881
45011
|
openSettingsDialogEvent: [{ type: i0.Output }],
|
|
45012
|
+
calendarPlanEvent: [{ type: i0.Output }],
|
|
44882
45013
|
showClass: [{ type: i0.HostBinding, args: ["class.co-delivery-planning-overview-tile",] }]
|
|
44883
45014
|
};
|
|
44884
45015
|
|
|
@@ -44893,6 +45024,7 @@
|
|
|
44893
45024
|
this.icons = Icon;
|
|
44894
45025
|
this.tileModes = DeliveryPlanningTileModes;
|
|
44895
45026
|
this.deliveryPlanningViewModes = exports.DeliveryPlanningViewModes;
|
|
45027
|
+
this.availability = [];
|
|
44896
45028
|
this.columnNum = 3; //initial count
|
|
44897
45029
|
this.planOrders = [];
|
|
44898
45030
|
this.currentMode = exports.DeliveryPlanningCalendarModes.Week;
|
|
@@ -44908,7 +45040,6 @@
|
|
|
44908
45040
|
}
|
|
44909
45041
|
Object.defineProperty(DeliveryPlanningOverviewComponent.prototype, "tiles", {
|
|
44910
45042
|
set: function (tiles) {
|
|
44911
|
-
this._deliveryPlanningService;
|
|
44912
45043
|
this.tilesQueryList = tiles;
|
|
44913
45044
|
},
|
|
44914
45045
|
enumerable: false,
|
|
@@ -44963,6 +45094,8 @@
|
|
|
44963
45094
|
switch (_c.label) {
|
|
44964
45095
|
case 0:
|
|
44965
45096
|
ev.preventDefault();
|
|
45097
|
+
ev.stopPropagation();
|
|
45098
|
+
this._deliveryPlanningService.dragging = false;
|
|
44966
45099
|
data = ev.dataTransfer.getData("text");
|
|
44967
45100
|
index = transportDays.indexOf(transportDay);
|
|
44968
45101
|
tile = this.tilesQueryList.get(index);
|
|
@@ -44977,15 +45110,7 @@
|
|
|
44977
45110
|
case 2:
|
|
44978
45111
|
planOrder = _c.sent();
|
|
44979
45112
|
if (planOrder) {
|
|
44980
|
-
this.
|
|
44981
|
-
this._changeDetector.markForCheck();
|
|
44982
|
-
this._changeDetector.detectChanges();
|
|
44983
|
-
if (this.planningPopupRef) {
|
|
44984
|
-
this.planningPopupRef.planOrder = planOrder;
|
|
44985
|
-
this.planningPopupRef.transportDay = transportDay;
|
|
44986
|
-
this.planningPopupRef.week = week;
|
|
44987
|
-
this.planningPopupRef.transaction = this._transaction.currentTransaction;
|
|
44988
|
-
}
|
|
45113
|
+
this.openPlanningPopup(planOrder, transportDay, week);
|
|
44989
45114
|
}
|
|
44990
45115
|
return [3 /*break*/, 5];
|
|
44991
45116
|
case 3:
|
|
@@ -45098,7 +45223,7 @@
|
|
|
45098
45223
|
};
|
|
45099
45224
|
DeliveryPlanningOverviewComponent.prototype.getTransportOrders = function (order, transportDay) {
|
|
45100
45225
|
return __awaiter(this, void 0, void 0, function () {
|
|
45101
|
-
var request,
|
|
45226
|
+
var request, _c;
|
|
45102
45227
|
return __generator(this, function (_d) {
|
|
45103
45228
|
switch (_d.label) {
|
|
45104
45229
|
case 0:
|
|
@@ -45106,10 +45231,6 @@
|
|
|
45106
45231
|
request.planningId = this._deliveryPlanningService.currentPlanning.planningId;
|
|
45107
45232
|
request.date = transportDay.date;
|
|
45108
45233
|
request.transportId = transportDay.transport.transportId;
|
|
45109
|
-
order.startTime = transportDay.transport.startTime;
|
|
45110
|
-
endDate = new Date(transportDay.transport.startTime);
|
|
45111
|
-
this.addHours(endDate, 1);
|
|
45112
|
-
order.endTime = endDate;
|
|
45113
45234
|
_c = transportDay;
|
|
45114
45235
|
return [4 /*yield*/, this._transactionCon.getTransportOrders(request)];
|
|
45115
45236
|
case 1:
|
|
@@ -45147,7 +45268,7 @@
|
|
|
45147
45268
|
};
|
|
45148
45269
|
DeliveryPlanningOverviewComponent.prototype.planSelectedLines = function (transportDay, week) {
|
|
45149
45270
|
return __awaiter(this, void 0, void 0, function () {
|
|
45150
|
-
var planOrder, linesToPlan, originalPlannedLineCount;
|
|
45271
|
+
var planOrder, linesToPlan, originalPlannedLineCount, correctOrder;
|
|
45151
45272
|
return __generator(this, function (_c) {
|
|
45152
45273
|
switch (_c.label) {
|
|
45153
45274
|
case 0: return [4 /*yield*/, this._transactionCon.getPlanOrder(this._transaction.currentTransaction.transactionInfo.id)];
|
|
@@ -45178,8 +45299,10 @@
|
|
|
45178
45299
|
}
|
|
45179
45300
|
}
|
|
45180
45301
|
});
|
|
45181
|
-
|
|
45182
|
-
|
|
45302
|
+
correctOrder = transportDay.plannedOrders.find(function (order) { return order.transactionNr === planOrder.transactionNr; });
|
|
45303
|
+
transportDay.plannedOrders.splice(transportDay.plannedOrders.indexOf(correctOrder), 1);
|
|
45304
|
+
if (correctOrder.lines.length > originalPlannedLineCount) {
|
|
45305
|
+
this.openPlanningPopup(correctOrder, transportDay, week);
|
|
45183
45306
|
}
|
|
45184
45307
|
}
|
|
45185
45308
|
else {
|
|
@@ -45240,12 +45363,93 @@
|
|
|
45240
45363
|
this.showSettingsDialog = true;
|
|
45241
45364
|
}
|
|
45242
45365
|
};
|
|
45366
|
+
DeliveryPlanningOverviewComponent.prototype.handleCalendarPlanEvent = function (data, transportWeekDay, week) {
|
|
45367
|
+
var _a;
|
|
45368
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
45369
|
+
var planOrder;
|
|
45370
|
+
return __generator(this, function (_c) {
|
|
45371
|
+
switch (_c.label) {
|
|
45372
|
+
case 0:
|
|
45373
|
+
if (!(data.data === "false" && this._deliveryPlanningService.currentTransId)) return [3 /*break*/, 2];
|
|
45374
|
+
return [4 /*yield*/, this._transactionCon.getPlanOrder((_a = this._deliveryPlanningService) === null || _a === void 0 ? void 0 : _a.currentTransId)];
|
|
45375
|
+
case 1:
|
|
45376
|
+
planOrder = _c.sent();
|
|
45377
|
+
return [3 /*break*/, 4];
|
|
45378
|
+
case 2: return [4 /*yield*/, this._transactionCon.getPlanOrder(parseInt(data.data))];
|
|
45379
|
+
case 3:
|
|
45380
|
+
planOrder = _c.sent();
|
|
45381
|
+
_c.label = 4;
|
|
45382
|
+
case 4:
|
|
45383
|
+
if (!(planOrder && data.currentHour)) return [3 /*break*/, 9];
|
|
45384
|
+
planOrder.startTime = this.calculateStartTime(transportWeekDay, data.currentHour);
|
|
45385
|
+
planOrder.endTime = this.calculateEndTime(planOrder.startTime, data.currentHour, planOrder);
|
|
45386
|
+
return [4 /*yield*/, this.getTransportOrders(planOrder, transportWeekDay)];
|
|
45387
|
+
case 5:
|
|
45388
|
+
_c.sent();
|
|
45389
|
+
return [4 /*yield*/, this.getSequenceOrderValue(planOrder)];
|
|
45390
|
+
case 6:
|
|
45391
|
+
_c.sent();
|
|
45392
|
+
return [4 /*yield*/, this.getOrderLinesPlanned(planOrder)];
|
|
45393
|
+
case 7:
|
|
45394
|
+
_c.sent();
|
|
45395
|
+
return [4 /*yield*/, this.planOrderLines(planOrder, transportWeekDay, week)];
|
|
45396
|
+
case 8:
|
|
45397
|
+
_c.sent();
|
|
45398
|
+
this._deliveryPlanningService.currentTransId = undefined;
|
|
45399
|
+
_c.label = 9;
|
|
45400
|
+
case 9: return [2 /*return*/];
|
|
45401
|
+
}
|
|
45402
|
+
});
|
|
45403
|
+
});
|
|
45404
|
+
};
|
|
45405
|
+
DeliveryPlanningOverviewComponent.prototype.calculateStartTime = function (transportWeekDay, currentHour) {
|
|
45406
|
+
var startDate = new Date(transportWeekDay.date);
|
|
45407
|
+
var startTime = parseInt(currentHour.split(":")[0]);
|
|
45408
|
+
startDate.setHours(startTime);
|
|
45409
|
+
startDate.setMinutes(parseInt(currentHour.split(":")[1]) > 0 ? parseInt(currentHour.split(":")[1]) : 0);
|
|
45410
|
+
startDate.setSeconds(0);
|
|
45411
|
+
return startDate;
|
|
45412
|
+
};
|
|
45413
|
+
DeliveryPlanningOverviewComponent.prototype.calculateEndTime = function (startDate, currentHour, planOrder) {
|
|
45414
|
+
var endTime = new Date(startDate);
|
|
45415
|
+
var splitHour = currentHour.split(":");
|
|
45416
|
+
var newEndMinutes = splitHour[1] === "00" ? 30 : 0;
|
|
45417
|
+
var newEndHour = splitHour[1] === "30" ? (parseInt(splitHour[0]) + 1) : parseInt(splitHour[0]);
|
|
45418
|
+
endTime.setHours(newEndHour);
|
|
45419
|
+
endTime.setMinutes(newEndMinutes);
|
|
45420
|
+
var assemblyTime = this._deliveryPlanningService.totalAssemblyTime(planOrder) * 60 * 1000;
|
|
45421
|
+
endTime.setTime(endTime.getTime() + assemblyTime);
|
|
45422
|
+
return endTime;
|
|
45423
|
+
};
|
|
45424
|
+
DeliveryPlanningOverviewComponent.prototype.openPlanningPopup = function (planOrder, transportDay, week) {
|
|
45425
|
+
this.showNoteDialog = true;
|
|
45426
|
+
this._changeDetector.markForCheck();
|
|
45427
|
+
this._changeDetector.detectChanges();
|
|
45428
|
+
if (this.planningPopupRef) {
|
|
45429
|
+
this.planningPopupRef.planOrder = planOrder;
|
|
45430
|
+
this.planningPopupRef.transportDay = transportDay;
|
|
45431
|
+
this.planningPopupRef.week = week;
|
|
45432
|
+
this.planningPopupRef.transaction = this._transaction.currentTransaction;
|
|
45433
|
+
}
|
|
45434
|
+
};
|
|
45435
|
+
DeliveryPlanningOverviewComponent.prototype.handleAvailabilityChecked = function (value) {
|
|
45436
|
+
this.availability.push(value);
|
|
45437
|
+
};
|
|
45438
|
+
DeliveryPlanningOverviewComponent.prototype.checkAvailable = function (transportDay) {
|
|
45439
|
+
var transport = this.availability.find(function (transportObject) { return transportObject.transportDay === transportDay; });
|
|
45440
|
+
if (transport && !transport.available) {
|
|
45441
|
+
return true;
|
|
45442
|
+
}
|
|
45443
|
+
else {
|
|
45444
|
+
return false;
|
|
45445
|
+
}
|
|
45446
|
+
};
|
|
45243
45447
|
return DeliveryPlanningOverviewComponent;
|
|
45244
45448
|
}());
|
|
45245
45449
|
DeliveryPlanningOverviewComponent.decorators = [
|
|
45246
45450
|
{ type: i0.Component, args: [{
|
|
45247
45451
|
selector: "co-delivery-planning-overview",
|
|
45248
|
-
template: "\n <co-delivery-planning-overview-popup #planningPopup *ngIf=\"showNoteDialog\" (closeEvent)=\"showNoteDialog = false\"\n (onSucceededPlanAction)=\"handlePopupPlanEvent($event)\"></co-delivery-planning-overview-popup>\n <co-delivery-planning-overview-tile-settings-popup *ngIf=\"showSettingsDialog\" [transportDay]=\"selectedTransportDay\" (onSaveAction)=\"handleSettingsSave($event)\" (closeEvent)=\"showSettingsDialog = false\"></co-delivery-planning-overview-tile-settings-popup>\n <div class=\"delivery-overview-wrapper\" [class.sidebar]=\"currentViewMode === 'DAYS_AROUND'\">\n <div class=\"
|
|
45452
|
+
template: "\n <co-delivery-planning-overview-popup #planningPopup *ngIf=\"showNoteDialog\" (closeEvent)=\"showNoteDialog = false\"\n (onSucceededPlanAction)=\"handlePopupPlanEvent($event)\"></co-delivery-planning-overview-popup>\n <co-delivery-planning-overview-tile-settings-popup *ngIf=\"showSettingsDialog\" [transportDay]=\"selectedTransportDay\" (availabilityChecked)=\"handleAvailabilityChecked($event)\" (onSaveAction)=\"handleSettingsSave($event)\" (closeEvent)=\"showSettingsDialog = false\"></co-delivery-planning-overview-tile-settings-popup>\n <div class=\"delivery-overview-wrapper\" [class.sidebar]=\"currentViewMode === 'DAYS_AROUND'\">\n <div class=\"tile-view-modes row\">\n <co-icon (click)=\"currentTileMode = tileModes.Normal\" [class.active]=\"currentTileMode === tileModes.Normal\" [iconData]=\"iconCacheService.getIcon(icons.CalendarLinesRegular)\"></co-icon>\n <co-icon (click)=\"currentTileMode = tileModes.Calendar\" [class.active]=\"currentTileMode === tileModes.Calendar\" [iconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </div>\n <div class=\"planning-component-wrapper\">\n <co-date-planning [view]=\"currentViewMode\" [selectedDate]=\"date\"\n (rangeChange)=\"handleDateRangeChange($event)\"></co-date-planning>\n </div>\n <div class=\"row date-planning\" #rowContainer *ngFor=\"let transportWeekRow of planTransportWeek\">\n <div class=\"column\" #columnElem\n *ngFor=\"let transPortDay of filterWeekArray(weekArray(transportWeekRow)); index as i\">\n <co-delivery-planning-overview-tile\n [class.disabled]=\"!transPortDay.availableOnDate || transPortDay.maxMinutes === 0 || checkAvailable(transPortDay)\"\n [disabled]=\"!transPortDay.availableOnDate || transPortDay.maxMinutes === 0\"\n (dragover)=\"allowDrop($event, transPortDay)\"\n (drop)=\"dropped($event, transportWeekRow, transPortDay, filterWeekArray(weekArray(transportWeekRow)))\"\n (dragend)=\"dragEnd($event)\"\n\n [transportDay]=\"transPortDay\"\n (deleteLineEvent)=\"handleDeleteOrder($event, transportWeekRow)\"\n (updatePlanningTransportWeek)=\"updatePlanningTransportEvent.emit(transportWeekRow)\"\n (openSettingsDialogEvent)=\"openSettingsDialog($event)\"\n (calendarPlanEvent)=\"handleCalendarPlanEvent($event, transPortDay, transportWeekRow)\"\n ></co-delivery-planning-overview-tile>\n\n </div>\n </div>\n </div>\n\n\n ",
|
|
45249
45453
|
encapsulation: i0.ViewEncapsulation.None
|
|
45250
45454
|
},] }
|
|
45251
45455
|
];
|
|
@@ -45278,7 +45482,9 @@
|
|
|
45278
45482
|
this.icons = Icon;
|
|
45279
45483
|
this.expanded = false;
|
|
45280
45484
|
this.linesActive = false;
|
|
45485
|
+
this.orderLines = false;
|
|
45281
45486
|
this.order = new planOrder_bo.PlanOrder();
|
|
45487
|
+
this.isActive = false;
|
|
45282
45488
|
this.deleteLineEvent = new i0.EventEmitter();
|
|
45283
45489
|
}
|
|
45284
45490
|
DeliveryPlanningOverviewTileLineComponent.prototype.showClass = function () {
|
|
@@ -45289,6 +45495,11 @@
|
|
|
45289
45495
|
};
|
|
45290
45496
|
DeliveryPlanningOverviewTileLineComponent.prototype.setLinesActive = function () {
|
|
45291
45497
|
this.linesActive = !this.linesActive;
|
|
45498
|
+
this.orderLines = false;
|
|
45499
|
+
};
|
|
45500
|
+
DeliveryPlanningOverviewTileLineComponent.prototype.showOrderLines = function (event) {
|
|
45501
|
+
event.stopPropagation(); // Stop the event from propagating to parent elements
|
|
45502
|
+
this.orderLines = !this.orderLines;
|
|
45292
45503
|
};
|
|
45293
45504
|
DeliveryPlanningOverviewTileLineComponent.prototype.getPlannedLines = function (lines) {
|
|
45294
45505
|
return lines.filter(function (line) { return line.planned === true; });
|
|
@@ -45298,7 +45509,7 @@
|
|
|
45298
45509
|
DeliveryPlanningOverviewTileLineComponent.decorators = [
|
|
45299
45510
|
{ type: i0.Component, args: [{
|
|
45300
45511
|
selector: "co-delivery-planning-overview-tile-line",
|
|
45301
|
-
template: "\n <div class=\"planning-line-wrapper\" [class.active-lines]=\"linesActive\">\n <div class=\"planning-line-content\">\n <div class=\"planning-line-left\">\n <div class=\"planning-line-extend\">\n <co-icon *ngIf=\"!
|
|
45512
|
+
template: "\n <div class=\"planning-line-wrapper\" (click)=\"setLinesActive()\" [class.active-lines]=\"linesActive\">\n <div class=\"planning-line-content\">\n <div class=\"planning-line-left\">\n <div class=\"planning-line-extend\" *ngIf=\"linesActive || orderLines\">\n <co-icon *ngIf=\"!orderLines\" (click)=\"showOrderLines($event)\" [iconData]=\"iconCacheService.getIcon(icons.ChevronDownRegular)\"></co-icon>\n <co-icon *ngIf=\"orderLines\" (click)=\"showOrderLines($event)\" [iconData]=\"iconCacheService.getIcon(icons.ChevronUpRegular)\"></co-icon>\n </div>\n <div class=\"line-content-left\">\n <div class=\"planning-relation\">\n <span [textContent]=\"order.relationName\"></span>\n </div>\n <div class=\"planning-address\" *ngIf=\"linesActive\">\n <span [textContent]=\"order.shortAddress\"></span>\n </div>\n </div>\n </div>\n <div class=\"planning-line-right\">\n <div class=\"line-content-right\">\n <div class=\"planning-order\">\n <co-icon (click)=\"setLinesActive()\" [iconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"></co-icon>\n <span [textContent]=\"order.transactionNr\"></span>\n </div>\n <div class=\"planning-time\" *ngIf=\"linesActive\">\n <span [textContent]=\"(order.startTime | date: 'HH:mm') + ' - ' + (order.endTime | date: 'HH:mm')\"></span>\n </div>\n </div>\n <div class=\"planning-line-actions\">\n <co-icon *ngIf=\"linesActive\" (click)=\"handleDeleteLineClick(order)\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanRegular)\"></co-icon>\n <co-icon *ngIf=\"!linesActive\" [iconData]=\"iconCacheService.getIcon(icons.ChevronRightRegular)\"></co-icon>\n </div>\n </div>\n </div>\n <div class=\"order-line-list-wrapper\" *ngIf=\"orderLines\">\n <div class=\"order-lines\" *ngFor=\"let line of getPlannedLines(order?.lines)\">\n <span [textContent]=\"line.articleNumber\"></span>\n <span [textContent]=\"line.description\"></span>\n </div>\n </div>\n </div>\n ",
|
|
45302
45513
|
encapsulation: i0.ViewEncapsulation.None
|
|
45303
45514
|
},] }
|
|
45304
45515
|
];
|
|
@@ -45307,6 +45518,7 @@
|
|
|
45307
45518
|
]; };
|
|
45308
45519
|
DeliveryPlanningOverviewTileLineComponent.propDecorators = {
|
|
45309
45520
|
order: [{ type: i0.Input }],
|
|
45521
|
+
isActive: [{ type: i0.Input }],
|
|
45310
45522
|
deleteLineEvent: [{ type: i0.Output }],
|
|
45311
45523
|
showClass: [{ type: i0.HostBinding, args: ["class.co-delivery-planning-overview-tile-line",] }]
|
|
45312
45524
|
};
|
|
@@ -45487,15 +45699,28 @@
|
|
|
45487
45699
|
];
|
|
45488
45700
|
|
|
45489
45701
|
var DeliveryPlanningOverviewPopupComponent = /** @class */ (function () {
|
|
45490
|
-
function DeliveryPlanningOverviewPopupComponent(iconCacheService, _transaction,
|
|
45702
|
+
function DeliveryPlanningOverviewPopupComponent(iconCacheService, _transaction, deliveryPlanningService) {
|
|
45491
45703
|
this.iconCacheService = iconCacheService;
|
|
45492
45704
|
this._transaction = _transaction;
|
|
45493
|
-
this.
|
|
45705
|
+
this.deliveryPlanningService = deliveryPlanningService;
|
|
45494
45706
|
this.icons = Icon;
|
|
45495
45707
|
this.planOrder = new planOrder_bo.PlanOrder();
|
|
45496
45708
|
this.closeEvent = new i0.EventEmitter();
|
|
45497
45709
|
this.onSucceededPlanAction = new i0.EventEmitter();
|
|
45498
45710
|
}
|
|
45711
|
+
Object.defineProperty(DeliveryPlanningOverviewPopupComponent.prototype, "transportDay", {
|
|
45712
|
+
get: function () {
|
|
45713
|
+
return this._transportWeekDay;
|
|
45714
|
+
},
|
|
45715
|
+
set: function (transportWeekDay) {
|
|
45716
|
+
this.handleInitialTimePlanning(transportWeekDay);
|
|
45717
|
+
this._transportWeekDay = transportWeekDay;
|
|
45718
|
+
},
|
|
45719
|
+
enumerable: false,
|
|
45720
|
+
configurable: true
|
|
45721
|
+
});
|
|
45722
|
+
;
|
|
45723
|
+
;
|
|
45499
45724
|
DeliveryPlanningOverviewPopupComponent.prototype.showClass = function () {
|
|
45500
45725
|
return true;
|
|
45501
45726
|
};
|
|
@@ -45505,17 +45730,8 @@
|
|
|
45505
45730
|
this.transportDay = undefined;
|
|
45506
45731
|
this.transaction = undefined;
|
|
45507
45732
|
};
|
|
45508
|
-
DeliveryPlanningOverviewPopupComponent.prototype.
|
|
45509
|
-
|
|
45510
|
-
if (planOrder) {
|
|
45511
|
-
var total_1 = 0;
|
|
45512
|
-
(_a = planOrder === null || planOrder === void 0 ? void 0 : planOrder.lines) === null || _a === void 0 ? void 0 : _a.forEach(function (line) {
|
|
45513
|
-
if (line.minutes > 0) {
|
|
45514
|
-
total_1 += line.minutes;
|
|
45515
|
-
}
|
|
45516
|
-
});
|
|
45517
|
-
return total_1;
|
|
45518
|
-
}
|
|
45733
|
+
DeliveryPlanningOverviewPopupComponent.prototype.impactTime = function () {
|
|
45734
|
+
return this.planOrder.impactTime ? this.planOrder.impactTime : 0;
|
|
45519
45735
|
};
|
|
45520
45736
|
DeliveryPlanningOverviewPopupComponent.prototype.closePopup = function () {
|
|
45521
45737
|
this._transaction.resetCurrentTransaction();
|
|
@@ -45525,36 +45741,56 @@
|
|
|
45525
45741
|
this.onSucceededPlanAction.emit([this.planOrder, this.transportDay, this.week]);
|
|
45526
45742
|
};
|
|
45527
45743
|
DeliveryPlanningOverviewPopupComponent.prototype.startTimeForOrder = function () {
|
|
45528
|
-
|
|
45529
|
-
if (((_b = (_a = this.transportDay) === null || _a === void 0 ? void 0 : _a.plannedOrders) === null || _b === void 0 ? void 0 : _b.length) === 0 || !((_d = (_c = this.transportDay) === null || _c === void 0 ? void 0 : _c.plannedOrders) === null || _d === void 0 ? void 0 : _d.length)) {
|
|
45530
|
-
this.planOrder.startTime = (_f = (_e = this.transportDay) === null || _e === void 0 ? void 0 : _e.transport) === null || _f === void 0 ? void 0 : _f.startTime;
|
|
45531
|
-
return (_h = (_g = this.transportDay) === null || _g === void 0 ? void 0 : _g.transport) === null || _h === void 0 ? void 0 : _h.startTime;
|
|
45532
|
-
}
|
|
45533
|
-
return (_j = this.transportDay) === null || _j === void 0 ? void 0 : _j.plannedOrders[this.transportDay.plannedOrders.length - 1].endTime;
|
|
45744
|
+
return this.planOrder.startTime;
|
|
45534
45745
|
};
|
|
45535
45746
|
DeliveryPlanningOverviewPopupComponent.prototype.endTimeForOrder = function () {
|
|
45536
|
-
|
|
45537
|
-
if (this.totalAssemblyTime(this.planOrder) === 0) {
|
|
45538
|
-
return this._deliveryPlanningService.addHours(new Date(this.planOrder.startTime), 1);
|
|
45539
|
-
}
|
|
45540
|
-
}
|
|
45747
|
+
return this.planOrder.endTime;
|
|
45541
45748
|
};
|
|
45542
|
-
DeliveryPlanningOverviewPopupComponent.prototype.handleStartTimeChange = function (
|
|
45543
|
-
|
|
45749
|
+
DeliveryPlanningOverviewPopupComponent.prototype.handleStartTimeChange = function (timeString) {
|
|
45750
|
+
var originalPlanOrderDate = new Date(this.planOrder.startTime);
|
|
45751
|
+
var date = new Date(originalPlanOrderDate.getFullYear(), originalPlanOrderDate.getMonth(), originalPlanOrderDate.getDay(), parseInt(timeString[0]), 0);
|
|
45752
|
+
if (!isNaN(date.getTime())) {
|
|
45544
45753
|
this.planOrder.startTime = date;
|
|
45545
45754
|
}
|
|
45546
45755
|
};
|
|
45547
|
-
DeliveryPlanningOverviewPopupComponent.prototype.handleEndTimeChange = function (
|
|
45548
|
-
|
|
45756
|
+
DeliveryPlanningOverviewPopupComponent.prototype.handleEndTimeChange = function (timeString) {
|
|
45757
|
+
var originalPlanOrderDate = new Date(this.planOrder.startTime);
|
|
45758
|
+
var date = new Date(originalPlanOrderDate.getFullYear(), originalPlanOrderDate.getMonth(), originalPlanOrderDate.getDay(), parseInt(timeString[0]), 0);
|
|
45759
|
+
if (!isNaN(date.getTime())) {
|
|
45549
45760
|
this.planOrder.endTime = date;
|
|
45550
45761
|
}
|
|
45551
45762
|
};
|
|
45763
|
+
DeliveryPlanningOverviewPopupComponent.prototype.handleInitialTimePlanning = function (transportWeekDay) {
|
|
45764
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
45765
|
+
if (!((_a = this.planOrder) === null || _a === void 0 ? void 0 : _a.startTime) && ((_b = transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.plannedOrders) === null || _b === void 0 ? void 0 : _b.length) === 0) {
|
|
45766
|
+
this.planOrder.startTime = new Date(transportWeekDay.date);
|
|
45767
|
+
(_d = (_c = this.planOrder) === null || _c === void 0 ? void 0 : _c.startTime) === null || _d === void 0 ? void 0 : _d.setHours(8);
|
|
45768
|
+
(_f = (_e = this.planOrder) === null || _e === void 0 ? void 0 : _e.startTime) === null || _f === void 0 ? void 0 : _f.setMinutes(0);
|
|
45769
|
+
(_h = (_g = this.planOrder) === null || _g === void 0 ? void 0 : _g.startTime) === null || _h === void 0 ? void 0 : _h.setSeconds(0);
|
|
45770
|
+
}
|
|
45771
|
+
if (!((_j = this.planOrder) === null || _j === void 0 ? void 0 : _j.endTime) && (transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.plannedOrders.length) === 0) {
|
|
45772
|
+
this.planOrder.endTime = new Date((_k = this.planOrder) === null || _k === void 0 ? void 0 : _k.startTime);
|
|
45773
|
+
this.planOrder.endTime.setHours(((_m = (_l = this.planOrder) === null || _l === void 0 ? void 0 : _l.endTime) === null || _m === void 0 ? void 0 : _m.getHours()) + (this.deliveryPlanningService.totalAssemblyTime(this.planOrder) > 0 ? (this.deliveryPlanningService.totalAssemblyTime(this.planOrder) / 60) : 1));
|
|
45774
|
+
this.planOrder.startTime.setMinutes(0);
|
|
45775
|
+
this.planOrder.startTime.setSeconds(0);
|
|
45776
|
+
}
|
|
45777
|
+
if ((transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.plannedOrders.length) > 0) {
|
|
45778
|
+
this.planOrder.startTime = new Date(transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.date);
|
|
45779
|
+
this.planOrder.startTime.setHours((_p = (_o = transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.plannedOrders[transportWeekDay.plannedOrders.length - 1]) === null || _o === void 0 ? void 0 : _o.endTime) === null || _p === void 0 ? void 0 : _p.getHours());
|
|
45780
|
+
this.planOrder.startTime.setMinutes(0);
|
|
45781
|
+
this.planOrder.startTime.setSeconds(0);
|
|
45782
|
+
this.planOrder.endTime = new Date(this.planOrder.startTime);
|
|
45783
|
+
this.planOrder.endTime.setHours(((_r = (_q = this.planOrder) === null || _q === void 0 ? void 0 : _q.endTime) === null || _r === void 0 ? void 0 : _r.getHours()) + (this.deliveryPlanningService.totalAssemblyTime(this.planOrder) > 0 ? (this.deliveryPlanningService.totalAssemblyTime(this.planOrder) / 60) : 1));
|
|
45784
|
+
this.planOrder.startTime.setMinutes(0);
|
|
45785
|
+
this.planOrder.startTime.setSeconds(0);
|
|
45786
|
+
}
|
|
45787
|
+
};
|
|
45552
45788
|
return DeliveryPlanningOverviewPopupComponent;
|
|
45553
45789
|
}());
|
|
45554
45790
|
DeliveryPlanningOverviewPopupComponent.decorators = [
|
|
45555
45791
|
{ type: i0.Component, args: [{
|
|
45556
45792
|
selector: "co-delivery-planning-overview-popup",
|
|
45557
|
-
template: "\n <co-dialog [showCloseIcon]=\"true\" (closeClick)=\"closePopup()\" [headerTemplate]=\"header\"\n [footerTemplate]=\"footer\">\n <ng-template #header>\n <div class=\"dialog-header-wrapper\">\n <span class=\"footer-header-title\" [textContent]=\"transportDay?.transport?.registrationNumber\"></span>\n <div class=\"icon\">\n <co-icon class=\"\"\n [iconData]=\"iconCacheService.getIcon(icons.TruckContainerDuo)\"></co-icon>\n </div>\n </div>\n </ng-template>\n\n <div class=\"body-wrapper\">\n <co-delivery-planning-tile-status\n [currentVolume]=\"transportDay?.orderAmount\"\n [maxVolume]=\"transportDay?.maxOrderAmount\"\n [currentTimeTotal]=\"transportDay?.minutes\"\n [timeTotal]=\"transportDay?.maxMinutes\">\n </co-delivery-planning-tile-status>\n\n <div class=\"form-details\">\n <span class=\"h1\" [textContent]=\"'TIME_SETTINGS' | localize\"></span>\n </div>\n <div class=\"popup-row\">\n <co-input-text [model]=\"
|
|
45793
|
+
template: "\n <co-dialog [showCloseIcon]=\"true\" (closeClick)=\"closePopup()\" [headerTemplate]=\"header\"\n [footerTemplate]=\"footer\">\n <ng-template #header>\n <div class=\"dialog-header-wrapper\">\n <span class=\"footer-header-title\" [textContent]=\"transportDay?.transport?.registrationNumber\"></span>\n <div class=\"icon\">\n <co-icon class=\"\"\n [iconData]=\"iconCacheService.getIcon(icons.TruckContainerDuo)\"></co-icon>\n </div>\n </div>\n </ng-template>\n\n <div class=\"body-wrapper\">\n <co-delivery-planning-tile-status\n [currentVolume]=\"transportDay?.orderAmount\"\n [maxVolume]=\"transportDay?.maxOrderAmount\"\n [currentTimeTotal]=\"transportDay?.minutes\"\n [timeTotal]=\"transportDay?.maxMinutes\">\n </co-delivery-planning-tile-status>\n\n <div class=\"form-details\">\n <span class=\"h1\" [textContent]=\"'TIME_SETTINGS' | localize\"></span>\n </div>\n <div class=\"popup-row\">\n <co-input-text [model]=\"impactTime()\" [placeholder]=\"'IMPACT_TIME' | localize\"></co-input-text>\n <co-input-text [model]=\"deliveryPlanningService.totalAssemblyTime(planOrder)\"\n [placeholder]=\"'ASSEMBLY_TIME' | localize\"></co-input-text>\n </div>\n\n <div class=\"popup-row\">\n <co-input-text [model]=\"startTimeForOrder() | date: 'HH:mm'\"\n [placeholder]=\"'STARTTIME' | localize\" (modelChange)=\"handleStartTimeChange($event)\"></co-input-text>\n <co-input-text [model]=\"endTimeForOrder() | date: 'HH:mm'\"\n [placeholder]=\"'STOPTIME' | localize\" (modelChange)=\"handleEndTimeChange($event)\"></co-input-text>\n </div>\n\n\n <div class=\"remark-wrapper\">\n <span [textContent]=\"'PLAN_REMARKS' | localize\"></span>\n <co-input-textarea [(model)]=\"planOrder.remarks\"></co-input-textarea>\n </div>\n\n\n </div>\n\n\n <ng-template #footer>\n <div class=\"buttons-wrapper\">\n <co-button class=\"save-button\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"handleCommitClick()\"></co-button>\n <co-button class=\"close-button\"\n [iconData]=\"iconCacheService.getIcon(icons.Crossskinny)\"\n (click)=\"closePopup()\"></co-button>\n </div>\n </ng-template>\n </co-dialog>\n ",
|
|
45558
45794
|
encapsulation: i0.ViewEncapsulation.None
|
|
45559
45795
|
},] }
|
|
45560
45796
|
];
|
|
@@ -45570,13 +45806,16 @@
|
|
|
45570
45806
|
};
|
|
45571
45807
|
|
|
45572
45808
|
var DeliveryPlanningOverviewTileSettingsPopupComponent = /** @class */ (function () {
|
|
45573
|
-
function DeliveryPlanningOverviewTileSettingsPopupComponent(_deliveryPlanningService, iconCacheService) {
|
|
45809
|
+
function DeliveryPlanningOverviewTileSettingsPopupComponent(_deliveryPlanningService, iconCacheService, _transaction) {
|
|
45574
45810
|
this._deliveryPlanningService = _deliveryPlanningService;
|
|
45575
45811
|
this.iconCacheService = iconCacheService;
|
|
45812
|
+
this._transaction = _transaction;
|
|
45576
45813
|
this.icons = Icon;
|
|
45577
45814
|
this.settingsChanged = false;
|
|
45815
|
+
this._subs = [];
|
|
45578
45816
|
this.closeEvent = new i0.EventEmitter();
|
|
45579
45817
|
this.onSaveAction = new i0.EventEmitter();
|
|
45818
|
+
this.availabilityChecked = new i0.EventEmitter();
|
|
45580
45819
|
}
|
|
45581
45820
|
Object.defineProperty(DeliveryPlanningOverviewTileSettingsPopupComponent.prototype, "districts", {
|
|
45582
45821
|
get: function () {
|
|
@@ -45617,6 +45856,22 @@
|
|
|
45617
45856
|
return true;
|
|
45618
45857
|
};
|
|
45619
45858
|
DeliveryPlanningOverviewTileSettingsPopupComponent.prototype.ngOnInit = function () {
|
|
45859
|
+
var _this = this;
|
|
45860
|
+
this._subs.push(this._deliveryPlanningService.availabilityCheckEvent.subscribe(function (transId) { return __awaiter(_this, void 0, void 0, function () {
|
|
45861
|
+
return __generator(this, function (_b) {
|
|
45862
|
+
switch (_b.label) {
|
|
45863
|
+
case 0: return [4 /*yield*/, this.handleAvailabilityChecked(transId)];
|
|
45864
|
+
case 1:
|
|
45865
|
+
_b.sent();
|
|
45866
|
+
return [2 /*return*/];
|
|
45867
|
+
}
|
|
45868
|
+
});
|
|
45869
|
+
}); }));
|
|
45870
|
+
};
|
|
45871
|
+
DeliveryPlanningOverviewTileSettingsPopupComponent.prototype.ngOnDestroy = function () {
|
|
45872
|
+
this._subs.forEach(function (sub) {
|
|
45873
|
+
sub.unsubscribe();
|
|
45874
|
+
});
|
|
45620
45875
|
};
|
|
45621
45876
|
DeliveryPlanningOverviewTileSettingsPopupComponent.prototype.districtsForTransportDay = function (transportDay) {
|
|
45622
45877
|
var _a;
|
|
@@ -45680,6 +45935,63 @@
|
|
|
45680
45935
|
DeliveryPlanningOverviewTileSettingsPopupComponent.prototype.handleCommitClick = function () {
|
|
45681
45936
|
this.onSaveAction.emit(this.settingsChanged);
|
|
45682
45937
|
};
|
|
45938
|
+
DeliveryPlanningOverviewTileSettingsPopupComponent.prototype.handleAvailabilityChecked = function (transId) {
|
|
45939
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
45940
|
+
var planOrder, available_1;
|
|
45941
|
+
var _this = this;
|
|
45942
|
+
return __generator(this, function (_b) {
|
|
45943
|
+
switch (_b.label) {
|
|
45944
|
+
case 0: return [4 /*yield*/, this._transaction.getPlanOrder(transId)];
|
|
45945
|
+
case 1:
|
|
45946
|
+
planOrder = _b.sent();
|
|
45947
|
+
if (!!planOrder.partDelivery) return [3 /*break*/, 2];
|
|
45948
|
+
this.deliveryMethods.find(function (method) { return parseInt(method.code) === planOrder.deliveryMethod; }) ? this.availabilityChecked.emit({ transportDay: this.transportDay, available: true }) : this.availabilityChecked.emit({ transportDay: this.transportDay, available: false });
|
|
45949
|
+
return [3 /*break*/, 4];
|
|
45950
|
+
case 2:
|
|
45951
|
+
available_1 = true;
|
|
45952
|
+
return [4 /*yield*/, this.getOrderLinesPlanned(planOrder)];
|
|
45953
|
+
case 3:
|
|
45954
|
+
_b.sent();
|
|
45955
|
+
planOrder.lines.forEach(function (line) {
|
|
45956
|
+
if (!_this.deliveryMethods.find(function (method) { return method.code === line.deliveryMethod; })) {
|
|
45957
|
+
available_1 = false;
|
|
45958
|
+
}
|
|
45959
|
+
});
|
|
45960
|
+
this.availabilityChecked.emit({ transportDay: this.transportDay, available: available_1 });
|
|
45961
|
+
_b.label = 4;
|
|
45962
|
+
case 4: return [2 /*return*/];
|
|
45963
|
+
}
|
|
45964
|
+
});
|
|
45965
|
+
});
|
|
45966
|
+
};
|
|
45967
|
+
DeliveryPlanningOverviewTileSettingsPopupComponent.prototype.getOrderLinesPlanned = function (planOrder) {
|
|
45968
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
45969
|
+
var request, filterObj, _b, _c, _d, _e;
|
|
45970
|
+
var _f;
|
|
45971
|
+
return __generator(this, function (_g) {
|
|
45972
|
+
switch (_g.label) {
|
|
45973
|
+
case 0:
|
|
45974
|
+
request = new orderLinesPlannedRequest_bo.OrderLinesPlannedRequest();
|
|
45975
|
+
filterObj = new planningFilterObject_bo.PlanningFilterObject();
|
|
45976
|
+
request.planned = true;
|
|
45977
|
+
request.planningId = this._deliveryPlanningService.currentPlanning.planningId;
|
|
45978
|
+
request.transId = planOrder.transId;
|
|
45979
|
+
request.plannedLineId = planOrder.plannedLineId;
|
|
45980
|
+
filterObj.onlyCurrentWeek = true;
|
|
45981
|
+
filterObj.beginCurrentWeek = new Date();
|
|
45982
|
+
filterObj.checkOrderLines = 1;
|
|
45983
|
+
request.filterObject = filterObj;
|
|
45984
|
+
_c = (_b = (_f = planOrder.lines).push).apply;
|
|
45985
|
+
_d = [_f];
|
|
45986
|
+
_e = [[]];
|
|
45987
|
+
return [4 /*yield*/, this._transaction.getOrderLinesPlanned(request)];
|
|
45988
|
+
case 1:
|
|
45989
|
+
_c.apply(_b, _d.concat([__spreadArray.apply(void 0, _e.concat([__read.apply(void 0, [_g.sent()])]))]));
|
|
45990
|
+
return [2 /*return*/];
|
|
45991
|
+
}
|
|
45992
|
+
});
|
|
45993
|
+
});
|
|
45994
|
+
};
|
|
45683
45995
|
return DeliveryPlanningOverviewTileSettingsPopupComponent;
|
|
45684
45996
|
}());
|
|
45685
45997
|
DeliveryPlanningOverviewTileSettingsPopupComponent.decorators = [
|
|
@@ -45691,12 +46003,14 @@
|
|
|
45691
46003
|
];
|
|
45692
46004
|
DeliveryPlanningOverviewTileSettingsPopupComponent.ctorParameters = function () { return [
|
|
45693
46005
|
{ type: DeliveryPlanningService },
|
|
45694
|
-
{ type: IconCacheService }
|
|
46006
|
+
{ type: IconCacheService },
|
|
46007
|
+
{ type: TransactionConnectorService }
|
|
45695
46008
|
]; };
|
|
45696
46009
|
DeliveryPlanningOverviewTileSettingsPopupComponent.propDecorators = {
|
|
45697
46010
|
transportDay: [{ type: i0.Input }],
|
|
45698
46011
|
closeEvent: [{ type: i0.Output }],
|
|
45699
46012
|
onSaveAction: [{ type: i0.Output }],
|
|
46013
|
+
availabilityChecked: [{ type: i0.Output }],
|
|
45700
46014
|
showClass: [{ type: i0.HostBinding, args: ["class.co-delivery-planning-overview-tile-settings-popup",] }]
|
|
45701
46015
|
};
|
|
45702
46016
|
|
|
@@ -47467,6 +47781,7 @@
|
|
|
47467
47781
|
};
|
|
47468
47782
|
TransactionSearchResultComponent.prototype.dragStarted = function (ev, transaction) {
|
|
47469
47783
|
this._deliveryPlanningService.dragging = true;
|
|
47784
|
+
this._deliveryPlanningService.currentTransId = transaction.transId;
|
|
47470
47785
|
ev.dataTransfer.setData("text", transaction.transId);
|
|
47471
47786
|
};
|
|
47472
47787
|
TransactionSearchResultComponent.prototype.dragEnd = function (ev) {
|
|
@@ -51158,10 +51473,12 @@
|
|
|
51158
51473
|
];
|
|
51159
51474
|
|
|
51160
51475
|
var TransactionLineSidePanelSalesReservationComponent = /** @class */ (function () {
|
|
51161
|
-
function TransactionLineSidePanelSalesReservationComponent(_purchaseReservationService, _transactionService, _transactionEventService) {
|
|
51476
|
+
function TransactionLineSidePanelSalesReservationComponent(_purchaseReservationService, _transactionService, _transactionEventService, iconCacheService) {
|
|
51162
51477
|
this._purchaseReservationService = _purchaseReservationService;
|
|
51163
51478
|
this._transactionService = _transactionService;
|
|
51164
51479
|
this._transactionEventService = _transactionEventService;
|
|
51480
|
+
this.iconCacheService = iconCacheService;
|
|
51481
|
+
this.icons = Icon;
|
|
51165
51482
|
this.reservationOrderLines = [];
|
|
51166
51483
|
}
|
|
51167
51484
|
TransactionLineSidePanelSalesReservationComponent.prototype.showClass = function () {
|
|
@@ -51204,14 +51521,15 @@
|
|
|
51204
51521
|
TransactionLineSidePanelSalesReservationComponent.decorators = [
|
|
51205
51522
|
{ type: i0.Component, args: [{
|
|
51206
51523
|
selector: "co-transaction-line-side-panel-sales-reservation",
|
|
51207
|
-
template: "\n <div class=\"
|
|
51524
|
+
template: "\n <div class=\"wrapper\">\n <div class=\"reservation-title\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.PalletBoxesRotate)\"></co-icon>\n <span [textContent]=\"'RESERVATION_PURCHASEORDER' | localize \"></span>\n </div>\n <co-transaction-purchase-reservation-order-tile *ngFor=\"let line of reservationOrderLines\"\n [purchaseReservationPurchaseLine]=\"line\"></co-transaction-purchase-reservation-order-tile>\n </div>\n <div class=\"save-cancel-wrapper\">\n <co-button [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"processReservation()\"\n ></co-button>\n <co-button class=\"cancel-button\"\n [iconData]=\"iconCacheService.getIcon(icons.Crossskinny)\"\n (click)=\"handleCloseSidePanel()\"\n ></co-button>\n </div>\n ",
|
|
51208
51525
|
encapsulation: i0.ViewEncapsulation.None
|
|
51209
51526
|
},] }
|
|
51210
51527
|
];
|
|
51211
51528
|
TransactionLineSidePanelSalesReservationComponent.ctorParameters = function () { return [
|
|
51212
51529
|
{ type: PurchaseReservationService },
|
|
51213
51530
|
{ type: TransactionService },
|
|
51214
|
-
{ type: TransactionEventService }
|
|
51531
|
+
{ type: TransactionEventService },
|
|
51532
|
+
{ type: IconCacheService }
|
|
51215
51533
|
]; };
|
|
51216
51534
|
TransactionLineSidePanelSalesReservationComponent.propDecorators = {
|
|
51217
51535
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-side-panel-sales-reservation",] }]
|
|
@@ -51233,7 +51551,7 @@
|
|
|
51233
51551
|
TransactionPurchaseReservationOrderTileComponent.decorators = [
|
|
51234
51552
|
{ type: i0.Component, args: [{
|
|
51235
51553
|
selector: "co-transaction-purchase-reservation-order-tile",
|
|
51236
|
-
template: "\n <div class=\"transaction-tile-wrapper\">\n <div class=\"tile\">\n <div class=\"tile-header\">\n <div class=\"tile-upper-left\">\n
|
|
51554
|
+
template: "\n <div class=\"transaction-tile-wrapper\">\n <div class=\"tile\">\n <div class=\"tile-header\">\n <div class=\"tile-upper-left\">\n <div class=\"header\">\n <co-input-checkbox\n [(model)]=\"purchaseReservationPurchaseLine.selected\"\n ></co-input-checkbox>\n <span class=\"bold\" [textContent]=\"purchaseReservationPurchaseLine.transNo\"></span>\n </div>\n </div>\n <div class=\"tile-upper-right\">\n <div class=\"column\">\n <span class=\"title\" [textContent]=\"'AMOUNT_AVAILABLE2' | localize\"></span>\n <span class=\"bold center-align\" [textContent]=\"purchaseReservationPurchaseLine.amountInOrder - purchaseReservationPurchaseLine.amountReserved \"></span>\n </div>\n <div class=\"column\">\n <span class=\"title\" [textContent]=\"'AMOUNT_RESERVATED' | localize\"></span>\n <span class=\"bold center-align\"\n [textContent]=\"purchaseReservationPurchaseLine.amountReserved\"></span>\n </div>\n </div>\n </div>\n <div class=\"tile-body\">\n <div class=\"tile-middle-left\">\n </div>\n <div class=\"tile-middle-middle\">\n </div>\n <div class=\"tile-middle-right\"></div>\n </div>\n <div class=\"tile-footer\">\n <div class=\"tile-bottom-left order-info-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingClock)\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"purchaseReservationPurchaseLine.deliveryDatePurchase | date:'dd MMM yyyy'\"></span>\n </div>\n </div>\n <div class=\"tile-bottom-left order-info-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularTruckMovingClock)\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"purchaseReservationPurchaseLine.deliveryDateConfirmed | date:'dd MMM yyyy'\"></span>\n </div>\n </div>\n <div class=\"tile-bottom-left order-info-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularWarehouseClock)\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"purchaseReservationPurchaseLine.arrivalDate | date:'dd MMM yyyy'\"></span></div>\n </div>\n </div>\n </div>\n </div>\n ",
|
|
51237
51555
|
encapsulation: i0.ViewEncapsulation.None
|
|
51238
51556
|
},] }
|
|
51239
51557
|
];
|
|
@@ -51288,6 +51606,7 @@
|
|
|
51288
51606
|
TransactionPurchaseReservationOrderTileModule,
|
|
51289
51607
|
corecomponents_v12.ButtonModule,
|
|
51290
51608
|
PipeModule,
|
|
51609
|
+
corecomponents_v12.IconModule,
|
|
51291
51610
|
],
|
|
51292
51611
|
declarations: [
|
|
51293
51612
|
TransactionLineSidePanelSalesComponent,
|
|
@@ -51711,6 +52030,7 @@
|
|
|
51711
52030
|
_this._dialogService = _dialogService;
|
|
51712
52031
|
_this.TableName = tableName_enum.TableName;
|
|
51713
52032
|
_this.WorkflowCategoryType = workflowCategory_enum.WorkflowCategoryType;
|
|
52033
|
+
_this.cfgNames = exports.TransactionCfgName;
|
|
51714
52034
|
_this.Icon = Icon;
|
|
51715
52035
|
_this._editMode = false;
|
|
51716
52036
|
_this.priorityDomainColl = [];
|
|
@@ -51922,7 +52242,7 @@
|
|
|
51922
52242
|
TransactionServiceOverviewComponent.decorators = [
|
|
51923
52243
|
{ type: i0.Component, args: [{
|
|
51924
52244
|
selector: "co-transaction-service-overview",
|
|
51925
|
-
template: "\n <div class=\"service-overview-wrapper\">\n <div class=\"message-and-task-wrapper\">\n <div class=\"service-message-and-image-wrapper\">\n <div class=\"service-message-wrapper\">\n <label class=\"label service-label\" [textContent]=\"'SERVICE_REPORT'| localize\"></label>\n <span
|
|
52245
|
+
template: "\n <div class=\"service-overview-wrapper\">\n <div class=\"message-and-task-wrapper\">\n <div class=\"service-message-and-image-wrapper\">\n <div class=\"service-message-wrapper\">\n <label class=\"label service-label\" [textContent]=\"'SERVICE_REPORT'| localize\"></label>\n <span *ngIf=\"transactionServiceInfo && transactionServiceInfo.wizardQuestionsAndAnswers\"\n [textContent]=\"transactionServiceInfo.wizardQuestionsAndAnswers\"></span> <!--[screenConfigurationObject]=\"\" screenConfigNativeElement-->\n <co-transaction-service-message class=\"transaction-service-message\" [transaction]=\"transaction\">\n </co-transaction-service-message>\n </div>\n <co-files-upload (documentChangeEvent)=\"upsertDocument($event)\"\n (documentDeleted)=\"deleteDocument($event)\"\n [label]=\"'ADD_IMAGES' | localize\"\n [documents]=\"documents\"\n [isEditable]=\"false\">\n </co-files-upload>\n <div class=\"service-order-lines-wrapper\">\n <div class=\"service-message-extra-wrapper\">\n <co-list-of-values [label]=\"'PRIORITY'| localize\" displayField=\"description\" [model]=\"priorityModel\"\n [collection]=\"priorityDomainColl\"\n (modelChange)=\"setPriority($event)\"></co-list-of-values>\n <co-list-of-values [label]=\"'CAUSE_CODE' | localize\" displayField=\"description\" [model]=\"causeCodeModel\"\n [collection]=\"causeCodeColl\"\n (modelChange)=\"setCauseCode($event)\"></co-list-of-values>\n <co-list-of-values [label]=\"'ENTRY_TYPE' | localize\" displayField=\"description\" [model]=\"entryTypeModel\"\n [collection]=\"entryTypeColl\"\n (modelChange)=\"setEntryType($event)\"></co-list-of-values>\n </div>\n <co-transaction-lines-side-panel\n class=\"higher-max-width\"\n [posOrderData]=\"posOrderData\"\n [transaction]=\"transaction\">\n </co-transaction-lines-side-panel>\n </div>\n\n </div>\n <div class=\"activity-list-component-wrapper\">\n <div class=\"activity-task-creator-wrapper\">\n <co-component-activity-list #openActivities [showActivityHeader]=\"showActivityHeader\" [table]=\"TableName.Transactions\" [key]=\"transactionInfo.id.toString()\" (refreshRequested)=\"finishedActivitiesRefreshRequested()\">\n </co-component-activity-list>\n <co-task-creator [table]=\"TableName.Transactions\" [remarkAndWorkKey]=\"transactionInfo.id.toString()\" [taskKey]=\"transactionInfo.transactionNr.toString()\"\n [author]=\"transactionService.loggedInUser\" [branchNo]=\"transactionInfo.branch.relationNr.toString()\"\n [workflowCategoryType]=\"WorkflowCategoryType.ServiceOrder\"\n (activityCreated)=\"fullActivitiesRefreshRequested()\"></co-task-creator>\n </div>\n <div class=\"activity-list-conv-wrapper\">\n <label class=\"label history-label\" [textContent]=\"'HISTORIC_ACTIVITY_CHAT'| localize\"></label>\n <co-activity-list [activities]=\"activities\"></co-activity-list>\n </div>\n </div>\n </div>\n </div>\n\n ",
|
|
51926
52246
|
encapsulation: i0.ViewEncapsulation.None
|
|
51927
52247
|
},] }
|
|
51928
52248
|
];
|
|
@@ -51988,7 +52308,7 @@
|
|
|
51988
52308
|
TransactionServiceMessageComponent.decorators = [
|
|
51989
52309
|
{ type: i0.Component, args: [{
|
|
51990
52310
|
selector: "co-transaction-service-message",
|
|
51991
|
-
template: "\n <co-input-textarea #input\n [model]=\"transactionServiceInfo.reportMessage\"\n [
|
|
52311
|
+
template: "\n <co-input-textarea #input\n [model]=\"transactionServiceInfo.reportMessage\"\n [forceReadonly]=\"readonly\"\n [showSaveCancel]=\"true\"\n ></co-input-textarea> <!--[screenConfigurationObject]=\"cfgNames.ServiceMessage\"-->\n ",
|
|
51992
52312
|
encapsulation: i0.ViewEncapsulation.None
|
|
51993
52313
|
},] }
|
|
51994
52314
|
];
|
|
@@ -52007,7 +52327,8 @@
|
|
|
52007
52327
|
common.CommonModule,
|
|
52008
52328
|
corecomponents_v12.InputTextModule,
|
|
52009
52329
|
PipeModule,
|
|
52010
|
-
corecomponents_v12.InputTextareaModule
|
|
52330
|
+
corecomponents_v12.InputTextareaModule,
|
|
52331
|
+
corecomponents_v12.ScreenConfigurationModule
|
|
52011
52332
|
],
|
|
52012
52333
|
declarations: [
|
|
52013
52334
|
TransactionServiceMessageComponent
|
|
@@ -53335,6 +53656,7 @@
|
|
|
53335
53656
|
this.showButtonBar = true;
|
|
53336
53657
|
this.showSaveCancelLabels = false;
|
|
53337
53658
|
this.saveCancelMovable = false;
|
|
53659
|
+
this.transactionPlanning = false;
|
|
53338
53660
|
this.screenConfigLoaded = false;
|
|
53339
53661
|
}
|
|
53340
53662
|
Object.defineProperty(TransactionComponent.prototype, "confirmationAnalysisId", {
|
|
@@ -53432,7 +53754,7 @@
|
|
|
53432
53754
|
TransactionComponent.decorators = [
|
|
53433
53755
|
{ type: i0.Component, args: [{
|
|
53434
53756
|
selector: 'co-transaction',
|
|
53435
|
-
template: "\n <co-save-cancel-buttons *ngIf=\"service.manualSaveParam\"\n [saveIconData]=\"saveIconData\"\n [cancelIconData]=\"cancelIconData\"\n [showLabels]=\"showSaveCancelLabels\"\n [movable]=\"saveCancelMovable\"\n ></co-save-cancel-buttons>\n <co-transaction-internal *ngIf=\"screenConfigLoaded\"\n [(relation)]=\"relation\"\n [showHeader]=\"showHeader\"\n [showQuickAccess]=\"showQuickAccess\"\n [showButtonBar]=\"showButtonBar\"\n [showViewModeButtons]=\"showViewModeButtons\"\n [confirmationAnalysisId]=\"confirmationAnalysisId\"\n [posOrderData]=\"posOrderData\"\n ></co-transaction-internal>\n ",
|
|
53757
|
+
template: "\n <co-save-cancel-buttons *ngIf=\"service.manualSaveParam\"\n [saveIconData]=\"saveIconData\"\n [cancelIconData]=\"cancelIconData\"\n [showLabels]=\"showSaveCancelLabels\"\n [movable]=\"saveCancelMovable\"\n ></co-save-cancel-buttons>\n <co-transaction-internal *ngIf=\"screenConfigLoaded\"\n [(relation)]=\"relation\"\n [showHeader]=\"showHeader\"\n [showQuickAccess]=\"showQuickAccess\"\n [showButtonBar]=\"showButtonBar\"\n [showViewModeButtons]=\"showViewModeButtons\"\n [confirmationAnalysisId]=\"confirmationAnalysisId\"\n [posOrderData]=\"posOrderData\"\n [transactionPlanning]=\"transactionPlanning\"\n ></co-transaction-internal>\n ",
|
|
53436
53758
|
providers: [
|
|
53437
53759
|
{ provide: corecomponents_v12.BaseModuleScreenConfigService, useExisting: TransactionScreenConfigurationService }
|
|
53438
53760
|
],
|
|
@@ -53462,6 +53784,7 @@
|
|
|
53462
53784
|
cancelIconData: [{ type: i0.Input }],
|
|
53463
53785
|
showSaveCancelLabels: [{ type: i0.Input }],
|
|
53464
53786
|
saveCancelMovable: [{ type: i0.Input }],
|
|
53787
|
+
transactionPlanning: [{ type: i0.Input }],
|
|
53465
53788
|
showClass: [{ type: i0.HostBinding, args: ['class.co-transaction',] }],
|
|
53466
53789
|
checkTransaction: [{ type: i0.HostListener, args: ['window:beforeunload',] }],
|
|
53467
53790
|
checkRollBack: [{ type: i0.HostListener, args: ['window:unload',] }]
|