@colijnit/transaction 12.1.50 → 12.1.51
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 +147 -70
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +1 -1
- package/esm2015/lib/component/transaction/transaction.module.js +1 -1
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +11 -11
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +37 -19
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.js +4 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +1 -1
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +16 -12
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-button.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-button.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +1 -1
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +6 -1
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +1 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +19 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.module.js +4 -4
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +1 -1
- package/esm2015/lib/enum/icon.enum.js +6 -1
- package/esm2015/lib/model/icon-svg.js +6 -1
- package/esm2015/lib/service/pending-reason.service.js +2 -4
- package/esm2015/lib/service/transaction-connector-adapter.service.js +29 -2
- package/esm2015/lib/service/transaction-connector.service.js +7 -12
- package/esm2015/lib/service/transaction.service.js +7 -6
- package/fesm2015/colijnit-transaction.js +138 -60
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/quick-send-button/style/_layout.scss +7 -0
- package/lib/component/quick-send-button/style/_material-definition.scss +0 -0
- package/lib/component/quick-send-button/style/_theme.scss +6 -0
- package/lib/component/quick-send-button/style/material.scss +4 -0
- package/lib/component/transaction/style/_layout.scss +23 -0
- package/lib/component/transaction/style/_material-definition.scss +7 -0
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +2 -3
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +5 -8
- package/lib/component/transaction-line/transaction-overview-line/style/_material-definition.scss +2 -1
- package/lib/component/transaction-line-action-buttons/style/_layout.scss +31 -38
- package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +3 -2
- package/lib/component/transaction-line-action-buttons/style/_theme.scss +11 -0
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +3 -0
- package/lib/enum/icon.enum.d.ts +5 -0
- package/lib/service/pending-reason.service.d.ts +1 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +3 -0
- package/lib/service/transaction-connector.service.d.ts +2 -0
- package/lib/service/transaction.service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -79,6 +79,7 @@ import { TransactionAddTextLineRequest } from '@colijnit/transactionapi/build/mo
|
|
|
79
79
|
import { PagingParameters } from '@colijnit/transactionapi/build/model/paging-parameters';
|
|
80
80
|
import { TransactionSearchViewRequest } from '@colijnit/transactionapi/build/model/transaction-search-view-request';
|
|
81
81
|
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
82
|
+
import { GetPurchaseOrderConfirmation } from '@colijnit/transactionapi/build/model/get-purchase-order-confirmation';
|
|
82
83
|
import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-status.enum';
|
|
83
84
|
import { ReceiveGoodsForPurchaseOrderRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo';
|
|
84
85
|
import { PurchaseOrderLineReceiptDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo';
|
|
@@ -2037,6 +2038,7 @@ var Icon;
|
|
|
2037
2038
|
Icon["ArrowPointRight"] = "arrow_point_right";
|
|
2038
2039
|
Icon["Article"] = "article";
|
|
2039
2040
|
Icon["AtSolid"] = "at_solid";
|
|
2041
|
+
Icon["BarcodeRegular"] = "barcode_regular";
|
|
2040
2042
|
Icon["BarcodeSolid"] = "barcode_solid";
|
|
2041
2043
|
Icon["BarsFilter"] = "bars_filter";
|
|
2042
2044
|
Icon["CalendarDay"] = "calendar_day";
|
|
@@ -2049,6 +2051,7 @@ var Icon;
|
|
|
2049
2051
|
Icon["CreditCardSolid"] = "credit_card_solid";
|
|
2050
2052
|
Icon["DeliveryTruck"] = "delivery_truck";
|
|
2051
2053
|
Icon["EditPencil"] = "edit_pencil";
|
|
2054
|
+
Icon["EllipsisLight"] = "ellipsis_light";
|
|
2052
2055
|
Icon["FileCircleInfoSolid"] = "file_circle_info_solid";
|
|
2053
2056
|
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
2054
2057
|
Icon["GripDotsVerticalSolid"] = "grip_dots_vertical_solid";
|
|
@@ -2064,6 +2067,7 @@ var Icon;
|
|
|
2064
2067
|
Icon["MasterDetail"] = "master_detail";
|
|
2065
2068
|
Icon["MemoCircleCheckSolid"] = "memo_circle_check_solid";
|
|
2066
2069
|
Icon["Menu"] = "menu";
|
|
2070
|
+
Icon["ObjectIntersectSolid"] = "object_intersect_solid";
|
|
2067
2071
|
Icon["PalletBoxesSolid"] = "pallet_boxes_solid";
|
|
2068
2072
|
Icon["PlusRound"] = "plus_round";
|
|
2069
2073
|
Icon["PrintSolid"] = "print_solid";
|
|
@@ -2078,6 +2082,8 @@ var Icon;
|
|
|
2078
2082
|
Icon["SquareFullSolid"] = "square_full_solid";
|
|
2079
2083
|
Icon["SyncAlt"] = "sync_alt";
|
|
2080
2084
|
Icon["Tag"] = "tag";
|
|
2085
|
+
Icon["TextSizeSolid"] = "text_size_solid";
|
|
2086
|
+
Icon["TextSolid"] = "text_solid";
|
|
2081
2087
|
Icon["ThickLines"] = "thick_lines";
|
|
2082
2088
|
Icon["ThinLines"] = "thin_lines";
|
|
2083
2089
|
Icon["TrashBin"] = "trash_bin";
|
|
@@ -2101,6 +2107,7 @@ const IconSvg = {
|
|
|
2101
2107
|
"arrow_point_right": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1C18.6,14.2,18.9,14.2,19.1,14.3z\"/></svg>",
|
|
2102
2108
|
"article": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M37.43,15.14H12.57A2.57,2.57,0,0,0,10,17.71V32.29a2.57,2.57,0,0,0,2.57,2.57H37.43A2.57,2.57,0,0,0,40,32.29V17.71A2.57,2.57,0,0,0,37.43,15.14ZM14.29,32.71H12.15V17.29h2.14Zm2,0H15V17.29h1.29Zm2.57,0H17.54V17.29h1.29Zm3.52,0H20.2V17.29h2.15Zm2,0H23.11V17.29H24.4Zm2.06,0H25.17V17.29h1.29Zm2.66,0H27.83V17.29h1.29Zm3.51,0H31.34V17.29h1.29Zm3.34,0H33.4V17.29H36Zm2.32,0H37V17.29h1.29Z\" fill=\"#484f60\"/></svg>",
|
|
2103
2109
|
"at_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M207.8 20.73c-93.45 18.32-168.7 93.66-187 187.1c-27.64 140.9 68.65 266.2 199.1 285.1c19.01 2.888 36.17-12.26 36.17-31.49l.0001-.6631c0-15.74-11.44-28.88-26.84-31.24c-84.35-12.98-149.2-86.13-149.2-174.2c0-102.9 88.61-185.5 193.4-175.4c91.54 8.869 158.6 91.25 158.6 183.2l0 16.16c0 22.09-17.94 40.05-40 40.05s-40.01-17.96-40.01-40.05v-120.1c0-8.847-7.161-16.02-16.01-16.02l-31.98 .0036c-7.299 0-13.2 4.992-15.12 11.68c-24.85-12.15-54.24-16.38-86.06-5.106c-38.75 13.73-68.12 48.91-73.72 89.64c-9.483 69.01 43.81 128 110.9 128c26.44 0 50.43-9.544 69.59-24.88c24 31.3 65.23 48.69 109.4 37.49C465.2 369.3 496 324.1 495.1 277.2V256.3C495.1 107.1 361.2-9.332 207.8 20.73zM239.1 304.3c-26.47 0-48-21.56-48-48.05s21.53-48.05 48-48.05s48 21.56 48 48.05S266.5 304.3 239.1 304.3z\"/></svg>",
|
|
2110
|
+
"barcode_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M48 55.1V455.1C48 469.3 37.25 479.1 24 479.1C10.75 479.1 0 469.3 0 455.1V55.1C0 42.74 10.75 31.1 24 31.1C37.25 31.1 48 42.74 48 55.1V55.1zM128 47.1V463.1C128 472.8 120.8 479.1 112 479.1C103.2 479.1 96 472.8 96 463.1V47.1C96 39.16 103.2 31.1 112 31.1C120.8 31.1 128 39.16 128 47.1V47.1zM208 55.1V455.1C208 469.3 197.3 479.1 184 479.1C170.7 479.1 160 469.3 160 455.1V55.1C160 42.74 170.7 31.1 184 31.1C197.3 31.1 208 42.74 208 55.1V55.1zM320 55.1V455.1C320 469.3 309.3 479.1 296 479.1C282.7 479.1 272 469.3 272 455.1V55.1C272 42.74 282.7 31.1 296 31.1C309.3 31.1 320 42.74 320 55.1V55.1zM464 55.1C464 42.74 474.7 31.1 488 31.1C501.3 31.1 512 42.74 512 55.1V455.1C512 469.3 501.3 479.1 488 479.1C474.7 479.1 464 469.3 464 455.1V55.1zM400 47.1C400 39.16 407.2 31.1 416 31.1C424.8 31.1 432 39.16 432 47.1V463.1C432 472.8 424.8 479.1 416 479.1C407.2 479.1 400 472.8 400 463.1V47.1z\"/></svg>",
|
|
2104
2111
|
"barcode_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M40 32C53.25 32 64 42.75 64 56V456C64 469.3 53.25 480 40 480H24C10.75 480 0 469.3 0 456V56C0 42.75 10.75 32 24 32H40zM128 48V464C128 472.8 120.8 480 112 480C103.2 480 96 472.8 96 464V48C96 39.16 103.2 32 112 32C120.8 32 128 39.16 128 48zM200 32C213.3 32 224 42.75 224 56V456C224 469.3 213.3 480 200 480H184C170.7 480 160 469.3 160 456V56C160 42.75 170.7 32 184 32H200zM296 32C309.3 32 320 42.75 320 56V456C320 469.3 309.3 480 296 480H280C266.7 480 256 469.3 256 456V56C256 42.75 266.7 32 280 32H296zM448 56C448 42.75 458.7 32 472 32H488C501.3 32 512 42.75 512 56V456C512 469.3 501.3 480 488 480H472C458.7 480 448 469.3 448 456V56zM384 48C384 39.16 391.2 32 400 32C408.8 32 416 39.16 416 48V464C416 472.8 408.8 480 400 480C391.2 480 384 472.8 384 464V48z\"/></svg>",
|
|
2105
2112
|
"bars_filter": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M264 392H183.1C170.8 392 160 402.8 160 415.1C160 429.2 170.8 440 183.1 440h80C277.2 440 288 429.2 288 416C288 402.8 277.2 392 264 392zM424 72H23.1C10.8 72 0 82.8 0 95.1S10.8 120 23.1 120H424c13.2 0 24-10.8 24-23.1S437.2 72 424 72zM360 232H87.1C74.8 232 64 242.8 64 255.1C64 269.2 74.8 280 87.1 280h272C373.2 280 384 269.2 384 256C384 242.8 373.2 232 360 232z\"/></svg>",
|
|
2106
2113
|
"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>",
|
|
@@ -2113,6 +2120,7 @@ const IconSvg = {
|
|
|
2113
2120
|
"credit_card_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M512 32C547.3 32 576 60.65 576 96V128H0V96C0 60.65 28.65 32 64 32H512zM576 416C576 451.3 547.3 480 512 480H64C28.65 480 0 451.3 0 416V224H576V416zM112 352C103.2 352 96 359.2 96 368C96 376.8 103.2 384 112 384H176C184.8 384 192 376.8 192 368C192 359.2 184.8 352 176 352H112zM240 384H368C376.8 384 384 376.8 384 368C384 359.2 376.8 352 368 352H240C231.2 352 224 359.2 224 368C224 376.8 231.2 384 240 384z\"/></svg>",
|
|
2114
2121
|
"delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
|
|
2115
2122
|
"edit_pencil": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"12.54 38.16 12 37.62 14.85 29.64 20.52 35.31 12.54 38.16\" fill=\"#484f60\"/><rect x=\"16.33\" y=\"20.52\" width=\"17.99\" height=\"8.64\" transform=\"translate(-10.15 25.18) rotate(-45)\" fill=\"#484f60\"/><path d=\"M37.54,18.73,36,20.32l-6.11-6.1,1.59-1.59a1.55,1.55,0,0,1,2.2,0l3.91,3.9A1.55,1.55,0,0,1,37.54,18.73Z\" fill=\"#484f60\"/></svg>",
|
|
2123
|
+
"ellipsis_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M352 256C352 238.3 366.3 224 384 224C401.7 224 416 238.3 416 256C416 273.7 401.7 288 384 288C366.3 288 352 273.7 352 256zM192 256C192 238.3 206.3 224 224 224C241.7 224 256 238.3 256 256C256 273.7 241.7 288 224 288C206.3 288 192 273.7 192 256zM96 256C96 273.7 81.67 288 64 288C46.33 288 32 273.7 32 256C32 238.3 46.33 224 64 224C81.67 224 96 238.3 96 256z\"/></svg>",
|
|
2116
2124
|
"file_circle_info_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M0 64C0 28.65 28.65 0 64 0H224V128C224 145.7 238.3 160 256 160H384V198.6C310.1 219.5 256 287.4 256 368C256 427.1 285.1 479.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM256 128V0L384 128H256zM288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM432 320C445.3 320 456 309.3 456 296C456 282.7 445.3 272 432 272C418.7 272 408 282.7 408 296C408 309.3 418.7 320 432 320zM416 384L416 432C407.2 432 400 439.2 400 448C400 456.8 407.2 464 416 464H448C456.8 464 464 456.8 464 448C464 439.2 456.8 432 448 432V368C448 359.2 440.8 352 432 352H416C407.2 352 400 359.2 400 368C400 376.8 407.2 384 416 384z\"/></svg>",
|
|
2117
2125
|
"file_pdf_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M88 304H80V256H88C101.3 256 112 266.7 112 280C112 293.3 101.3 304 88 304zM192 256H200C208.8 256 216 263.2 216 272V336C216 344.8 208.8 352 200 352H192V256zM224 0V128C224 145.7 238.3 160 256 160H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H224zM64 224C55.16 224 48 231.2 48 240V368C48 376.8 55.16 384 64 384C72.84 384 80 376.8 80 368V336H88C118.9 336 144 310.9 144 280C144 249.1 118.9 224 88 224H64zM160 368C160 376.8 167.2 384 176 384H200C226.5 384 248 362.5 248 336V272C248 245.5 226.5 224 200 224H176C167.2 224 160 231.2 160 240V368zM288 224C279.2 224 272 231.2 272 240V368C272 376.8 279.2 384 288 384C296.8 384 304 376.8 304 368V320H336C344.8 320 352 312.8 352 304C352 295.2 344.8 288 336 288H304V256H336C344.8 256 352 248.8 352 240C352 231.2 344.8 224 336 224H288zM256 0L384 128H256V0z\"/></svg>",
|
|
2118
2126
|
"grip_dots_vertical_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><path d=\"M48 144c26.5 0 48-21.5 48-48s-21.5-48-48-48S0 69.5 0 96s21.5 48 48 48zm0 160c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM96 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 144c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48 112c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z\"/></svg>",
|
|
@@ -2128,6 +2136,7 @@ const IconSvg = {
|
|
|
2128
2136
|
"master_detail": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"22\" y=\"32.17\" width=\"18\" height=\"4\" transform=\"translate(62 68.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"26.17\" width=\"18\" height=\"4\" transform=\"translate(62 56.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"20.17\" width=\"18\" height=\"4\" transform=\"translate(62 44.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"14.17\" width=\"18\" height=\"4\" transform=\"translate(62 32.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"10\" y=\"14.17\" width=\"10\" height=\"22\" transform=\"translate(30 50.33) rotate(180)\" fill=\"#484f60\"/></svg>",
|
|
2129
2137
|
"memo_circle_check_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM499.3 347.3C505.6 341.1 505.6 330.9 499.3 324.7C493.1 318.4 482.9 318.4 476.7 324.7L416 385.4L387.3 356.7C381.1 350.4 370.9 350.4 364.7 356.7C358.4 362.9 358.4 373.1 364.7 379.3L404.7 419.3C410.9 425.6 421.1 425.6 427.3 419.3L499.3 347.3zM320 0C355.3 0 384 28.65 384 64V198.6C310.1 219.5 256 287.4 256 368C256 427.1 285.1 479.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H320zM80 128C71.16 128 64 135.2 64 144C64 152.8 71.16 160 80 160H304C312.8 160 320 152.8 320 144C320 135.2 312.8 128 304 128H80zM80 256H240C248.8 256 256 248.8 256 240C256 231.2 248.8 224 240 224H80C71.16 224 64 231.2 64 240C64 248.8 71.16 256 80 256zM80 352H176C184.8 352 192 344.8 192 336C192 327.2 184.8 320 176 320H80C71.16 320 64 327.2 64 336C64 344.8 71.16 352 80 352z\"/></svg>",
|
|
2130
2138
|
"menu": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\" /></svg>",
|
|
2139
|
+
"object_intersect_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M288 64v96H224c-35.3 0-64 28.7-64 64v64H64V64H288zM64 352h96v96c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V224c0-35.3-28.7-64-64-64H352V64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64V288c0 35.3 28.7 64 64 64zM448 224V448H224V352h64c35.3 0 64-28.7 64-64V224h96z\"/></svg>",
|
|
2131
2140
|
"pallet_boxes_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M96 255.1L288 256c17.6 0 32-14.4 32-32V31.1c0-17.6-14.4-31.1-32-31.1L96 0c-17.6 0-32 14.4-32 32V224C64 241.6 78.4 255.1 96 255.1zM416 255.1h128c17.6 0 32-14.4 32-31.1v-128c0-17.6-14.4-32-32-32h-128c-17.6 0-32 14.4-32 32v128C384 241.6 398.4 255.1 416 255.1zM624 384c8.75 0 16-7.25 16-16v-32c0-8.75-7.25-16-16-16h-608C7.25 320 0 327.3 0 336v32C0 376.8 7.25 384 16 384H64v64H16C7.25 448 0 455.3 0 464v32C0 504.8 7.25 512 16 512h608c8.75 0 16-7.25 16-16v-32c0-8.75-7.25-16-16-16H576v-64H624zM288 448H128v-64h160V448zM512 448h-160v-64h160V448z\"/></svg>",
|
|
2132
2141
|
"plus_round": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-288 379 35 35\" enable-background=\"new -288 379 35 35\" ><path fill=\"#29363E\" d=\"M-270.5,381.5c-8.3,0-15,6.7-15,15c0,8.3,6.7,15,15,15s15-6.7,15-15C-255.5,388.2-262.2,381.5-270.5,381.5z M-261.1,397.3c0,0.9-0.7,1.6-1.6,1.6h-5.5v5.5c0,0.9-0.7,1.6-1.6,1.6h-1.6c-0.9,0-1.6-0.7-1.6-1.6v-5.5h-5.5c-0.9,0-1.6-0.7-1.6-1.6v-1.6c0-0.9,0.7-1.6,1.6-1.6h5.5v-5.5c0-0.9,0.7-1.6,1.6-1.6h1.6c0.9,0,1.6,0.7,1.6,1.6v5.5h5.5c0.9,0,1.6,0.7,1.6,1.6V397.3z\"/></svg>",
|
|
2133
2142
|
"print_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M448 192H64C28.65 192 0 220.7 0 256v96c0 17.67 14.33 32 32 32h32v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h32c17.67 0 32-14.33 32-32V256C512 220.7 483.3 192 448 192zM384 448H128v-96h256V448zM432 296c-13.25 0-24-10.75-24-24c0-13.27 10.75-24 24-24s24 10.73 24 24C456 285.3 445.3 296 432 296zM128 64h229.5L384 90.51V160h64V77.25c0-8.484-3.375-16.62-9.375-22.62l-45.25-45.25C387.4 3.375 379.2 0 370.8 0H96C78.34 0 64 14.33 64 32v128h64V64z\"/></svg>",
|
|
@@ -2142,6 +2151,8 @@ const IconSvg = {
|
|
|
2142
2151
|
"square_full_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M0 0h512v512H0V0z\"/></svg>",
|
|
2143
2152
|
"sync_alt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z\"/></svg>",
|
|
2144
2153
|
"tag": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M40,29.15v-.68a5.28,5.28,0,0,0-1.34-3.25L24.78,11.34A5.34,5.34,0,0,0,21.53,10H11.9A1.91,1.91,0,0,0,10,11.9v9.63a5.28,5.28,0,0,0,1.34,3.25L25.22,38.66A5.28,5.28,0,0,0,28.47,40h.68a5.28,5.28,0,0,0,3.24-1.34l6.27-6.27A5.28,5.28,0,0,0,40,29.15ZM13.13,16.72a2.54,2.54,0,1,1,3.59,0A2.55,2.55,0,0,1,13.13,16.72Zm15.9,19L17.84,24.55l1.34-1.34L30.37,34.4Zm2.69-2.69L20.52,21.87l1.35-1.35,11.19,11.2Zm2.68-2.69L23.21,19.18l1.34-1.34L35.75,29Z\" fill=\"#484f60\"/></svg>",
|
|
2154
|
+
"text_size_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M32 32C14.3 32 0 46.3 0 64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V96h96l0 320H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H224l0-320h96v32c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H192 32zM352 224c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32s32-14.3 32-32h64l0 128H432c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H512l0-128h64c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32H352z\"/></svg>",
|
|
2155
|
+
"text_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M0 32H32 192h64H416h32V64v64 32H384V128 96H256l0 320h48 32v64H304 144 112V416h32 48l0-320H64v32 32H0V128 64 32z\"/></svg>",
|
|
2145
2156
|
"thick_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"12.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"21.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"30.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/></svg>",
|
|
2146
2157
|
"thin_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"20.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"26.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"32.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/></svg>",
|
|
2147
2158
|
"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>",
|
|
@@ -4298,7 +4309,34 @@ class TransactionConnectorAdapterService {
|
|
|
4298
4309
|
}
|
|
4299
4310
|
updatePurchasePortalLines(purchasePortalLine) {
|
|
4300
4311
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4301
|
-
|
|
4312
|
+
const result = yield this.connector.updatePurchasePortalLines(purchasePortalLine);
|
|
4313
|
+
if (result && result.validationResult && result.validationResult.success) {
|
|
4314
|
+
yield this.commit();
|
|
4315
|
+
return null;
|
|
4316
|
+
}
|
|
4317
|
+
});
|
|
4318
|
+
}
|
|
4319
|
+
purchaseOrderConfirmation(purchaseOrderConfirmation) {
|
|
4320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4321
|
+
const result = yield this.connector.getPurchaseOrderConfirmation(purchaseOrderConfirmation);
|
|
4322
|
+
if (result && result.validationResult && result.validationResult.success) {
|
|
4323
|
+
yield this.commit();
|
|
4324
|
+
return null;
|
|
4325
|
+
}
|
|
4326
|
+
});
|
|
4327
|
+
}
|
|
4328
|
+
lockPurchasePortalLines(transIdPurchase, lineId) {
|
|
4329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4330
|
+
return new Promise((resolve, reject) => {
|
|
4331
|
+
return this.connector.lockPurchasePortalLines(transIdPurchase, lineId).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4332
|
+
if (result.validationResult && result.validationResult.success) {
|
|
4333
|
+
resolve(true);
|
|
4334
|
+
}
|
|
4335
|
+
else {
|
|
4336
|
+
reject(result.validationMessagesAsString);
|
|
4337
|
+
}
|
|
4338
|
+
}));
|
|
4339
|
+
});
|
|
4302
4340
|
});
|
|
4303
4341
|
}
|
|
4304
4342
|
_handleExceptionFromResponse(result) {
|
|
@@ -4843,19 +4881,14 @@ class TransactionConnectorService {
|
|
|
4843
4881
|
return this._adapterService.updatePurchasePortalLines(purchasePortalLine);
|
|
4844
4882
|
});
|
|
4845
4883
|
}
|
|
4884
|
+
purchaseOrderConfirmation(purchaseOrderConfirmation) {
|
|
4885
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4886
|
+
return this._adapterService.purchaseOrderConfirmation(purchaseOrderConfirmation);
|
|
4887
|
+
});
|
|
4888
|
+
}
|
|
4846
4889
|
lockPurchasePortalLines(transIdPurchase, lineId) {
|
|
4847
4890
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4848
|
-
return
|
|
4849
|
-
return this._adapterService.connector.lockPurchasePortalLines(transIdPurchase, lineId).then((result) => __awaiter(this, void 0, void 0, function* () {
|
|
4850
|
-
if (result.validationResult && result.validationResult.success) {
|
|
4851
|
-
yield this.commit();
|
|
4852
|
-
resolve(true);
|
|
4853
|
-
}
|
|
4854
|
-
else {
|
|
4855
|
-
reject(result.validationMessagesAsString);
|
|
4856
|
-
}
|
|
4857
|
-
}));
|
|
4858
|
-
});
|
|
4891
|
+
return this._adapterService.lockPurchasePortalLines(transIdPurchase, lineId);
|
|
4859
4892
|
});
|
|
4860
4893
|
}
|
|
4861
4894
|
}
|
|
@@ -4975,7 +5008,7 @@ class PendingReasonService {
|
|
|
4975
5008
|
this.applicationUser = false;
|
|
4976
5009
|
this.invoiceAddressSameAsDelivery = true;
|
|
4977
5010
|
this.currentTransaction = new TransactionInfoResponse();
|
|
4978
|
-
this.purchasePortalLine =
|
|
5011
|
+
this.purchasePortalLine = [];
|
|
4979
5012
|
this.docDeliveryBatch = new DocDeliveryBatch();
|
|
4980
5013
|
this.articleAmount = 0;
|
|
4981
5014
|
this._relation = new CustomerFullObject();
|
|
@@ -5166,7 +5199,6 @@ class PendingReasonService {
|
|
|
5166
5199
|
}
|
|
5167
5200
|
_showWarehouseCcDialog(uuid, quantity, commissionCode, warehouseNr, reason, type) {
|
|
5168
5201
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5169
|
-
commissionCode = "2";
|
|
5170
5202
|
const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
|
|
5171
5203
|
const response = yield this.dialogService.showWarehouseCC(quantity, commissionCode, warehouseNr);
|
|
5172
5204
|
if (response.button === AppPopupButtonType.Ok) {
|
|
@@ -5894,13 +5926,14 @@ class TransactionService extends PendingReasonService {
|
|
|
5894
5926
|
return yield this.connector.getPurchasePortalLines(request);
|
|
5895
5927
|
});
|
|
5896
5928
|
}
|
|
5929
|
+
purchaseOrderConfirmation(purchaseOrderConfirmation) {
|
|
5930
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5931
|
+
return yield this.connector.purchaseOrderConfirmation(purchaseOrderConfirmation);
|
|
5932
|
+
});
|
|
5933
|
+
}
|
|
5897
5934
|
updatePurchasePortalLines(purchasePortalLine) {
|
|
5898
5935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5899
|
-
|
|
5900
|
-
if (result && result.validationResult && result.validationResult.success) {
|
|
5901
|
-
result = yield this.connector.commit();
|
|
5902
|
-
}
|
|
5903
|
-
return result.validationResult.success;
|
|
5936
|
+
return yield this.connector.updatePurchasePortalLines(purchasePortalLine);
|
|
5904
5937
|
});
|
|
5905
5938
|
}
|
|
5906
5939
|
lockPurchasePortalLines(transIdPurchase, lineId) {
|
|
@@ -9436,22 +9469,37 @@ TransactionBaseComponent.propDecorators = {
|
|
|
9436
9469
|
};
|
|
9437
9470
|
|
|
9438
9471
|
class TransactionQuickAccessOrderConfirmationComponent extends TransactionBaseComponent {
|
|
9472
|
+
constructor() {
|
|
9473
|
+
super(...arguments);
|
|
9474
|
+
this.purchaseOrderConfirmation = new GetPurchaseOrderConfirmation();
|
|
9475
|
+
}
|
|
9439
9476
|
showClass() {
|
|
9440
9477
|
return true;
|
|
9441
9478
|
}
|
|
9479
|
+
confirmFullOrder() {
|
|
9480
|
+
if (this.purchaseOrderConfirmation.confirmationDate && this.purchaseOrderConfirmation.reference) {
|
|
9481
|
+
this.purchaseOrderConfirmation.transId = this.service.currentTransaction.transactionInfo.transactionNr;
|
|
9482
|
+
this.service.purchaseOrderConfirmation(this.purchaseOrderConfirmation);
|
|
9483
|
+
}
|
|
9484
|
+
}
|
|
9442
9485
|
}
|
|
9443
9486
|
TransactionQuickAccessOrderConfirmationComponent.decorators = [
|
|
9444
9487
|
{ type: Component, args: [{
|
|
9445
9488
|
selector: "co-transaction-quick-access-order-confirmation",
|
|
9446
9489
|
template: `
|
|
9447
9490
|
<co-input-date
|
|
9448
|
-
[model]=""
|
|
9491
|
+
[(model)]="purchaseOrderConfirmation.confirmationDate"
|
|
9449
9492
|
[placeholder]="'CONFIRMED_DATE' | localize"
|
|
9450
9493
|
></co-input-date>
|
|
9451
9494
|
<co-input-text
|
|
9495
|
+
[(model)]="purchaseOrderConfirmation.reference"
|
|
9452
9496
|
[placeholder]="'REFERENCE' | localize"
|
|
9453
9497
|
></co-input-text>
|
|
9454
|
-
<co-input-
|
|
9498
|
+
<co-input-text
|
|
9499
|
+
[(model)]="purchaseOrderConfirmation.leverbatch"
|
|
9500
|
+
[placeholder]="'BATCH' | localize"
|
|
9501
|
+
></co-input-text>
|
|
9502
|
+
<co-input-checkbox (modelChange)="confirmFullOrder()"
|
|
9455
9503
|
></co-input-checkbox>
|
|
9456
9504
|
`,
|
|
9457
9505
|
encapsulation: ViewEncapsulation.None
|
|
@@ -9944,8 +9992,12 @@ TransactionLineActionButtonsComponent.decorators = [
|
|
|
9944
9992
|
selector: "co-transaction-line-action-buttons",
|
|
9945
9993
|
template: `
|
|
9946
9994
|
<div class="transaction-line-action-buttons-wrapper">
|
|
9947
|
-
<div class="
|
|
9948
|
-
<
|
|
9995
|
+
<div class="menu-button-container">
|
|
9996
|
+
<co-button
|
|
9997
|
+
class="action-menu-button circle"
|
|
9998
|
+
[iconData]="iconCacheService.getIcon(icons.EllipsisLight)"
|
|
9999
|
+
(click)="handleShowHideClick()">
|
|
10000
|
+
</co-button>
|
|
9949
10001
|
</div>
|
|
9950
10002
|
|
|
9951
10003
|
<div class="action-buttons-container" clickOutside
|
|
@@ -9953,22 +10005,22 @@ TransactionLineActionButtonsComponent.decorators = [
|
|
|
9953
10005
|
[ngClass]="alignDirection"
|
|
9954
10006
|
(clickOutside)="handleShowHideClick()">
|
|
9955
10007
|
|
|
9956
|
-
<co-button
|
|
9957
|
-
class="transaction-line-overview-button circle"
|
|
10008
|
+
<co-button
|
|
10009
|
+
class="transaction-line-overview-button circle action-button"
|
|
9958
10010
|
[class.show]="showActionButtonsDelayed"
|
|
9959
|
-
[iconData]="iconCacheService.getIcon(icons.
|
|
10011
|
+
[iconData]="iconCacheService.getIcon(icons.TextSizeSolid)"
|
|
9960
10012
|
(click)="handleTransactionArticleTextOverview()"></co-button>
|
|
9961
10013
|
|
|
9962
|
-
<co-button
|
|
9963
|
-
class="transaction-line-add-text-button circle"
|
|
10014
|
+
<co-button
|
|
10015
|
+
class="transaction-line-add-text-button circle action-button"
|
|
9964
10016
|
[class.show]="showActionButtonsDelayed"
|
|
9965
|
-
[iconData]="iconCacheService.getIcon(icons.
|
|
10017
|
+
[iconData]="iconCacheService.getIcon(icons.TextSolid)"
|
|
9966
10018
|
(click)="handleTransactionArticleText()"></co-button>
|
|
9967
10019
|
|
|
9968
|
-
<co-button
|
|
9969
|
-
class="transaction-line-show-sidebar-button circle"
|
|
10020
|
+
<co-button
|
|
10021
|
+
class="transaction-line-show-sidebar-button circle action-button"
|
|
9970
10022
|
[class.show]="showActionButtonsDelayed"
|
|
9971
|
-
[iconData]="iconCacheService.getIcon(icons.
|
|
10023
|
+
[iconData]="iconCacheService.getIcon(icons.ObjectIntersectSolid)"
|
|
9972
10024
|
(click)="handleShowSidePanel()"></co-button>
|
|
9973
10025
|
</div>
|
|
9974
10026
|
</div>
|
|
@@ -16898,11 +16950,11 @@ TransactionButtonBarModule.decorators = [
|
|
|
16898
16950
|
];
|
|
16899
16951
|
|
|
16900
16952
|
class TransactionConfirmationHistoryComponent {
|
|
16901
|
-
constructor(iconCacheService, transactionService
|
|
16953
|
+
constructor(iconCacheService, transactionService) {
|
|
16902
16954
|
this.iconCacheService = iconCacheService;
|
|
16903
16955
|
this.transactionService = transactionService;
|
|
16904
|
-
this._datePipe = _datePipe;
|
|
16905
16956
|
this.icons = Icon;
|
|
16957
|
+
this.lineSelected = new EventEmitter();
|
|
16906
16958
|
this.getPurchasePortalLine = new GetPurchasePortalLine();
|
|
16907
16959
|
this.purchasePortalFilter = new PurchasePortalFilters();
|
|
16908
16960
|
}
|
|
@@ -16914,13 +16966,14 @@ class TransactionConfirmationHistoryComponent {
|
|
|
16914
16966
|
this.lockPurchasePortalLine();
|
|
16915
16967
|
}
|
|
16916
16968
|
getPurchasePortalLines() {
|
|
16917
|
-
this
|
|
16918
|
-
|
|
16919
|
-
|
|
16920
|
-
|
|
16921
|
-
this.
|
|
16922
|
-
this.
|
|
16923
|
-
|
|
16969
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16970
|
+
this.purchasePortalFilter.purchaseOrderNo = this.transactionInfoNr.toString();
|
|
16971
|
+
this.purchasePortalFilter.lineId = this.transactionLines.lineNr.toString();
|
|
16972
|
+
this.getPurchasePortalLine.transIdPurchase = this.transactionId;
|
|
16973
|
+
this.getPurchasePortalLine.filterObject = this.purchasePortalFilter;
|
|
16974
|
+
this.transactionService.getPurchasePortalLines(this.getPurchasePortalLine).then(result => {
|
|
16975
|
+
this.transactionService.purchasePortalLine = result;
|
|
16976
|
+
});
|
|
16924
16977
|
});
|
|
16925
16978
|
}
|
|
16926
16979
|
lockPurchasePortalLine() {
|
|
@@ -16931,21 +16984,39 @@ class TransactionConfirmationHistoryComponent {
|
|
|
16931
16984
|
deleteDocBatch(event) {
|
|
16932
16985
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16933
16986
|
event.deleteLine = "T";
|
|
16934
|
-
this.transactionService.purchasePortalLine.docKind = "IB";
|
|
16935
|
-
yield this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine);
|
|
16987
|
+
this.transactionService.purchasePortalLine[0].docKind = "IB";
|
|
16988
|
+
yield this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine[0]);
|
|
16936
16989
|
});
|
|
16937
16990
|
}
|
|
16991
|
+
selectedLineDocBatchArray(event) {
|
|
16992
|
+
this.lineSelected.emit(event);
|
|
16993
|
+
}
|
|
16938
16994
|
}
|
|
16939
16995
|
TransactionConfirmationHistoryComponent.decorators = [
|
|
16940
16996
|
{ type: Component, args: [{
|
|
16941
16997
|
selector: "co-transaction-confirmation-history",
|
|
16942
16998
|
template: `
|
|
16943
16999
|
<div class="history-grid-wrapper">
|
|
16944
|
-
<co-simple-grid
|
|
16945
|
-
|
|
17000
|
+
<co-simple-grid (selectRow)="selectedLineDocBatchArray($event)"
|
|
17001
|
+
*ngIf="transactionService.purchasePortalLine[0]"
|
|
17002
|
+
[data]="transactionService.purchasePortalLine[0].docBatchArray"
|
|
17003
|
+
[showToolbar]="true"
|
|
17004
|
+
[rowsPerPage]="20"
|
|
17005
|
+
[showDelete]="true"
|
|
17006
|
+
(deleteRow)="deleteDocBatch($event)"
|
|
17007
|
+
>
|
|
17008
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize">
|
|
17009
|
+
<ng-template #template let-row="row">
|
|
17010
|
+
<span [textContent]="row.docDate | date:'dd MMM yyyy'"></span>
|
|
17011
|
+
</ng-template>
|
|
17012
|
+
</co-simple-grid-column>
|
|
16946
17013
|
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'docAmount'"></co-simple-grid-column>
|
|
16947
17014
|
<co-simple-grid-column [headerText]="'PRICE' | localize" [field]="'confirmedPrice'"></co-simple-grid-column>
|
|
16948
|
-
<co-simple-grid-column [headerText]="'DATE' | localize"
|
|
17015
|
+
<co-simple-grid-column [headerText]="'DATE' | localize">
|
|
17016
|
+
<ng-template #template let-row="row">
|
|
17017
|
+
<span [textContent]="row.docDateOrg | date:'dd MMM yyyy'"></span>
|
|
17018
|
+
</ng-template>
|
|
17019
|
+
</co-simple-grid-column>
|
|
16949
17020
|
<co-simple-grid-column [headerText]="'REFERENCE' | localize" [field]="'deliveryBatch'"></co-simple-grid-column>
|
|
16950
17021
|
</co-simple-grid>
|
|
16951
17022
|
</div>
|
|
@@ -16955,13 +17026,13 @@ TransactionConfirmationHistoryComponent.decorators = [
|
|
|
16955
17026
|
];
|
|
16956
17027
|
TransactionConfirmationHistoryComponent.ctorParameters = () => [
|
|
16957
17028
|
{ type: IconCacheService },
|
|
16958
|
-
{ type: TransactionService }
|
|
16959
|
-
{ type: DatePipe }
|
|
17029
|
+
{ type: TransactionService }
|
|
16960
17030
|
];
|
|
16961
17031
|
TransactionConfirmationHistoryComponent.propDecorators = {
|
|
16962
17032
|
transactionLines: [{ type: Input }],
|
|
16963
17033
|
transactionId: [{ type: Input }],
|
|
16964
17034
|
transactionInfoNr: [{ type: Input }],
|
|
17035
|
+
lineSelected: [{ type: Output }],
|
|
16965
17036
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-confirmation-history",] }]
|
|
16966
17037
|
};
|
|
16967
17038
|
|
|
@@ -16979,7 +17050,8 @@ TransactionConfirmationHistoryModule.decorators = [
|
|
|
16979
17050
|
IconModule,
|
|
16980
17051
|
InputTextModule,
|
|
16981
17052
|
InputDateRangePickerModule,
|
|
16982
|
-
InputNumberPickerModule
|
|
17053
|
+
InputNumberPickerModule,
|
|
17054
|
+
ButtonModule
|
|
16983
17055
|
],
|
|
16984
17056
|
declarations: [
|
|
16985
17057
|
TransactionConfirmationHistoryComponent
|
|
@@ -16991,13 +17063,12 @@ TransactionConfirmationHistoryModule.decorators = [
|
|
|
16991
17063
|
];
|
|
16992
17064
|
|
|
16993
17065
|
class TransactionConfirmationDetailsComponent {
|
|
16994
|
-
constructor(iconCacheService, transactionService
|
|
17066
|
+
constructor(iconCacheService, transactionService) {
|
|
16995
17067
|
this.iconCacheService = iconCacheService;
|
|
16996
17068
|
this.transactionService = transactionService;
|
|
16997
|
-
this._datePipe = _datePipe;
|
|
16998
17069
|
this.icons = Icon;
|
|
16999
17070
|
this.showAddOrder = false;
|
|
17000
|
-
this.newDocBatchArray =
|
|
17071
|
+
this.newDocBatchArray = new DocDeliveryBatch();
|
|
17001
17072
|
}
|
|
17002
17073
|
showClass() {
|
|
17003
17074
|
return true;
|
|
@@ -17010,9 +17081,10 @@ class TransactionConfirmationDetailsComponent {
|
|
|
17010
17081
|
this.newDocBatchArray.docAmountOrg = 0;
|
|
17011
17082
|
this.newDocBatchArray.docDateOrg = new Date();
|
|
17012
17083
|
this.newDocBatchArray.deleteLine = "F";
|
|
17013
|
-
this.
|
|
17014
|
-
this.transactionService.purchasePortalLine.
|
|
17015
|
-
this.transactionService.
|
|
17084
|
+
this.newDocBatchArray.historical = "G";
|
|
17085
|
+
this.transactionService.purchasePortalLine[0].docBatchArray.push(this.newDocBatchArray);
|
|
17086
|
+
this.transactionService.purchasePortalLine[0].docKind = "IB";
|
|
17087
|
+
this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine[0]);
|
|
17016
17088
|
this.newDocBatchArray = new DocDeliveryBatch();
|
|
17017
17089
|
}
|
|
17018
17090
|
else {
|
|
@@ -17083,13 +17155,14 @@ TransactionConfirmationDetailsComponent.decorators = [
|
|
|
17083
17155
|
];
|
|
17084
17156
|
TransactionConfirmationDetailsComponent.ctorParameters = () => [
|
|
17085
17157
|
{ type: IconCacheService },
|
|
17086
|
-
{ type: TransactionService }
|
|
17087
|
-
{ type: DatePipe }
|
|
17158
|
+
{ type: TransactionService }
|
|
17088
17159
|
];
|
|
17089
17160
|
TransactionConfirmationDetailsComponent.propDecorators = {
|
|
17090
17161
|
transactionLines: [{ type: Input }],
|
|
17091
17162
|
transactionInfoNr: [{ type: Input }],
|
|
17092
|
-
|
|
17163
|
+
testLines: [{ type: Input }],
|
|
17164
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-confirmation-details",] }],
|
|
17165
|
+
newDocBatchArray: [{ type: Input }]
|
|
17093
17166
|
};
|
|
17094
17167
|
|
|
17095
17168
|
class DefaultOkCancelButtonsComponent {
|
|
@@ -17207,6 +17280,9 @@ class TransactionLineSidePanelPurchaseComponent {
|
|
|
17207
17280
|
});
|
|
17208
17281
|
});
|
|
17209
17282
|
}
|
|
17283
|
+
fillInputOnClick(data) {
|
|
17284
|
+
this.selectedLineDocBatchArray = data;
|
|
17285
|
+
}
|
|
17210
17286
|
}
|
|
17211
17287
|
TransactionLineSidePanelPurchaseComponent.decorators = [
|
|
17212
17288
|
{ type: Component, args: [{
|
|
@@ -17217,11 +17293,13 @@ TransactionLineSidePanelPurchaseComponent.decorators = [
|
|
|
17217
17293
|
<co-transaction-confirmation-details
|
|
17218
17294
|
[transactionInfoNr]="transactionInfo.transactionNr"
|
|
17219
17295
|
[transactionLines]="transactionLine"
|
|
17296
|
+
[newDocBatchArray]="selectedLineDocBatchArray"
|
|
17220
17297
|
></co-transaction-confirmation-details>
|
|
17221
17298
|
<co-transaction-confirmation-history
|
|
17222
17299
|
[transactionLines]="transactionLine"
|
|
17223
17300
|
[transactionInfoNr]="transactionInfo.transactionNr"
|
|
17224
17301
|
[transactionId]="transactionInfo.id"
|
|
17302
|
+
(lineSelected)="fillInputOnClick($event)"
|
|
17225
17303
|
></co-transaction-confirmation-history>
|
|
17226
17304
|
</ng-container>
|
|
17227
17305
|
|
|
@@ -18161,10 +18239,10 @@ TransactionQuickAccessOrderDeliveryModule.decorators = [
|
|
|
18161
18239
|
imports: [
|
|
18162
18240
|
CommonModule,
|
|
18163
18241
|
TransactionButtonBarModule,
|
|
18164
|
-
SendMethodDialogModule,
|
|
18165
18242
|
IconModule,
|
|
18166
18243
|
PipeModule,
|
|
18167
|
-
InputCheckboxModule
|
|
18244
|
+
InputCheckboxModule,
|
|
18245
|
+
SendMethodDialogModule
|
|
18168
18246
|
],
|
|
18169
18247
|
declarations: [
|
|
18170
18248
|
TransactionQuickAccessOrderDeliveryComponent
|