@colijnit/transaction 12.1.83 → 12.1.86

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.
Files changed (88) hide show
  1. package/bundles/colijnit-transaction.umd.js +362 -235
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +57 -55
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +58 -56
  6. package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +3 -3
  7. package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -2
  8. package/esm2015/lib/component/checkout/checkout.module.js +5 -7
  9. package/esm2015/lib/component/core/base/transaction-base.component.js +12 -1
  10. package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +71 -0
  11. package/esm2015/lib/component/deposit-payment/deposit-payment.module.js +27 -0
  12. package/esm2015/lib/component/payment/payment.component.js +25 -25
  13. package/esm2015/lib/component/payment/payment.module.js +3 -3
  14. package/esm2015/lib/component/transaction/transaction.component.js +9 -7
  15. package/esm2015/lib/component/transaction/transaction.module.js +3 -1
  16. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +12 -12
  17. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +5 -5
  18. package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.js +58 -0
  19. package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.module.js +23 -0
  20. package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-percentage.component.js +57 -0
  21. package/esm2015/lib/component/transaction-header-fields/{transaction-header-downpayment-amount.module.js → transaction-header-deposit-percentage.module.js} +6 -6
  22. package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +4 -1
  23. package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +2 -2
  24. package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +116 -0
  25. package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.js +40 -0
  26. package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +2 -2
  27. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.js +4 -2
  28. package/esm2015/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.component.js +3 -3
  29. package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +2 -3
  30. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +43 -4
  31. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.js +5 -3
  32. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +1 -1
  33. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.module.js +4 -3
  34. package/esm2015/lib/enum/icon.enum.js +2 -1
  35. package/esm2015/lib/model/deposit-payment-view-model.js +7 -0
  36. package/esm2015/lib/model/icon-svg.js +2 -1
  37. package/esm2015/lib/service/payment.service.js +5 -5
  38. package/esm2015/lib/service/transaction-connector-adapter.service.js +15 -30
  39. package/esm2015/lib/service/transaction-connector.service.js +5 -15
  40. package/esm2015/lib/service/transaction-mapping.service.js +3 -1
  41. package/esm2015/lib/service/transaction.service.js +5 -5
  42. package/fesm2015/colijnit-transaction.js +345 -181
  43. package/fesm2015/colijnit-transaction.js.map +1 -1
  44. package/lib/component/core/base/transaction-base.component.d.ts +4 -0
  45. package/lib/component/{down-payment/down-payment.component.d.ts → deposit-payment/deposit-payment.component.d.ts} +4 -4
  46. package/lib/component/deposit-payment/deposit-payment.module.d.ts +2 -0
  47. package/lib/component/{down-payment → deposit-payment}/style/_layout.scss +2 -2
  48. package/lib/component/{down-payment → deposit-payment}/style/_material-definition.scss +0 -0
  49. package/lib/component/deposit-payment/style/_theme.scss +4 -0
  50. package/lib/component/{down-payment → deposit-payment}/style/material.scss +0 -0
  51. package/lib/component/payment/payment.component.d.ts +4 -4
  52. package/lib/component/payment/style/_layout.scss +2 -2
  53. package/lib/component/payment/style/material.scss +1 -1
  54. package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +1 -1
  55. package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +1 -1
  56. package/lib/component/transaction-header-fields/{transaction-header-downpayment-percentage.component.d.ts → transaction-header-deposit-amount.component.d.ts} +1 -1
  57. package/lib/component/transaction-header-fields/transaction-header-deposit-amount.module.d.ts +2 -0
  58. package/lib/component/transaction-header-fields/{transaction-header-downpayment-amount.component.d.ts → transaction-header-deposit-percentage.component.d.ts} +1 -1
  59. package/lib/component/transaction-header-fields/transaction-header-deposit-percentage.module.d.ts +2 -0
  60. package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +3 -2
  61. package/lib/component/transaction-line/transaction-purchase-order-line/style/_layout.scss +59 -0
  62. package/lib/component/transaction-line/transaction-purchase-order-line/style/_material-definition.scss +0 -0
  63. package/lib/component/transaction-line/transaction-purchase-order-line/style/_theme.scss +4 -0
  64. package/lib/component/transaction-line/transaction-purchase-order-line/style/material.scss +4 -0
  65. package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.d.ts +33 -0
  66. package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.d.ts +2 -0
  67. package/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.d.ts +2 -0
  68. package/lib/component/transaction-lines/style/material.scss +1 -0
  69. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +14 -0
  70. package/lib/enum/icon.enum.d.ts +1 -0
  71. package/lib/model/deposit-payment-view-model.d.ts +7 -0
  72. package/lib/service/payment.service.d.ts +3 -3
  73. package/lib/service/transaction-connector-adapter.service.d.ts +5 -8
  74. package/lib/service/transaction-connector.service.d.ts +2 -6
  75. package/lib/service/transaction.service.d.ts +2 -2
  76. package/lib/style/_variables.scss +3 -1
  77. package/package.json +2 -2
  78. package/esm2015/lib/component/down-payment/down-payment.component.js +0 -71
  79. package/esm2015/lib/component/down-payment/down-payment.module.js +0 -27
  80. package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-amount.component.js +0 -58
  81. package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.component.js +0 -58
  82. package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.module.js +0 -23
  83. package/esm2015/lib/model/down-payment-view-model.js +0 -7
  84. package/lib/component/down-payment/down-payment.module.d.ts +0 -2
  85. package/lib/component/down-payment/style/_theme.scss +0 -4
  86. package/lib/component/transaction-header-fields/transaction-header-downpayment-amount.module.d.ts +0 -2
  87. package/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.module.d.ts +0 -2
  88. package/lib/model/down-payment-view-model.d.ts +0 -7
@@ -40,7 +40,6 @@ import { RelationKind } from '@colijnit/articleapi/build/enum/relation-kind.enum
40
40
  import { NULL_CUSTOMER_FULL_OBJECT, NULL_RELATION_OBJECT } from '@colijnit/relationapi/build/model/nul-relation-object';
41
41
  import { RelationNameKind } from '@colijnit/relationapi/build/enum/relation-name-kind.enum';
42
42
  import { trigger, state, style, transition, animate } from '@angular/animations';
43
- import { TransactionDownPaymentInfo } from '@colijnit/transactionapi/build/model/transaction-down-payment-info.bo';
44
43
  import { TransactionLockResult } from '@colijnit/transactionapi/build/model/transaction-lock-result.bo';
45
44
  import { PrivacySetting } from '@colijnit/mainapi/build/model/privacy-setting.bo';
46
45
  import { RelationPrivacySetting } from '@colijnit/relationapi/build/model/relation-privacy-setting.bo';
@@ -58,6 +57,7 @@ import { GoodsAllocationStatusWithHistory } from '@colijnit/transactionapi/build
58
57
  import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
59
58
  import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
60
59
  import { PurchaseAdviceLine } from '@colijnit/transactionapi/build/model/purchase-advice-line.bo';
60
+ import { TransactionDepositPaymentInfo } from '@colijnit/transactionapi/build/model/transaction-deposit-payment-info.bo';
61
61
  import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
62
62
  import { Articles } from '@colijnit/articleapi/build/articles';
63
63
  import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.bo';
@@ -110,6 +110,8 @@ import { SalesOrderLineAllocationDetails } from '@colijnit/transactionapi/build/
110
110
  import { EmailPurchaseOrderRequest } from '@colijnit/mainapi/build/model/email-purchase-order-request';
111
111
  import { PrintPurchaseOrderRequest } from '@colijnit/mainapi/build/model/print-purchase-order-request';
112
112
  import { PdfPurchaseOrderRequest } from '@colijnit/mainapi/build/model/pdf-purchase-order-request';
113
+ import { GetPurchasePortalLine } from '@colijnit/transactionapi/build/model/get-purchase-portal-line';
114
+ import { PurchasePortalFilters } from '@colijnit/transactionapi/build/model/purchase-portal-filters.bo';
113
115
  import { RelationRequest } from '@colijnit/relationapi/build/model/relation-request';
114
116
  import { CoDocument } from '@colijnit/sharedapi/build/model/co-document.bo';
115
117
  import { GenderType } from '@colijnit/relationapi/build/enum/gender-type.enum';
@@ -121,8 +123,6 @@ import { RelationSmallObject } from '@colijnit/relationapi/build/model/relation-
121
123
  import { IconModule as IconModule$1, CoCurrencyPipeModule } from '@colijnit/corecomponents';
122
124
  import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo';
123
125
  import { PurchaseOrderLineReceiptCorrectionDetails } from '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo';
124
- import { GetPurchasePortalLine } from '@colijnit/transactionapi/build/model/get-purchase-portal-line';
125
- import { PurchasePortalFilters } from '@colijnit/transactionapi/build/model/purchase-portal-filters.bo';
126
126
  import { AllocateGoodsForSalesOrderCorrectionRequest } from '@colijnit/transactionapi/build/model/allocate-goods-for-sales-order-correction-request';
127
127
  import { SalesOrderLineAllocationCorrectionDetails } from '@colijnit/transactionapi/build/model/sales-order-line-allocation-correction-details';
128
128
  import { IoneCatalogModule } from '@colijnit/catalog';
@@ -680,6 +680,7 @@ var Icon;
680
680
  Icon["GripDotsVerticalSolid"] = "grip_dots_vertical_solid";
681
681
  Icon["IdealLogo"] = "ideal_logo";
682
682
  Icon["InboxInSolid"] = "inbox_in_solid";
683
+ Icon["IndustrySolid"] = "industry_solid";
683
684
  Icon["ListRegular"] = "list_regular";
684
685
  Icon["ListView"] = "list_view";
685
686
  Icon["LocationDotSolid"] = "location_dot_solid";
@@ -763,6 +764,7 @@ const IconSvg = {
763
764
  "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>",
764
765
  "ideal_logo": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 306.1 269.8\" style=\"enable-background:new 0 0 306.1 269.8;\" ><style type=\"text/css\">.st0{fill:#FFFFFF;}.st1{fill:#CC0066;}</style><g><g><path class=\"st0\" d=\"M0,20v229.8c0,11,9,20,20,20h137.3c103.8,0,148.8-58.1,148.8-135.2C306.1,57.9,261.1,0,157.3,0H20C9,0,0,9,0,20z\"/><path class=\"st1\" d=\"M91.9,56.4v169.8h73.9c67.1,0,96.2-37.9,96.2-91.5c0-51.3-29.1-91.1-96.2-91.1h-61.1C97.6,43.6,91.9,49.4,91.9,56.4z\"/><g><g><path d=\"M157.3,251.5H37.9c-10.6,0-19.2-8.6-19.2-19.2V37.6c0-10.6,8.6-19.2,19.2-19.2h119.4c113.3,0,130.2,72.9,130.2,116.3C287.5,210,241.2,251.5,157.3,251.5z M37.9,24.8c-7.1,0-12.8,5.7-12.8,12.8v194.7c0,7.1,5.7,12.8,12.8,12.8h119.4c79.8,0,123.8-39.2,123.8-110.4c0-95.6-77.6-109.9-123.8-109.9H37.9z\"/></g></g></g><g><path class=\"st0\" d=\"M117.9,111.8c2.6,0,5,0.4,7.3,1.2c2.3,0.8,4.2,2.1,5.9,3.7c1.6,1.7,2.9,3.8,3.9,6.2c0.9,2.5,1.4,5.4,1.4,8.8c0,3-0.4,5.7-1.1,8.2c-0.8,2.5-1.9,4.7-3.4,6.5c-1.5,1.8-3.4,3.2-5.7,4.3c-2.3,1-5,1.6-8.1,1.6h-17.5v-40.6H117.9z M117.3,144.9c1.3,0,2.5-0.2,3.8-0.6c1.2-0.4,2.3-1.1,3.2-2.1c0.9-1,1.7-2.2,2.3-3.8c0.6-1.6,0.9-3.4,0.9-5.7c0-2-0.2-3.9-0.6-5.5c-0.4-1.6-1.1-3.1-2-4.2s-2.1-2.1-3.6-2.7c-1.5-0.6-3.3-0.9-5.5-0.9h-6.4v25.6H117.3z\"/><path class=\"st0\" d=\"M172.5,111.8v7.5h-21.4v8.7h19.7v6.9h-19.7v9.9H173v7.5h-30.8v-40.6H172.5z\"/><path class=\"st0\" d=\"M203.1,111.8l15.2,40.6H209l-3.1-9h-15.2l-3.2,9h-9l15.3-40.6H203.1z M203.6,136.7l-5.1-14.9h-0.1l-5.3,14.9H203.6z\"/><path class=\"st0\" d=\"M232.8,111.8v33.1h19.8v7.5h-28.7v-40.6H232.8z\"/></g><g><circle cx=\"58.5\" cy=\"132.1\" r=\"18.7\"/></g><path d=\"M72.6,226.2L72.6,226.2c-15.7,0-28.3-12.7-28.3-28.3v-22.1c0-7.8,6.3-14.2,14.2-14.2h0c7.8,0,14.2,6.3,14.2,14.2V226.2z\"/></g></svg>",
765
766
  "inbox_in_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M288 32V210.7l41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7V32c0-17.7 14.3-32 32-32s32 14.3 32 32zM48 320h76.2c12.1 0 23.2 6.8 28.6 17.7l14.3 28.6c5.4 10.8 16.5 17.7 28.6 17.7H316.2c12.1 0 23.2-6.8 28.6-17.7l14.3-28.6c5.4-10.8 16.5-17.7 28.6-17.7H464c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48z\"/></svg>",
767
+ "industry_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M32 32C14.3 32 0 46.3 0 64V304v48 80c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-48V304 152.2c0-18.2-19.4-29.7-35.4-21.1L320 215.4V152.2c0-18.2-19.4-29.7-35.4-21.1L128 215.4V64c0-17.7-14.3-32-32-32H32z\"/></svg>",
766
768
  "list_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M88 48C101.3 48 112 58.75 112 72V120C112 133.3 101.3 144 88 144H40C26.75 144 16 133.3 16 120V72C16 58.75 26.75 48 40 48H88zM488 72C501.3 72 512 82.75 512 96C512 109.3 501.3 120 488 120H184C170.7 120 160 109.3 160 96C160 82.75 170.7 72 184 72H488zM488 232C501.3 232 512 242.7 512 256C512 269.3 501.3 280 488 280H184C170.7 280 160 269.3 160 256C160 242.7 170.7 232 184 232H488zM488 392C501.3 392 512 402.7 512 416C512 429.3 501.3 440 488 440H184C170.7 440 160 429.3 160 416C160 402.7 170.7 392 184 392H488zM16 232C16 218.7 26.75 208 40 208H88C101.3 208 112 218.7 112 232V280C112 293.3 101.3 304 88 304H40C26.75 304 16 293.3 16 280V232zM88 368C101.3 368 112 378.7 112 392V440C112 453.3 101.3 464 88 464H40C26.75 464 16 453.3 16 440V392C16 378.7 26.75 368 40 368H88z\"/></svg>",
767
769
  "list_view": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><rect x=\"26.5\" y=\"13\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"10.5\" y=\"13\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"10.5\" y=\"22\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"26.5\" y=\"22\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"10.5\" y=\"31\" width=\"14\" height=\"7\" fill=\"#4d5050\"/><rect x=\"26.5\" y=\"31\" width=\"14\" height=\"7\" fill=\"#4d5050\"/></svg>",
768
770
  "location_dot_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M168.3 499.2C116.1 435 0 279.4 0 192C0 85.96 85.96 0 192 0C298 0 384 85.96 384 192C384 279.4 267 435 215.7 499.2C203.4 514.5 180.6 514.5 168.3 499.2H168.3zM192 256C227.3 256 256 227.3 256 192C256 156.7 227.3 128 192 128C156.7 128 128 156.7 128 192C128 227.3 156.7 256 192 256z\"/></svg>",
@@ -1021,6 +1023,7 @@ class TransactionBaseComponent {
1021
1023
  this._transactionLine = new TransactionLineInfo();
1022
1024
  this._transactionInfo = new TransactionInfo();
1023
1025
  this._transactionTotal = new TransactionTotal();
1026
+ this._purchasePortalLine = new PurchasePortalLine();
1024
1027
  }
1025
1028
  set transaction(value) {
1026
1029
  this._transaction = value;
@@ -1078,6 +1081,14 @@ class TransactionBaseComponent {
1078
1081
  get transactionTotal() {
1079
1082
  return this._transactionTotal;
1080
1083
  }
1084
+ set purchasePortalLine(value) {
1085
+ if (value) {
1086
+ this._purchasePortalLine = value;
1087
+ }
1088
+ }
1089
+ get purchasePortalLine() {
1090
+ return this._purchasePortalLine;
1091
+ }
1081
1092
  set relation(value) {
1082
1093
  if (value) {
1083
1094
  this._relation = value;
@@ -1146,6 +1157,7 @@ TransactionBaseComponent.propDecorators = {
1146
1157
  transactionLine: [{ type: Input }],
1147
1158
  transactionInfo: [{ type: Input }],
1148
1159
  transactionTotal: [{ type: Input }],
1160
+ purchasePortalLine: [{ type: Input }],
1149
1161
  relation: [{ type: Input }],
1150
1162
  expanded: [{ type: Input }],
1151
1163
  preview: [{ type: HostBinding, args: ["class.preview",] }, { type: Input }],
@@ -2332,21 +2344,6 @@ class TransactionConnectorAdapterService {
2332
2344
  });
2333
2345
  });
2334
2346
  }
2335
- setTransactionDeliveryOptions(transactionDeliveryOptionsRequest) {
2336
- return __awaiter(this, void 0, void 0, function* () {
2337
- return new Promise((resolve, reject) => {
2338
- return this.connector.setTransactionDeliveryOptions(transactionDeliveryOptionsRequest).then((result) => {
2339
- if (result.validationResult && result.validationResult.success) {
2340
- resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
2341
- }
2342
- else {
2343
- this._handleExceptionFromResponse(result);
2344
- reject(null);
2345
- }
2346
- });
2347
- });
2348
- });
2349
- }
2350
2347
  changeLineSequence(uuid, lineUuid, aboveLineNr, belowLineNr) {
2351
2348
  return __awaiter(this, void 0, void 0, function* () {
2352
2349
  return new Promise((resolve, reject) => {
@@ -2787,13 +2784,13 @@ class TransactionConnectorAdapterService {
2787
2784
  }
2788
2785
  });
2789
2786
  }
2790
- changeHeaderToDownPayPercentage(uuid, amount) {
2787
+ changeHeaderDepositPercentage(uuid, amount) {
2791
2788
  return __awaiter(this, void 0, void 0, function* () {
2792
2789
  const request = {
2793
2790
  transactionUuid: uuid,
2794
- newToDownPayPercentage: amount
2791
+ newDepositPercentage: amount
2795
2792
  };
2796
- const response = yield this.connector.changeHeaderToDownPayPercentage(request);
2793
+ const response = yield this.connector.changeHeaderDepositPercentage(request);
2797
2794
  if (response && response.validationResult && response.validationResult.success) {
2798
2795
  return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
2799
2796
  }
@@ -2803,13 +2800,13 @@ class TransactionConnectorAdapterService {
2803
2800
  }
2804
2801
  });
2805
2802
  }
2806
- changeHeaderToDownPayAmount(uuid, amount) {
2803
+ changeHeaderDepositAmount(uuid, amount) {
2807
2804
  return __awaiter(this, void 0, void 0, function* () {
2808
2805
  const request = {
2809
2806
  transactionUuid: uuid,
2810
- newToDownPayAmount: amount
2807
+ newDepositAmount: amount
2811
2808
  };
2812
- const response = yield this.connector.changeHeaderToDownPayAmount(request);
2809
+ const response = yield this.connector.changeHeaderDepositAmount(request);
2813
2810
  if (response && response.validationResult && response.validationResult.success) {
2814
2811
  return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
2815
2812
  }
@@ -2949,13 +2946,13 @@ class TransactionConnectorAdapterService {
2949
2946
  }
2950
2947
  });
2951
2948
  }
2952
- changeHeaderTransactionToDownPay(uuid, downPayment) {
2949
+ changeHeaderTransactionDepositAmount(uuid, amount) {
2953
2950
  return __awaiter(this, void 0, void 0, function* () {
2954
2951
  const request = {
2955
2952
  transactionUuid: uuid,
2956
- newToDownPayAmount: downPayment
2953
+ newDepositAmount: amount
2957
2954
  };
2958
- const response = yield this.connector.changeHeaderToDownPayAmount(request);
2955
+ const response = yield this.connector.changeHeaderDepositAmount(request);
2959
2956
  if (response && response.validationResult && response.validationResult.success) {
2960
2957
  return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
2961
2958
  }
@@ -3046,11 +3043,11 @@ class TransactionConnectorAdapterService {
3046
3043
  }
3047
3044
  });
3048
3045
  }
3049
- getDownPaymentInfo(uuid) {
3046
+ getDepositPaymentInfo(uuid) {
3050
3047
  return __awaiter(this, void 0, void 0, function* () {
3051
- const response = yield this.connector.getDownPaymentInfo(uuid);
3048
+ const response = yield this.connector.getDepositPaymentInfo(uuid);
3052
3049
  if (response && response.validationResult && response.validationResult.success) {
3053
- return this._boFactory.makeWithRawBackendData(TransactionDownPaymentInfo, response.resultObject);
3050
+ return this._boFactory.makeWithRawBackendData(TransactionDepositPaymentInfo, response.resultObject);
3054
3051
  }
3055
3052
  else {
3056
3053
  this._handleExceptionFromResponse(response);
@@ -3430,7 +3427,7 @@ class TransactionConnectorAdapterService {
3430
3427
  return __awaiter(this, void 0, void 0, function* () {
3431
3428
  const response = yield this.connector.getPurchaseAdviceLines(filters, goodId);
3432
3429
  if (response && response.validationResult && response.validationResult.success) {
3433
- return this._boFactory.makeBOArrayFromRawBackendDataArray(PurchaseAdviceLine, response.resultObject);
3430
+ return this._boFactory.makeBOArrayFromRawBackendDataArray(PurchaseAdviceLine, response.resultObjects);
3434
3431
  }
3435
3432
  else {
3436
3433
  this._handleExceptionFromResponse(response);
@@ -3727,11 +3724,6 @@ class TransactionConnectorService {
3727
3724
  return this._adapterService.addRelationToTransaction(uuid, relationId);
3728
3725
  });
3729
3726
  }
3730
- setTransactionDeliveryOptions(transactionDeliveryOptionsRequest) {
3731
- return __awaiter(this, void 0, void 0, function* () {
3732
- return this._adapterService.setTransactionDeliveryOptions(transactionDeliveryOptionsRequest);
3733
- });
3734
- }
3735
3727
  getPostalCodeRetrieval(postcalCode, houseNo) {
3736
3728
  return __awaiter(this, void 0, void 0, function* () {
3737
3729
  return this._adapterService.getPostalCodeRetrieval(postcalCode, houseNo);
@@ -3966,14 +3958,14 @@ class TransactionConnectorService {
3966
3958
  return this._adapterService.changeHeaderTransactionRelationReference(uuid, reference);
3967
3959
  });
3968
3960
  }
3969
- changeHeaderToDownPayPercentage(uuid, amount) {
3961
+ changeHeaderDepositPercentage(uuid, amount) {
3970
3962
  return __awaiter(this, void 0, void 0, function* () {
3971
- return this._adapterService.changeHeaderToDownPayPercentage(uuid, amount);
3963
+ return this._adapterService.changeHeaderDepositPercentage(uuid, amount);
3972
3964
  });
3973
3965
  }
3974
- changeHeaderToDownPayAmount(uuid, amount) {
3966
+ changeHeaderDepositAmount(uuid, amount) {
3975
3967
  return __awaiter(this, void 0, void 0, function* () {
3976
- return this._adapterService.changeHeaderToDownPayAmount(uuid, amount);
3968
+ return this._adapterService.changeHeaderDepositAmount(uuid, amount);
3977
3969
  });
3978
3970
  }
3979
3971
  changeHeaderTransactionPreferredDeliveryDate(uuid, date) {
@@ -4016,11 +4008,6 @@ class TransactionConnectorService {
4016
4008
  return this._adapterService.changeHeaderTransactionDiscount(uuid, type, amount);
4017
4009
  });
4018
4010
  }
4019
- changeHeaderTransactionToDownPay(uuid, downPayment) {
4020
- return __awaiter(this, void 0, void 0, function* () {
4021
- return this._adapterService.changeHeaderTransactionToDownPay(uuid, downPayment);
4022
- });
4023
- }
4024
4011
  createOutstandingEntry(uuid, amount) {
4025
4012
  return __awaiter(this, void 0, void 0, function* () {
4026
4013
  return this._adapterService.createOutstandingEntry(uuid, amount);
@@ -5185,18 +5172,18 @@ class TransactionService extends PendingReasonService {
5185
5172
  return false;
5186
5173
  });
5187
5174
  }
5188
- updateHeaderTransactionDownpaymentAmount(uuid, amount) {
5175
+ updateHeaderTransactionDepositAmount(uuid, amount) {
5189
5176
  return __awaiter(this, void 0, void 0, function* () {
5190
- const response = yield this.connector.changeHeaderToDownPayAmount(uuid, amount);
5177
+ const response = yield this.connector.changeHeaderDepositAmount(uuid, amount);
5191
5178
  if (response) {
5192
5179
  return this.handleHeaderOperationStatuses(response);
5193
5180
  }
5194
5181
  return false;
5195
5182
  });
5196
5183
  }
5197
- updateHeaderTransactionDownpaymentPercentage(uuid, amount) {
5184
+ updateHeaderTransactionDepositPercentage(uuid, amount) {
5198
5185
  return __awaiter(this, void 0, void 0, function* () {
5199
- const response = yield this.connector.changeHeaderToDownPayPercentage(uuid, amount);
5186
+ const response = yield this.connector.changeHeaderDepositPercentage(uuid, amount);
5200
5187
  if (response) {
5201
5188
  return this.handleHeaderOperationStatuses(response);
5202
5189
  }
@@ -6443,8 +6430,8 @@ CheckoutOverviewDeliveryEditComponent.decorators = [
6443
6430
  </div>
6444
6431
  <div class="checkout-data-column">
6445
6432
  <div class="checkout-data-row">
6446
- <co-transaction-header-downpayment-percentage [transactionInfo]="transaction.transactionInfo"></co-transaction-header-downpayment-percentage>
6447
- <co-transaction-header-downpayment-amount [transactionInfo]="transaction.transactionInfo"></co-transaction-header-downpayment-amount>
6433
+ <co-transaction-header-deposit-percentage [transactionInfo]="transaction.transactionInfo"></co-transaction-header-deposit-percentage>
6434
+ <co-transaction-header-deposit-amount [transactionInfo]="transaction.transactionInfo"></co-transaction-header-deposit-amount>
6448
6435
  </div>
6449
6436
  <!--
6450
6437
  <div class="checkout-data-row">
@@ -9385,9 +9372,16 @@ TransactionSearchSalesOrderTileComponent.ctorParameters = () => [
9385
9372
  ];
9386
9373
 
9387
9374
  class TransactionQuickAccessOrderConfirmationComponent extends TransactionBaseComponent {
9388
- constructor() {
9389
- super(...arguments);
9375
+ constructor(iconService, service, _transactionEventService) {
9376
+ super(service);
9377
+ this.iconService = iconService;
9378
+ this.service = service;
9379
+ this._transactionEventService = _transactionEventService;
9380
+ this.icons = Icon;
9390
9381
  this.purchaseOrderConfirmation = new GetPurchaseOrderConfirmation();
9382
+ this.awaitingResult = false;
9383
+ this.resultSuccessful = false;
9384
+ this.iconVisible = true;
9391
9385
  }
9392
9386
  showClass() {
9393
9387
  return true;
@@ -9398,6 +9392,24 @@ class TransactionQuickAccessOrderConfirmationComponent extends TransactionBaseCo
9398
9392
  this.transactionService.purchaseOrderConfirmation(this.purchaseOrderConfirmation);
9399
9393
  }
9400
9394
  }
9395
+ handleSelectAllLines(value) {
9396
+ this._transactionEventService.selectAllSalesOrderLinesForPurchase.next(value);
9397
+ }
9398
+ handleCommitEvent() {
9399
+ return __awaiter(this, void 0, void 0, function* () {
9400
+ this.iconVisible = false;
9401
+ this.resultSuccessful = false;
9402
+ this.awaitingResult = true;
9403
+ if (this.purchaseOrderConfirmation.confirmationDate && this.purchaseOrderConfirmation.reference) {
9404
+ this.purchaseOrderConfirmation.transId = this.transactionService.currentTransaction.transactionInfo.transactionNr;
9405
+ this.transactionService.purchaseOrderConfirmation(this.purchaseOrderConfirmation);
9406
+ }
9407
+ this.awaitingResult = false;
9408
+ setTimeout(() => {
9409
+ this.iconVisible = true;
9410
+ }, 600);
9411
+ });
9412
+ }
9401
9413
  }
9402
9414
  TransactionQuickAccessOrderConfirmationComponent.decorators = [
9403
9415
  { type: Component, args: [{
@@ -9415,12 +9427,21 @@ TransactionQuickAccessOrderConfirmationComponent.decorators = [
9415
9427
  [(model)]="purchaseOrderConfirmation.leverbatch"
9416
9428
  [placeholder]="'BATCH' | localize"
9417
9429
  ></co-input-text>
9418
- <co-input-checkbox (modelChange)="confirmFullOrder()"
9430
+ <co-input-checkbox (modelChange)="handleSelectAllLines($event)"
9419
9431
  ></co-input-checkbox>
9432
+ <div class="button-wrapper" (click)="handleCommitEvent()">
9433
+ <co-checkmark-overlay [successful]="resultSuccessful" [visible]="awaitingResult"></co-checkmark-overlay>
9434
+ <co-icon class="button-icon" [iconData]="iconService.getIcon(icons.GearSolid)" [class.hidden]="!iconVisible"></co-icon>
9435
+ </div>
9420
9436
  `,
9421
9437
  encapsulation: ViewEncapsulation.None
9422
9438
  },] }
9423
9439
  ];
9440
+ TransactionQuickAccessOrderConfirmationComponent.ctorParameters = () => [
9441
+ { type: IconCacheService },
9442
+ { type: TransactionService },
9443
+ { type: TransactionEventService }
9444
+ ];
9424
9445
  TransactionQuickAccessOrderConfirmationComponent.propDecorators = {
9425
9446
  showClass: [{ type: HostBinding, args: ["class.co-transaction-quick-access-order-confirmation",] }]
9426
9447
  };
@@ -10633,7 +10654,7 @@ TransactionReceiveGoodsLineComponent.decorators = [
10633
10654
  <co-transaction-line-warehouse-button [transactionLine]="viewModel" [readonly]="viewModel.quantityReceived === viewModel.amount" [transactionInfo]="transactionInfo"></co-transaction-line-warehouse-button>
10634
10655
  <co-transaction-line-warehouse-location-button [readonly]="warehouseButtonReadonly()" [line]="viewModel"></co-transaction-line-warehouse-location-button>
10635
10656
  <co-editable-label class="transaction-line-totals-total price"
10636
- [model]="viewModel.amount.toString() + 'x'"
10657
+ [model]="viewModel.amount?.toString() + 'x'"
10637
10658
  [readonly]="true"
10638
10659
  ></co-editable-label>
10639
10660
  <div class="transaction-line-totals-amount"
@@ -11011,7 +11032,7 @@ TransactionGoodsAllocationLineComponent.decorators = [
11011
11032
  <co-transaction-line-warehouse-button [transactionLine]="viewModel" [readonly]="viewModel.quantityAllocated === viewModel.amount" [transactionInfo]="transactionInfo"></co-transaction-line-warehouse-button>
11012
11033
  <co-transaction-line-warehouse-location-button [readonly]="viewModel.quantityAllocated === viewModel.amount || !viewModel.isLocationRequired" [line]="viewModel"></co-transaction-line-warehouse-location-button>
11013
11034
  <co-editable-label class="transaction-line-totals-total price"
11014
- [model]="viewModel.amount.toString() + 'x'"
11035
+ [model]="viewModel.amount?.toString() + 'x'"
11015
11036
  [readonly]="true"
11016
11037
  ></co-editable-label>
11017
11038
  <co-transaction-line-statusbar class="status-bar-wrapper" [transactionLine]="transactionLine" [transactionInfo]="transactionInfo" [activeCategory]="category.SalesOrderAllocation"></co-transaction-line-statusbar>
@@ -11377,6 +11398,113 @@ TransactionCardPurchaseOverviewComponent.propDecorators = {
11377
11398
  showClass: [{ type: HostBinding, args: ["class.co-transaction-card-purchase-overview",] }]
11378
11399
  };
11379
11400
 
11401
+ class TransactionPurchaseOrderLineComponent extends TransactionBaseComponent {
11402
+ constructor(iconCacheService, transactionService, _transactionEventService) {
11403
+ super(transactionService);
11404
+ this.iconCacheService = iconCacheService;
11405
+ this.transactionService = transactionService;
11406
+ this._transactionEventService = _transactionEventService;
11407
+ this.selected = false;
11408
+ this.showDialogDiscount = false;
11409
+ this.showCheckboxForLine = false;
11410
+ this.viewModel = new ExtendedTransactionLineViewModel();
11411
+ this.getPurchasePortalLine = new GetPurchasePortalLine();
11412
+ this.purchasePortalFilter = new PurchasePortalFilters();
11413
+ this.purchasePortalLines = [];
11414
+ this.transactionTypeCategory = TransactionTypeCategory;
11415
+ this._subs = [];
11416
+ }
11417
+ showClass() {
11418
+ return true;
11419
+ }
11420
+ ngOnInit() {
11421
+ this.transactionKind = this.transactionService.currentTransaction.transactionInfo.transactionKind;
11422
+ this.getPurchasePortalLines();
11423
+ this._subs.push(this._transactionEventService.selectAllSalesOrderLinesForPurchase.subscribe((value) => {
11424
+ this.selected = value;
11425
+ }));
11426
+ }
11427
+ ngOnDestroy() {
11428
+ this._subs.forEach(s => s.unsubscribe());
11429
+ }
11430
+ transactionLineSet() {
11431
+ this.showCheckboxForLine = this.transactionLine.commissionCode === "0";
11432
+ }
11433
+ getPurchasePortalLines() {
11434
+ this.purchasePortalFilter.purchaseOrderNo = this.transactionInfo.transactionNr.toString();
11435
+ this.purchasePortalFilter.lineId = this.transactionLine.lineNr.toString();
11436
+ this.getPurchasePortalLine.transIdPurchase = this.transactionInfo.id;
11437
+ this.getPurchasePortalLine.filterObject = this.purchasePortalFilter;
11438
+ this.transactionService.getPurchasePortalLines(this.getPurchasePortalLine).then((result) => {
11439
+ this.purchasePortalLines = result;
11440
+ });
11441
+ }
11442
+ handleOpenSidePanel(mouseClick) {
11443
+ const target = mouseClick.target;
11444
+ if (target && target.dataset && target.dataset['action'] && target.dataset['action'] === 'openSidePanel') {
11445
+ this._transactionEventService.openSidePanel.next(this.transactionLine);
11446
+ }
11447
+ }
11448
+ }
11449
+ TransactionPurchaseOrderLineComponent.decorators = [
11450
+ { type: Component, args: [{
11451
+ selector: "co-transaction-purchase-order-line",
11452
+ template: `
11453
+ <co-transaction-base-line *ngFor="let lines of purchasePortalLines" [transactionInfo]="transactionInfo" (click)="handleOpenSidePanel($event)" [transactionLine]="transactionLine" [preview]="preview" [checkbox]="showCheckboxForLine" [checkboxValue]="selected" (checkboxValueChanged)="selected = $event">
11454
+ <div class="transaction-line-wrapper" data-action="openSidePanel">
11455
+ <div class="transaction-line-wrapper">
11456
+ <co-transaction-line-statusbar [transactionLine]="transactionLine" [transactionInfo]="transactionInfo" [activeCategory]="transactionTypeCategory.PurchaseOrderReceivedGoods"></co-transaction-line-statusbar>
11457
+ <co-transaction-line-delivery-date-button [transactionLine]="transactionLine" class="two-column"></co-transaction-line-delivery-date-button>
11458
+ <div class="transaction-line-totals-grid">
11459
+ <co-transaction-line-price class="transaction-line-totals-grid price"
11460
+ [purchasePortalLine]="lines"
11461
+ [showLabel]="false"
11462
+ [defaultEditMode]="false"
11463
+ ></co-transaction-line-price>
11464
+ <div class="transaction-line-totals-grid discount" (click)="showDialogDiscount = true">
11465
+ <span class="co-transaction-overflow-ellipsis" [class.transaction-negative-value]="transactionLine.lineTotalDiscountAmount < 0"
11466
+ [textContent]="(lines.discountOrderPrice | coCurrency) || ('DISCOUNT' | localize)"></span>
11467
+ </div>
11468
+ <co-transaction-line-price class="transaction-line-totals-grid price"
11469
+ [purchasePortalLine]="lines"
11470
+ [showLabel]="false"
11471
+ [defaultEditMode]="false"
11472
+ ></co-transaction-line-price>
11473
+ </div>
11474
+ </div>
11475
+ <div class="vertical-border"></div>
11476
+ <div class="transaction-line-totals-grid" data-action="openSidePanel">
11477
+ <co-icon class="transaction-line-supplier-icon" [iconData]="iconCacheService.getIcon(icons.IndustrySolid)"></co-icon>
11478
+ <span class="transaction-line-supplier-id" [textContent]="lines.articleNoSupplier"></span>
11479
+ <div class="transaction-line-totals-grid">
11480
+ <co-transaction-line-price class="transaction-line-totals-grid price"
11481
+ [purchasePortalLine]="lines"
11482
+ [showLabel]="false"
11483
+ [defaultEditMode]="false"
11484
+ ></co-transaction-line-price>
11485
+ </div>
11486
+ <co-input-number-picker class="amount-number-picker"
11487
+ [(model)]="lines.amountAccepted"
11488
+ ></co-input-number-picker>
11489
+ <co-transaction-line-delivery-date-button [purchasePortalLine]="lines"
11490
+ class="two-column"
11491
+ ></co-transaction-line-delivery-date-button>
11492
+ </div>
11493
+ </div>
11494
+ </co-transaction-base-line>
11495
+ `,
11496
+ encapsulation: ViewEncapsulation.None
11497
+ },] }
11498
+ ];
11499
+ TransactionPurchaseOrderLineComponent.ctorParameters = () => [
11500
+ { type: IconCacheService },
11501
+ { type: TransactionService },
11502
+ { type: TransactionEventService }
11503
+ ];
11504
+ TransactionPurchaseOrderLineComponent.propDecorators = {
11505
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-purchase-order-line",] }]
11506
+ };
11507
+
11380
11508
  class TransactionMappingService {
11381
11509
  constructor() {
11382
11510
  this._buttonBarTransaction = new Map([
@@ -11420,6 +11548,7 @@ class TransactionMappingService {
11420
11548
  [{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderInvoice }, TransactionOrderDeliveryLineComponent],
11421
11549
  [{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOverview }, TransactionPurchaseLineComponent],
11422
11550
  [{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionReceiveGoodsLineComponent],
11551
+ [{ type: TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation }, TransactionPurchaseOrderLineComponent],
11423
11552
  ]);
11424
11553
  this._transactionCardComponent = new Map([
11425
11554
  [{ type: TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderOverview }, TransactionCardSalesOverviewComponent],
@@ -12202,9 +12331,9 @@ class PaymentService {
12202
12331
  this._transactionService = _transactionService;
12203
12332
  this._sharedService = _sharedService;
12204
12333
  }
12205
- updateHeaderTransactionToDownPay(uuid, downPayment) {
12334
+ updateHeaderTransactionDepositAmount(uuid, amount) {
12206
12335
  return __awaiter(this, void 0, void 0, function* () {
12207
- const response = yield this._adapterService.changeHeaderTransactionToDownPay(uuid, downPayment)
12336
+ const response = yield this._adapterService.changeHeaderTransactionDepositAmount(uuid, amount)
12208
12337
  .catch((error) => {
12209
12338
  // todo: do something with the error
12210
12339
  return false;
@@ -12236,9 +12365,9 @@ class PaymentService {
12236
12365
  return this._adapterService.getPaymentLinkStatus(paymentLinkUUID);
12237
12366
  });
12238
12367
  }
12239
- getDownPaymentInfo(uuid) {
12368
+ getDepositPaymentInfo(uuid) {
12240
12369
  return __awaiter(this, void 0, void 0, function* () {
12241
- return this._adapterService.getDownPaymentInfo(uuid);
12370
+ return this._adapterService.getDepositPaymentInfo(uuid);
12242
12371
  });
12243
12372
  }
12244
12373
  getPaymentMethods() {
@@ -12287,9 +12416,9 @@ PaymentService.ctorParameters = () => [
12287
12416
  { type: SharedService }
12288
12417
  ];
12289
12418
 
12290
- class DownPaymentViewModel {
12291
- constructor(downPayment, paymentMethodViewmodel) {
12292
- this.downPayment = downPayment;
12419
+ class DepositPaymentViewModel {
12420
+ constructor(depositPayment, paymentMethodViewmodel) {
12421
+ this.depositPayment = depositPayment;
12293
12422
  this.paymentMethod = paymentMethodViewmodel;
12294
12423
  }
12295
12424
  }
@@ -12304,13 +12433,13 @@ class PaymentComponent {
12304
12433
  this.paymentMethodIdx = 0;
12305
12434
  this.cashRegisterIdx = 0;
12306
12435
  this.paymentMethods = [];
12307
- this.downPayments = [];
12436
+ this.depositPayments = [];
12308
12437
  this.cashRegisters = [];
12309
12438
  this.showCashRegisters = false;
12310
12439
  this.showKeyPad = false;
12311
12440
  this.showPspQrCode = false;
12312
12441
  this.showLoader = true;
12313
- this.showLoaderDownPayments = true;
12442
+ this.showLoaderDepositPayments = true;
12314
12443
  this.amountToPay = 0;
12315
12444
  this._amount = 0;
12316
12445
  this._paymentStatusPollIntervalMs = 5000;
@@ -12328,10 +12457,10 @@ class PaymentComponent {
12328
12457
  return true;
12329
12458
  }
12330
12459
  ngOnInit() {
12331
- this._paymentService.updateHeaderTransactionToDownPay(this.transactionUuid, this.amountToPay).then(() => {
12460
+ this._paymentService.updateHeaderTransactionDepositAmount(this.transactionUuid, this.amountToPay).then(() => {
12332
12461
  this._getPaymentMethods().then(() => {
12333
12462
  this.showLoader = false;
12334
- this._getDownpaymentInfo();
12463
+ this._getDepositPaymentInfo();
12335
12464
  this._prepareCashRegisters();
12336
12465
  });
12337
12466
  });
@@ -12364,7 +12493,7 @@ class PaymentComponent {
12364
12493
  const currentCashRegister = this.cashRegisters[this.cashRegisterIdx];
12365
12494
  this._paymentService.registerSalesOrderPayment(this.transactionUuid, this.amountToPay, this.currencyId, this.currentPaymentMethod.code, currentCashRegister.group).then(() => __awaiter(this, void 0, void 0, function* () {
12366
12495
  this.showKeyPad = false;
12367
- yield this._getDownpaymentInfo();
12496
+ yield this._getDepositPaymentInfo();
12368
12497
  if (this.amountToPay === 0) {
12369
12498
  this.payed.emit();
12370
12499
  }
@@ -12374,18 +12503,18 @@ class PaymentComponent {
12374
12503
  handleKeyPadModelChange(model) {
12375
12504
  this.amountToPay = model;
12376
12505
  }
12377
- _getDownpaymentInfo() {
12378
- this.downPayments.length = 0;
12506
+ _getDepositPaymentInfo() {
12507
+ this.depositPayments.length = 0;
12379
12508
  return new Promise((resolve) => {
12380
- this._paymentService.getDownPaymentInfo(this.transactionUuid).then((info) => {
12381
- this.amountToPay = (info.toDownPayAmount ? info.toDownPayAmount : 0) - (info.payedDownAmount ? info.payedDownAmount : 0);
12382
- if (info.downPayments) {
12383
- info.downPayments.forEach((dp) => {
12509
+ this._paymentService.getDepositPaymentInfo(this.transactionUuid).then((info) => {
12510
+ this.amountToPay = info.depositRemainderAmount;
12511
+ if (info.depositPayments) {
12512
+ info.depositPayments.forEach((dp) => {
12384
12513
  const paymentMethod = this.paymentMethods.find(pm => pm.payment.code === dp.paymentMethodCode);
12385
- this.downPayments.push(new DownPaymentViewModel(dp, paymentMethod));
12514
+ this.depositPayments.push(new DepositPaymentViewModel(dp, paymentMethod));
12386
12515
  });
12387
12516
  }
12388
- this.showLoaderDownPayments = false;
12517
+ this.showLoaderDepositPayments = false;
12389
12518
  resolve();
12390
12519
  });
12391
12520
  });
@@ -12404,7 +12533,7 @@ class PaymentComponent {
12404
12533
  if (status.payedDate) {
12405
12534
  this._clearInterval();
12406
12535
  this.showPspQrCode = false;
12407
- yield this._getDownpaymentInfo();
12536
+ yield this._getDepositPaymentInfo();
12408
12537
  if (this.amountToPay === 0) {
12409
12538
  this.payed.emit();
12410
12539
  }
@@ -12492,18 +12621,18 @@ PaymentComponent.decorators = [
12492
12621
  <div [textContent]="'TO_PAY' | localize"></div>
12493
12622
  <div class="payment-amount" [textContent]="amountToPay === 0 ? amountToPay : (amountToPay | priceDisplay)"></div>
12494
12623
  </div>
12495
- <div class="payment-downpayment" [class.no-display]="!downPayments || downPayments.length === 0">
12496
- <co-down-payment [transactionUuid]="transactionUuid" [downPayments]="downPayments" [showLoader]="showLoaderDownPayments"></co-down-payment>
12624
+ <div class="payment-deposit" [class.no-display]="!depositPayments || depositPayments.length === 0">
12625
+ <co-deposit-payment [transactionUuid]="transactionUuid" [depositPayments]="depositPayments" [showLoader]="showLoaderDepositPayments"></co-deposit-payment>
12497
12626
  </div>
12498
- <div class="payment-to-pay-button" [class.no-downpayments]="!downPayments || downPayments.length === 0">
12499
- <co-button [label]="'PAY' | localize" (click)="handlePayment()" [disabled]="amountToPay === 0"></co-button>
12627
+ <div class="payment-to-pay-button" [class.no-deposit]="!depositPayments || depositPayments.length === 0">
12628
+ <co-button [label]="'PAY' | localize" (click)="handlePayment()" [disabled]="amountToPay === 0"></co-button>
12500
12629
  </div>
12501
12630
  <co-key-pad class="payment-to-pay-keypad"
12502
- [showValue]="false"
12503
- [emitModelChangeOnEnter]="false"
12504
- [model]="amountToPay"
12505
- (modelChange)="handleKeyPadModelChange($event)"
12506
- (enterClick)="handlePayment()"
12631
+ [showValue]="false"
12632
+ [emitModelChangeOnEnter]="false"
12633
+ [model]="amountToPay"
12634
+ (modelChange)="handleKeyPadModelChange($event)"
12635
+ (enterClick)="handlePayment()"
12507
12636
  ></co-key-pad>
12508
12637
  </div>
12509
12638
  </div>
@@ -12687,7 +12816,7 @@ PaymentQrCodeModule.decorators = [
12687
12816
  },] }
12688
12817
  ];
12689
12818
 
12690
- class DownPaymentComponent {
12819
+ class DepositPaymentComponent {
12691
12820
  constructor(_paymentService) {
12692
12821
  this._paymentService = _paymentService;
12693
12822
  this.showLoader = true;
@@ -12699,65 +12828,65 @@ class DownPaymentComponent {
12699
12828
  ngOnInit() {
12700
12829
  this._prepareData();
12701
12830
  }
12702
- _getDownpaymentInfo() {
12703
- this.downPayments.length = 0;
12704
- this._paymentService.getDownPaymentInfo(this.transactionUuid).then((info) => {
12705
- if (info.downPayments) {
12706
- info.downPayments.forEach((dp) => {
12831
+ _getDepositPaymentInfo() {
12832
+ this.depositPayments.length = 0;
12833
+ this._paymentService.getDepositPaymentInfo(this.transactionUuid).then((info) => {
12834
+ if (info.depositPayments) {
12835
+ info.depositPayments.forEach((dp) => {
12707
12836
  const paymentMethod = this.paymentMethods.find(pm => pm.payment.code === dp.paymentMethodCode);
12708
- this.downPayments.push(new DownPaymentViewModel(dp, paymentMethod));
12837
+ this.depositPayments.push(new DepositPaymentViewModel(dp, paymentMethod));
12709
12838
  });
12710
12839
  }
12711
12840
  });
12712
12841
  }
12713
12842
  _prepareData() {
12714
- if (!this.downPayments) {
12715
- this.downPayments = [];
12843
+ if (!this.depositPayments) {
12844
+ this.depositPayments = [];
12716
12845
  this.showLoader = true;
12717
12846
  this.paymentMethods.length = 0;
12718
12847
  this._paymentService.getPaymentMethodsViewModels().then((methods) => {
12719
12848
  this.paymentMethods = methods.slice();
12720
- this._getDownpaymentInfo();
12849
+ this._getDepositPaymentInfo();
12721
12850
  this.showLoader = false;
12722
12851
  });
12723
12852
  }
12724
12853
  }
12725
12854
  }
12726
- DownPaymentComponent.decorators = [
12855
+ DepositPaymentComponent.decorators = [
12727
12856
  { type: Component, args: [{
12728
- selector: "co-down-payment",
12857
+ selector: "co-deposit-payment",
12729
12858
  template: `
12730
- <co-loader class="loader" *ngIf="showLoader"></co-loader>
12731
- <div class="down-payment-payments-title" [textContent]="'PAYMENTS_MADE' | localize" *ngIf="downPayments && downPayments.length > 0"></div>
12732
- <div class="down-payment-payments-wrapper">
12733
- <div class="down-payment-payments" *ngFor="let payment of downPayments">
12734
- <co-payment-tile
12735
- [image]="payment.paymentMethod.image"
12736
- [description]="payment.paymentMethod.payment.description"
12737
- ></co-payment-tile>
12738
- <div class="down-payment-amount-wrapper">
12739
- <div class="down-payment-amount" [textContent]="payment.downPayment.downPaymentAmount | coCurrency"></div>
12740
- <div class="down-payment-date" [textContent]="payment.downPayment.date | date:'d MMMM yyyy'"></div>
12741
- </div>
12859
+ <co-loader class="loader" *ngIf="showLoader"></co-loader>
12860
+ <div class="down-payment-payments-title" [textContent]="'PAYMENTS_MADE' | localize" *ngIf="depositPayments && depositPayments.length > 0"></div>
12861
+ <div class="down-payment-payments-wrapper">
12862
+ <div class="down-payment-payments" *ngFor="let payment of depositPayments">
12863
+ <co-payment-tile
12864
+ [image]="payment.paymentMethod.image"
12865
+ [description]="payment.paymentMethod.payment.description"
12866
+ ></co-payment-tile>
12867
+ <div class="down-payment-amount-wrapper">
12868
+ <div class="down-payment-amount" [textContent]="payment.depositPayment.depositPaymentAmount | coCurrency"></div>
12869
+ <div class="down-payment-date" [textContent]="payment.depositPayment.date | date:'d MMMM yyyy'"></div>
12742
12870
  </div>
12743
12871
  </div>
12744
- `,
12872
+ </div>
12873
+ `,
12745
12874
  encapsulation: ViewEncapsulation.None
12746
12875
  },] }
12747
12876
  ];
12748
- DownPaymentComponent.ctorParameters = () => [
12877
+ DepositPaymentComponent.ctorParameters = () => [
12749
12878
  { type: PaymentService }
12750
12879
  ];
12751
- DownPaymentComponent.propDecorators = {
12880
+ DepositPaymentComponent.propDecorators = {
12752
12881
  transactionUuid: [{ type: Input }],
12753
- downPayments: [{ type: Input }],
12882
+ depositPayments: [{ type: Input }],
12754
12883
  showLoader: [{ type: Input }],
12755
- showClass: [{ type: HostBinding, args: ["class.co-down-payment",] }]
12884
+ showClass: [{ type: HostBinding, args: ["class.co-deposit-payment",] }]
12756
12885
  };
12757
12886
 
12758
- class DownPaymentModule {
12887
+ class DepositPaymentModule {
12759
12888
  }
12760
- DownPaymentModule.decorators = [
12889
+ DepositPaymentModule.decorators = [
12761
12890
  { type: NgModule, args: [{
12762
12891
  imports: [
12763
12892
  CommonModule,
@@ -12767,10 +12896,10 @@ DownPaymentModule.decorators = [
12767
12896
  LoaderModule
12768
12897
  ],
12769
12898
  declarations: [
12770
- DownPaymentComponent
12899
+ DepositPaymentComponent
12771
12900
  ],
12772
12901
  exports: [
12773
- DownPaymentComponent
12902
+ DepositPaymentComponent
12774
12903
  ]
12775
12904
  },] }
12776
12905
  ];
@@ -12789,7 +12918,7 @@ PaymentModule.decorators = [
12789
12918
  CoDialogModule,
12790
12919
  ButtonModule,
12791
12920
  PaymentQrCodeModule,
12792
- DownPaymentModule,
12921
+ DepositPaymentModule,
12793
12922
  LoaderModule
12794
12923
  ],
12795
12924
  declarations: [
@@ -13563,7 +13692,7 @@ CheckoutOverviewPaymentComponent.decorators = [
13563
13692
  </div>
13564
13693
  <co-payment
13565
13694
  [transactionUuid]="transaction.transactionInfo.uuid"
13566
- [amount]="transaction.transactionInfo.toDownPayAmount || transaction.transactionTotal.netAmount"
13695
+ [amount]="transaction.transactionInfo.depositAmount || transaction.transactionTotal.netAmount"
13567
13696
  [currencyId]="transaction.transactionInfo.currencyId"
13568
13697
  (payed)="handlePayed()"
13569
13698
  ></co-payment>
@@ -14707,7 +14836,7 @@ TransactionHeaderDeliveryModule.decorators = [
14707
14836
  },] }
14708
14837
  ];
14709
14838
 
14710
- class TransactionHeaderDownpaymentPercentageComponent extends TransactionInputFieldBaseComponent {
14839
+ class TransactionHeaderDepositPercentageComponent extends TransactionInputFieldBaseComponent {
14711
14840
  constructor(transactionService) {
14712
14841
  super(transactionService);
14713
14842
  this.transactionService = transactionService;
@@ -14724,9 +14853,8 @@ class TransactionHeaderDownpaymentPercentageComponent extends TransactionInputFi
14724
14853
  }
14725
14854
  commit(amount) {
14726
14855
  return __awaiter(this, void 0, void 0, function* () {
14727
- if (this.transactionInfo && this.transactionInfo.toDownPayPercentage !== amount) {
14728
- const oldDownPayPercentage = this.transactionInfo.toDownPayPercentage;
14729
- const success = yield this.transactionService.updateHeaderTransactionDownpaymentPercentage(this.transactionInfo.uuid, amount);
14856
+ if (this.transactionInfo && this.transactionInfo.depositPercentage !== amount) {
14857
+ const success = yield this.transactionService.updateHeaderTransactionDepositPercentage(this.transactionInfo.uuid, amount);
14730
14858
  if (!success) {
14731
14859
  this.input.model = amount;
14732
14860
  }
@@ -14736,33 +14864,33 @@ class TransactionHeaderDownpaymentPercentageComponent extends TransactionInputFi
14736
14864
  });
14737
14865
  }
14738
14866
  }
14739
- TransactionHeaderDownpaymentPercentageComponent.decorators = [
14867
+ TransactionHeaderDepositPercentageComponent.decorators = [
14740
14868
  { type: Component, args: [{
14741
- selector: "co-transaction-header-downpayment-percentage",
14869
+ selector: "co-transaction-header-deposit-percentage",
14742
14870
  template: `
14743
- <span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="(transactionInfo.toDownPayPercentage | append: '%') || '...'"></span>
14744
- <co-input-text #input *ngIf="editMode || defaultEditMode"
14871
+ <span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="(transactionInfo.depositPercentage | append: '%') || '...'"></span>
14872
+ <co-input-text #input *ngIf="editMode || defaultEditMode" class="custom-height"
14745
14873
  [type]="'number'"
14746
14874
  [placeholder]="showLabel ? ('DOWNPAYMENT_PERCENTAGE' | localize) : ''"
14747
14875
  [showSaveCancel]="!readonly"
14748
14876
  [readonly]="readonly"
14749
- [model]="transactionInfo.toDownPayPercentage"
14877
+ [model]="transactionInfo.depositPercentage"
14750
14878
  (blur)="editMode = false"
14751
14879
  ></co-input-text>
14752
14880
  `,
14753
14881
  encapsulation: ViewEncapsulation.None
14754
14882
  },] }
14755
14883
  ];
14756
- TransactionHeaderDownpaymentPercentageComponent.ctorParameters = () => [
14884
+ TransactionHeaderDepositPercentageComponent.ctorParameters = () => [
14757
14885
  { type: TransactionService }
14758
14886
  ];
14759
- TransactionHeaderDownpaymentPercentageComponent.propDecorators = {
14887
+ TransactionHeaderDepositPercentageComponent.propDecorators = {
14760
14888
  child: [{ type: ViewChild, args: ['input', { read: InputTextComponent },] }]
14761
14889
  };
14762
14890
 
14763
- class TransactionHeaderDownpaymentPercentageModule {
14891
+ class TransactionHeaderDepositPercentageModule {
14764
14892
  }
14765
- TransactionHeaderDownpaymentPercentageModule.decorators = [
14893
+ TransactionHeaderDepositPercentageModule.decorators = [
14766
14894
  { type: NgModule, args: [{
14767
14895
  imports: [
14768
14896
  CommonModule,
@@ -14770,15 +14898,15 @@ TransactionHeaderDownpaymentPercentageModule.decorators = [
14770
14898
  InputTextModule
14771
14899
  ],
14772
14900
  declarations: [
14773
- TransactionHeaderDownpaymentPercentageComponent
14901
+ TransactionHeaderDepositPercentageComponent
14774
14902
  ],
14775
14903
  exports: [
14776
- TransactionHeaderDownpaymentPercentageComponent
14904
+ TransactionHeaderDepositPercentageComponent
14777
14905
  ]
14778
14906
  },] }
14779
14907
  ];
14780
14908
 
14781
- class TransactionHeaderDownpaymentAmountComponent extends TransactionInputFieldBaseComponent {
14909
+ class TransactionHeaderDepositAmountComponent extends TransactionInputFieldBaseComponent {
14782
14910
  constructor(transactionService) {
14783
14911
  super(transactionService);
14784
14912
  this.transactionService = transactionService;
@@ -14795,9 +14923,9 @@ class TransactionHeaderDownpaymentAmountComponent extends TransactionInputFieldB
14795
14923
  }
14796
14924
  commit(amount) {
14797
14925
  return __awaiter(this, void 0, void 0, function* () {
14798
- if (this.transactionInfo && this.transactionInfo.toDownPayAmount !== amount) {
14799
- const oldDownPayPercentage = this.transactionInfo.toDownPayAmount;
14800
- const success = yield this.transactionService.updateHeaderTransactionDownpaymentAmount(this.transactionInfo.uuid, amount);
14926
+ if (this.transactionInfo && this.transactionInfo.depositAmount !== amount) {
14927
+ const oldDownPayPercentage = this.transactionInfo.depositAmount;
14928
+ const success = yield this.transactionService.updateHeaderTransactionDepositAmount(this.transactionInfo.uuid, amount);
14801
14929
  if (!success) {
14802
14930
  this.input.model = amount;
14803
14931
  }
@@ -14807,33 +14935,33 @@ class TransactionHeaderDownpaymentAmountComponent extends TransactionInputFieldB
14807
14935
  });
14808
14936
  }
14809
14937
  }
14810
- TransactionHeaderDownpaymentAmountComponent.decorators = [
14938
+ TransactionHeaderDepositAmountComponent.decorators = [
14811
14939
  { type: Component, args: [{
14812
- selector: "co-transaction-header-downpayment-amount",
14940
+ selector: "co-transaction-header-deposit-amount",
14813
14941
  template: `
14814
- <span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="(transactionInfo.toDownPayAmount | coCurrency) || '...'"></span>
14815
- <co-input-text #input *ngIf="editMode || defaultEditMode"
14942
+ <span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="(transactionInfo.depositAmount | coCurrency) || '...'"></span>
14943
+ <co-input-text #input *ngIf="editMode || defaultEditMode" class="custom-height"
14816
14944
  [type]="'number'"
14817
14945
  [placeholder]="showLabel ? ('DOWNPAYMENT' | localize) : ''"
14818
14946
  [showSaveCancel]="!readonly"
14819
14947
  [readonly]="readonly"
14820
- [model]="transactionInfo.toDownPayAmount"
14948
+ [model]="transactionInfo.depositAmount"
14821
14949
  (blur)="editMode = false"
14822
14950
  ></co-input-text>
14823
14951
  `,
14824
14952
  encapsulation: ViewEncapsulation.None
14825
14953
  },] }
14826
14954
  ];
14827
- TransactionHeaderDownpaymentAmountComponent.ctorParameters = () => [
14955
+ TransactionHeaderDepositAmountComponent.ctorParameters = () => [
14828
14956
  { type: TransactionService }
14829
14957
  ];
14830
- TransactionHeaderDownpaymentAmountComponent.propDecorators = {
14958
+ TransactionHeaderDepositAmountComponent.propDecorators = {
14831
14959
  child: [{ type: ViewChild, args: ['input', { read: InputTextComponent },] }]
14832
14960
  };
14833
14961
 
14834
- class TransactionHeaderDownpaymentAmountModule {
14962
+ class TransactionHeaderDepositAmountModule {
14835
14963
  }
14836
- TransactionHeaderDownpaymentAmountModule.decorators = [
14964
+ TransactionHeaderDepositAmountModule.decorators = [
14837
14965
  { type: NgModule, args: [{
14838
14966
  imports: [
14839
14967
  CommonModule,
@@ -14841,10 +14969,10 @@ TransactionHeaderDownpaymentAmountModule.decorators = [
14841
14969
  InputTextModule
14842
14970
  ],
14843
14971
  declarations: [
14844
- TransactionHeaderDownpaymentAmountComponent
14972
+ TransactionHeaderDepositAmountComponent
14845
14973
  ],
14846
14974
  exports: [
14847
- TransactionHeaderDownpaymentAmountComponent
14975
+ TransactionHeaderDepositAmountComponent
14848
14976
  ]
14849
14977
  },] }
14850
14978
  ];
@@ -15197,8 +15325,8 @@ CheckoutModule.decorators = [
15197
15325
  TransactionHeaderRemarksModule,
15198
15326
  TransactionHeaderReferenceModule,
15199
15327
  TransactionHeaderRelationReferenceModule,
15200
- TransactionHeaderDownpaymentPercentageModule,
15201
- TransactionHeaderDownpaymentAmountModule,
15328
+ TransactionHeaderDepositPercentageModule,
15329
+ TransactionHeaderDepositAmountModule,
15202
15330
  TransactionHeaderDefinitiveModule,
15203
15331
  TransactionHeaderBranchModule,
15204
15332
  TransactionHeaderAdministrativeRelationModule,
@@ -15213,7 +15341,6 @@ CheckoutModule.decorators = [
15213
15341
  CheckoutComponent,
15214
15342
  ],
15215
15343
  providers: [
15216
- DictionaryService,
15217
15344
  OptionsService
15218
15345
  ],
15219
15346
  entryComponents: [
@@ -15487,12 +15614,14 @@ class TransactionComponent {
15487
15614
  if (sidePanelComponent) {
15488
15615
  sidePanelComponent.handleCancelClick();
15489
15616
  }
15490
- this.sidePanelTransactionLine = line;
15491
- this._dynamicComponentService.createComponent(TransactionLineSidePanelComponent, {
15492
- transactionInfo: this.transaction.transactionInfo,
15493
- transactionLine: this.sidePanelTransactionLine,
15494
- activeCategory: this.activeCategory
15495
- });
15617
+ if (line) {
15618
+ this.sidePanelTransactionLine = line;
15619
+ this._dynamicComponentService.createComponent(TransactionLineSidePanelComponent, {
15620
+ transactionInfo: this.transaction.transactionInfo,
15621
+ transactionLine: this.sidePanelTransactionLine,
15622
+ activeCategory: this.activeCategory
15623
+ });
15624
+ }
15496
15625
  }
15497
15626
  }
15498
15627
  TransactionComponent.decorators = [
@@ -16094,13 +16223,13 @@ class TransactionHeaderPaymentComponent extends TransactionBaseComponent {
16094
16223
  });
16095
16224
  }
16096
16225
  transactionSet() {
16097
- this._getDownpaymentInfo();
16226
+ this._getDepositPaymentInfo();
16098
16227
  }
16099
- _getDownpaymentInfo() {
16100
- this._paymentService.getDownPaymentInfo(this.transactionInfo.uuid).then((info) => {
16228
+ _getDepositPaymentInfo() {
16229
+ this._paymentService.getDepositPaymentInfo(this.transactionInfo.uuid).then((info) => {
16101
16230
  if (info) {
16102
- this.toPay = info.toDownPayAmount;
16103
- this.paid = info.payedDownAmount;
16231
+ this.toPay = info.depositAmount;
16232
+ this.paid = info.depositPaymentAmountTotal;
16104
16233
  }
16105
16234
  });
16106
16235
  }
@@ -16129,20 +16258,20 @@ TransactionHeaderPaymentComponent.decorators = [
16129
16258
  </div>
16130
16259
  </ng-template>
16131
16260
  <ng-template #firstBlock>
16132
- <div class="header-downpayment-label co-transaction-label" [textContent]="'DOWNPAYMENT_PERCENTAGE' | localize"></div>
16133
- <co-transaction-header-downpayment-percentage class="transaction-header-downpayment"
16261
+ <div class="header-deposit-label co-transaction-label" [textContent]="'DOWNPAYMENT_PERCENTAGE' | localize"></div>
16262
+ <co-transaction-header-deposit-percentage class="transaction-header-deposit"
16134
16263
  [transactionInfo]="transactionInfo"
16135
16264
  [defaultEditMode]="false"
16136
16265
  [showLabel]="false"
16137
- ></co-transaction-header-downpayment-percentage>
16266
+ ></co-transaction-header-deposit-percentage>
16138
16267
  </ng-template>
16139
16268
  <ng-template #secondBlock>
16140
- <div class="header-downpayment-label co-transaction-label" [textContent]="'DOWNPAYMENT_AMOUNT' | localize"></div>
16141
- <co-transaction-header-downpayment-amount class="transaction-header-downpayment"
16269
+ <div class="header-deposit-label co-transaction-label" [textContent]="'DOWNPAYMENT_AMOUNT' | localize"></div>
16270
+ <co-transaction-header-deposit-amount class="transaction-header-deposit"
16142
16271
  [transactionInfo]="transactionInfo"
16143
16272
  [defaultEditMode]="false"
16144
16273
  [showLabel]="false"
16145
- ></co-transaction-header-downpayment-amount>
16274
+ ></co-transaction-header-deposit-amount>
16146
16275
  </ng-template>
16147
16276
  <co-dialog class="transaction-header-payment-dialog" [headerTemplate]="headerTemplate" *ngIf="showDialog" (closeClick)="showDialog = false">
16148
16277
  <ng-template #headerTemplate>
@@ -16196,8 +16325,8 @@ TransactionHeaderPaymentModule.decorators = [
16196
16325
  CoDialogModule,
16197
16326
  PaymentModule,
16198
16327
  IconModule,
16199
- TransactionHeaderDownpaymentPercentageModule,
16200
- TransactionHeaderDownpaymentAmountModule,
16328
+ TransactionHeaderDepositPercentageModule,
16329
+ TransactionHeaderDepositAmountModule,
16201
16330
  DialogTransactionHeaderDiscountModule
16202
16331
  ],
16203
16332
  declarations: [
@@ -16265,7 +16394,7 @@ class TransactionLineStatusbarComponent extends TransactionBaseComponent {
16265
16394
  }
16266
16395
  setStatusbardataForSalesOrder() {
16267
16396
  this.statusbarData = [
16268
- this.getStatusbarLine("TO_ORDER", this.transactionLine.amount),
16397
+ this.getStatusbarLine("ORDERED", this.transactionLine.amount),
16269
16398
  this.getStatusbarLine("ALLOCATED", this.transactionLine.quantityAllocatedFromStock),
16270
16399
  this.getStatusbarLine("PLANNING_REQUESTED", this.transactionLine.quantityPlanningRequested),
16271
16400
  this.getStatusbarLine("PLANNING_PREFERRED_DATE_ENTERED", this.transactionLine.quantityPlanningPreferredDateEntered),
@@ -16278,7 +16407,6 @@ class TransactionLineStatusbarComponent extends TransactionBaseComponent {
16278
16407
  }
16279
16408
  setStatusbarDataForPurchaseOrder() {
16280
16409
  this.statusbarData = [
16281
- this.getStatusbarLine("IN_ORDER", this.transactionLine.amount),
16282
16410
  this.getStatusbarLine("CONFIRMED", this.transactionLine.quantityPurchaseConfirmed),
16283
16411
  this.getStatusbarLine("TRANSPORT_NOTIFICATION", this.transactionLine.quantityTransportNotification),
16284
16412
  //this.getStatusbarLine(),// Vooraangemeld todo: als BE gereed is
@@ -17448,7 +17576,7 @@ TransactionLinePriceComponent.decorators = [
17448
17576
  { type: Component, args: [{
17449
17577
  selector: "co-transaction-line-price",
17450
17578
  template: `
17451
- <span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionLine.price | coCurrency"></span>
17579
+ <span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionLine.price || purchasePortalLine.confirmedPrice | coCurrency"></span>
17452
17580
  <co-input-text #input *ngIf="editMode || defaultEditMode"
17453
17581
  [noStyle]="true"
17454
17582
  [hideArrowButtons]="true"
@@ -17456,7 +17584,7 @@ TransactionLinePriceComponent.decorators = [
17456
17584
  [type]="'number'"
17457
17585
  [showSaveCancel]="!readonly"
17458
17586
  [readonly]="readonly"
17459
- [model]="transactionLine.price"
17587
+ [model]="transactionLine.price || purchasePortalLine.confirmedPrice"
17460
17588
  (blur)="editMode = false"
17461
17589
  ></co-input-text>
17462
17590
  `,
@@ -20149,7 +20277,9 @@ TransactionQuickAccessOrderConfirmationModule.decorators = [
20149
20277
  InputCheckboxModule,
20150
20278
  PipeModule,
20151
20279
  SendMethodDialogModule,
20152
- QuickSendButtonModule
20280
+ QuickSendButtonModule,
20281
+ CheckmarkOverlayModule,
20282
+ IconModule
20153
20283
  ],
20154
20284
  declarations: [
20155
20285
  TransactionQuickAccessOrderConfirmationComponent
@@ -20299,7 +20429,8 @@ TransactionQuickAccessOrderPurchaseModule.decorators = [
20299
20429
  IconModule,
20300
20430
  PipeModule,
20301
20431
  SendMethodDialogModule,
20302
- QuickSendButtonModule
20432
+ QuickSendButtonModule,
20433
+ CheckmarkOverlayModule
20303
20434
  ],
20304
20435
  declarations: [
20305
20436
  TransactionQuickAccessOrderPurchaseComponent
@@ -21058,6 +21189,9 @@ class TransactionBaseLineComponent extends TransactionBaseComponent {
21058
21189
  showClass() {
21059
21190
  return true;
21060
21191
  }
21192
+ ngOnDestroy() {
21193
+ this._transactionEventService.openSidePanel.next(null);
21194
+ }
21061
21195
  deleteTransactionLineClick(event) {
21062
21196
  return __awaiter(this, void 0, void 0, function* () {
21063
21197
  event.preventDefault();
@@ -21386,7 +21520,8 @@ TransactionLineDeliveryDateButtonComponent.decorators = [
21386
21520
  template: `
21387
21521
  <div class="transaction-line-button custom-width no-border">
21388
21522
  <span [textContent]="'DELIVERY_DATE' | localize | append:':'"></span>
21389
- <span class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.deliveryDate | date:'dd MMM YYYY'"></span>
21523
+ <span *ngIf="transactionLine" class="co-transaction-overflow-ellipsis" [textContent]="transactionLine.deliveryDate | date:'dd MMM YYYY'"></span>
21524
+ <span *ngIf="purchasePortalLine" class="co-transaction-overflow-ellipsis" [textContent]="purchasePortalLine.deliveryDateConfirmed | date:'dd MMM YYYY'"></span>
21390
21525
  <co-icon class="header-delivery-date-icon" [iconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"></co-icon>
21391
21526
  </div>
21392
21527
  `,
@@ -21398,6 +21533,7 @@ TransactionLineDeliveryDateButtonComponent.ctorParameters = () => [
21398
21533
  ];
21399
21534
  TransactionLineDeliveryDateButtonComponent.propDecorators = {
21400
21535
  transactionLine: [{ type: Input }],
21536
+ purchasePortalLine: [{ type: Input }],
21401
21537
  showClass: [{ type: HostBinding, args: ["class.co-transaction-line-delivery-date-button",] }]
21402
21538
  };
21403
21539
 
@@ -21903,6 +22039,33 @@ TransactionGoodsAllocationLineModule.decorators = [
21903
22039
  },] }
21904
22040
  ];
21905
22041
 
22042
+ class TransactionPurchaseOrderLineModule {
22043
+ }
22044
+ TransactionPurchaseOrderLineModule.decorators = [
22045
+ { type: NgModule, args: [{
22046
+ imports: [
22047
+ CommonModule,
22048
+ TransactionBaseLineModule,
22049
+ TransactionLineStatusbarModule,
22050
+ TransactionLineDeliveryDateModule,
22051
+ TransactionLinePriceModule,
22052
+ CoCurrencyPipeModule,
22053
+ PipeModule,
22054
+ TransactionLineSupplierModule,
22055
+ TransactionLineDeliveryDateButtonModule,
22056
+ InputNumberPickerModule,
22057
+ TransactionLineSupplierButtonModule,
22058
+ IconModule
22059
+ ],
22060
+ declarations: [
22061
+ TransactionPurchaseOrderLineComponent
22062
+ ],
22063
+ exports: [
22064
+ TransactionPurchaseOrderLineComponent
22065
+ ]
22066
+ },] }
22067
+ ];
22068
+
21906
22069
  class TransactionCardComponent extends TransactionBaseComponent {
21907
22070
  constructor(transactionService, _mappingService, _compFactoryResolver, appRef, injector) {
21908
22071
  super(transactionService);
@@ -22269,6 +22432,7 @@ TransactionModule.decorators = [
22269
22432
  TransactionPurchaseLineModule,
22270
22433
  QuickSendButtonModule,
22271
22434
  TransactionGoodsAllocationLineModule,
22435
+ TransactionPurchaseOrderLineModule,
22272
22436
  TransactionCardModule
22273
22437
  ],
22274
22438
  declarations: [
@@ -25043,5 +25207,5 @@ TransactionLineGridModule.decorators = [
25043
25207
  * Generated bundle index. Do not edit.
25044
25208
  */
25045
25209
 
25046
- export { CheckoutComponent, CheckoutModule, ContentViewMode, LoaderComponent, LoaderModule, RelationService, SearchViewMode, SearchbarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionFilterComponent, TransactionFilterModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchHeaderComponent, TransactionSearchHeaderModule, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, OptionsService as ɵb, ConfirmationDialogComponent as ɵba, DialogBaseComponent as ɵbb, IconCacheService as ɵbc, CharacteristicAnswerModule as ɵbd, CharacteristicAnswerComponent as ɵbe, WarehouseModule as ɵbf, WarehouseComponent as ɵbg, ToastModule as ɵbh, ToastComponent as ɵbi, ImageDisplayComponent as ɵbj, IconComponent as ɵbk, CustomerGroupsComponent as ɵbl, StockStatusIndicatorComponent as ɵbm, LazyRenderMasterDirective as ɵbn, LazyRenderDirective as ɵbo, RelationAddressModule as ɵbp, RelationAddressComponent as ɵbq, RelationBaseComponent as ɵbr, RelationAddressSelectModule as ɵbs, RelationAddressTileModule as ɵbt, TileModule as ɵbu, TileComponent as ɵbv, RelationAddressTileComponent as ɵbw, RelationAddressSelectComponent as ɵbx, StepperModule as ɵby, StepperComponent as ɵbz, DictionaryService as ɵc, StepperStepComponent as ɵca, TransactionLineModule as ɵcb, TransactionLineComponent as ɵcc, TransactionBaseComponent as ɵcd, TransactionMappingService as ɵce, TransactionArticleTextModule as ɵcf, TransactionLineImageAndDescriptionModule as ɵcg, TransactionLineDescriptionModule as ɵch, TransactionLineDescriptionComponent as ɵci, TransactionInputFieldBaseComponent as ɵcj, TransactionLineImageAndDescriptionComponent as ɵck, TransactionImageService as ɵcl, TransactionArticleTextComponent as ɵcm, TransactionReceiveGoodsService as ɵcn, DialogTransactionHeaderDiscountModule as ɵco, TransactionHeaderDiscountPercentageModule as ɵcp, TransactionHeaderDiscountPercentageComponent as ɵcq, TransactionHeaderDiscountAmountModule as ɵcr, TransactionHeaderDiscountAmountComponent as ɵcs, TransactionHeaderDiscountTransactionTotalModule as ɵct, TransactionHeaderDiscountTransactionTotalComponent as ɵcu, DialogTransactionHeaderDiscountComponent as ɵcv, DialogTransactionBaseComponent as ɵcw, AvatarModule as ɵcx, AvatarComponent as ɵcy, SharedService as ɵcz, DialogService as ɵd, SharedConnectorService as ɵda, DeliveryTypeTileModule as ɵdb, DeliveryTypeTileComponent as ɵdc, PaymentModule as ɵdd, PaymentTileModule as ɵde, PaymentTileComponent as ɵdf, PaymentQrCodeModule as ɵdg, PaymentQrCodeComponent as ɵdh, DownPaymentModule as ɵdi, DownPaymentComponent as ɵdj, PaymentService as ɵdk, PaymentComponent as ɵdl, RelationTypeModule as ɵdm, RelationTypeComponent as ɵdn, RelationGeneralModule as ɵdo, RelationSuggestionsListModule as ɵdp, RelationSuggestionsListItemModule as ɵdq, RelationSuggestionsListItemComponent as ɵdr, RelationSuggestionsListComponent as ɵds, RelationGeneralComponent as ɵdt, RelationAddressesModule as ɵdu, RelationAddressesComponent as ɵdv, RelationContactDetailsModule as ɵdw, RelationContactDetailsComponent as ɵdx, RelationPreferencesModule as ɵdy, RelationPreferencesComponent as ɵdz, DynamicComponentService as ɵe, TransactionHeaderBlockModule as ɵea, TransactionHeaderBlockComponent as ɵeb, TransactionHeaderDeliveryDateModule as ɵec, TransactionHeaderDeliveryDateComponent as ɵed, TransactionHeaderDeliveryOptionsModule as ɵee, TransactionHeaderDeliveryOptionsComponent as ɵef, TransactionHeaderRemarksModule as ɵeg, TransactionHeaderRemarksComponent as ɵeh, TransactionHeaderReferenceModule as ɵei, TransactionHeaderReferenceComponent as ɵej, TransactionHeaderRelationReferenceModule as ɵek, TransactionHeaderRelationReferenceComponent as ɵel, TransactionHeaderDeliveryMethodModule as ɵem, TransactionLineCheckboxModule as ɵen, TransactionLineCheckboxListComponent as ɵeo, TransactionHeaderDeliveryMethodComponent as ɵep, TransactionFilterPopupBaseComponent as ɵeq, TransactionHeaderPreferredDeliveryDateModule as ɵer, TransactionHeaderPreferredDeliveryDateComponent as ɵes, DialogTransactionHeaderDeliveryMethodModule as ɵet, DialogHeaderSearchModule as ɵeu, DialogHeaderSearchComponent as ɵev, DialogTransactionHeaderDeliveryMethodComponent as ɵew, TransactionHeaderPartialDeliveryModule as ɵex, TransactionHeaderPartialDeliveryComponent as ɵey, TransactionHeaderDownpaymentPercentageModule as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDownpaymentPercentageComponent as ɵfa, TransactionHeaderDownpaymentAmountModule as ɵfb, TransactionHeaderDownpaymentAmountComponent as ɵfc, TransactionHeaderDefinitiveModule as ɵfd, TransactionHeaderDefinitiveComponent as ɵfe, TransactionHeaderBranchModule as ɵff, TransactionHeaderBranchComponent as ɵfg, TransactionHeaderAdministrativeRelationModule as ɵfh, TransactionHeaderAdministrativeRelationComponent as ɵfi, TransactionHeaderMarketingModule as ɵfj, TransactionHeaderMarketingComponent as ɵfk, CheckoutOverviewRelationEditComponent as ɵfl, CheckoutOverviewDeliveryEditComponent as ɵfm, CheckoutOverviewDeliveryAddressComponent as ɵfn, CheckoutOverviewPaymentComponent as ɵfo, CheckoutLoginComponent as ɵfp, TransactionFilterCategoriesModule as ɵfq, TransactionFilterCategoriesComponent as ɵfr, TransactionHeaderDiscountButtonModule as ɵfs, TransactionHeaderDiscountButtonComponent as ɵft, TransactionHeaderPaymentModule as ɵfu, TransactionHeaderPaymentComponent as ɵfv, TransactionLinesGridModule as ɵfw, TransactionBaseGridModule as ɵfx, TransactionLineSidePanelModule as ɵfy, TransactionLineSidePanelDefaultModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLinePriceListModule as ɵga, TransactionLinePriceListComponent as ɵgb, TransactionLineVatModule as ɵgc, TransactionLineVatComponent as ɵgd, TransactionLineQuantityModule as ɵge, TransactionLineQuantityComponent as ɵgf, TransactionLineLineDiscountModule as ɵgg, TransactionLineLineDiscountComponent as ɵgh, TransactionLineDeliveryMethodModule as ɵgi, TransactionLineDeliveryMethodComponent as ɵgj, TransactionLineDeliveryDateModule as ɵgk, TransactionLineDeliveryDateComponent as ɵgl, TransactionLineReferenceModule as ɵgm, TransactionLineReferenceComponent as ɵgn, TransactionLineCommissionCodeModule as ɵgo, TransactionLineCommissionCodeComponent as ɵgp, TransactionLineWarehouseModule as ɵgq, TransactionLineWarehouseComponent as ɵgr, TransactionLineDiscountAmountModule as ɵgs, TransactionLineDiscountAmountComponent as ɵgt, TransactionLineQuantumDiscountModule as ɵgu, TransactionLineQuantumDiscountComponent as ɵgv, TransactionLineSpecialDiscountModule as ɵgw, TransactionLineSpecialDiscountComponent as ɵgx, TransactionLineSupplierModule as ɵgy, TransactionLineSupplierComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLinePriceModule as ɵha, TransactionLinePriceComponent as ɵhb, TransactionLineSidePanelDefaultComponent as ɵhc, TransactionReceivingGoodsHistoryModule as ɵhd, TransactionHistoryGridModule as ɵhe, TransactionHistoryGridStatusModule as ɵhf, TransactionHistoryGridStatusComponent as ɵhg, TransactionHistoryGridComponent as ɵhh, TransactionReceivingGoodsHistoryComponent as ɵhi, TransactionButtonBarModule as ɵhj, AnimatedCheckboxModule as ɵhk, AnimatedCheckboxComponent as ɵhl, TransactionButtonBarComponent as ɵhm, TransactionButtonBarButtonComponent as ɵhn, TransactionButtonBarButtonBaseComponent as ɵho, TransactionSalesPurchaseButtonBarButtonComponent as ɵhp, TransactionLineSidePanelPurchaseModule as ɵhq, DefaultOkCancelButtonsModule as ɵhr, DefaultOkCancelButtonsComponent as ɵhs, TransactionAvailableStockGridModule as ɵht, TransactionAvailableStockGridComponent as ɵhu, TransactionSidePanelEditRequestDetailsModule as ɵhv, TransactionLineWarehouseLocationButtonModule as ɵhw, TransactionLineWarehouseLocationButtonComponent as ɵhx, TransactionSidePanelEditRequestDetailsComponent as ɵhy, AllocationRequestComponent as ɵhz, BusinessObjectCacheManagerService as ɵi, ReceiveGoodsRequestComponent as ɵia, ArticleService as ɵib, TransactionLineSidePanelPurchaseComponent as ɵic, TransactionLineSidePanelSalesModule as ɵid, TransactionAllocateGoodsHistoryModule as ɵie, TransactionAllocateGoodsHistoryComponent as ɵif, TransactionLineSidePanelSalesComponent as ɵig, TransactionLineSidePanelComponent as ɵih, DynamicBaseComponent as ɵii, TransactionLineActionButtonsModule as ɵij, TransactionArticleTextOverviewModule as ɵik, TransactionArticleTextOverviewComponent as ɵil, TransactionLineActionButtonsComponent as ɵim, TransactionBaseGridComponent as ɵin, TransactionGridBaseComponent as ɵio, DialogTransactionLineCommissionCodeModule as ɵip, DialogTransactionLineCommissionCodeComponent as ɵiq, DialogTransactionLineWarehouseModule as ɵir, DialogTransactionLineWarehouseComponent as ɵis, DialogTransactionLineWarehouseCcModule as ɵit, DialogTransactionLineWarehouseCcComponent as ɵiu, DialogTransactionLineDeliveryMethodModule as ɵiv, DialogTransactionLineDeliveryMethodComponent as ɵiw, DialogTransactionLineVatModule as ɵix, DialogTransactionLineVatComponent as ɵiy, DialogTransactionLineDiscountModule as ɵiz, CacheField as ɵj, DialogTransactionLinePriceListModule as ɵja, DialogTransactionLinePriceListComponent as ɵjb, DialogTransactionLineDiscountComponent as ɵjc, TransactionLinesGridComponent as ɵjd, DiscountModule as ɵje, DiscountComponent as ɵjf, QuickSendButtonModule as ɵjg, QuickSendButtonComponent as ɵjh, TransactionQuickAccessOverviewModule as ɵji, DialogCatalogModule as ɵjj, DialogCatalogComponent as ɵjk, TransactionQuickAccessOverviewComponent as ɵjl, TransactionQuickAccessSendMethodBaseComponent as ɵjm, TransactionQuickAccessOrderDeliveryModule as ɵjn, TransactionQuickAccessOrderDeliveryComponent as ɵjo, TransactionOrderDeliveryService as ɵjp, TransactionQuickAccessOrderPurchaseModule as ɵjq, TransactionQuickAccessOrderPurchaseComponent as ɵjr, TransactionQuickAccessGoodsAllocationModule as ɵjs, TransactionQuickAccessGoodsAllocationComponent as ɵjt, TransactionAllocateGoodsService as ɵju, TransactionQuickAccessPurchaseOrderOverviewModule as ɵjv, TransactionQuickAccessPurchaseOrderOverviewComponent as ɵjw, TransactionOrderConfirmationGridModule as ɵjx, TransactionOrderConfirmationGridComponent as ɵjy, TransactionReceivedGoodsGridModule as ɵjz, SelectMultipleParameterizedCacheService as ɵk, DialogTransactionLineWarehouseLocationModule as ɵka, TransactionLineWarehouseLocationModule as ɵkb, TransactionLineWarehouseLocationComponent as ɵkc, DialogTransactionLineWarehouseLocationComponent as ɵkd, TransactionReceivedGoodsGridComponent as ɵke, ViewModeButtonsModule as ɵkf, ViewModeButtonsComponent as ɵkg, TransactionGridModule as ɵkh, TransactionGridComponent as ɵki, TransactionTileModule as ɵkj, TransactionTileComponent as ɵkk, TransactionOverviewLineModule as ɵkl, EditableLabelModule as ɵkm, EditableLabelComponent as ɵkn, TransactionBaseLineModule as ɵko, TransactionBaseLineComponent as ɵkp, TransactionLineCommissionButtonModule as ɵkq, TransactionLineCommissionButtonComponent as ɵkr, TransactionLineWarehouseButtonModule as ɵks, TransactionLineWarehouseButtonComponent as ɵkt, TransactionLineDeliveryButtonModule as ɵku, TransactionLineDeliveryButtonComponent as ɵkv, TransactionLineDeliveryDateButtonModule as ɵkw, TransactionLineDeliveryDateButtonComponent as ɵkx, TransactionLineAmountModule as ɵky, TransactionLineAmountComponent as ɵkz, ErrorService as ɵl, TransactionLineVatButtonModule as ɵla, TransactionLineVatButtonComponent as ɵlb, TransactionLineDiscountButtonModule as ɵlc, TransactionLineDiscountButtonComponent as ɵld, TransactionOverviewLineComponent as ɵle, TransactionOrderDeliveryLineModule as ɵlf, TransactionOrderDeliveryLineComponent as ɵlg, TransactionReceiveGoodsLineModule as ɵlh, TransactionReceiveGoodsLineComponent as ɵli, TransactionPurchaseLineModule as ɵlj, TransactionLineSupplierButtonModule as ɵlk, DialogTransactionLineSupplierModule as ɵll, DialogTransactionLineSupplierComponent as ɵlm, TransactionLineSupplierButtonComponent as ɵln, TransactionPurchaseLineComponent as ɵlo, TransactionGoodsAllocationLineModule as ɵlp, TransactionGoodsAllocationLineComponent as ɵlq, TransactionCardModule as ɵlr, TransactionCardPurchaseOverviewModule as ɵls, TransactionCardHeaderModule as ɵlt, TransactionCardHeaderComponent as ɵlu, TransactionCardFooterModule as ɵlv, TransactionCardFooterComponent as ɵlw, TransactionCardPurchaseOverviewComponent as ɵlx, TransactionCardSalesOverviewModule as ɵly, TransactionCardSalesOverviewComponent as ɵlz, SelectSingleCacheService as ɵm, TransactionCardComponent as ɵma, TransactionSearchResultModule as ɵmb, TransactionSearchSalesOrderTileModule as ɵmc, TransactionSearchSalesOrderTileComponent as ɵmd, TransactionSearchTileBaseComponent as ɵme, TransactionSearchPurchaseOrderTileModule as ɵmf, TransactionSearchPurchaseOrderTileComponent as ɵmg, TransactionSearchSalesOrderGridModule as ɵmh, TransactionSearchSalesOrderGridComponent as ɵmi, TransactionSearchGridBaseComponent as ɵmj, TransactionSearchPurchaseOrderGridModule as ɵmk, TransactionSearchPurchaseOrderGridComponent as ɵml, TransactionSearchGridModule as ɵmm, TransactionSearchGridComponent as ɵmn, TransactionSearchTileModule as ɵmo, TransactionSearchTileComponent as ɵmp, TransactionSearchResultComponent as ɵmq, TransactionSalesOrderFilterModule as ɵmr, TransactionSalesOrderFilterContentOrderModule as ɵms, TransactionFilterItemModule as ɵmt, TransactionFilterItemComponent as ɵmu, TransactionSalesOrderFilterContentOrderComponent as ɵmv, TransactionFilterContentBaseComponent as ɵmw, FilterRequestService as ɵmx, TransactionSalesOrderFilterContentLogisticsModule as ɵmy, TransactionFilterHistoricStateModule as ɵmz, ArticleConnectorService as ɵn, TransactionFilterHistoricStateComponent as ɵna, TransactionSalesOrderFilterContentLogisticsComponent as ɵnb, TransactionSalesOrderFilterContentArticleModule as ɵnc, TransactionSalesOrderFilterContentArticleComponent as ɵnd, TransactionSalesOrderFilterComponent as ɵne, TransactionFilterBaseComponent as ɵnf, TransactionPurchaseOrderFilterModule as ɵng, TransactionPurchaseOrderFilterContentOrderModule as ɵnh, TransactionPurchaseOrderFilterContentOrderComponent as ɵni, TransactionPurchaseOrderFilterContentLogisticsModule as ɵnj, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵnk, TransactionPurchaseOrderFilterContentArticleModule as ɵnl, TransactionPurchaseOrderFilterContentArticleComponent as ɵnm, TransactionPurchaseOrderFilterComponent as ɵnn, TransactionEventService as ɵo, RelationConnectorService as ɵp, CoreModule as ɵq, ConfirmationDialogModule as ɵr, PipeModule as ɵs, AppendPipe as ɵt, DeliveryTimePipe as ɵu, DateDurationPipe as ɵv, LocalizePipe as ɵw, CoCurrencyPipe as ɵx, SafeStylePipe as ɵy, SafeHtmlPipe as ɵz };
25210
+ export { CheckoutComponent, CheckoutModule, ContentViewMode, LoaderComponent, LoaderModule, RelationService, SearchViewMode, SearchbarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionFilterComponent, TransactionFilterModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchHeaderComponent, TransactionSearchHeaderModule, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, OptionsService as ɵb, ConfirmationDialogComponent as ɵba, DialogBaseComponent as ɵbb, IconCacheService as ɵbc, CharacteristicAnswerModule as ɵbd, CharacteristicAnswerComponent as ɵbe, WarehouseModule as ɵbf, WarehouseComponent as ɵbg, ToastModule as ɵbh, ToastComponent as ɵbi, ImageDisplayComponent as ɵbj, IconComponent as ɵbk, CustomerGroupsComponent as ɵbl, StockStatusIndicatorComponent as ɵbm, LazyRenderMasterDirective as ɵbn, LazyRenderDirective as ɵbo, RelationAddressModule as ɵbp, RelationAddressComponent as ɵbq, RelationBaseComponent as ɵbr, RelationAddressSelectModule as ɵbs, RelationAddressTileModule as ɵbt, TileModule as ɵbu, TileComponent as ɵbv, RelationAddressTileComponent as ɵbw, RelationAddressSelectComponent as ɵbx, StepperModule as ɵby, StepperComponent as ɵbz, DictionaryService as ɵc, StepperStepComponent as ɵca, TransactionLineModule as ɵcb, TransactionLineComponent as ɵcc, TransactionBaseComponent as ɵcd, TransactionMappingService as ɵce, TransactionArticleTextModule as ɵcf, TransactionLineImageAndDescriptionModule as ɵcg, TransactionLineDescriptionModule as ɵch, TransactionLineDescriptionComponent as ɵci, TransactionInputFieldBaseComponent as ɵcj, TransactionLineImageAndDescriptionComponent as ɵck, TransactionImageService as ɵcl, TransactionArticleTextComponent as ɵcm, TransactionReceiveGoodsService as ɵcn, DialogTransactionHeaderDiscountModule as ɵco, TransactionHeaderDiscountPercentageModule as ɵcp, TransactionHeaderDiscountPercentageComponent as ɵcq, TransactionHeaderDiscountAmountModule as ɵcr, TransactionHeaderDiscountAmountComponent as ɵcs, TransactionHeaderDiscountTransactionTotalModule as ɵct, TransactionHeaderDiscountTransactionTotalComponent as ɵcu, DialogTransactionHeaderDiscountComponent as ɵcv, DialogTransactionBaseComponent as ɵcw, AvatarModule as ɵcx, AvatarComponent as ɵcy, SharedService as ɵcz, DialogService as ɵd, SharedConnectorService as ɵda, DeliveryTypeTileModule as ɵdb, DeliveryTypeTileComponent as ɵdc, PaymentModule as ɵdd, PaymentTileModule as ɵde, PaymentTileComponent as ɵdf, PaymentQrCodeModule as ɵdg, PaymentQrCodeComponent as ɵdh, DepositPaymentModule as ɵdi, DepositPaymentComponent as ɵdj, PaymentService as ɵdk, PaymentComponent as ɵdl, RelationTypeModule as ɵdm, RelationTypeComponent as ɵdn, RelationGeneralModule as ɵdo, RelationSuggestionsListModule as ɵdp, RelationSuggestionsListItemModule as ɵdq, RelationSuggestionsListItemComponent as ɵdr, RelationSuggestionsListComponent as ɵds, RelationGeneralComponent as ɵdt, RelationAddressesModule as ɵdu, RelationAddressesComponent as ɵdv, RelationContactDetailsModule as ɵdw, RelationContactDetailsComponent as ɵdx, RelationPreferencesModule as ɵdy, RelationPreferencesComponent as ɵdz, DynamicComponentService as ɵe, TransactionHeaderBlockModule as ɵea, TransactionHeaderBlockComponent as ɵeb, TransactionHeaderDeliveryDateModule as ɵec, TransactionHeaderDeliveryDateComponent as ɵed, TransactionHeaderDeliveryOptionsModule as ɵee, TransactionHeaderDeliveryOptionsComponent as ɵef, TransactionHeaderRemarksModule as ɵeg, TransactionHeaderRemarksComponent as ɵeh, TransactionHeaderReferenceModule as ɵei, TransactionHeaderReferenceComponent as ɵej, TransactionHeaderRelationReferenceModule as ɵek, TransactionHeaderRelationReferenceComponent as ɵel, TransactionHeaderDeliveryMethodModule as ɵem, TransactionLineCheckboxModule as ɵen, TransactionLineCheckboxListComponent as ɵeo, TransactionHeaderDeliveryMethodComponent as ɵep, TransactionFilterPopupBaseComponent as ɵeq, TransactionHeaderPreferredDeliveryDateModule as ɵer, TransactionHeaderPreferredDeliveryDateComponent as ɵes, DialogTransactionHeaderDeliveryMethodModule as ɵet, DialogHeaderSearchModule as ɵeu, DialogHeaderSearchComponent as ɵev, DialogTransactionHeaderDeliveryMethodComponent as ɵew, TransactionHeaderPartialDeliveryModule as ɵex, TransactionHeaderPartialDeliveryComponent as ɵey, TransactionHeaderDepositPercentageModule as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDepositPercentageComponent as ɵfa, TransactionHeaderDepositAmountModule as ɵfb, TransactionHeaderDepositAmountComponent as ɵfc, TransactionHeaderDefinitiveModule as ɵfd, TransactionHeaderDefinitiveComponent as ɵfe, TransactionHeaderBranchModule as ɵff, TransactionHeaderBranchComponent as ɵfg, TransactionHeaderAdministrativeRelationModule as ɵfh, TransactionHeaderAdministrativeRelationComponent as ɵfi, TransactionHeaderMarketingModule as ɵfj, TransactionHeaderMarketingComponent as ɵfk, CheckoutOverviewRelationEditComponent as ɵfl, CheckoutOverviewDeliveryEditComponent as ɵfm, CheckoutOverviewDeliveryAddressComponent as ɵfn, CheckoutOverviewPaymentComponent as ɵfo, CheckoutLoginComponent as ɵfp, TransactionFilterCategoriesModule as ɵfq, TransactionFilterCategoriesComponent as ɵfr, TransactionHeaderDiscountButtonModule as ɵfs, TransactionHeaderDiscountButtonComponent as ɵft, TransactionHeaderPaymentModule as ɵfu, TransactionHeaderPaymentComponent as ɵfv, TransactionLinesGridModule as ɵfw, TransactionBaseGridModule as ɵfx, TransactionLineSidePanelModule as ɵfy, TransactionLineSidePanelDefaultModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLinePriceListModule as ɵga, TransactionLinePriceListComponent as ɵgb, TransactionLineVatModule as ɵgc, TransactionLineVatComponent as ɵgd, TransactionLineQuantityModule as ɵge, TransactionLineQuantityComponent as ɵgf, TransactionLineLineDiscountModule as ɵgg, TransactionLineLineDiscountComponent as ɵgh, TransactionLineDeliveryMethodModule as ɵgi, TransactionLineDeliveryMethodComponent as ɵgj, TransactionLineDeliveryDateModule as ɵgk, TransactionLineDeliveryDateComponent as ɵgl, TransactionLineReferenceModule as ɵgm, TransactionLineReferenceComponent as ɵgn, TransactionLineCommissionCodeModule as ɵgo, TransactionLineCommissionCodeComponent as ɵgp, TransactionLineWarehouseModule as ɵgq, TransactionLineWarehouseComponent as ɵgr, TransactionLineDiscountAmountModule as ɵgs, TransactionLineDiscountAmountComponent as ɵgt, TransactionLineQuantumDiscountModule as ɵgu, TransactionLineQuantumDiscountComponent as ɵgv, TransactionLineSpecialDiscountModule as ɵgw, TransactionLineSpecialDiscountComponent as ɵgx, TransactionLineSupplierModule as ɵgy, TransactionLineSupplierComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLinePriceModule as ɵha, TransactionLinePriceComponent as ɵhb, TransactionLineSidePanelDefaultComponent as ɵhc, TransactionReceivingGoodsHistoryModule as ɵhd, TransactionHistoryGridModule as ɵhe, TransactionHistoryGridStatusModule as ɵhf, TransactionHistoryGridStatusComponent as ɵhg, TransactionHistoryGridComponent as ɵhh, TransactionReceivingGoodsHistoryComponent as ɵhi, TransactionButtonBarModule as ɵhj, AnimatedCheckboxModule as ɵhk, AnimatedCheckboxComponent as ɵhl, TransactionButtonBarComponent as ɵhm, TransactionButtonBarButtonComponent as ɵhn, TransactionButtonBarButtonBaseComponent as ɵho, TransactionSalesPurchaseButtonBarButtonComponent as ɵhp, TransactionLineSidePanelPurchaseModule as ɵhq, DefaultOkCancelButtonsModule as ɵhr, DefaultOkCancelButtonsComponent as ɵhs, TransactionAvailableStockGridModule as ɵht, TransactionAvailableStockGridComponent as ɵhu, TransactionSidePanelEditRequestDetailsModule as ɵhv, TransactionLineWarehouseLocationButtonModule as ɵhw, TransactionLineWarehouseLocationButtonComponent as ɵhx, TransactionSidePanelEditRequestDetailsComponent as ɵhy, AllocationRequestComponent as ɵhz, BusinessObjectCacheManagerService as ɵi, ReceiveGoodsRequestComponent as ɵia, ArticleService as ɵib, TransactionLineSidePanelPurchaseComponent as ɵic, TransactionLineSidePanelSalesModule as ɵid, TransactionAllocateGoodsHistoryModule as ɵie, TransactionAllocateGoodsHistoryComponent as ɵif, TransactionLineSidePanelSalesComponent as ɵig, TransactionLineSidePanelComponent as ɵih, DynamicBaseComponent as ɵii, TransactionLineActionButtonsModule as ɵij, TransactionArticleTextOverviewModule as ɵik, TransactionArticleTextOverviewComponent as ɵil, TransactionLineActionButtonsComponent as ɵim, TransactionBaseGridComponent as ɵin, TransactionGridBaseComponent as ɵio, DialogTransactionLineCommissionCodeModule as ɵip, DialogTransactionLineCommissionCodeComponent as ɵiq, DialogTransactionLineWarehouseModule as ɵir, DialogTransactionLineWarehouseComponent as ɵis, DialogTransactionLineWarehouseCcModule as ɵit, DialogTransactionLineWarehouseCcComponent as ɵiu, DialogTransactionLineDeliveryMethodModule as ɵiv, DialogTransactionLineDeliveryMethodComponent as ɵiw, DialogTransactionLineVatModule as ɵix, DialogTransactionLineVatComponent as ɵiy, DialogTransactionLineDiscountModule as ɵiz, CacheField as ɵj, DialogTransactionLinePriceListModule as ɵja, DialogTransactionLinePriceListComponent as ɵjb, DialogTransactionLineDiscountComponent as ɵjc, TransactionLinesGridComponent as ɵjd, DiscountModule as ɵje, DiscountComponent as ɵjf, QuickSendButtonModule as ɵjg, QuickSendButtonComponent as ɵjh, TransactionQuickAccessOverviewModule as ɵji, DialogCatalogModule as ɵjj, DialogCatalogComponent as ɵjk, TransactionQuickAccessOverviewComponent as ɵjl, TransactionQuickAccessSendMethodBaseComponent as ɵjm, TransactionQuickAccessOrderDeliveryModule as ɵjn, TransactionQuickAccessOrderDeliveryComponent as ɵjo, TransactionOrderDeliveryService as ɵjp, TransactionQuickAccessOrderPurchaseModule as ɵjq, TransactionQuickAccessOrderPurchaseComponent as ɵjr, TransactionQuickAccessGoodsAllocationModule as ɵjs, TransactionQuickAccessGoodsAllocationComponent as ɵjt, TransactionAllocateGoodsService as ɵju, TransactionQuickAccessPurchaseOrderOverviewModule as ɵjv, TransactionQuickAccessPurchaseOrderOverviewComponent as ɵjw, TransactionOrderConfirmationGridModule as ɵjx, TransactionOrderConfirmationGridComponent as ɵjy, TransactionReceivedGoodsGridModule as ɵjz, SelectMultipleParameterizedCacheService as ɵk, DialogTransactionLineWarehouseLocationModule as ɵka, TransactionLineWarehouseLocationModule as ɵkb, TransactionLineWarehouseLocationComponent as ɵkc, DialogTransactionLineWarehouseLocationComponent as ɵkd, TransactionReceivedGoodsGridComponent as ɵke, ViewModeButtonsModule as ɵkf, ViewModeButtonsComponent as ɵkg, TransactionGridModule as ɵkh, TransactionGridComponent as ɵki, TransactionTileModule as ɵkj, TransactionTileComponent as ɵkk, TransactionOverviewLineModule as ɵkl, EditableLabelModule as ɵkm, EditableLabelComponent as ɵkn, TransactionBaseLineModule as ɵko, TransactionBaseLineComponent as ɵkp, TransactionLineCommissionButtonModule as ɵkq, TransactionLineCommissionButtonComponent as ɵkr, TransactionLineWarehouseButtonModule as ɵks, TransactionLineWarehouseButtonComponent as ɵkt, TransactionLineDeliveryButtonModule as ɵku, TransactionLineDeliveryButtonComponent as ɵkv, TransactionLineDeliveryDateButtonModule as ɵkw, TransactionLineDeliveryDateButtonComponent as ɵkx, TransactionLineAmountModule as ɵky, TransactionLineAmountComponent as ɵkz, ErrorService as ɵl, TransactionLineVatButtonModule as ɵla, TransactionLineVatButtonComponent as ɵlb, TransactionLineDiscountButtonModule as ɵlc, TransactionLineDiscountButtonComponent as ɵld, TransactionOverviewLineComponent as ɵle, TransactionOrderDeliveryLineModule as ɵlf, TransactionOrderDeliveryLineComponent as ɵlg, TransactionReceiveGoodsLineModule as ɵlh, TransactionReceiveGoodsLineComponent as ɵli, TransactionPurchaseLineModule as ɵlj, TransactionLineSupplierButtonModule as ɵlk, DialogTransactionLineSupplierModule as ɵll, DialogTransactionLineSupplierComponent as ɵlm, TransactionLineSupplierButtonComponent as ɵln, TransactionPurchaseLineComponent as ɵlo, TransactionGoodsAllocationLineModule as ɵlp, TransactionGoodsAllocationLineComponent as ɵlq, TransactionPurchaseOrderLineModule as ɵlr, TransactionPurchaseOrderLineComponent as ɵls, TransactionCardModule as ɵlt, TransactionCardPurchaseOverviewModule as ɵlu, TransactionCardHeaderModule as ɵlv, TransactionCardHeaderComponent as ɵlw, TransactionCardFooterModule as ɵlx, TransactionCardFooterComponent as ɵly, TransactionCardPurchaseOverviewComponent as ɵlz, SelectSingleCacheService as ɵm, TransactionCardSalesOverviewModule as ɵma, TransactionCardSalesOverviewComponent as ɵmb, TransactionCardComponent as ɵmc, TransactionSearchResultModule as ɵmd, TransactionSearchSalesOrderTileModule as ɵme, TransactionSearchSalesOrderTileComponent as ɵmf, TransactionSearchTileBaseComponent as ɵmg, TransactionSearchPurchaseOrderTileModule as ɵmh, TransactionSearchPurchaseOrderTileComponent as ɵmi, TransactionSearchSalesOrderGridModule as ɵmj, TransactionSearchSalesOrderGridComponent as ɵmk, TransactionSearchGridBaseComponent as ɵml, TransactionSearchPurchaseOrderGridModule as ɵmm, TransactionSearchPurchaseOrderGridComponent as ɵmn, TransactionSearchGridModule as ɵmo, TransactionSearchGridComponent as ɵmp, TransactionSearchTileModule as ɵmq, TransactionSearchTileComponent as ɵmr, TransactionSearchResultComponent as ɵms, TransactionSalesOrderFilterModule as ɵmt, TransactionSalesOrderFilterContentOrderModule as ɵmu, TransactionFilterItemModule as ɵmv, TransactionFilterItemComponent as ɵmw, TransactionSalesOrderFilterContentOrderComponent as ɵmx, TransactionFilterContentBaseComponent as ɵmy, FilterRequestService as ɵmz, ArticleConnectorService as ɵn, TransactionSalesOrderFilterContentLogisticsModule as ɵna, TransactionFilterHistoricStateModule as ɵnb, TransactionFilterHistoricStateComponent as ɵnc, TransactionSalesOrderFilterContentLogisticsComponent as ɵnd, TransactionSalesOrderFilterContentArticleModule as ɵne, TransactionSalesOrderFilterContentArticleComponent as ɵnf, TransactionSalesOrderFilterComponent as ɵng, TransactionFilterBaseComponent as ɵnh, TransactionPurchaseOrderFilterModule as ɵni, TransactionPurchaseOrderFilterContentOrderModule as ɵnj, TransactionPurchaseOrderFilterContentOrderComponent as ɵnk, TransactionPurchaseOrderFilterContentLogisticsModule as ɵnl, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵnm, TransactionPurchaseOrderFilterContentArticleModule as ɵnn, TransactionPurchaseOrderFilterContentArticleComponent as ɵno, TransactionPurchaseOrderFilterComponent as ɵnp, TransactionEventService as ɵo, RelationConnectorService as ɵp, CoreModule as ɵq, ConfirmationDialogModule as ɵr, PipeModule as ɵs, AppendPipe as ɵt, DeliveryTimePipe as ɵu, DateDurationPipe as ɵv, LocalizePipe as ɵw, CoCurrencyPipe as ɵx, SafeStylePipe as ɵy, SafeHtmlPipe as ɵz };
25047
25211
  //# sourceMappingURL=colijnit-transaction.js.map