@colijnit/transaction 12.1.121 → 12.1.123

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 (79) hide show
  1. package/bundles/colijnit-transaction.umd.js +845 -625
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +288 -284
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +289 -285
  6. package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -1
  7. package/esm2015/lib/component/checkout/checkout.component.js +9 -15
  8. package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +12 -8
  9. package/esm2015/lib/component/core/base/transaction-base.component.js +4 -2
  10. package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +4 -2
  11. package/esm2015/lib/component/payment/payment.component.js +7 -2
  12. package/esm2015/lib/component/transaction-button/transaction-button.component.js +3 -2
  13. package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +2 -9
  14. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +4 -10
  15. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +4 -2
  16. package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-base.component.js +44 -5
  17. package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-delivery.component.js +1 -28
  18. package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-order.component.js +1 -28
  19. package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-payment.component.js +24 -4
  20. package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.js +16 -59
  21. package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.component.js +61 -16
  22. package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.module.js +10 -3
  23. package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +1 -2
  24. package/esm2015/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.component.js +108 -0
  25. package/esm2015/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.module.js +29 -0
  26. package/esm2015/lib/component/transaction-labeled-price-input/transaction-labeled-price-input.component.js +13 -6
  27. package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.js +3 -2
  28. package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +14 -20
  29. package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.js +6 -2
  30. package/esm2015/lib/component/transaction-line-fields/transaction-line-discount-button.component.js +3 -3
  31. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.js +64 -0
  32. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.module.js +27 -0
  33. package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +17 -9
  34. package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.module.js +4 -2
  35. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +44 -26
  36. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.js +4 -2
  37. package/esm2015/lib/enum/icon.enum.js +3 -1
  38. package/esm2015/lib/model/icon-svg.js +3 -1
  39. package/esm2015/lib/service/pending-reason.service.js +3 -3
  40. package/esm2015/lib/service/relation.service.js +7 -7
  41. package/esm2015/lib/service/transaction-base.service.js +19 -17
  42. package/esm2015/lib/transaction-version.js +3 -3
  43. package/fesm2015/colijnit-transaction.js +599 -360
  44. package/fesm2015/colijnit-transaction.js.map +1 -1
  45. package/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.d.ts +2 -2
  46. package/lib/component/core/base/transaction-base.component.d.ts +2 -1
  47. package/lib/component/deposit-payment/deposit-payment.component.d.ts +1 -0
  48. package/lib/component/payment/payment.component.d.ts +2 -1
  49. package/lib/component/transaction-button/style/_layout.scss +12 -7
  50. package/lib/component/transaction-button/style/_material-definition.scss +2 -3
  51. package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +6 -22
  52. package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +1 -28
  53. package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +0 -11
  54. package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +0 -10
  55. package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +12 -2
  56. package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss +3 -0
  57. package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-base.component.d.ts +7 -2
  58. package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-delivery.component.d.ts +0 -2
  59. package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-order.component.d.ts +0 -2
  60. package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-payment.component.d.ts +2 -2
  61. package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.d.ts +1 -22
  62. package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.component.d.ts +24 -1
  63. package/lib/component/transaction-header-fields/transaction-header-payment-button/style/_layout.scss +18 -0
  64. package/lib/component/transaction-header-fields/transaction-header-payment-button/style/_material-definition.scss +9 -0
  65. package/lib/component/transaction-header-fields/transaction-header-payment-button/style/_theme.scss +13 -0
  66. package/lib/component/transaction-header-fields/transaction-header-payment-button/style/material.scss +4 -0
  67. package/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.component.d.ts +28 -0
  68. package/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.module.d.ts +2 -0
  69. package/lib/component/transaction-labeled-price-input/transaction-labeled-price-input.component.d.ts +4 -1
  70. package/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.d.ts +24 -0
  71. package/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.module.d.ts +2 -0
  72. package/lib/component/transaction-line-purchase-confirmation/style/_layout.scss +1 -0
  73. package/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.d.ts +2 -0
  74. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +25 -21
  75. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +6 -1
  76. package/lib/enum/icon.enum.d.ts +2 -0
  77. package/lib/service/transaction-base.service.d.ts +2 -1
  78. package/lib/style/_variables.scss +0 -1
  79. package/package.json +2 -2
@@ -32,8 +32,8 @@
32
32
  function Version() {
33
33
  this.name = "@colijnit/transaction";
34
34
  this.description = "Colijn IT transaction package";
35
- this.symVer = "12.1.121";
36
- this.publishDate = "25-5-2023 17:42:14";
35
+ this.symVer = "12.1.123";
36
+ this.publishDate = "27-5-2023 09:05:43";
37
37
  }
38
38
  return Version;
39
39
  }());
@@ -685,6 +685,7 @@
685
685
  Icon["CartShoppingSolid"] = "cart_shopping_solid";
686
686
  Icon["CashRegister"] = "cash_register";
687
687
  Icon["CheckDuotone"] = "check_duotone";
688
+ Icon["CreditCardRegular"] = "credit_card_regular";
688
689
  Icon["CreditCardSolid"] = "credit_card_solid";
689
690
  Icon["DeliveryTruck"] = "delivery_truck";
690
691
  Icon["DetailView"] = "detail_view";
@@ -763,6 +764,7 @@
763
764
  Icon["TruckMovingSolid"] = "truck_moving_solid";
764
765
  Icon["Txt"] = "txt";
765
766
  Icon["Unlock"] = "unlock";
767
+ Icon["UserRegular"] = "user_regular";
766
768
  Icon["Warehouse"] = "warehouse";
767
769
  Icon["XSolid"] = "x_solid";
768
770
  })(Icon || (Icon = {}));
@@ -791,6 +793,7 @@
791
793
  "cart_shopping_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M96 0C107.5 0 117.4 8.19 119.6 19.51L121.1 32H541.8C562.1 32 578.3 52.25 572.6 72.66L518.6 264.7C514.7 278.5 502.1 288 487.8 288H170.7L179.9 336H488C501.3 336 512 346.7 512 360C512 373.3 501.3 384 488 384H159.1C148.5 384 138.6 375.8 136.4 364.5L76.14 48H24C10.75 48 0 37.25 0 24C0 10.75 10.75 0 24 0H96zM128 464C128 437.5 149.5 416 176 416C202.5 416 224 437.5 224 464C224 490.5 202.5 512 176 512C149.5 512 128 490.5 128 464zM512 464C512 490.5 490.5 512 464 512C437.5 512 416 490.5 416 464C416 437.5 437.5 416 464 416C490.5 416 512 437.5 512 464z\"/></svg>",
792
794
  "cash_register": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M35.39,18.12H14.62L10,29.66H40ZM23,19.29H27l.1,1.6H22.87Zm-.13,2h4.32l.12,1.81H22.72Zm-.15,2.3h4.62l.14,2.08h-4.9ZM17.9,19.29H22l-.16,1.6H17.54Zm-.46,2h4.32l-.18,1.81H17Zm-.53,2.3h4.62l-.2,2.08h-4.9Zm-1.16,5.06.55-2.42H27.49l.16,2.42ZM28,19.29H32.1l.36,1.6H28.2Zm.2,2h4.32L33,23.12H28.42Zm.23,2.3h4.62l.48,2.08h-4.9Zm.5,5.06-.24-2.42h5l.55,2.42Z\" fill=\"#484f60\"/><path d=\"M10,29.66v9.23H40V29.66Zm27.69,6.92H12.31V32H37.69Z\" fill=\"#484f60\"/><path d=\"M15.63,11.11v7.58H34.37V11.11Zm17.31,6.15H17.06V12.54H32.94Z\" fill=\"#484f60\"/></svg>",
793
795
  "check_duotone": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><defs><style>.fa-secondary{opacity:.4}</style></defs><path class=\"fa-primary\" d=\"M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z\"/></svg>",
796
+ "credit_card_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M512 80c8.8 0 16 7.2 16 16v32H48V96c0-8.8 7.2-16 16-16H512zm16 144V416c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V224H528zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm56 304c-13.3 0-24 10.7-24 24s10.7 24 24 24h48c13.3 0 24-10.7 24-24s-10.7-24-24-24H120zm128 0c-13.3 0-24 10.7-24 24s10.7 24 24 24H360c13.3 0 24-10.7 24-24s-10.7-24-24-24H248z\"/></svg>",
794
797
  "credit_card_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M512 32C547.3 32 576 60.65 576 96V128H0V96C0 60.65 28.65 32 64 32H512zM576 416C576 451.3 547.3 480 512 480H64C28.65 480 0 451.3 0 416V224H576V416zM112 352C103.2 352 96 359.2 96 368C96 376.8 103.2 384 112 384H176C184.8 384 192 376.8 192 368C192 359.2 184.8 352 176 352H112zM240 384H368C376.8 384 384 376.8 384 368C384 359.2 376.8 352 368 352H240C231.2 352 224 359.2 224 368C224 376.8 231.2 384 240 384z\"/></svg>",
795
798
  "delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
796
799
  "detail_view": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><polygon points=\"24.55 16.18 24.55 27.49 2.44 27.49 2.44 5.38 14.69 5.38 15.59 4.48 14.04 2.94 0 2.94 0 29.93 26.99 29.93 26.99 15.88 25.92 14.81 24.55 16.18\" fill=\"#484f60\"/><polygon points=\"30 .4 17.92 .4 22 4.48 12.24 16.23 14.16 18.15 25.92 8.4 30 12.48 30 .4\" fill=\"#484f60\"/></g></g></svg>",
@@ -869,6 +872,7 @@
869
872
  "truck_moving_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M64 32C28.7 32 0 60.7 0 96V304v80 16c0 44.2 35.8 80 80 80c26.2 0 49.4-12.6 64-32c14.6 19.4 37.8 32 64 32c44.2 0 80-35.8 80-80c0-5.5-.6-10.8-1.6-16H416h33.6c-1 5.2-1.6 10.5-1.6 16c0 44.2 35.8 80 80 80s80-35.8 80-80c0-5.5-.6-10.8-1.6-16H608c17.7 0 32-14.3 32-32V288 272 261.7c0-9.2-3.2-18.2-9-25.3l-58.8-71.8c-10.6-13-26.5-20.5-43.3-20.5H480V96c0-35.3-28.7-64-64-64H64zM585 256H480V192h48.8c2.4 0 4.7 1.1 6.2 2.9L585 256zM528 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM240 400c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM80 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z\"/></svg>",
870
873
  "txt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.68,2.36h-1.9V32h-1.3V26.63h-1.9V25.54h5.1ZM30.4,32,29,29.74,27.55,32H26l2.19-3.34-2-3.07h1.52L29,27.6l1.26-2.06h1.5l-2,3.12L32,32Zm6.86-5.32h-1.9V32H34.07V26.63H32.16V25.54h5.1Z\" fill=\"#484f60\"/></svg>",
871
874
  "unlock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M32.65,21.67H17.35c-2.81,0-3.06,2.29-3.06,5.12v8.09c0,2.83.25,5.12,3.06,5.12h15.3c2.81,0,3.06-2.29,3.06-5.12V26.79C35.71,24,35.46,21.67,32.65,21.67ZM20.22,37.49l2.61-6.32a3.82,3.82,0,1,1,4.35,0l2.6,6.32Z\" fill=\"#484f60\"/><path d=\"M35.51,16.64c0-3.6-2-4.07-4.51-4.07h0c-2.49,0-4.51.47-4.51,4.07v3h-2.7v-3C23.79,11.62,27,10,31,10h0c4,0,7.21,1.62,7.21,6.64Z\" fill=\"#484f60\"/></svg>",
875
+ "user_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z\"/></svg>",
872
876
  "warehouse": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M6 19H8V21H6V19M12 3L2 8V21H4V13H20V21H22V8L12 3M8 11H4V9H8V11M14 11H10V9H14V11M20 11H16V9H20V11M6 15H8V17H6V15M10 15H12V17H10V15M10 19H12V21H10V19M14 19H16V21H14V19Z\" /></svg>",
873
877
  "x_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z\"/></svg>"
874
878
  };
@@ -6186,6 +6190,7 @@
6186
6190
  this.expanded = true;
6187
6191
  this.preview = false;
6188
6192
  this.readonly = false;
6193
+ this.relationChange = new i0.EventEmitter();
6189
6194
  this.isService = false;
6190
6195
  this.lineOperationStatuses = [];
6191
6196
  this.transactionLines = [];
@@ -6518,6 +6523,7 @@
6518
6523
  preview: [{ type: i0.HostBinding, args: ['class.preview',] }, { type: i0.Input }],
6519
6524
  selected: [{ type: i0.HostBinding, args: ['class.is-selected',] }, { type: i0.Input }],
6520
6525
  readonly: [{ type: i0.HostBinding, args: ['class.read-only',] }, { type: i0.Input }],
6526
+ relationChange: [{ type: i0.Output }],
6521
6527
  isText: [{ type: i0.HostBinding, args: ['class.is-text',] }],
6522
6528
  isArticle: [{ type: i0.HostBinding, args: ['class.is-article',] }]
6523
6529
  };
@@ -7296,16 +7302,14 @@
7296
7302
  this._boFactory = new businessObjectFactory.BusinessObjectFactory();
7297
7303
  }
7298
7304
  RelationService.prototype.getCustomerFullObject = function (relationNo) {
7299
- var _this = this;
7300
- return this._selectSingleCacheService.requestCache(customerFullObject_bo.CustomerFullObject, relationNo, function () {
7301
- return _this._adapterService.getCustomerFullObject(relationNo);
7302
- }).getValue();
7305
+ // return this._selectSingleCacheService.requestCache<CustomerFullObject>(CustomerFullObject, relationNo, () => {
7306
+ return this._adapterService.getCustomerFullObject(relationNo);
7307
+ // }).getValue();
7303
7308
  };
7304
7309
  RelationService.prototype.getSupplierFullObject = function (relationNo) {
7305
- var _this = this;
7306
- return this._selectSingleCacheService.requestCache(supplierFullObject_bo.SupplierFullObject, relationNo, function () {
7307
- return _this._adapterService.getSupplierFullObject(relationNo);
7308
- }).getValue();
7310
+ // return this._selectSingleCacheService.requestCache<SupplierFullObject>(SupplierFullObject, relationNo, () => {
7311
+ return this._adapterService.getSupplierFullObject(relationNo);
7312
+ // }).getValue();
7309
7313
  };
7310
7314
  RelationService.prototype.insertAddress = function (address) {
7311
7315
  return this._adapterService.insertAddress(address);
@@ -7477,6 +7481,7 @@
7477
7481
  this.applicationUser = false;
7478
7482
  this.invoiceAddressSameAsDelivery = true;
7479
7483
  this.activeRubric = TransactionTypeCategory.SalesOrderOverview;
7484
+ this.getRelationOnRememberCurrentTransaction = true;
7480
7485
  this.currentTransaction = new transactionInfoResponse_bo.TransactionInfoResponse();
7481
7486
  this.purchasePortalLine = [];
7482
7487
  this.docDeliveryBatch = new docDeliveryBatch_bo.DocDeliveryBatch();
@@ -7791,6 +7796,32 @@
7791
7796
  });
7792
7797
  });
7793
7798
  };
7799
+ TransactionBaseService.prototype.saveTransactionAndCommit = function (response) {
7800
+ return __awaiter(this, void 0, void 0, function () {
7801
+ var saveTransactionResponse;
7802
+ return __generator(this, function (_a) {
7803
+ switch (_a.label) {
7804
+ case 0: return [4 /*yield*/, this.saveTransaction(false)];
7805
+ case 1:
7806
+ saveTransactionResponse = _a.sent();
7807
+ if (!(saveTransactionResponse && saveTransactionResponse.isSuccess)) return [3 /*break*/, 4];
7808
+ return [4 /*yield*/, this.commit()];
7809
+ case 2:
7810
+ _a.sent();
7811
+ this.rememberCurrentTransaction(saveTransactionResponse);
7812
+ if (!response) return [3 /*break*/, 4];
7813
+ return [4 /*yield*/, this._handleAfterRememberCurrentTransaction(response)];
7814
+ case 3:
7815
+ _a.sent();
7816
+ _a.label = 4;
7817
+ case 4:
7818
+ // we need to do an extra commit to release the lock
7819
+ // const commitSuccess: boolean = await this.commit();
7820
+ return [2 /*return*/, saveTransactionResponse && saveTransactionResponse.isSuccess /*&& commitSuccess*/];
7821
+ }
7822
+ });
7823
+ });
7824
+ };
7794
7825
  TransactionBaseService.prototype.rememberCurrentTransaction = function (value) {
7795
7826
  return __awaiter(this, void 0, void 0, function () {
7796
7827
  return __generator(this, function (_a) {
@@ -7802,7 +7833,7 @@
7802
7833
  this._setAmount();
7803
7834
  this._checkHeaderStatus();
7804
7835
  this._checkRefTransaction(); // todo: get from the header status
7805
- if (this.currentTransaction.transactionInfo.relation && this.currentTransaction.transactionInfo.relation.relationId) {
7836
+ if (this.getRelationOnRememberCurrentTransaction && this.currentTransaction.transactionInfo.relation && this.currentTransaction.transactionInfo.relation.relationId) {
7806
7837
  this._getRelation(this.currentTransaction.transactionInfo.relation);
7807
7838
  }
7808
7839
  this.transactionUpdated.next(this.currentTransaction);
@@ -7894,29 +7925,6 @@
7894
7925
  this.currentTransaction.transactionInfo.preferredDeliveryDate2 = "=";
7895
7926
  }
7896
7927
  };
7897
- TransactionBaseService.prototype._saveTransactionAndCommit = function (response) {
7898
- return __awaiter(this, void 0, void 0, function () {
7899
- var saveTransactionResponse, commitSuccess;
7900
- return __generator(this, function (_a) {
7901
- switch (_a.label) {
7902
- case 0: return [4 /*yield*/, this.saveTransaction(false)];
7903
- case 1:
7904
- saveTransactionResponse = _a.sent();
7905
- if (!(saveTransactionResponse && saveTransactionResponse.isSuccess)) return [3 /*break*/, 3];
7906
- this.rememberCurrentTransaction(saveTransactionResponse);
7907
- if (!response) return [3 /*break*/, 3];
7908
- return [4 /*yield*/, this._handleAfterRememberCurrentTransaction(response)];
7909
- case 2:
7910
- _a.sent();
7911
- _a.label = 3;
7912
- case 3: return [4 /*yield*/, this.commit()];
7913
- case 4:
7914
- commitSuccess = _a.sent();
7915
- return [2 /*return*/, saveTransactionResponse && saveTransactionResponse.isSuccess && commitSuccess];
7916
- }
7917
- });
7918
- });
7919
- };
7920
7928
  TransactionBaseService.prototype._isValidTransaction = function () {
7921
7929
  return !!(this.currentTransaction && this.currentTransaction.transactionInfo && this.currentTransaction.transactionInfo.id);
7922
7930
  };
@@ -8029,7 +8037,7 @@
8029
8037
  hasPendingReasons = response.headerOperationStatuses.filter(function (los) { return los.pendingReason !== "NONE"; }).length > 0;
8030
8038
  if (!hasPendingReasons) {
8031
8039
  if ((this.autoSave && saveTransaction) || overrideSave) {
8032
- return [2 /*return*/, this._saveTransactionAndCommit(response)];
8040
+ return [2 /*return*/, this.saveTransactionAndCommit(response)];
8033
8041
  }
8034
8042
  else { // just replace transaction object
8035
8043
  this.rememberCurrentTransaction(response);
@@ -8082,7 +8090,7 @@
8082
8090
  hasPendingReasons = response.lineOperationStatuses.filter(function (los) { return los.pendingReason !== "NONE"; }).length > 0;
8083
8091
  if (!hasPendingReasons) {
8084
8092
  if (this.autoSave) {
8085
- return [2 /*return*/, this._saveTransactionAndCommit(response)];
8093
+ return [2 /*return*/, this.saveTransactionAndCommit(response)];
8086
8094
  }
8087
8095
  else {
8088
8096
  this.rememberCurrentTransaction(response);
@@ -10263,7 +10271,7 @@
10263
10271
  };
10264
10272
  CheckoutComponent.prototype.handleCreateTransaction = function (event) {
10265
10273
  return __awaiter(this, void 0, void 0, function () {
10266
- var success, _a, response, commitResponse;
10274
+ var success, _a, saveSuccess;
10267
10275
  return __generator(this, function (_b) {
10268
10276
  switch (_b.label) {
10269
10277
  case 0:
@@ -10288,18 +10296,13 @@
10288
10296
  if (!success) {
10289
10297
  return [2 /*return*/];
10290
10298
  }
10291
- return [4 /*yield*/, this.service.saveTransaction()];
10299
+ return [4 /*yield*/, this.service.saveTransactionAndCommit()];
10292
10300
  case 6:
10293
- response = _b.sent();
10294
- if (!(response && response.isSuccess)) return [3 /*break*/, 8];
10295
- return [4 /*yield*/, this.service.commit()];
10296
- case 7:
10297
- commitResponse = _b.sent();
10298
- if (commitResponse) {
10301
+ saveSuccess = _b.sent();
10302
+ if (saveSuccess) {
10299
10303
  this.handleTransactionFinished(this.service.currentTransaction.transactionInfo.id);
10300
10304
  }
10301
- _b.label = 8;
10302
- case 8: return [2 /*return*/];
10305
+ return [2 /*return*/];
10303
10306
  }
10304
10307
  });
10305
10308
  });
@@ -10326,32 +10329,28 @@
10326
10329
  };
10327
10330
  CheckoutComponent.prototype.handleDeliveryValidation = function () {
10328
10331
  return __awaiter(this, void 0, void 0, function () {
10329
- var valid, response, commitResponse, lockSuccess, _a;
10332
+ var valid, saveSuccess, lockSuccess, _a;
10330
10333
  return __generator(this, function (_b) {
10331
10334
  switch (_b.label) {
10332
10335
  case 0:
10333
- if (!(this.checkoutDelivery && this.stepDelivery)) return [3 /*break*/, 6];
10336
+ if (!(this.checkoutDelivery && this.stepDelivery)) return [3 /*break*/, 5];
10334
10337
  valid = this.checkoutDelivery.submit();
10335
- if (!valid) return [3 /*break*/, 5];
10336
- return [4 /*yield*/, this.service.saveTransaction()];
10338
+ if (!valid) return [3 /*break*/, 4];
10339
+ return [4 /*yield*/, this.service.saveTransactionAndCommit()];
10337
10340
  case 1:
10338
- response = _b.sent();
10339
- if (!(response && response.isSuccess)) return [3 /*break*/, 5];
10340
- return [4 /*yield*/, this.service.commit()];
10341
- case 2:
10342
- commitResponse = _b.sent();
10343
- if (!commitResponse) return [3 /*break*/, 5];
10341
+ saveSuccess = _b.sent();
10342
+ if (!saveSuccess) return [3 /*break*/, 4];
10344
10343
  return [4 /*yield*/, this.service.tryToLockTransaction(this.service.currentTransaction.transactionInfo.id, this.service.currentTransaction.transactionInfo.version)];
10345
- case 3:
10344
+ case 2:
10346
10345
  lockSuccess = _b.sent();
10347
- if (!lockSuccess) return [3 /*break*/, 5];
10346
+ if (!lockSuccess) return [3 /*break*/, 4];
10348
10347
  _a = this.stepDelivery;
10349
10348
  return [4 /*yield*/, this.handleSaveDelivery()];
10350
- case 4:
10349
+ case 3:
10351
10350
  _a.completed = _b.sent();
10352
- _b.label = 5;
10353
- case 5: return [2 /*return*/, valid];
10354
- case 6: return [2 /*return*/];
10351
+ _b.label = 4;
10352
+ case 4: return [2 /*return*/, valid];
10353
+ case 5: return [2 /*return*/];
10355
10354
  }
10356
10355
  });
10357
10356
  });
@@ -12613,7 +12612,7 @@
12613
12612
  TransactionButtonComponent.decorators = [
12614
12613
  { type: i0.Component, args: [{
12615
12614
  selector: 'co-transaction-button',
12616
- template: "\n <div class=\"transaction-button-icon-wrapper\" *ngIf=iconData>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"iconData\"></co-icon>\n <div class=\"spacer\"></div>\n </div>\n <div class=\"transaction-button-label-title-wrapper\" [class.title]=\"title\">\n <span class=\"transaction-button-title co-transaction-overflow-ellipsis\" [textContent]=\"title\"></span>\n <span class=\"transaction-button-label co-transaction-overflow-ellipsis\" [textContent]=\"label\"></span>\n </div>\n <div class=\"transaction-button-icon-wrapper right\" *ngIf=rightIconData>\n <div class=\"spacer\"></div>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"rightIconData\"></co-icon>\n </div>\n <co-checkmark-overlay [successful]=\"showCheckMarkLoader\" [visible]=\"checkMarkOverlayVisible\"></co-checkmark-overlay>\n ",
12615
+ template: "\n <div class=\"transaction-button-icon-wrapper\" *ngIf=iconData>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"iconData\"></co-icon>\n <div class=\"spacer\"></div>\n </div>\n <div class=\"transaction-button-label-title-wrapper\" [class.title]=\"title\">\n <span class=\"transaction-button-title co-transaction-overflow-ellipsis\" [textContent]=\"title\"></span>\n <span class=\"transaction-button-label co-transaction-overflow-ellipsis\" [textContent]=\"label\"></span>\n <ng-content></ng-content>\n </div>\n <div class=\"transaction-button-icon-wrapper\" *ngIf=rightIconData>\n <div class=\"spacer\"></div>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"rightIconData\"></co-icon>\n </div>\n <co-checkmark-overlay [successful]=\"showCheckMarkLoader\" [visible]=\"checkMarkOverlayVisible\"></co-checkmark-overlay>\n ",
12617
12616
  encapsulation: i0.ViewEncapsulation.None
12618
12617
  },] }
12619
12618
  ];
@@ -13451,14 +13450,19 @@
13451
13450
  _this.purchaseOrderConfirmation = new getPurchaseOrderConfirmation.GetPurchaseOrderConfirmation();
13452
13451
  _this.awaitingResult = false;
13453
13452
  _this.iconVisible = true;
13453
+ _this.forceShowConfirmationInputs = false;
13454
13454
  return _this;
13455
13455
  }
13456
13456
  TransactionQuickAccessOrderConfirmationComponent.prototype.showClass = function () {
13457
13457
  return true;
13458
13458
  };
13459
- // public handleSelectAllLines(value: boolean): void {
13460
- // this.transactionEventService.selectAllSalesOrderLinesForPurchase.next(value);
13461
- // }
13459
+ TransactionQuickAccessOrderConfirmationComponent.prototype.ngOnInit = function () {
13460
+ _super.prototype.ngOnInit.call(this);
13461
+ this.hideQuickAccessContent = this.transactionService.purchaseOrderConfirmationCompleted;
13462
+ };
13463
+ TransactionQuickAccessOrderConfirmationComponent.prototype.handleSelectAllLines = function (value) {
13464
+ this.transactionEventService.selectAllSalesOrderLinesForPurchase.next(value);
13465
+ };
13462
13466
  TransactionQuickAccessOrderConfirmationComponent.prototype.handleCommitEvent = function (event) {
13463
13467
  return __awaiter(this, void 0, void 0, function () {
13464
13468
  var success;
@@ -13478,6 +13482,7 @@
13478
13482
  case 2:
13479
13483
  this.awaitingResult = false;
13480
13484
  this.iconVisible = success;
13485
+ this.forceShowConfirmationInputs = false;
13481
13486
  return [2 /*return*/];
13482
13487
  }
13483
13488
  });
@@ -13488,7 +13493,7 @@
13488
13493
  TransactionQuickAccessOrderConfirmationComponent.decorators = [
13489
13494
  { type: i0.Component, args: [{
13490
13495
  selector: "co-transaction-quick-access-order-confirmation",
13491
- template: "\n <co-input-date\n [(model)]=\"purchaseOrderConfirmation.confirmationDate\"\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n ></co-input-date>\n <co-input-text\n [(model)]=\"purchaseOrderConfirmation.reference\"\n [placeholder]=\"'REFERENCE' | localize\"\n ></co-input-text>\n <co-input-text\n [(model)]=\"purchaseOrderConfirmation.leverbatch\"\n [placeholder]=\"'BATCH' | localize\"\n ></co-input-text>\n<!-- <co-input-checkbox (modelChange)=\"handleSelectAllLines($event)\"-->\n<!-- ></co-input-checkbox>-->\n <co-quick-send-button\n [title]=\"'PROCESS'\"\n [icon]=\"icons.CheckDuotone\"\n [showSendMethodIcon]=\"false\"\n [showSendMethodDialogIcon]=\"false\"\n [showLoader]=\"awaitingResult\"\n (sendIconClicked)=\"handleCommitEvent($event)\"\n ></co-quick-send-button>\n ",
13496
+ template: "\n <div class=\"quick-access-wrapper\">\n <div class=\"confirm-inputs\" *ngIf=\"!hideQuickAccessContent || forceShowConfirmationInputs\">\n <co-input-checkbox (modelChange)=\"handleSelectAllLines($event)\"></co-input-checkbox>\n <co-input-date\n [(model)]=\"purchaseOrderConfirmation.confirmationDate\"\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n ></co-input-date>\n <co-input-text\n [(model)]=\"purchaseOrderConfirmation.reference\"\n [placeholder]=\"'REFERENCE' | localize\"\n ></co-input-text>\n <co-input-text\n [(model)]=\"purchaseOrderConfirmation.leverbatch\"\n [placeholder]=\"'BATCH' | localize\"\n ></co-input-text>\n <co-quick-send-button\n [title]=\"'PROCESS'\"\n [icon]=\"icons.CheckDuotone\"\n [showSendMethodIcon]=\"false\"\n [showSendMethodDialogIcon]=\"false\"\n [showLoader]=\"awaitingResult\"\n (sendIconClicked)=\"handleCommitEvent($event)\"\n ></co-quick-send-button>\n </div>\n\n <div class=\"show-confirmation-inputs-wrapper\" *ngIf=\"hideQuickAccessContent && !forceShowConfirmationInputs\">\n <co-transaction-button\n class=\"new-confirmation-button custom-width\"\n [iconData]=\"iconCacheService.getIcon(icons.PlusSimple)\"\n [label]=\"'NEW_CONFIRMATION' | localize\"\n (click)=\"forceShowConfirmationInputs = true\"\n ></co-transaction-button>\n </div>\n </div>\n ",
13492
13497
  encapsulation: i0.ViewEncapsulation.None
13493
13498
  },] }
13494
13499
  ];
@@ -15005,7 +15010,8 @@
15005
15010
  };
15006
15011
  TransactionPurchaseOrderLineBaseComponent.prototype.transactionLineSet = function () {
15007
15012
  _super.prototype.transactionLineSet.call(this);
15008
- this.showCheckboxForLine = this.transactionLine.commissionCode === "0";
15013
+ this.showCheckboxForLine = this.transactionLine.commissionCode === "0" &&
15014
+ this.transactionLine.articleLineStatus.quantityPurchaseConfirmed !== this.transactionLine.amount;
15009
15015
  };
15010
15016
  TransactionPurchaseOrderLineBaseComponent.prototype.handleOpenSidePanel = function (mouseClick) {
15011
15017
  var target = mouseClick.target;
@@ -15062,7 +15068,7 @@
15062
15068
  TransactionPurchaseOrderLineComponent.decorators = [
15063
15069
  { type: i0.Component, args: [{
15064
15070
  selector: "co-transaction-purchase-order-line",
15065
- template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"selected\"\n (click)=\"handleOpenSidePanel($event)\"\n (checkboxValueChanged)=\"selected = $event\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"transaction-line-content-wrapper\">\n <co-transaction-line-statusbar data-action=\"openSidePanel\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderOrderConfirmation\"\n ></co-transaction-line-statusbar>\n <div class=\"transaction-line-content\" data-action=\"openSidePanel\">\n <co-input-text\n [model]=\"transactionLine.amount\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-input-text\n [model]=\"transactionLine.purchasePortalLine.grossOrderPrice | coCurrency\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-input-text\n *ngIf=\"!!transactionLine.purchasePortalLine.discountOrderPrice\"\n [model]=\"transactionLine.purchasePortalLine.discountOrderPrice | coCurrency\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n (click)=\"showDialogDiscount = true\">\n ></co-input-text>\n <co-input-text\n [model]=\"transactionLine.purchasePortalLine.netOrderPrice | coCurrency\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-line-delivery-date-button [transactionLine]=\"transactionLine\"></co-transaction-line-delivery-date-button>\n </div>\n <div class=\"transaction-line-content\" data-action=\"openSidePanel\">\n <co-input-text\n [model]=\"transactionLine.supplierArticleNumber ? transactionLine.supplierArticleNumber : '-'\"\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularIndustryTag)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-purchase-portal-line-confirmed-price\n [purchasePortalLine]=\"transactionLine.purchasePortalLine\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-transaction-purchase-portal-line-confirmed-price>\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"lineQuantityToConfirm\"\n [min]=\"1\"\n [max]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"\n ></co-input-number-picker>\n <co-transaction-button\n [readonly]=\"readonly\"\n [label]=\"transactionLine.purchasePortalLine.deliveryDateConfirmed\"\n ></co-transaction-button>\n<!--\n <div class=\"transaction-line-button big\" [class.no-pointer]=\"readonly\">\n <co-transaction-date-select [date]=\"transactionLine.purchasePortalLine.deliveryDateConfirmed\"></co-transaction-date-select>\n </div>\n-->\n </div>\n </div>\n </co-transaction-base-line>\n ",
15071
+ template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"selected\"\n (click)=\"handleOpenSidePanel($event)\"\n (checkboxValueChanged)=\"selected = $event\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"transaction-line-content-wrapper\">\n <co-transaction-line-statusbar data-action=\"openSidePanel\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderOrderConfirmation\"\n ></co-transaction-line-statusbar>\n <div class=\"transaction-line-content\" data-action=\"openSidePanel\">\n <co-input-text\n [model]=\"transactionLine.amount\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-input-text\n [model]=\"transactionLine.purchasePortalLine.grossOrderPrice | coCurrency\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-line-discount-button\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <co-input-text\n [model]=\"transactionLine.purchasePortalLine.netOrderPrice | coCurrency\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-line-delivery-date-button [transactionLine]=\"transactionLine\"></co-transaction-line-delivery-date-button>\n </div>\n <div class=\"transaction-line-content\" data-action=\"openSidePanel\">\n <co-input-text\n [model]=\"transactionLine.supplierArticleNumber ? transactionLine.supplierArticleNumber : '-'\"\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularIndustryTag)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-purchase-portal-line-confirmed-price\n [purchasePortalLine]=\"transactionLine.purchasePortalLine\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-transaction-purchase-portal-line-confirmed-price>\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"lineQuantityToConfirm\"\n [min]=\"1\"\n [max]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"\n ></co-input-number-picker>\n <co-transaction-line-supplier-delivery-date-button [transactionLine]=\"transactionLine\"></co-transaction-line-supplier-delivery-date-button>\n <!--\n <div class=\"transaction-line-button big\" [class.no-pointer]=\"readonly\">\n <co-transaction-date-select [date]=\"transactionLine.purchasePortalLine.deliveryDateConfirmed\"></co-transaction-date-select>\n </div>\n -->\n </div>\n </div>\n </co-transaction-base-line>\n ",
15066
15072
  encapsulation: i0.ViewEncapsulation.None,
15067
15073
  changeDetection: i0.ChangeDetectionStrategy.OnPush
15068
15074
  },] }
@@ -16566,6 +16572,7 @@
16566
16572
  this._sharedService = _sharedService;
16567
16573
  this._paymentService = _paymentService;
16568
16574
  this.icons = Icon;
16575
+ this.updateDepositAmount = false;
16569
16576
  this.payed = new i0.EventEmitter();
16570
16577
  this.paymentMethodIdx = 0;
16571
16578
  this.cashRegisterIdx = 0;
@@ -16598,12 +16605,24 @@
16598
16605
  return true;
16599
16606
  };
16600
16607
  PaymentComponent.prototype.ngOnInit = function () {
16601
- var _this = this;
16602
- this._transactionService.updateHeaderTransactionDepositAmount(this.transactionUuid, this.amountToPay, true).then(function () {
16603
- _this._getPaymentMethods().then(function () {
16604
- _this.showLoader = false;
16605
- _this._getDepositPaymentInfo();
16606
- _this._prepareCashRegisters();
16608
+ return __awaiter(this, void 0, void 0, function () {
16609
+ var _this = this;
16610
+ return __generator(this, function (_a) {
16611
+ switch (_a.label) {
16612
+ case 0:
16613
+ if (!this.updateDepositAmount) return [3 /*break*/, 2];
16614
+ return [4 /*yield*/, this._transactionService.updateHeaderTransactionDepositAmount(this.transactionUuid, this.amountToPay, true)];
16615
+ case 1:
16616
+ _a.sent();
16617
+ _a.label = 2;
16618
+ case 2:
16619
+ this._getPaymentMethods().then(function () {
16620
+ _this.showLoader = false;
16621
+ _this._getDepositPaymentInfo();
16622
+ _this._prepareCashRegisters();
16623
+ });
16624
+ return [2 /*return*/];
16625
+ }
16607
16626
  });
16608
16627
  });
16609
16628
  };
@@ -16817,6 +16836,7 @@
16817
16836
  transId: [{ type: i0.Input }],
16818
16837
  transactionUuid: [{ type: i0.Input }],
16819
16838
  branch: [{ type: i0.Input }],
16839
+ updateDepositAmount: [{ type: i0.Input }],
16820
16840
  amount: [{ type: i0.Input }],
16821
16841
  currencyId: [{ type: i0.Input }],
16822
16842
  payed: [{ type: i0.Output }],
@@ -16953,6 +16973,7 @@
16953
16973
  var DepositPaymentComponent = /** @class */ (function () {
16954
16974
  function DepositPaymentComponent(_paymentService) {
16955
16975
  this._paymentService = _paymentService;
16976
+ this.showTitle = true;
16956
16977
  this.paymentMethods = [];
16957
16978
  this.depositPayments = [];
16958
16979
  this.showLoader = true;
@@ -16991,7 +17012,7 @@
16991
17012
  DepositPaymentComponent.decorators = [
16992
17013
  { type: i0.Component, args: [{
16993
17014
  selector: "co-deposit-payment",
16994
- template: "\n <div class=\"down-payment-payments-title\" [textContent]=\"'PAYMENTS_MADE' | localize\"></div>\n <div class=\"down-payment-payments-wrapper\">\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <div class=\"down-payment-payments\" *ngFor=\"let payment of depositPayments\">\n <co-payment-tile\n [image]=\"payment.paymentMethod?.image\"\n [description]=\"payment.paymentMethod?.payment.description\"\n ></co-payment-tile>\n <div class=\"deposit-payment-spacer\"></div>\n <div class=\"down-payment-amount-wrapper\">\n <div class=\"down-payment-date\" [textContent]=\"payment.depositPayment?.date | date:'d MMMM yyyy | HH:mm'\"></div>\n <div class=\"down-payment-amount\" [textContent]=\"payment.depositPayment?.depositPaymentAmount | coCurrency\"></div>\n </div>\n </div>\n </div>\n ",
17015
+ template: "\n <div class=\"down-payment-payments-title\" [textContent]=\"'PAYMENTS_MADE' | localize\" *ngIf=\"showTitle\"></div>\n <div class=\"down-payment-payments-wrapper\">\n <co-loader class=\"loader\" *ngIf=\"showLoader\"></co-loader>\n <div class=\"down-payment-payments\" *ngFor=\"let payment of depositPayments\">\n <co-payment-tile\n [image]=\"payment.paymentMethod?.image\"\n [description]=\"payment.paymentMethod?.payment.description\"\n ></co-payment-tile>\n <div class=\"deposit-payment-spacer\"></div>\n <div class=\"down-payment-amount-wrapper\">\n <div class=\"down-payment-date\" [textContent]=\"payment.depositPayment?.date | date:'d MMMM yyyy | HH:mm'\"></div>\n <div class=\"down-payment-amount\" [textContent]=\"payment.depositPayment?.depositPaymentAmount | coCurrency\"></div>\n </div>\n </div>\n </div>\n ",
16995
17016
  encapsulation: i0.ViewEncapsulation.None
16996
17017
  },] }
16997
17018
  ];
@@ -17000,6 +17021,7 @@
17000
17021
  ]; };
17001
17022
  DepositPaymentComponent.propDecorators = {
17002
17023
  branch: [{ type: i0.Input }],
17024
+ showTitle: [{ type: i0.Input }],
17003
17025
  transactionUuid: [{ type: i0.Input }],
17004
17026
  showClass: [{ type: i0.HostBinding, args: ["class.co-deposit-payment",] }]
17005
17027
  };
@@ -17726,7 +17748,7 @@
17726
17748
  CheckoutOverviewPaymentComponent.decorators = [
17727
17749
  { type: i0.Component, args: [{
17728
17750
  selector: "co-checkout-overview-payment",
17729
- template: "\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'YOUR_DATA' | localize\"></span>\n <div class=\"two-column-grid\">\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'DELIVERY_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"deliveryAddress.displayAddress\"></span>\n <span [textContent]=\"deliveryAddress.displayPostal\"></span>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"invoiceAddress.displayAddress\"></span>\n <span [textContent]=\"invoiceAddress.displayPostal\"></span>\n </div>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'CONTACT_DETAILS' | localize\"></span>\n <span [textContent]=\"relation.primaryEmail\"></span>\n <span [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeYourDataClick.emit()\"></div>\n </div>\n </div>\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'DELIVERY' | localize\"></span>\n <div class=\"overview-address\">\n <div class=\"overview-row\">\n <span [textContent]=\"'EXPECTED_DELIVERY_DATE' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd MMM yyyy'\"></span>\n </div>\n <div class=\"overview-row\">\n <span [textContent]=\"'DELIVERY_METHOD' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryMethod\"></span>\n </div>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeDeliveryClick.emit()\"></div>\n </div>\n </div>\n <co-payment *ngIf=\"showPayment\"\n [transId]=\"transaction.transactionInfo.id\"\n [branch]=\"transaction.transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [amount]=\"transaction.transactionInfo.depositAmount || transaction.transactionTotal.netAmount\"\n [currencyId]=\"transaction.transactionInfo.currencyId\"\n (payed)=\"handlePayed()\"\n ></co-payment>\n ",
17751
+ template: "\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'YOUR_DATA' | localize\"></span>\n <div class=\"two-column-grid\">\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'DELIVERY_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"deliveryAddress.displayAddress\"></span>\n <span [textContent]=\"deliveryAddress.displayPostal\"></span>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n <span [textContent]=\"relation.displayName\"></span>\n <span [textContent]=\"invoiceAddress.displayAddress\"></span>\n <span [textContent]=\"invoiceAddress.displayPostal\"></span>\n </div>\n </div>\n <div class=\"overview-address\">\n <span class=\"overview-address-title\" [textContent]=\"'CONTACT_DETAILS' | localize\"></span>\n <span [textContent]=\"relation.primaryEmail\"></span>\n <span [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeYourDataClick.emit()\"></div>\n </div>\n </div>\n <div class=\"checkout-overview-section\">\n <span class=\"overview-section-title\" [textContent]=\"'DELIVERY' | localize\"></span>\n <div class=\"overview-address\">\n <div class=\"overview-row\">\n <span [textContent]=\"'EXPECTED_DELIVERY_DATE' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryDate | date:'dd MMM yyyy'\"></span>\n </div>\n <div class=\"overview-row\">\n <span [textContent]=\"'DELIVERY_METHOD' | localize | append:':'\"></span><span [textContent]=\"transaction.transactionInfo.deliveryMethod\"></span>\n </div>\n </div>\n <div class=\"overview-section-change-link\">\n <icon class=\"overview-section-change-icon\" [icon]=\"icons.ArrowPointRight\"></icon>\n <div [textContent]=\"'CHANGE_DATA' | localize\" (click)=\"changeDeliveryClick.emit()\"></div>\n </div>\n </div>\n <co-payment *ngIf=\"showPayment\"\n [updateDepositAmount]=\"true\"\n [transId]=\"transaction.transactionInfo.id\"\n [branch]=\"transaction.transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [amount]=\"transaction.transactionInfo.depositAmount || transaction.transactionTotal.netAmount\"\n [currencyId]=\"transaction.transactionInfo.currencyId\"\n (payed)=\"handlePayed()\"\n ></co-payment>\n ",
17730
17752
  encapsulation: i0.ViewEncapsulation.None
17731
17753
  },] }
17732
17754
  ];
@@ -17759,7 +17781,7 @@
17759
17781
  TransactionHeaderDeliveryComponent.decorators = [
17760
17782
  { type: i0.Component, args: [{
17761
17783
  selector: "co-transaction-header-delivery",
17762
- template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <co-transaction-header-delivery-method-button class=\"header-delivery-method\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-delivery-method-button>\n<!--\n <div class=\"header-delivery-method\" (click)=\"showTheDeliveryMethodDialog($event)\">\n <co-icon class=\"header-delivery-truck-icon\" [iconData]=\"iconCacheService.getIcon(icons.TruckFastSolid)\"></co-icon>\n <span [textContent]=\"deliveryMethod?.description\"></span>\n </div>\n-->\n <co-icon class=\"planning-request-button\" [class.co-transaction-check]=\"transactionInfo.deliveryDateDefinitive\"\n [iconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-delivery-deliverydate-label co-transaction-label\" [textContent]=\"'DELIVERY_DATE' | localize\"></div>\n <div class=\"header-delivery-deliverydate-wrapper\" [class.closed]=\"transactionInfo.deliveryDateDefinitive\">\n <co-transaction-header-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-delivery-date>\n <co-transaction-header-deliverydate-definitive-button [transactionInfo]=\"transactionInfo\"></co-transaction-header-deliverydate-definitive-button>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-delivery-preferred-deliverydate-label co-transaction-label\" [textContent]=\"'PREFERRED_DATE' | localize\"></div>\n <co-transaction-header-preferred-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-preferred-delivery-date>\n </ng-template>\n <ng-template #thirdBlock>\n <co-transaction-header-partial-delivery class=\"co-transaction-label\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-partial-delivery>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"3\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n ",
17784
+ template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <co-transaction-header-delivery-method-button class=\"header-delivery-method\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-delivery-method-button>\n <co-icon class=\"planning-request-button\" [class.co-transaction-check]=\"transactionInfo.deliveryDateDefinitive\"\n [iconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-delivery-deliverydate-label co-transaction-label\" [textContent]=\"'DELIVERY_DATE' | localize\"></div>\n <div class=\"header-delivery-deliverydate-wrapper\" [class.closed]=\"transactionInfo.deliveryDateDefinitive\">\n <co-transaction-header-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-delivery-date>\n <co-transaction-header-deliverydate-definitive-button [transactionInfo]=\"transactionInfo\"></co-transaction-header-deliverydate-definitive-button>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-delivery-preferred-deliverydate-label co-transaction-label\" [textContent]=\"'PREFERRED_DATE' | localize\"></div>\n <co-transaction-header-preferred-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-preferred-delivery-date>\n </ng-template>\n <ng-template #thirdBlock>\n <co-transaction-header-partial-delivery class=\"transaction-header-partial-delivery co-transaction-label\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-partial-delivery>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"3\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n ",
17763
17785
  encapsulation: i0.ViewEncapsulation.None
17764
17786
  },] }
17765
17787
  ];
@@ -17769,18 +17791,22 @@
17769
17791
 
17770
17792
  var TransactionHeaderBlockComponent = /** @class */ (function () {
17771
17793
  function TransactionHeaderBlockComponent() {
17772
- this.hasDetails = false;
17773
17794
  this.headerClick = new i0.EventEmitter();
17774
17795
  }
17775
17796
  TransactionHeaderBlockComponent.prototype.showClass = function () {
17776
17797
  return true;
17777
17798
  };
17799
+ TransactionHeaderBlockComponent.prototype.handleHostClick = function (event) {
17800
+ if (event.target && event.target.className.indexOf('clickable-header') > -1) {
17801
+ this.headerClick.emit(event);
17802
+ }
17803
+ };
17778
17804
  return TransactionHeaderBlockComponent;
17779
17805
  }());
17780
17806
  TransactionHeaderBlockComponent.decorators = [
17781
17807
  { type: i0.Component, args: [{
17782
17808
  selector: "co-transaction-header-block",
17783
- template: "\n <div #wrapper class=\"transaction-header-block-wrapper\" (click)=\"headerClick.emit($event)\">\n <div class=\"transaction-header-block-header\">\n <ng-container [ngTemplateOutlet]=\"headerBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-content\">\n <div class=\"transaction-header-block-content-first\" *ngIf=\"firstBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"firstBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-second\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"secondBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-third\" *ngIf=\"thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"thirdBlockTemplate\"></ng-container>\n </div>\n </div>\n </div>\n ",
17809
+ template: "\n <div #wrapper class=\"transaction-header-block-wrapper\">\n <div class=\"transaction-header-block-header clickable-header\">\n <ng-container [ngTemplateOutlet]=\"headerBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-content clickable-header\">\n <div class=\"transaction-header-block-content-first\" *ngIf=\"firstBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"firstBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-second\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"secondBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-third\" *ngIf=\"thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"thirdBlockTemplate\"></ng-container>\n </div>\n </div>\n </div>\n ",
17784
17810
  encapsulation: i0.ViewEncapsulation.None
17785
17811
  },] }
17786
17812
  ];
@@ -17789,9 +17815,9 @@
17789
17815
  firstBlockTemplate: [{ type: i0.Input }],
17790
17816
  secondBlockTemplate: [{ type: i0.Input }],
17791
17817
  thirdBlockTemplate: [{ type: i0.Input }],
17792
- hasDetails: [{ type: i0.Input }],
17793
17818
  headerClick: [{ type: i0.Output }],
17794
- showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-header-block",] }]
17819
+ showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-header-block",] }],
17820
+ handleHostClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
17795
17821
  };
17796
17822
 
17797
17823
  var TransactionHeaderBlockModule = /** @class */ (function () {
@@ -18797,17 +18823,27 @@
18797
18823
 
18798
18824
  var TransactionHeaderPopupComponent = /** @class */ (function (_super) {
18799
18825
  __extends(TransactionHeaderPopupComponent, _super);
18800
- function TransactionHeaderPopupComponent() {
18801
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
18826
+ function TransactionHeaderPopupComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, dialogService, formMasterService, relationService) {
18827
+ var _this = _super.call(this, transactionEventService, iconCacheService, imageService, dictionaryService, service, changeDetector) || this;
18828
+ _this.transactionEventService = transactionEventService;
18829
+ _this.service = service;
18830
+ _this.iconCacheService = iconCacheService;
18831
+ _this.dictionaryService = dictionaryService;
18832
+ _this.imageService = imageService;
18833
+ _this.changeDetector = changeDetector;
18834
+ _this.dialogService = dialogService;
18835
+ _this.formMasterService = formMasterService;
18836
+ _this.relationService = relationService;
18802
18837
  _this.closeClick = new i0.EventEmitter();
18803
18838
  _this.categories = [
18804
- { index: 0, description: "CLIENT_INFORMATION" },
18805
- { index: 1, description: "ORDER_INFORMATION1" },
18806
- { index: 2, description: "PAYMENT_INFORMATION" },
18807
- { index: 3, description: "DELIVERY_INFORMATION" }
18839
+ { index: 0, icon: Icon.UserRegular, description: "CLIENT_INFORMATION" },
18840
+ { index: 1, icon: Icon.CartShoppingRegular, description: "ORDER_INFORMATION1" },
18841
+ { index: 2, icon: Icon.CreditCardRegular, description: "PAYMENT_INFORMATION" },
18842
+ { index: 3, icon: Icon.TruckMovingRegular, description: "DELIVERY_INFORMATION" }
18808
18843
  ];
18809
18844
  _this.okButtonEnabled = false;
18810
- _this.activeCategory = { index: 0, description: "CLIENT_INFORMATION" };
18845
+ _this.activeCategory = { index: 0, icon: Icon.CreditCardRegular, description: "CLIENT_INFORMATION" };
18846
+ _this.cloneRelation = new customerFullObject_bo.CustomerFullObject();
18811
18847
  _this._subs = [];
18812
18848
  return _this;
18813
18849
  }
@@ -18826,6 +18862,7 @@
18826
18862
  TransactionHeaderPopupComponent.prototype.ngOnInit = function () {
18827
18863
  var _this = this;
18828
18864
  _super.prototype.ngOnInit.call(this);
18865
+ this.transactionService.getRelationOnRememberCurrentTransaction = false;
18829
18866
  this._subs.push(this.transactionEventService.headerPopupSaveButtonEnableChange.subscribe(function (enabled) {
18830
18867
  _this.okButtonEnabled = enabled;
18831
18868
  }), this.transactionEventService.headerPopupClose.subscribe(function (commit) { return __awaiter(_this, void 0, void 0, function () {
@@ -18833,16 +18870,14 @@
18833
18870
  return __generator(this, function (_b) {
18834
18871
  switch (_b.label) {
18835
18872
  case 0:
18836
- if (!commit) return [3 /*break*/, 2];
18837
- return [4 /*yield*/, this.transactionService.commit()];
18838
- case 1:
18873
+ if (!commit) return [3 /*break*/, 1];
18874
+ _a = true;
18875
+ return [3 /*break*/, 3];
18876
+ case 1: return [4 /*yield*/, this.transactionService.rollback()];
18877
+ case 2:
18839
18878
  _a = _b.sent();
18840
- return [3 /*break*/, 4];
18841
- case 2: return [4 /*yield*/, this.transactionService.rollback()];
18879
+ _b.label = 3;
18842
18880
  case 3:
18843
- _a = _b.sent();
18844
- _b.label = 4;
18845
- case 4:
18846
18881
  result = _a;
18847
18882
  if (result) {
18848
18883
  this.closeClick.emit();
@@ -18853,9 +18888,18 @@
18853
18888
  }); }));
18854
18889
  };
18855
18890
  TransactionHeaderPopupComponent.prototype.ngOnDestroy = function () {
18891
+ this.transactionService.getRelationOnRememberCurrentTransaction = true;
18856
18892
  _super.prototype.ngOnDestroy.call(this);
18857
18893
  this._subs.forEach(function (s) { return s.unsubscribe(); });
18858
18894
  };
18895
+ TransactionHeaderPopupComponent.prototype.relationSet = function () {
18896
+ return __awaiter(this, void 0, void 0, function () {
18897
+ return __generator(this, function (_a) {
18898
+ this.cloneRelation = this.relationService.cloneRelation(this.relation);
18899
+ return [2 /*return*/];
18900
+ });
18901
+ });
18902
+ };
18859
18903
  TransactionHeaderPopupComponent.prototype.handleCloseClick = function (event) {
18860
18904
  this.transactionEventService.headerPopupWantsToClose.next();
18861
18905
  };
@@ -18870,10 +18914,21 @@
18870
18914
  TransactionHeaderPopupComponent.decorators = [
18871
18915
  { type: i0.Component, args: [{
18872
18916
  selector: 'co-transaction-header-popup',
18873
- template: "\n <co-dialog class=\"transaction-header-dialog\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\" (closeClick)=\"handleCloseClick($event)\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title\" [textContent]=\"activeCategory.description | localize\"></div>\n </ng-template>\n <div class=\"transaction-header-popup-categories\">\n <div class=\"transaction-header-popup-category\" [class.selected]=\"activeCategory.index === cat.index\" *ngFor=\"let cat of categories\" \n (click)=\"handleCategoryClick(cat)\">\n <div class=\"title\" [textContent]=\"cat.description | localize\"></div>\n </div>\n </div>\n <div class=\"transaction-header-popup-content-wrapper\">\n <co-transaction-header-popup-relation class=\"category-content\" *ngIf=\"activeCategory.index === 0\" \n [relation]=\"relation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-relation>\n <co-transaction-header-popup-order class=\"category-content\" *ngIf=\"activeCategory.index === 1\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-order>\n <co-transaction-header-popup-payment class=\"category-content\" *ngIf=\"activeCategory.index === 2\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-payment>\n <co-transaction-header-popup-delivery class=\"category-content\" *ngIf=\"activeCategory.index === 3\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-delivery>\n </div>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\" \n [disabled]=\"!okButtonEnabled\" \n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\" \n (click)=\"handleOkButtonClick($event)\"></co-button>\n </div>\n </ng-template>\n </co-dialog>\n ",
18917
+ template: "\n <co-dialog class=\"transaction-header-dialog\" \n [customCssClass]=\"'transaction-header-dialog'\" \n [headerTemplate]=\"headerTemplate\" \n [footerTemplate]=\"footerTemplate\" \n (closeClick)=\"handleCloseClick($event)\">\n <ng-template #headerTemplate>\n <div class=\"transaction-header-popup-dialog-header-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(activeCategory.icon)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"activeCategory.description | localize\"></div>\n </div>\n </ng-template>\n <div class=\"transaction-header-popup-categories\">\n <div class=\"transaction-header-popup-category\" [class.selected]=\"activeCategory.index === cat.index\" *ngFor=\"let cat of categories\" \n (click)=\"handleCategoryClick(cat)\">\n <div class=\"title\" [textContent]=\"cat.description | localize\"></div>\n </div>\n </div>\n <div class=\"transaction-header-popup-content-wrapper\">\n <co-transaction-header-popup-relation class=\"category-content\" *ngIf=\"activeCategory.index === 0\" \n [(relation)]=\"cloneRelation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-relation>\n <co-transaction-header-popup-order class=\"category-content\" *ngIf=\"activeCategory.index === 1\"\n [relation]=\"cloneRelation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-order>\n <co-transaction-header-popup-payment class=\"category-content\" *ngIf=\"activeCategory.index === 2\"\n [relation]=\"cloneRelation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-payment>\n <co-transaction-header-popup-delivery class=\"category-content\" *ngIf=\"activeCategory.index === 3\"\n [relation]=\"cloneRelation\"\n [transaction]=\"transaction\"\n ></co-transaction-header-popup-delivery>\n </div>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\" \n [disabled]=\"!okButtonEnabled\" \n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\" \n (click)=\"handleOkButtonClick($event)\"></co-button>\n </div>\n </ng-template>\n </co-dialog>\n ",
18874
18918
  encapsulation: i0.ViewEncapsulation.None
18875
18919
  },] }
18876
18920
  ];
18921
+ TransactionHeaderPopupComponent.ctorParameters = function () { return [
18922
+ { type: TransactionEventService },
18923
+ { type: TransactionService },
18924
+ { type: IconCacheService },
18925
+ { type: DictionaryService },
18926
+ { type: TransactionImageService },
18927
+ { type: i0.ChangeDetectorRef },
18928
+ { type: DialogService },
18929
+ { type: corecomponents_v12.FormMasterService },
18930
+ { type: RelationService }
18931
+ ]; };
18877
18932
  TransactionHeaderPopupComponent.propDecorators = {
18878
18933
  activeCategoryIndex: [{ type: i0.Input }],
18879
18934
  closeClick: [{ type: i0.Output }],
@@ -18882,7 +18937,7 @@
18882
18937
 
18883
18938
  var TransactionHeaderPopupBaseComponent = /** @class */ (function (_super_1) {
18884
18939
  __extends(TransactionHeaderPopupBaseComponent, _super_1);
18885
- function TransactionHeaderPopupBaseComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, dialogService, formMasterService) {
18940
+ function TransactionHeaderPopupBaseComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, dialogService, formMasterService, relationService) {
18886
18941
  var _this = _super_1.call(this, transactionEventService, iconCacheService, imageService, dictionaryService, service, changeDetector) || this;
18887
18942
  _this.transactionEventService = transactionEventService;
18888
18943
  _this.service = service;
@@ -18892,6 +18947,7 @@
18892
18947
  _this.changeDetector = changeDetector;
18893
18948
  _this.dialogService = dialogService;
18894
18949
  _this.formMasterService = formMasterService;
18950
+ _this.relationService = relationService;
18895
18951
  _this.readonly = true;
18896
18952
  _this.dirty = false;
18897
18953
  _this._subs = [];
@@ -18925,7 +18981,7 @@
18925
18981
  this._subs.push(this.transactionEventService.headerPopupSaveButtonClick.subscribe(function () { return __awaiter(_this, void 0, void 0, function () {
18926
18982
  return __generator(this, function (_a) {
18927
18983
  switch (_a.label) {
18928
- case 0: return [4 /*yield*/, this.saveObject()];
18984
+ case 0: return [4 /*yield*/, this.saveObjects()];
18929
18985
  case 1:
18930
18986
  _a.sent();
18931
18987
  return [2 /*return*/];
@@ -18963,6 +19019,80 @@
18963
19019
  });
18964
19020
  });
18965
19021
  };
19022
+ TransactionHeaderPopupBaseComponent.prototype.transactionInfoSet = function () {
19023
+ var _super = Object.create(null, {
19024
+ transactionInfoSet: { get: function () { return _super_1.prototype.transactionInfoSet; } }
19025
+ });
19026
+ return __awaiter(this, void 0, void 0, function () {
19027
+ var _a;
19028
+ return __generator(this, function (_b) {
19029
+ switch (_b.label) {
19030
+ case 0:
19031
+ _super.transactionInfoSet.call(this);
19032
+ if (!this.headerReadonly) return [3 /*break*/, 1];
19033
+ this.readonly = true;
19034
+ return [3 /*break*/, 3];
19035
+ case 1:
19036
+ _a = this;
19037
+ return [4 /*yield*/, this.lockTransaction()];
19038
+ case 2:
19039
+ _a.readonly = !(_b.sent());
19040
+ _b.label = 3;
19041
+ case 3: return [2 /*return*/];
19042
+ }
19043
+ });
19044
+ });
19045
+ };
19046
+ TransactionHeaderPopupBaseComponent.prototype.saveObjects = function () {
19047
+ return __awaiter(this, void 0, void 0, function () {
19048
+ return __generator(this, function (_a) {
19049
+ switch (_a.label) {
19050
+ case 0:
19051
+ if (!this.formMasterService.submitSlaves()) return [3 /*break*/, 3];
19052
+ this.transactionEventService.headerPopupSaveButtonEnableChange.next(false);
19053
+ return [4 /*yield*/, this.saveRelation()];
19054
+ case 1:
19055
+ _a.sent();
19056
+ return [4 /*yield*/, this.saveTransaction()];
19057
+ case 2:
19058
+ _a.sent();
19059
+ this.setFormPristine();
19060
+ this.transactionEventService.headerPopupClose.next(true);
19061
+ _a.label = 3;
19062
+ case 3: return [2 /*return*/];
19063
+ }
19064
+ });
19065
+ });
19066
+ };
19067
+ TransactionHeaderPopupBaseComponent.prototype.saveRelation = function () {
19068
+ return __awaiter(this, void 0, void 0, function () {
19069
+ var _a;
19070
+ return __generator(this, function (_b) {
19071
+ switch (_b.label) {
19072
+ case 0:
19073
+ _a = this.service;
19074
+ return [4 /*yield*/, this.relationService.updateRelation(this.relation.relationType, this.relation)];
19075
+ case 1:
19076
+ _a.relation = _b.sent();
19077
+ return [2 /*return*/];
19078
+ }
19079
+ });
19080
+ });
19081
+ };
19082
+ TransactionHeaderPopupBaseComponent.prototype.saveTransaction = function () {
19083
+ return __awaiter(this, void 0, void 0, function () {
19084
+ return __generator(this, function (_a) {
19085
+ switch (_a.label) {
19086
+ case 0:
19087
+ this.transactionService.getRelationOnRememberCurrentTransaction = true;
19088
+ return [4 /*yield*/, this.transactionService.saveTransactionAndCommit()];
19089
+ case 1:
19090
+ _a.sent();
19091
+ return [2 /*return*/];
19092
+ }
19093
+ });
19094
+ });
19095
+ };
18966
19096
  TransactionHeaderPopupBaseComponent.prototype.setFormPristine = function () {
18967
19097
  this.dirty = false;
18968
19098
  if (this.form) {
@@ -18983,7 +19113,7 @@
18983
19113
  case 1:
18984
19114
  response = _a.sent();
18985
19115
  if (!(response.button === AppPopupButtonType.Yes)) return [3 /*break*/, 3];
18986
- return [4 /*yield*/, this.saveObject()];
19116
+ return [4 /*yield*/, this.saveObjects()];
18987
19117
  case 2:
18988
19118
  _a.sent();
18989
19119
  return [3 /*break*/, 4];
@@ -19008,7 +19138,8 @@
19008
19138
  { type: TransactionImageService },
19009
19139
  { type: i0.ChangeDetectorRef },
19010
19140
  { type: DialogService },
19011
- { type: corecomponents_v12.FormMasterService }
19141
+ { type: corecomponents_v12.FormMasterService },
19142
+ { type: RelationService }
19012
19143
  ]; };
19013
19144
  TransactionHeaderPopupBaseComponent.propDecorators = {
19014
19145
  content: [{ type: i0.ViewChild, args: [corecomponents_v12.FormComponent,] }]
@@ -19016,23 +19147,13 @@
19016
19147
 
19017
19148
  var TransactionHeaderPopupRelationComponent = /** @class */ (function (_super) {
19018
19149
  __extends(TransactionHeaderPopupRelationComponent, _super);
19019
- function TransactionHeaderPopupRelationComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, dialogService, formMasterService, _relationService) {
19020
- var _this = _super.call(this, transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, dialogService, formMasterService) || this;
19021
- _this.transactionEventService = transactionEventService;
19022
- _this.service = service;
19023
- _this.iconCacheService = iconCacheService;
19024
- _this.dictionaryService = dictionaryService;
19025
- _this.imageService = imageService;
19026
- _this.changeDetector = changeDetector;
19027
- _this.dialogService = dialogService;
19028
- _this.formMasterService = formMasterService;
19029
- _this._relationService = _relationService;
19150
+ function TransactionHeaderPopupRelationComponent() {
19151
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
19030
19152
  _this.addressType = addressType_enum.AddressType;
19031
19153
  _this.deliveryAddressNawNr = 0;
19032
19154
  _this.invoiceAddressNawNr = 0;
19033
19155
  _this.invoiceAddressSameAsDeliveryAddress = true;
19034
19156
  _this.categories = [_this.dictionaryService.get('CLIENT_DATA'), _this.dictionaryService.get('PRIVACY_PREFERENCES')];
19035
- _this.cloneRelation = new customerFullObject_bo.CustomerFullObject();
19036
19157
  return _this;
19037
19158
  }
19038
19159
  TransactionHeaderPopupRelationComponent.prototype.showClass = function () {
@@ -19044,12 +19165,11 @@
19044
19165
  return __generator(this, function (_a) {
19045
19166
  switch (_a.label) {
19046
19167
  case 0:
19047
- this.cloneRelation = this._relationService.cloneRelation(this.relation);
19048
19168
  if (this.relationKind === relationKind_enum.RelationKind.Customer) {
19049
- this.customerGroup = this.cloneRelation.customerGroup;
19169
+ this.customerGroup = this.relation.customerGroup;
19050
19170
  }
19051
- if (this.cloneRelation.addresses && this.cloneRelation.addresses.length > 0) {
19052
- firstAddress = this.cloneRelation.addresses[0];
19171
+ if (this.relation.addresses && this.relation.addresses.length > 0) {
19172
+ firstAddress = this.relation.addresses[0];
19053
19173
  this.setIndexDeliveryAddress(firstAddress.nawNr);
19054
19174
  }
19055
19175
  return [4 /*yield*/, this._lockRelation()];
@@ -19061,14 +19181,14 @@
19061
19181
  });
19062
19182
  };
19063
19183
  TransactionHeaderPopupRelationComponent.prototype.setIndexDeliveryAddress = function (nawNr) {
19064
- var address = this.cloneRelation.addresses.find(function (a) { return a.nawNr === nawNr; });
19184
+ var address = this.relation.addresses.find(function (a) { return a.nawNr === nawNr; });
19065
19185
  if (address) {
19066
19186
  // address.searchAddress = true;
19067
19187
  this.deliveryAddressNawNr = nawNr;
19068
19188
  }
19069
19189
  };
19070
19190
  TransactionHeaderPopupRelationComponent.prototype.setIndexInvoiceAddress = function (nawNr) {
19071
- var address = this.cloneRelation.addresses.find(function (a) { return a.nawNr === nawNr; });
19191
+ var address = this.relation.addresses.find(function (a) { return a.nawNr === nawNr; });
19072
19192
  if (address) {
19073
19193
  // address.searchAddress = true;
19074
19194
  this.invoiceAddressNawNr = nawNr;
@@ -19091,24 +19211,7 @@
19091
19211
  TransactionHeaderPopupRelationComponent.prototype.handleChangeCustomGroup = function (group) {
19092
19212
  this.customerGroup = group;
19093
19213
  if (this.relationKind === relationKind_enum.RelationKind.Customer) {
19094
- this.cloneRelation.customerGroup = this.customerGroup;
19095
- }
19096
- };
19097
- TransactionHeaderPopupRelationComponent.prototype.saveObject = function () {
19098
- var _this = this;
19099
- if (this.readonly) {
19100
- return;
19101
- }
19102
- if (this.formMasterService.submitSlaves()) {
19103
- this.transactionEventService.headerPopupSaveButtonEnableChange.next(false);
19104
- this._relationService.updateRelation(this.cloneRelation.relationType, this.cloneRelation).then(function () { return __awaiter(_this, void 0, void 0, function () {
19105
- return __generator(this, function (_a) {
19106
- this.service.relation = this.cloneRelation;
19107
- this.setFormPristine();
19108
- this.transactionEventService.headerPopupClose.next(true);
19109
- return [2 /*return*/];
19110
- });
19111
- }); });
19214
+ this.relation.customerGroup = this.customerGroup;
19112
19215
  }
19113
19216
  };
19114
19217
  TransactionHeaderPopupRelationComponent.prototype._lockRelation = function () {
@@ -19116,7 +19219,7 @@
19116
19219
  var lockResult;
19117
19220
  return __generator(this, function (_a) {
19118
19221
  switch (_a.label) {
19119
- case 0: return [4 /*yield*/, this._relationService.lockRelation(this.cloneRelation.relationType, parseInt(this.cloneRelation.relationNumber, 0))];
19222
+ case 0: return [4 /*yield*/, this.relationService.lockRelation(this.relation.relationType, parseInt(this.relation.relationNumber, 0))];
19120
19223
  case 1:
19121
19224
  lockResult = _a.sent();
19122
19225
  if (!!lockResult.success) return [3 /*break*/, 3];
@@ -19138,24 +19241,13 @@
19138
19241
  TransactionHeaderPopupRelationComponent.decorators = [
19139
19242
  { type: i0.Component, args: [{
19140
19243
  selector: 'co-transaction-header-popup-relation',
19141
- template: "\n <co-transaction-filter-categories [categories]=\"categories\" (categoryClick)=\"handleNavigationClick($event)\"></co-transaction-filter-categories>\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div #navigationItems class=\"header-relation-navigation-wrapper\">\n <div #mainItems class=\"header-relation-navigation-content\">\n <div class=\"transaction-header-popup-section general\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PERSONAL_DATA' | localize\"></div>\n <co-relation-type *ngIf=\"relationKind === relKind.Customer\"\n [readonly]=\"readonly\"\n [relation]=\"cloneRelation\"\n ></co-relation-type>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <relation-customer-groups [readonly]=\"readonly\" [model]=\"customerGroup\" (modelChange)=\"handleChangeCustomGroup($event)\" required></relation-customer-groups>\n </ng-container>\n <co-relation-general [readonly]=\"readonly\" [(relation)]=\"cloneRelation\" [relationType]=\"relationType\" [relationKind]=\"relationKind\"></co-relation-general>\n </div>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'ADDRESSES' | localize\"></div>\n <co-relation-addresses\n [readonly]=\"readonly\"\n [addresses]=\"cloneRelation.activeAddresses\"\n [type]=\"addressType.DeliveryAddress\"\n [selectedNawNr]=\"deliveryAddressNawNr\"\n (selectedNawNrChange)=\"setIndexDeliveryAddress($event)\"\n ></co-relation-addresses>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></div>\n <co-input-checkbox [readonly]=\"readonly\" [(model)]=\"invoiceAddressSameAsDeliveryAddress\" (modelChange)=\"checkSameAddress($event)\"\n [label]=\"'SAME_AS_DELIVERY' | localize\"></co-input-checkbox>\n <div class=\"overview-delivery-invoice-address\" *ngIf=\"!invoiceAddressSameAsDeliveryAddress\" @showHideInvoiceAddress>\n <co-relation-addresses\n [readonly]=\"readonly\"\n [addresses]=\"cloneRelation.activeAddresses\"\n [type]=\"addressType.BillingAddress\"\n [selectedNawNr]=\"invoiceAddressNawNr\"\n (selectedNawNrChange)=\"setIndexInvoiceAddress($event)\"\n ></co-relation-addresses>\n </div>\n </ng-container>\n </div>\n </div>\n <div #preferenceItems class=\"header-relation-navigation-content\">\n <co-relation-preferences [readonly]=\"readonly\" [relation]=\"cloneRelation\"></co-relation-preferences>\n </div>\n </div>\n </co-form>\n </div>\n ",
19244
+ template: "\n <co-transaction-filter-categories [categories]=\"categories\" (categoryClick)=\"handleNavigationClick($event)\"></co-transaction-filter-categories>\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div #navigationItems class=\"header-relation-navigation-wrapper\">\n <div #mainItems class=\"header-relation-navigation-content\">\n <div class=\"transaction-header-popup-section general\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PERSONAL_DATA' | localize\"></div>\n <co-relation-type *ngIf=\"relationKind === relKind.Customer\"\n [readonly]=\"readonly\"\n [relation]=\"relation\"\n ></co-relation-type>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <relation-customer-groups [readonly]=\"readonly\" [model]=\"customerGroup\" (modelChange)=\"handleChangeCustomGroup($event)\" required></relation-customer-groups>\n </ng-container>\n <co-relation-general [readonly]=\"readonly\" [(relation)]=\"relation\" [relationType]=\"relationType\" [relationKind]=\"relationKind\"></co-relation-general>\n </div>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'ADDRESSES' | localize\"></div>\n <co-relation-addresses\n [readonly]=\"readonly\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.DeliveryAddress\"\n [selectedNawNr]=\"deliveryAddressNawNr\"\n (selectedNawNrChange)=\"setIndexDeliveryAddress($event)\"\n ></co-relation-addresses>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></div>\n <co-input-checkbox [readonly]=\"readonly\" [(model)]=\"invoiceAddressSameAsDeliveryAddress\" (modelChange)=\"checkSameAddress($event)\"\n [label]=\"'SAME_AS_DELIVERY' | localize\"></co-input-checkbox>\n <div class=\"overview-delivery-invoice-address\" *ngIf=\"!invoiceAddressSameAsDeliveryAddress\" @showHideInvoiceAddress>\n <co-relation-addresses\n [readonly]=\"readonly\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.BillingAddress\"\n [selectedNawNr]=\"invoiceAddressNawNr\"\n (selectedNawNrChange)=\"setIndexInvoiceAddress($event)\"\n ></co-relation-addresses>\n </div>\n </ng-container>\n </div>\n </div>\n <div #preferenceItems class=\"header-relation-navigation-content\">\n <co-relation-preferences [readonly]=\"readonly\" [relation]=\"relation\"></co-relation-preferences>\n </div>\n </div>\n </co-form>\n </div>\n ",
19142
19245
  providers: [
19143
19246
  corecomponents_v12.FormMasterService
19144
19247
  ],
19145
19248
  encapsulation: i0.ViewEncapsulation.None
19146
19249
  },] }
19147
19250
  ];
19148
- TransactionHeaderPopupRelationComponent.ctorParameters = function () { return [
19149
- { type: TransactionEventService },
19150
- { type: TransactionService },
19151
- { type: IconCacheService },
19152
- { type: DictionaryService },
19153
- { type: TransactionImageService },
19154
- { type: i0.ChangeDetectorRef },
19155
- { type: DialogService },
19156
- { type: corecomponents_v12.FormMasterService },
19157
- { type: RelationService }
19158
- ]; };
19159
19251
  TransactionHeaderPopupRelationComponent.propDecorators = {
19160
19252
  navigationItems: [{ type: i0.ViewChild, args: ['navigationItems', { read: i0.ElementRef },] }],
19161
19253
  mainItems: [{ type: i0.ViewChild, args: ['mainItems', { read: i0.ElementRef },] }],
@@ -19221,51 +19313,14 @@
19221
19313
  },] }
19222
19314
  ];
19223
19315
 
19224
- var TransactionHeaderPopupOrderComponent = /** @class */ (function (_super_1) {
19225
- __extends(TransactionHeaderPopupOrderComponent, _super_1);
19316
+ var TransactionHeaderPopupOrderComponent = /** @class */ (function (_super) {
19317
+ __extends(TransactionHeaderPopupOrderComponent, _super);
19226
19318
  function TransactionHeaderPopupOrderComponent() {
19227
- return _super_1 !== null && _super_1.apply(this, arguments) || this;
19319
+ return _super !== null && _super.apply(this, arguments) || this;
19228
19320
  }
19229
19321
  TransactionHeaderPopupOrderComponent.prototype.showClass = function () {
19230
19322
  return true;
19231
19323
  };
19232
- TransactionHeaderPopupOrderComponent.prototype.transactionInfoSet = function () {
19233
- var _super = Object.create(null, {
19234
- transactionInfoSet: { get: function () { return _super_1.prototype.transactionInfoSet; } }
19235
- });
19236
- return __awaiter(this, void 0, void 0, function () {
19237
- var _a;
19238
- return __generator(this, function (_b) {
19239
- switch (_b.label) {
19240
- case 0:
19241
- _super.transactionInfoSet.call(this);
19242
- if (!this.headerReadonly) return [3 /*break*/, 1];
19243
- this.readonly = true;
19244
- return [3 /*break*/, 3];
19245
- case 1:
19246
- _a = this;
19247
- return [4 /*yield*/, this.lockTransaction()];
19248
- case 2:
19249
- _a.readonly = !(_b.sent());
19250
- _b.label = 3;
19251
- case 3: return [2 /*return*/];
19252
- }
19253
- });
19254
- });
19255
- };
19256
- TransactionHeaderPopupOrderComponent.prototype.saveObject = function () {
19257
- var _this = this;
19258
- if (this.readonly) {
19259
- return;
19260
- }
19261
- if (this.formMasterService.submitSlaves()) {
19262
- this.transactionEventService.headerPopupSaveButtonEnableChange.next(false);
19263
- this.transactionService.saveTransaction().then(function () {
19264
- _this.setFormPristine();
19265
- _this.transactionEventService.headerPopupClose.next(true);
19266
- });
19267
- }
19268
- };
19269
19324
  return TransactionHeaderPopupOrderComponent;
19270
19325
  }(TransactionHeaderPopupBaseComponent));
19271
19326
  TransactionHeaderPopupOrderComponent.decorators = [
@@ -19279,51 +19334,14 @@
19279
19334
  showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-header-popup-order',] }]
19280
19335
  };
19281
19336
 
19282
- var TransactionHeaderPopupDeliveryComponent = /** @class */ (function (_super_1) {
19283
- __extends(TransactionHeaderPopupDeliveryComponent, _super_1);
19337
+ var TransactionHeaderPopupDeliveryComponent = /** @class */ (function (_super) {
19338
+ __extends(TransactionHeaderPopupDeliveryComponent, _super);
19284
19339
  function TransactionHeaderPopupDeliveryComponent() {
19285
- return _super_1 !== null && _super_1.apply(this, arguments) || this;
19340
+ return _super !== null && _super.apply(this, arguments) || this;
19286
19341
  }
19287
19342
  TransactionHeaderPopupDeliveryComponent.prototype.showClass = function () {
19288
19343
  return true;
19289
19344
  };
19290
- TransactionHeaderPopupDeliveryComponent.prototype.transactionInfoSet = function () {
19291
- var _super = Object.create(null, {
19292
- transactionInfoSet: { get: function () { return _super_1.prototype.transactionInfoSet; } }
19293
- });
19294
- return __awaiter(this, void 0, void 0, function () {
19295
- var _a;
19296
- return __generator(this, function (_b) {
19297
- switch (_b.label) {
19298
- case 0:
19299
- _super.transactionInfoSet.call(this);
19300
- if (!this.headerReadonly) return [3 /*break*/, 1];
19301
- this.readonly = true;
19302
- return [3 /*break*/, 3];
19303
- case 1:
19304
- _a = this;
19305
- return [4 /*yield*/, this.lockTransaction()];
19306
- case 2:
19307
- _a.readonly = !(_b.sent());
19308
- _b.label = 3;
19309
- case 3: return [2 /*return*/];
19310
- }
19311
- });
19312
- });
19313
- };
19314
- TransactionHeaderPopupDeliveryComponent.prototype.saveObject = function () {
19315
- var _this = this;
19316
- if (this.readonly) {
19317
- return;
19318
- }
19319
- if (this.formMasterService.submitSlaves()) {
19320
- this.transactionEventService.headerPopupSaveButtonEnableChange.next(false);
19321
- this.transactionService.saveTransaction().then(function () {
19322
- _this.setFormPristine();
19323
- _this.transactionEventService.headerPopupClose.next(true);
19324
- });
19325
- }
19326
- };
19327
19345
  return TransactionHeaderPopupDeliveryComponent;
19328
19346
  }(TransactionHeaderPopupBaseComponent));
19329
19347
  TransactionHeaderPopupDeliveryComponent.decorators = [
@@ -19346,11 +19364,11 @@
19346
19364
  return true;
19347
19365
  };
19348
19366
  return TransactionHeaderPopupPaymentComponent;
19349
- }(TransactionBaseComponent));
19367
+ }(TransactionHeaderPopupBaseComponent));
19350
19368
  TransactionHeaderPopupPaymentComponent.decorators = [
19351
19369
  { type: i0.Component, args: [{
19352
19370
  selector: 'co-transaction-header-popup-payment',
19353
- template: "\n <co-deposit-payment [branch]=\"transactionInfo.branch?.relationNr\" [transactionUuid]=\"transactionInfo.uuid\"></co-deposit-payment>\n ",
19371
+ template: "\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'TO_PAY_DOWN' | localize\"></div>\n <div class=\"transaction-header-popup-two-column-grid\">\n <co-transaction-header-deposit-percentage [transactionInfo]=\"transactionInfo\" [lockAndSave]=\"false\"></co-transaction-header-deposit-percentage>\n <co-transaction-header-deposit-amount [transactionInfo]=\"transactionInfo\" [lockAndSave]=\"false\"></co-transaction-header-deposit-amount>\n </div>\n <div class=\"transaction-header-popup-two-column-grid\">\n <co-transaction-header-payment-button *ngIf=\"transactionInfo.transactionKind !== transKind.PurchaseOrder\"\n [transactionInfo]=\"transactionInfo\"\n [lockAndSave]=\"false\"\n ></co-transaction-header-payment-button>\n </div>\n </div>\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PAYMENTS_MADE' | localize\"></div>\n <co-deposit-payment [branch]=\"transactionInfo.branch?.relationNr\" [transactionUuid]=\"transactionInfo.uuid\" [showTitle]=\"false\"></co-deposit-payment>\n </div>\n </co-form>\n </div>\n ",
19354
19372
  encapsulation: i0.ViewEncapsulation.None
19355
19373
  },] }
19356
19374
  ];
@@ -20253,97 +20271,6 @@
20253
20271
  },] }
20254
20272
  ];
20255
20273
 
20256
- var TransactionHeaderPopupModule = /** @class */ (function () {
20257
- function TransactionHeaderPopupModule() {
20258
- }
20259
- return TransactionHeaderPopupModule;
20260
- }());
20261
- TransactionHeaderPopupModule.decorators = [
20262
- { type: i0.NgModule, args: [{
20263
- imports: [
20264
- common.CommonModule,
20265
- corecomponents_v12.CoDialogModule,
20266
- PipeModule,
20267
- TransactionFilterCategoriesModule,
20268
- corecomponents_v12.FormModule,
20269
- RelationTypeModule,
20270
- CoreModule,
20271
- RelationGeneralModule,
20272
- RelationAddressesModule,
20273
- corecomponents_v12.InputCheckboxModule,
20274
- RelationPreferencesModule,
20275
- TransactionHeaderBranchModule,
20276
- TransactionHeaderSalesPersonModule,
20277
- TransactionHeaderAdministrativeRelationModule,
20278
- TransactionHeaderPriceKindModule,
20279
- TransactionHeaderCurrencyModule,
20280
- TransactionHeaderPaymentConditionModule,
20281
- TransactionHeaderHoldCodesModule,
20282
- TransactionHeaderMarketingModule,
20283
- DepositPaymentModule,
20284
- TransactionHeaderDeliveryOptionsModule,
20285
- TransactionHeaderRemarksModule,
20286
- TransactionHeaderReferenceModule,
20287
- TransactionHeaderRelationReferenceModule,
20288
- TransactionHeaderDeliveryMethodButtonModule,
20289
- corecomponents_v12.ButtonModule,
20290
- TransactionHeaderDefinitiveModule,
20291
- TransactionHeaderPartialDeliveryModule,
20292
- TransactionHeaderDeliveryDateModule,
20293
- TransactionHeaderPreferredDeliveryDateModule,
20294
- TransactionHeaderDeliverydateDefinitiveButtonModule
20295
- ],
20296
- declarations: [
20297
- TransactionHeaderPopupComponent,
20298
- TransactionHeaderPopupRelationComponent,
20299
- TransactionHeaderPopupOrderComponent,
20300
- TransactionHeaderPopupDeliveryComponent,
20301
- TransactionHeaderPopupPaymentComponent
20302
- ],
20303
- exports: [
20304
- TransactionHeaderPopupComponent
20305
- ]
20306
- },] }
20307
- ];
20308
-
20309
- var TransactionHeaderDeliveryModule = /** @class */ (function () {
20310
- function TransactionHeaderDeliveryModule() {
20311
- }
20312
- return TransactionHeaderDeliveryModule;
20313
- }());
20314
- TransactionHeaderDeliveryModule.decorators = [
20315
- { type: i0.NgModule, args: [{
20316
- imports: [
20317
- common.CommonModule,
20318
- CoreModule,
20319
- TransactionHeaderBlockModule,
20320
- corecomponents_v12.InputCheckboxModule,
20321
- corecomponents_v12.IconModule,
20322
- PipeModule,
20323
- corecomponents_v12.InputDatePickerModule,
20324
- TransactionHeaderDeliveryDateModule,
20325
- corecomponents_v12.CoDialogModule,
20326
- TransactionHeaderDeliveryOptionsModule,
20327
- TransactionHeaderRemarksModule,
20328
- TransactionHeaderReferenceModule,
20329
- TransactionHeaderRelationReferenceModule,
20330
- TransactionHeaderDeliveryMethodModule,
20331
- TransactionHeaderPreferredDeliveryDateModule,
20332
- DialogTransactionHeaderDeliveryMethodModule,
20333
- TransactionHeaderPartialDeliveryModule,
20334
- TransactionHeaderPopupModule,
20335
- TransactionHeaderDeliveryMethodButtonModule,
20336
- TransactionHeaderDeliverydateDefinitiveButtonModule
20337
- ],
20338
- declarations: [
20339
- TransactionHeaderDeliveryComponent
20340
- ],
20341
- exports: [
20342
- TransactionHeaderDeliveryComponent
20343
- ]
20344
- },] }
20345
- ];
20346
-
20347
20274
  var TransactionHeaderDepositPercentageComponent = /** @class */ (function (_super) {
20348
20275
  __extends(TransactionHeaderDepositPercentageComponent, _super);
20349
20276
  function TransactionHeaderDepositPercentageComponent() {
@@ -20493,6 +20420,215 @@
20493
20420
  },] }
20494
20421
  ];
20495
20422
 
20423
+ var TransactionHeaderPaymentButtonComponent = /** @class */ (function (_super_1) {
20424
+ __extends(TransactionHeaderPaymentButtonComponent, _super_1);
20425
+ function TransactionHeaderPaymentButtonComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, _paymentService) {
20426
+ var _this = _super_1.call(this, transactionEventService, iconCacheService, imageService, dictionaryService, service, changeDetector) || this;
20427
+ _this.transactionEventService = transactionEventService;
20428
+ _this.service = service;
20429
+ _this.iconCacheService = iconCacheService;
20430
+ _this.dictionaryService = dictionaryService;
20431
+ _this.imageService = imageService;
20432
+ _this.changeDetector = changeDetector;
20433
+ _this._paymentService = _paymentService;
20434
+ _this.paid = 0;
20435
+ _this.toPay = 0;
20436
+ _this.depositPayments = [];
20437
+ _this.showPaymentDialog = false;
20438
+ return _this;
20439
+ }
20440
+ TransactionHeaderPaymentButtonComponent.prototype.showClass = function () {
20441
+ return true;
20442
+ };
20443
+ TransactionHeaderPaymentButtonComponent.prototype.openPayment = function (event) {
20444
+ return __awaiter(this, void 0, void 0, function () {
20445
+ return __generator(this, function (_a) {
20446
+ switch (_a.label) {
20447
+ case 0:
20448
+ event.preventDefault();
20449
+ event.stopPropagation();
20450
+ return [4 /*yield*/, this.lockTransaction()];
20451
+ case 1:
20452
+ if (_a.sent()) {
20453
+ this.showPaymentDialog = true;
20454
+ }
20455
+ return [2 /*return*/];
20456
+ }
20457
+ });
20458
+ });
20459
+ };
20460
+ TransactionHeaderPaymentButtonComponent.prototype.handleCloseDialogClick = function (event) {
20461
+ event.preventDefault();
20462
+ event.stopPropagation();
20463
+ this.showPaymentDialog = false;
20464
+ };
20465
+ TransactionHeaderPaymentButtonComponent.prototype.transactionInfoSet = function () {
20466
+ var _super = Object.create(null, {
20467
+ transactionInfoSet: { get: function () { return _super_1.prototype.transactionInfoSet; } }
20468
+ });
20469
+ return __awaiter(this, void 0, void 0, function () {
20470
+ return __generator(this, function (_a) {
20471
+ _super.transactionInfoSet.call(this);
20472
+ this._getDepositPaymentInfo();
20473
+ return [2 /*return*/];
20474
+ });
20475
+ });
20476
+ };
20477
+ TransactionHeaderPaymentButtonComponent.prototype._getDepositPaymentInfo = function () {
20478
+ var _this = this;
20479
+ if (!this.transactionInfo.uuid) {
20480
+ return;
20481
+ }
20482
+ this.depositPayments.length = 0;
20483
+ this._paymentService.getDepositPaymentInfo(this.transactionInfo.uuid).then(function (info) {
20484
+ if (info) {
20485
+ _this.toPay = info.depositAmount;
20486
+ _this.paid = info.depositPaymentAmountTotal;
20487
+ }
20488
+ });
20489
+ };
20490
+ return TransactionHeaderPaymentButtonComponent;
20491
+ }(TransactionBaseComponent));
20492
+ TransactionHeaderPaymentButtonComponent.decorators = [
20493
+ { type: i0.Component, args: [{
20494
+ selector: 'co-transaction-header-payment-button',
20495
+ template: "\n <co-transaction-button class=\"custom-width\"\n [readonly]=\"headerReadonly\"\n [iconData]=\"iconCacheService.getIcon(icons.CreditCardRegular)\"\n [tooltip]=\"tooltipMessage\"\n (click)=\"openPayment($event)\"\n >\n <div class=\"payment-payed-wrapper\">\n <span class=\"payment-to-pay\" [textContent]=\"(toPay | coCurrency) || 0\"></span>\n <span class=\"payment-divider\" [textContent]=\"'/'\"></span>\n <span class=\"payment-paid\" [class.success]=\"paid >= toPay\" [textContent]=\"(paid | coCurrency) || 0\"></span>\n </div>\n </co-transaction-button>\n <co-dialog class=\"payment-dialog\" [customCssClass]=\"'payment-dialog co-small-scrollbar'\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"handleCloseDialogClick($event)\"\n >\n <co-payment\n [transId]=\"transactionInfo.id\"\n [branch]=\"transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"toPay\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
20496
+ encapsulation: i0.ViewEncapsulation.None
20497
+ },] }
20498
+ ];
20499
+ TransactionHeaderPaymentButtonComponent.ctorParameters = function () { return [
20500
+ { type: TransactionEventService },
20501
+ { type: TransactionService },
20502
+ { type: IconCacheService },
20503
+ { type: DictionaryService },
20504
+ { type: TransactionImageService },
20505
+ { type: i0.ChangeDetectorRef },
20506
+ { type: PaymentService }
20507
+ ]; };
20508
+ TransactionHeaderPaymentButtonComponent.propDecorators = {
20509
+ showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-header-payment-button',] }]
20510
+ };
20511
+
20512
+ var TransactionHeaderPaymentButtonModule = /** @class */ (function () {
20513
+ function TransactionHeaderPaymentButtonModule() {
20514
+ }
20515
+ return TransactionHeaderPaymentButtonModule;
20516
+ }());
20517
+ TransactionHeaderPaymentButtonModule.decorators = [
20518
+ { type: i0.NgModule, args: [{
20519
+ imports: [
20520
+ common.CommonModule,
20521
+ corecomponents_v12.IconModule,
20522
+ PipeModule,
20523
+ TransactionButtonModule,
20524
+ corecomponents_v12.TooltipDirectiveModule,
20525
+ corecomponents_v12.CoDialogModule,
20526
+ PaymentModule
20527
+ ],
20528
+ declarations: [
20529
+ TransactionHeaderPaymentButtonComponent
20530
+ ],
20531
+ exports: [
20532
+ TransactionHeaderPaymentButtonComponent
20533
+ ]
20534
+ },] }
20535
+ ];
20536
+
20537
+ var TransactionHeaderPopupModule = /** @class */ (function () {
20538
+ function TransactionHeaderPopupModule() {
20539
+ }
20540
+ return TransactionHeaderPopupModule;
20541
+ }());
20542
+ TransactionHeaderPopupModule.decorators = [
20543
+ { type: i0.NgModule, args: [{
20544
+ imports: [
20545
+ common.CommonModule,
20546
+ corecomponents_v12.CoDialogModule,
20547
+ PipeModule,
20548
+ TransactionFilterCategoriesModule,
20549
+ corecomponents_v12.FormModule,
20550
+ RelationTypeModule,
20551
+ CoreModule,
20552
+ RelationGeneralModule,
20553
+ RelationAddressesModule,
20554
+ corecomponents_v12.InputCheckboxModule,
20555
+ RelationPreferencesModule,
20556
+ TransactionHeaderBranchModule,
20557
+ TransactionHeaderSalesPersonModule,
20558
+ TransactionHeaderAdministrativeRelationModule,
20559
+ TransactionHeaderPriceKindModule,
20560
+ TransactionHeaderCurrencyModule,
20561
+ TransactionHeaderPaymentConditionModule,
20562
+ TransactionHeaderHoldCodesModule,
20563
+ TransactionHeaderMarketingModule,
20564
+ DepositPaymentModule,
20565
+ TransactionHeaderDeliveryOptionsModule,
20566
+ TransactionHeaderRemarksModule,
20567
+ TransactionHeaderReferenceModule,
20568
+ TransactionHeaderRelationReferenceModule,
20569
+ TransactionHeaderDeliveryMethodButtonModule,
20570
+ corecomponents_v12.ButtonModule,
20571
+ TransactionHeaderDefinitiveModule,
20572
+ TransactionHeaderPartialDeliveryModule,
20573
+ TransactionHeaderDeliveryDateModule,
20574
+ TransactionHeaderPreferredDeliveryDateModule,
20575
+ TransactionHeaderDeliverydateDefinitiveButtonModule,
20576
+ TransactionHeaderDepositPercentageModule,
20577
+ TransactionHeaderDepositAmountModule,
20578
+ TransactionHeaderPaymentButtonModule,
20579
+ corecomponents_v12.IconModule
20580
+ ],
20581
+ declarations: [
20582
+ TransactionHeaderPopupComponent,
20583
+ TransactionHeaderPopupRelationComponent,
20584
+ TransactionHeaderPopupOrderComponent,
20585
+ TransactionHeaderPopupDeliveryComponent,
20586
+ TransactionHeaderPopupPaymentComponent
20587
+ ],
20588
+ exports: [
20589
+ TransactionHeaderPopupComponent
20590
+ ]
20591
+ },] }
20592
+ ];
20593
+
20594
+ var TransactionHeaderDeliveryModule = /** @class */ (function () {
20595
+ function TransactionHeaderDeliveryModule() {
20596
+ }
20597
+ return TransactionHeaderDeliveryModule;
20598
+ }());
20599
+ TransactionHeaderDeliveryModule.decorators = [
20600
+ { type: i0.NgModule, args: [{
20601
+ imports: [
20602
+ common.CommonModule,
20603
+ CoreModule,
20604
+ TransactionHeaderBlockModule,
20605
+ corecomponents_v12.InputCheckboxModule,
20606
+ corecomponents_v12.IconModule,
20607
+ PipeModule,
20608
+ corecomponents_v12.InputDatePickerModule,
20609
+ TransactionHeaderDeliveryDateModule,
20610
+ corecomponents_v12.CoDialogModule,
20611
+ TransactionHeaderDeliveryOptionsModule,
20612
+ TransactionHeaderRemarksModule,
20613
+ TransactionHeaderReferenceModule,
20614
+ TransactionHeaderRelationReferenceModule,
20615
+ TransactionHeaderDeliveryMethodModule,
20616
+ TransactionHeaderPreferredDeliveryDateModule,
20617
+ DialogTransactionHeaderDeliveryMethodModule,
20618
+ TransactionHeaderPartialDeliveryModule,
20619
+ TransactionHeaderPopupModule,
20620
+ TransactionHeaderDeliveryMethodButtonModule,
20621
+ TransactionHeaderDeliverydateDefinitiveButtonModule
20622
+ ],
20623
+ declarations: [
20624
+ TransactionHeaderDeliveryComponent
20625
+ ],
20626
+ exports: [
20627
+ TransactionHeaderDeliveryComponent
20628
+ ]
20629
+ },] }
20630
+ ];
20631
+
20496
20632
  var CheckoutModule = /** @class */ (function () {
20497
20633
  function CheckoutModule() {
20498
20634
  }
@@ -21072,7 +21208,7 @@
21072
21208
  TransactionHeaderRelationComponent.decorators = [
21073
21209
  { type: i0.Component, args: [{
21074
21210
  selector: "co-transaction-header-relation",
21075
- template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"relation.displayName\"></div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-relation-address\" [textContent]=\"relation.displayFirstAddress\"></div>\n <div class=\"header-relation-postal\" [textContent]=\"relation.displayFirstPostal\"></div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-relation-email\" [textContent]=\"relation.primaryEmail\"></div>\n <div class=\"header-relation-phone\" [textContent]=\"relation.primaryPhoneOrMobileNumber\"></div>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"0\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n ",
21211
+ template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"relation.displayName\"></div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-relation-address\" [textContent]=\"relation.displayFirstAddress\"></div>\n <div class=\"header-relation-postal\" [textContent]=\"relation.displayFirstPostal\"></div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-relation-email\" [textContent]=\"relation.primaryEmail\"></div>\n <div class=\"header-relation-phone\" [textContent]=\"relation.primaryPhoneOrMobileNumber\"></div>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"0\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n ",
21076
21212
  providers: [
21077
21213
  corecomponents_v12.FormMasterService
21078
21214
  ],
@@ -21256,7 +21392,7 @@
21256
21392
  TransactionHeaderPaymentComponent.decorators = [
21257
21393
  { type: i0.Component, args: [{
21258
21394
  selector: "co-transaction-header-payment",
21259
- template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"'BALANCE' | localize\"></div>\n <div class=\"header-block-balance\" *ngIf=\"transactionInfo.transactionKind !== transKind.PurchaseOrder\" (click)=\"openPayment($event)\">\n <co-icon class=\"payment-icon\" [iconData]=\"iconCacheService.getIcon(icons.CreditCardSolid)\"></co-icon>\n <div class=\"payment-payed-wrapper\">\n <span class=\"payment-to-pay\" [textContent]=\"(toPay | coCurrency) || 0\"></span>\n <span class=\"payment-divider\" [textContent]=\"'/'\"></span>\n <span class=\"payment-paid\" [class.success]=\"paid >= toPay\" [textContent]=\"(paid | coCurrency) || 0\"></span>\n </div>\n </div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_PERCENTAGE' | localize\"></div>\n <co-transaction-header-deposit-percentage class=\"transaction-header-deposit\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-percentage>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_AMOUNT' | localize\"></div>\n <co-transaction-header-deposit-amount class=\"transaction-header-deposit\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-amount>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"2\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n<!--\n <co-dialog class=\"transaction-header-payment-dialog\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title\" [textContent]=\"'PAYMENT_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"payment-dialog-section\">\n <co-deposit-payment [branch]=\"transactionInfo.branch?.relationNr\" [transactionUuid]=\"transactionInfo.uuid\"></co-deposit-payment>\n </div>\n </co-dialog>\n-->\n <co-dialog class=\"payment-dialog\" [customCssClass]=\"'co-small-scrollbar'\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"showPaymentDialog = false\"\n >\n <co-payment\n [transId]=\"transactionInfo.id\"\n [branch]=\"transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"toPay\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
21395
+ template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"'BALANCE' | localize\"></div>\n <co-transaction-header-payment-button *ngIf=\"transactionInfo.transactionKind !== transKind.PurchaseOrder\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-header-payment-button>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_PERCENTAGE' | localize\"></div>\n <co-transaction-header-deposit-percentage class=\"transaction-header-deposit\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-percentage>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-deposit-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_AMOUNT' | localize\"></div>\n <co-transaction-header-deposit-amount class=\"transaction-header-deposit\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-deposit-amount>\n </ng-template>\n <co-transaction-header-popup *ngIf=\"showDialog\"\n [activeCategoryIndex]=\"2\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (closeClick)=\"showDialog = false\"></co-transaction-header-popup>\n<!--\n <co-dialog class=\"transaction-header-payment-dialog\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title\" [textContent]=\"'PAYMENT_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"payment-dialog-section\">\n <co-deposit-payment [branch]=\"transactionInfo.branch?.relationNr\" [transactionUuid]=\"transactionInfo.uuid\"></co-deposit-payment>\n </div>\n </co-dialog>\n-->\n <co-dialog class=\"payment-dialog\" [customCssClass]=\"'co-small-scrollbar'\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"showPaymentDialog = false\"\n >\n <co-payment\n [transId]=\"transactionInfo.id\"\n [branch]=\"transactionInfo.branch?.relationNr\"\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"toPay\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
21260
21396
  encapsulation: i0.ViewEncapsulation.None
21261
21397
  },] }
21262
21398
  ];
@@ -21292,7 +21428,8 @@
21292
21428
  TransactionHeaderDepositAmountModule,
21293
21429
  DialogTransactionHeaderDiscountModule,
21294
21430
  DepositPaymentModule,
21295
- TransactionHeaderPopupModule
21431
+ TransactionHeaderPopupModule,
21432
+ TransactionHeaderPaymentButtonModule
21296
21433
  ],
21297
21434
  declarations: [
21298
21435
  TransactionHeaderPaymentComponent
@@ -24135,6 +24272,8 @@
24135
24272
  __extends(TransactionLinePurchaseConfirmationComponent, _super);
24136
24273
  function TransactionLinePurchaseConfirmationComponent() {
24137
24274
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
24275
+ _this.transactionTypeCategory = TransactionTypeCategory;
24276
+ _this.docDeliveryBatch = new docDeliveryBatch_bo.DocDeliveryBatch();
24138
24277
  _this.filteredDocBatchArray = [];
24139
24278
  _this.isEditMode = false;
24140
24279
  _this._subs = [];
@@ -24214,7 +24353,8 @@
24214
24353
  });
24215
24354
  };
24216
24355
  TransactionLinePurchaseConfirmationComponent.prototype.handleSelectHistoryRow = function (row) {
24217
- this.docDeliveryBatch = row;
24356
+ this.docDeliveryBatch = Object.assign(new docDeliveryBatch_bo.DocDeliveryBatch(), row);
24357
+ this.docDeliveryBatch.docDate = new Date(row.docDate);
24218
24358
  };
24219
24359
  TransactionLinePurchaseConfirmationComponent.prototype.handleCancelClick = function () {
24220
24360
  this._initNewDocDeliveryBatch();
@@ -24227,18 +24367,16 @@
24227
24367
  this.filteredDocBatchArray = this.transactionLine.purchasePortalLine.docBatchArray.filter(function (value) { return value.historical === 'G'; });
24228
24368
  };
24229
24369
  TransactionLinePurchaseConfirmationComponent.prototype._initNewDocDeliveryBatch = function () {
24230
- var tempDocBatch = new docDeliveryBatch_bo.DocDeliveryBatch();
24231
- tempDocBatch.docAmount = +this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed;
24232
- tempDocBatch.docDate = new Date();
24233
- tempDocBatch.confirmedPrice = +this.transactionLine.purchasePortalLine.confirmedPrice;
24234
- this.docDeliveryBatch = tempDocBatch;
24370
+ this.docDeliveryBatch = new docDeliveryBatch_bo.DocDeliveryBatch();
24371
+ this.docDeliveryBatch.docAmount = 0;
24372
+ this.docDeliveryBatch.confirmedPrice = 0;
24235
24373
  };
24236
24374
  return TransactionLinePurchaseConfirmationComponent;
24237
24375
  }(TransactionBaseComponent));
24238
24376
  TransactionLinePurchaseConfirmationComponent.decorators = [
24239
24377
  { type: i0.Component, args: [{
24240
24378
  selector: 'co-transaction-line-purchase-confirmation',
24241
- template: "\n <div class=\"confirmation-details-wrapper\">\n <co-form>\n <div class=\"header-wrapper\">\n <div class=\"details-header\">\n <span [textContent]=\"'CONFIRM_DETAILS' | localize\"></span>\n <span class=\"deliver-date-text\" [textContent]=\"('REQUESTED_DELIVERY' | localize) + ': ' + (transactionLine.deliveryDate | date:'dd-MM-YYYY')\"></span>\n </div>\n </div>\n <div class=\"header-inform-user\" *ngIf=\"isEditing\">\n <span class=\"header-inform-user editting\" [textContent]=\"'EDITING_DATA_ROW' | localize\"></span>\n </div>\n <div class=\"columns-wrapper\">\n <div class=\"details-column\">\n <co-input-number-picker class=\"details-input\"\n [(model)]=\"docDeliveryBatch.docAmount\"\n [min]=\"1\"\n [max]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"\n ></co-input-number-picker>\n <co-input-date class=\"details-input\"\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n [(model)]=\"docDeliveryBatch.docDate\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n required\n ></co-input-date>\n <co-transaction-labeled-price-input\n [model]=\"docDeliveryBatch.confirmedPrice\"\n [placeholder]=\"'CONFIRMED_PRICE' | localize\"\n [required]=\"true\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-transaction-labeled-price-input>\n </div>\n\n <div class=\"divider-wrapper\">\n <div class=\"divider\"></div>\n </div>\n\n <div class=\"details-column\">\n <co-input-text class=\"details-input\"\n [(model)]=\"docDeliveryBatch.reference\"\n [placeholder]=\"'REFERENCE' | localize\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-input-text>\n <co-input-text class=\"details-input\"\n [(model)]=\"docDeliveryBatch.deliveryBatch\"\n [placeholder]=\"'DELIVERY_BATCH' | localize\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-input-text>\n </div>\n </div>\n </co-form>\n\n <div class=\"save-cancel-wrapper\">\n <co-button [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"handleSaveDetailsEdit()\"\n ></co-button>\n <co-button class=\"cancel-button\"\n [iconData]=\"iconCacheService.getIcon(icons.Cancel)\"\n (click)=\"handleCancelClick()\"\n ></co-button>\n </div>\n </div>\n <co-transaction-confirmation-history\n [collection]=\"filteredDocBatchArray\"\n (deleteRow)=\"handleDeleteHistoryRow($event)\"\n (selectRow)=\"handleSelectHistoryRow($event)\"\n ></co-transaction-confirmation-history>\n ",
24379
+ template: "\n <div class=\"confirmation-details-wrapper\">\n <co-form>\n <div class=\"header-wrapper\">\n <div class=\"details-header\">\n <span [textContent]=\"'CONFIRM_DETAILS' | localize\"></span>\n <co-transaction-line-statusbar class=\"status-bar-wrapper\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderOrderConfirmation\"\n ></co-transaction-line-statusbar>\n </div>\n </div>\n <div class=\"header-inform-user\" *ngIf=\"isEditing\">\n <span class=\"header-inform-user editting\" [textContent]=\"'EDITING_DATA_ROW' | localize\"></span>\n </div>\n <div class=\"columns-wrapper\">\n <div class=\"details-column\">\n <co-input-number-picker class=\"details-input\"\n [(model)]=\"docDeliveryBatch.docAmount\"\n [min]=\"1\"\n [max]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"\n ></co-input-number-picker>\n <co-input-date class=\"details-input\"\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularIndustryClock)\"\n [(model)]=\"docDeliveryBatch.docDate\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n required\n ></co-input-date>\n <co-transaction-labeled-price-input\n [(model)]=\"docDeliveryBatch.confirmedPrice\"\n [defaultEditMode]=\"false\"\n [placeholder]=\"'CONFIRMED_PRICE' | localize\"\n [required]=\"true\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-transaction-labeled-price-input>\n </div>\n\n <div class=\"divider-wrapper\">\n <div class=\"divider\"></div>\n </div>\n\n <div class=\"details-column\">\n <co-input-text class=\"details-input\"\n [(model)]=\"docDeliveryBatch.reference\"\n [placeholder]=\"'REFERENCE' | localize\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-input-text>\n <co-input-text class=\"details-input\"\n [(model)]=\"docDeliveryBatch.deliveryBatch\"\n [placeholder]=\"'DELIVERY_BATCH' | localize\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-input-text>\n </div>\n </div>\n </co-form>\n\n <div class=\"save-cancel-wrapper\">\n <co-button [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"handleSaveDetailsEdit()\"\n ></co-button>\n <co-button class=\"cancel-button\"\n [iconData]=\"iconCacheService.getIcon(icons.Cancel)\"\n (click)=\"handleCancelClick()\"\n ></co-button>\n </div>\n </div>\n <co-transaction-confirmation-history\n [collection]=\"filteredDocBatchArray\"\n (deleteRow)=\"handleDeleteHistoryRow($event)\"\n (selectRow)=\"handleSelectHistoryRow($event)\"\n ></co-transaction-confirmation-history>\n ",
24242
24380
  providers: [
24243
24381
  corecomponents_v12.FormMasterService
24244
24382
  ],
@@ -24255,6 +24393,7 @@
24255
24393
  this.defaultEditMode = false;
24256
24394
  this.readonly = false;
24257
24395
  this.required = false;
24396
+ this.modelChange = new i0.EventEmitter();
24258
24397
  this._editMode = false;
24259
24398
  }
24260
24399
  Object.defineProperty(TransactionLabeledPriceInputComponent.prototype, "child", {
@@ -24296,25 +24435,29 @@
24296
24435
  TransactionLabeledPriceInputComponent.prototype.showClass = function () {
24297
24436
  return true;
24298
24437
  };
24438
+ TransactionLabeledPriceInputComponent.prototype.handleModelChange = function (event) {
24439
+ this.modelChange.next(event);
24440
+ };
24299
24441
  return TransactionLabeledPriceInputComponent;
24300
24442
  }());
24301
24443
  TransactionLabeledPriceInputComponent.decorators = [
24302
24444
  { type: i0.Component, args: [{
24303
24445
  selector: "co-transaction-labeled-price-input",
24304
- template: "\n <co-input-text *ngIf=\"(!editMode || readonly) && !defaultEditMode\"\n [model]=\"model | coCurrency\"\n [placeholder]=\"placeholder\"\n [readonly]=\"true\"\n [required]=\"required\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [hideArrowButtons]=\"true\"\n [placeholder]=\"placeholder\"\n [type]=\"'number'\"\n [min]=\"0\"\n [required]=\"required\"\n [(model)]=\"model\"\n (blur)=\"editMode = false\"\n [customHeight]=\"true\"\n ></co-input-text>\n ",
24446
+ template: "\n <co-input-text *ngIf=\"(!editMode || readonly) && !defaultEditMode\"\n [model]=\"model | coCurrency : true\"\n [placeholder]=\"placeholder\"\n [readonly]=\"true\"\n [required]=\"required\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [hideArrowButtons]=\"true\"\n [placeholder]=\"placeholder\"\n [type]=\"'number'\"\n [min]=\"0\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [model]=\"model\"\n (modelChange)=\"handleModelChange($event)\"\n (blur)=\"editMode = false\"\n [customHeight]=\"true\"\n ></co-input-text>\n ",
24305
24447
  encapsulation: i0.ViewEncapsulation.None
24306
24448
  },] }
24307
24449
  ];
24308
24450
  TransactionLabeledPriceInputComponent.ctorParameters = function () { return []; };
24309
24451
  TransactionLabeledPriceInputComponent.propDecorators = {
24310
24452
  child: [{ type: i0.ViewChild, args: ['input', { read: corecomponents_v12.InputTextComponent },] }],
24311
- placeholder: [{ type: i0.Input }],
24312
24453
  model: [{ type: i0.Input }],
24454
+ placeholder: [{ type: i0.Input }],
24313
24455
  defaultEditMode: [{ type: i0.Input }],
24314
24456
  readonly: [{ type: i0.Input }],
24315
24457
  required: [{ type: i0.Input }],
24316
24458
  editMode: [{ type: i0.Input }],
24317
- handleClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }],
24459
+ modelChange: [{ type: i0.Output }],
24460
+ handleClick: [{ type: i0.HostListener, args: ["mousedown", ["$event"],] }],
24318
24461
  showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-labeled-price-input",] }]
24319
24462
  };
24320
24463
 
@@ -24357,7 +24500,8 @@
24357
24500
  TransactionConfirmationHistoryModule,
24358
24501
  corecomponents_v12.InputNumberPickerModule,
24359
24502
  corecomponents_v12.ButtonModule,
24360
- TransactionLabeledPriceInputModule
24503
+ TransactionLabeledPriceInputModule,
24504
+ TransactionLineStatusbarModule
24361
24505
  ],
24362
24506
  declarations: [
24363
24507
  TransactionLinePurchaseConfirmationComponent
@@ -25755,7 +25899,8 @@
25755
25899
  i4.SendMethodDialogModule,
25756
25900
  QuickSendButtonModule,
25757
25901
  corecomponents_v12.CheckmarkOverlayModule,
25758
- corecomponents_v12.IconModule
25902
+ corecomponents_v12.IconModule,
25903
+ TransactionButtonModule
25759
25904
  ],
25760
25905
  declarations: [
25761
25906
  TransactionQuickAccessOrderConfirmationComponent
@@ -27094,7 +27239,7 @@
27094
27239
  TransactionLineDiscountButtonComponent.decorators = [
27095
27240
  { type: i0.Component, args: [{
27096
27241
  selector: "co-transaction-line-discount-button",
27097
- template: "\n <co-transaction-button class=\"center-align\"\n [label]=\"(transactionLine.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)\"\n (click)=\"handleShowDialog($event)\"\n ></co-transaction-button>\n<!--\n <div class=\"transaction-line-button custom-width transaction-line-totals-discount\" (click)=\"handleShowDialog($event)\">\n <span class=\"co-transaction-overflow-ellipsis\" [class.transaction-negative-value]=\"transactionLine.lineTotalDiscountAmount < 0\"\n [textContent]=\"(transactionLine.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)\"></span>\n </div>\n-->\n <co-dialog-transaction-line-discount *ngIf=\"showDialogDiscount\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showDialogDiscount = false\"\n ></co-dialog-transaction-line-discount>\n ",
27242
+ template: "\n <co-transaction-button class=\"center-align\" [class.discount]=\"!!transactionLine.lineTotalDiscountAmount\"\n [label]=\"!!transactionLine.lineTotalDiscountAmount ? ('- ' + (transactionLine.lineTotalDiscountAmount | coCurrency)) : ('DISCOUNT' | localize)\"\n (click)=\"handleShowDialog($event)\"\n ></co-transaction-button>\n<!--\n <div class=\"transaction-line-button custom-width transaction-line-totals-discount\" (click)=\"handleShowDialog($event)\">\n <span class=\"co-transaction-overflow-ellipsis\" [class.transaction-negative-value]=\"transactionLine.lineTotalDiscountAmount < 0\"\n [textContent]=\"(transactionLine.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)\"></span>\n </div>\n-->\n <co-dialog-transaction-line-discount *ngIf=\"showDialogDiscount\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showDialogDiscount = false\"\n ></co-dialog-transaction-line-discount>\n ",
27098
27243
  encapsulation: i0.ViewEncapsulation.None
27099
27244
  },] }
27100
27245
  ];
@@ -27855,6 +28000,75 @@
27855
28000
  },] }
27856
28001
  ];
27857
28002
 
28003
+ var TransactionLineSupplierDeliveryDateButtonComponent = /** @class */ (function (_super) {
28004
+ __extends(TransactionLineSupplierDeliveryDateButtonComponent, _super);
28005
+ function TransactionLineSupplierDeliveryDateButtonComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, _overlayService, _elementRef) {
28006
+ var _this = _super.call(this, transactionEventService, iconCacheService, imageService, dictionaryService, service, changeDetector) || this;
28007
+ _this.transactionEventService = transactionEventService;
28008
+ _this.service = service;
28009
+ _this.iconCacheService = iconCacheService;
28010
+ _this.dictionaryService = dictionaryService;
28011
+ _this.imageService = imageService;
28012
+ _this.changeDetector = changeDetector;
28013
+ _this._overlayService = _overlayService;
28014
+ _this._elementRef = _elementRef;
28015
+ _this.icons = Icon;
28016
+ return _this;
28017
+ }
28018
+ TransactionLineSupplierDeliveryDateButtonComponent.prototype.showClass = function () {
28019
+ return true;
28020
+ };
28021
+ TransactionLineSupplierDeliveryDateButtonComponent.prototype.handleShowDialog = function (event) {
28022
+ };
28023
+ return TransactionLineSupplierDeliveryDateButtonComponent;
28024
+ }(TransactionBaseComponent));
28025
+ TransactionLineSupplierDeliveryDateButtonComponent.decorators = [
28026
+ { type: i0.Component, args: [{
28027
+ selector: "co-transaction-line-supplier-delivery-date-button",
28028
+ template: "\n <co-transaction-button class=\"big center-align\"\n [iconData]=\"iconCacheService.getIcon(icons.RegularIndustryClock)\"\n [label]=\"transactionLine.purchasePortalLine.deliveryDateConfirmed | date:'d MMM yyyy'\"\n [rightIconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"\n (click)=\"handleShowDialog($event)\"\n ></co-transaction-button>\n<!--\n <div class=\"transaction-line-button big\" [class.no-pointer]=\"readonly\" (click)=\"handleShowDialog($event)\">\n <co-transaction-date-select [date]=\"transactionLine.deliveryDate\"></co-transaction-date-select>\n </div>\n-->\n ",
28029
+ providers: [
28030
+ corecomponents_v12.OverlayService
28031
+ ],
28032
+ encapsulation: i0.ViewEncapsulation.None
28033
+ },] }
28034
+ ];
28035
+ TransactionLineSupplierDeliveryDateButtonComponent.ctorParameters = function () { return [
28036
+ { type: TransactionEventService },
28037
+ { type: TransactionService },
28038
+ { type: IconCacheService },
28039
+ { type: DictionaryService },
28040
+ { type: TransactionImageService },
28041
+ { type: i0.ChangeDetectorRef },
28042
+ { type: corecomponents_v12.OverlayService },
28043
+ { type: i0.ElementRef }
28044
+ ]; };
28045
+ TransactionLineSupplierDeliveryDateButtonComponent.propDecorators = {
28046
+ showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-supplier-delivery-date-button",] }]
28047
+ };
28048
+
28049
+ var TransactionLineSupplierDeliveryDateButtonModule = /** @class */ (function () {
28050
+ function TransactionLineSupplierDeliveryDateButtonModule() {
28051
+ }
28052
+ return TransactionLineSupplierDeliveryDateButtonModule;
28053
+ }());
28054
+ TransactionLineSupplierDeliveryDateButtonModule.decorators = [
28055
+ { type: i0.NgModule, args: [{
28056
+ imports: [
28057
+ common.CommonModule,
28058
+ corecomponents_v12.IconModule,
28059
+ PipeModule,
28060
+ TransactionDateSelectModule,
28061
+ TransactionButtonModule
28062
+ ],
28063
+ declarations: [
28064
+ TransactionLineSupplierDeliveryDateButtonComponent
28065
+ ],
28066
+ exports: [
28067
+ TransactionLineSupplierDeliveryDateButtonComponent
28068
+ ]
28069
+ },] }
28070
+ ];
28071
+
27858
28072
  var TransactionPurchaseOrderLineModule = /** @class */ (function () {
27859
28073
  function TransactionPurchaseOrderLineModule() {
27860
28074
  }
@@ -27883,7 +28097,9 @@
27883
28097
  corecomponents_v12.ObserveVisibilityModule,
27884
28098
  corecomponents_v12.InputTextModule,
27885
28099
  TransactionDateSelectModule,
27886
- TransactionButtonModule
28100
+ TransactionButtonModule,
28101
+ TransactionLineDiscountButtonModule,
28102
+ TransactionLineSupplierDeliveryDateButtonModule
27887
28103
  ],
27888
28104
  declarations: [
27889
28105
  TransactionPurchaseOrderLineComponent
@@ -31066,301 +31282,305 @@
31066
31282
  exports["ɵfz"] = TransactionHeaderDeliverydateDefinitiveButtonModule;
31067
31283
  exports["ɵg"] = TransactionConnectorService;
31068
31284
  exports["ɵga"] = TransactionHeaderDeliverydateDefinitiveButtonComponent;
31069
- exports["ɵgb"] = TransactionHeaderPopupComponent;
31070
- exports["ɵgc"] = TransactionHeaderPopupRelationComponent;
31071
- exports["ɵgd"] = TransactionHeaderPopupBaseComponent;
31072
- exports["ɵge"] = TransactionHeaderPopupOrderComponent;
31073
- exports["ɵgf"] = TransactionHeaderPopupDeliveryComponent;
31074
- exports["ɵgg"] = TransactionHeaderPopupPaymentComponent;
31075
- exports["ɵgh"] = TransactionHeaderDepositPercentageModule;
31076
- exports["ɵgi"] = TransactionHeaderDepositPercentageComponent;
31077
- exports["ɵgj"] = TransactionHeaderDepositAmountModule;
31078
- exports["ɵgk"] = TransactionHeaderDepositAmountComponent;
31079
- exports["ɵgl"] = CheckoutOverviewRelationEditComponent;
31080
- exports["ɵgm"] = CheckoutOverviewDeliveryEditComponent;
31081
- exports["ɵgn"] = CheckoutOverviewDeliveryAddressComponent;
31082
- exports["ɵgo"] = CheckoutOverviewPaymentComponent;
31083
- exports["ɵgp"] = CheckoutLoginComponent;
31084
- exports["ɵgq"] = TransactionHeaderPaymentModule;
31085
- exports["ɵgr"] = TransactionHeaderPaymentComponent;
31086
- exports["ɵgs"] = TransactionLinesGridModule;
31087
- exports["ɵgt"] = TransactionBaseGridModule;
31088
- exports["ɵgu"] = TransactionLineSidePanelModule;
31089
- exports["ɵgv"] = TransactionLineSidePanelDefaultModule;
31090
- exports["ɵgw"] = TransactionLinePriceListModule;
31091
- exports["ɵgx"] = TransactionLinePriceListComponent;
31092
- exports["ɵgy"] = TransactionLineVatModule;
31093
- exports["ɵgz"] = TransactionLineVatComponent;
31285
+ exports["ɵgb"] = TransactionHeaderDepositPercentageModule;
31286
+ exports["ɵgc"] = TransactionHeaderDepositPercentageComponent;
31287
+ exports["ɵgd"] = TransactionHeaderDepositAmountModule;
31288
+ exports["ɵge"] = TransactionHeaderDepositAmountComponent;
31289
+ exports["ɵgf"] = TransactionHeaderPaymentButtonModule;
31290
+ exports["ɵgg"] = TransactionHeaderPaymentButtonComponent;
31291
+ exports["ɵgh"] = TransactionHeaderPopupComponent;
31292
+ exports["ɵgi"] = TransactionHeaderPopupRelationComponent;
31293
+ exports["ɵgj"] = TransactionHeaderPopupBaseComponent;
31294
+ exports["ɵgk"] = TransactionHeaderPopupOrderComponent;
31295
+ exports["ɵgl"] = TransactionHeaderPopupDeliveryComponent;
31296
+ exports["ɵgm"] = TransactionHeaderPopupPaymentComponent;
31297
+ exports["ɵgn"] = CheckoutOverviewRelationEditComponent;
31298
+ exports["ɵgo"] = CheckoutOverviewDeliveryEditComponent;
31299
+ exports["ɵgp"] = CheckoutOverviewDeliveryAddressComponent;
31300
+ exports["ɵgq"] = CheckoutOverviewPaymentComponent;
31301
+ exports["ɵgr"] = CheckoutLoginComponent;
31302
+ exports["ɵgs"] = TransactionHeaderPaymentModule;
31303
+ exports["ɵgt"] = TransactionHeaderPaymentComponent;
31304
+ exports["ɵgu"] = TransactionLinesGridModule;
31305
+ exports["ɵgv"] = TransactionBaseGridModule;
31306
+ exports["ɵgw"] = TransactionLineSidePanelModule;
31307
+ exports["ɵgx"] = TransactionLineSidePanelDefaultModule;
31308
+ exports["ɵgy"] = TransactionLinePriceListModule;
31309
+ exports["ɵgz"] = TransactionLinePriceListComponent;
31094
31310
  exports["ɵh"] = TransactionConnectorAdapterService;
31095
- exports["ɵha"] = TransactionLineQuantityModule;
31096
- exports["ɵhb"] = TransactionLineQuantityComponent;
31097
- exports["ɵhc"] = TransactionLineLineDiscountModule;
31098
- exports["ɵhd"] = TransactionLineLineDiscountComponent;
31099
- exports["ɵhe"] = TransactionLineDeliveryMethodModule;
31100
- exports["ɵhf"] = TransactionLineDeliveryMethodComponent;
31101
- exports["ɵhg"] = TransactionLineDeliveryDateModule;
31102
- exports["ɵhh"] = TransactionDateSelectModule;
31103
- exports["ɵhi"] = TransactionDateSelectComponent;
31104
- exports["ɵhj"] = TransactionLineDeliveryDateComponent;
31105
- exports["ɵhk"] = TransactionLineReferenceModule;
31106
- exports["ɵhl"] = TransactionLineReferenceComponent;
31107
- exports["ɵhm"] = TransactionLineCommissionCodeModule;
31108
- exports["ɵhn"] = TransactionLineCommissionCodeComponent;
31109
- exports["ɵho"] = TransactionLineWarehouseModule;
31110
- exports["ɵhp"] = TransactionLineWarehouseComponent;
31111
- exports["ɵhq"] = TransactionLineDiscountAmountModule;
31112
- exports["ɵhr"] = TransactionLineDiscountAmountComponent;
31113
- exports["ɵhs"] = TransactionLineQuantumDiscountModule;
31114
- exports["ɵht"] = TransactionLineQuantumDiscountComponent;
31115
- exports["ɵhu"] = TransactionLineSpecialDiscountModule;
31116
- exports["ɵhv"] = TransactionLineSpecialDiscountComponent;
31117
- exports["ɵhw"] = TransactionLineSupplierModule;
31118
- exports["ɵhx"] = TransactionLineSupplierComponent;
31119
- exports["ɵhy"] = TransactionLinePriceModule;
31120
- exports["ɵhz"] = TransactionLinePriceComponent;
31311
+ exports["ɵha"] = TransactionLineVatModule;
31312
+ exports["ɵhb"] = TransactionLineVatComponent;
31313
+ exports["ɵhc"] = TransactionLineQuantityModule;
31314
+ exports["ɵhd"] = TransactionLineQuantityComponent;
31315
+ exports["ɵhe"] = TransactionLineLineDiscountModule;
31316
+ exports["ɵhf"] = TransactionLineLineDiscountComponent;
31317
+ exports["ɵhg"] = TransactionLineDeliveryMethodModule;
31318
+ exports["ɵhh"] = TransactionLineDeliveryMethodComponent;
31319
+ exports["ɵhi"] = TransactionLineDeliveryDateModule;
31320
+ exports["ɵhj"] = TransactionDateSelectModule;
31321
+ exports["ɵhk"] = TransactionDateSelectComponent;
31322
+ exports["ɵhl"] = TransactionLineDeliveryDateComponent;
31323
+ exports["ɵhm"] = TransactionLineReferenceModule;
31324
+ exports["ɵhn"] = TransactionLineReferenceComponent;
31325
+ exports["ɵho"] = TransactionLineCommissionCodeModule;
31326
+ exports["ɵhp"] = TransactionLineCommissionCodeComponent;
31327
+ exports["ɵhq"] = TransactionLineWarehouseModule;
31328
+ exports["ɵhr"] = TransactionLineWarehouseComponent;
31329
+ exports["ɵhs"] = TransactionLineDiscountAmountModule;
31330
+ exports["ɵht"] = TransactionLineDiscountAmountComponent;
31331
+ exports["ɵhu"] = TransactionLineQuantumDiscountModule;
31332
+ exports["ɵhv"] = TransactionLineQuantumDiscountComponent;
31333
+ exports["ɵhw"] = TransactionLineSpecialDiscountModule;
31334
+ exports["ɵhx"] = TransactionLineSpecialDiscountComponent;
31335
+ exports["ɵhy"] = TransactionLineSupplierModule;
31336
+ exports["ɵhz"] = TransactionLineSupplierComponent;
31121
31337
  exports["ɵi"] = SelectMultipleCacheService;
31122
- exports["ɵia"] = TransactionLineSupplierButtonModule;
31123
- exports["ɵib"] = DialogTransactionLineSupplierModule;
31124
- exports["ɵic"] = DialogTransactionLineSupplierComponent;
31125
- exports["ɵid"] = TransactionLineSupplierButtonComponent;
31126
- exports["ɵie"] = TransactionLineSidePanelDefaultComponent;
31127
- exports["ɵif"] = TransactionReceivingGoodsHistoryModule;
31128
- exports["ɵig"] = TransactionHistoryGridModule;
31129
- exports["ɵih"] = TransactionHistoryGridStatusModule;
31130
- exports["ɵii"] = TransactionHistoryGridStatusComponent;
31131
- exports["ɵij"] = TransactionHistoryGridComponent;
31132
- exports["ɵik"] = TransactionReceivingGoodsHistoryComponent;
31133
- exports["ɵil"] = TransactionButtonBarModule;
31134
- exports["ɵim"] = AnimatedCheckboxModule;
31135
- exports["ɵin"] = AnimatedCheckboxComponent;
31136
- exports["ɵio"] = TransactionButtonBarComponent;
31137
- exports["ɵip"] = TransactionButtonBarButtonComponent;
31138
- exports["ɵiq"] = TransactionButtonBarButtonBaseComponent;
31139
- exports["ɵir"] = TransactionSalesPurchaseButtonBarButtonComponent;
31140
- exports["ɵis"] = TransactionPurchaseReceiveGoodsButtonBarButtonComponent;
31141
- exports["ɵit"] = TransactionSalesAllocationButtonBarButtonComponent;
31142
- exports["ɵiu"] = TransactionPurchaseConfirmationButtonBarButtonComponent;
31143
- exports["ɵiv"] = TransactionSalesDeliveryButtonBarButtonComponent;
31144
- exports["ɵiw"] = TransactionSalesInvoiceButtonBarButtonComponent;
31145
- exports["ɵix"] = TransactionPurchaseInvoiceButtonBarButtonComponent;
31146
- exports["ɵiy"] = TransactionLineSidePanelPurchaseModule;
31147
- exports["ɵiz"] = DefaultOkCancelButtonsModule;
31338
+ exports["ɵia"] = TransactionLinePriceModule;
31339
+ exports["ɵib"] = TransactionLinePriceComponent;
31340
+ exports["ɵic"] = TransactionLineSupplierButtonModule;
31341
+ exports["ɵid"] = DialogTransactionLineSupplierModule;
31342
+ exports["ɵie"] = DialogTransactionLineSupplierComponent;
31343
+ exports["ɵif"] = TransactionLineSupplierButtonComponent;
31344
+ exports["ɵig"] = TransactionLineSidePanelDefaultComponent;
31345
+ exports["ɵih"] = TransactionReceivingGoodsHistoryModule;
31346
+ exports["ɵii"] = TransactionHistoryGridModule;
31347
+ exports["ɵij"] = TransactionHistoryGridStatusModule;
31348
+ exports["ɵik"] = TransactionHistoryGridStatusComponent;
31349
+ exports["ɵil"] = TransactionHistoryGridComponent;
31350
+ exports["ɵim"] = TransactionReceivingGoodsHistoryComponent;
31351
+ exports["ɵin"] = TransactionButtonBarModule;
31352
+ exports["ɵio"] = AnimatedCheckboxModule;
31353
+ exports["ɵip"] = AnimatedCheckboxComponent;
31354
+ exports["ɵiq"] = TransactionButtonBarComponent;
31355
+ exports["ɵir"] = TransactionButtonBarButtonComponent;
31356
+ exports["ɵis"] = TransactionButtonBarButtonBaseComponent;
31357
+ exports["ɵit"] = TransactionSalesPurchaseButtonBarButtonComponent;
31358
+ exports["ɵiu"] = TransactionPurchaseReceiveGoodsButtonBarButtonComponent;
31359
+ exports["ɵiv"] = TransactionSalesAllocationButtonBarButtonComponent;
31360
+ exports["ɵiw"] = TransactionPurchaseConfirmationButtonBarButtonComponent;
31361
+ exports["ɵix"] = TransactionSalesDeliveryButtonBarButtonComponent;
31362
+ exports["ɵiy"] = TransactionSalesInvoiceButtonBarButtonComponent;
31363
+ exports["ɵiz"] = TransactionPurchaseInvoiceButtonBarButtonComponent;
31148
31364
  exports["ɵj"] = BusinessObjectCacheManagerService;
31149
- exports["ɵja"] = DefaultOkCancelButtonsComponent;
31150
- exports["ɵjb"] = TransactionAvailableStockGridModule;
31151
- exports["ɵjc"] = TransactionAvailableStockGridComponent;
31152
- exports["ɵjd"] = TransactionLinePurchaseReceiveGoodsModule;
31153
- exports["ɵje"] = TransactionLineWarehouseLocationButtonModule;
31154
- exports["ɵjf"] = DialogTransactionLineWarehouseLocationModule;
31155
- exports["ɵjg"] = TransactionLineWarehouseLocationModule;
31156
- exports["ɵjh"] = TransactionLineWarehouseLocationComponent;
31157
- exports["ɵji"] = ArticleService;
31158
- exports["ɵjj"] = DialogTransactionLineWarehouseLocationComponent;
31159
- exports["ɵjk"] = TransactionLineWarehouseLocationButtonComponent;
31160
- exports["ɵjl"] = TransactionLabeledWarehouseLocationButtonModule;
31161
- exports["ɵjm"] = TransactionLabeledWarehouseLocationButtonComponent;
31162
- exports["ɵjn"] = TransactionLinePurchaseReceiveGoodsComponent;
31163
- exports["ɵjo"] = TransactionLinePurchaseConfirmationModule;
31164
- exports["ɵjp"] = TransactionLabeledPriceInputModule;
31165
- exports["ɵjq"] = TransactionLabeledPriceInputComponent;
31166
- exports["ɵjr"] = TransactionLinePurchaseConfirmationComponent;
31167
- exports["ɵjs"] = TransactionLineSidePanelPurchaseComponent;
31168
- exports["ɵjt"] = TransactionLineSidePanelSalesModule;
31169
- exports["ɵju"] = TransactionAllocateGoodsHistoryModule;
31170
- exports["ɵjv"] = TransactionAllocateGoodsHistoryComponent;
31171
- exports["ɵjw"] = TransactionLineSalesAllocationModule;
31172
- exports["ɵjx"] = TransactionLineSalesAllocationComponent;
31173
- exports["ɵjy"] = TransactionLineSalesDeliveryModule;
31174
- exports["ɵjz"] = TransactionLineDeliveryHistoryModule;
31365
+ exports["ɵja"] = TransactionLineSidePanelPurchaseModule;
31366
+ exports["ɵjb"] = DefaultOkCancelButtonsModule;
31367
+ exports["ɵjc"] = DefaultOkCancelButtonsComponent;
31368
+ exports["ɵjd"] = TransactionAvailableStockGridModule;
31369
+ exports["ɵje"] = TransactionAvailableStockGridComponent;
31370
+ exports["ɵjf"] = TransactionLinePurchaseReceiveGoodsModule;
31371
+ exports["ɵjg"] = TransactionLineWarehouseLocationButtonModule;
31372
+ exports["ɵjh"] = DialogTransactionLineWarehouseLocationModule;
31373
+ exports["ɵji"] = TransactionLineWarehouseLocationModule;
31374
+ exports["ɵjj"] = TransactionLineWarehouseLocationComponent;
31375
+ exports["ɵjk"] = ArticleService;
31376
+ exports["ɵjl"] = DialogTransactionLineWarehouseLocationComponent;
31377
+ exports["ɵjm"] = TransactionLineWarehouseLocationButtonComponent;
31378
+ exports["ɵjn"] = TransactionLabeledWarehouseLocationButtonModule;
31379
+ exports["ɵjo"] = TransactionLabeledWarehouseLocationButtonComponent;
31380
+ exports["ɵjp"] = TransactionLinePurchaseReceiveGoodsComponent;
31381
+ exports["ɵjq"] = TransactionLinePurchaseConfirmationModule;
31382
+ exports["ɵjr"] = TransactionLabeledPriceInputModule;
31383
+ exports["ɵjs"] = TransactionLabeledPriceInputComponent;
31384
+ exports["ɵjt"] = TransactionLinePurchaseConfirmationComponent;
31385
+ exports["ɵju"] = TransactionLineSidePanelPurchaseComponent;
31386
+ exports["ɵjv"] = TransactionLineSidePanelSalesModule;
31387
+ exports["ɵjw"] = TransactionAllocateGoodsHistoryModule;
31388
+ exports["ɵjx"] = TransactionAllocateGoodsHistoryComponent;
31389
+ exports["ɵjy"] = TransactionLineSalesAllocationModule;
31390
+ exports["ɵjz"] = TransactionLineSalesAllocationComponent;
31175
31391
  exports["ɵk"] = CacheField;
31176
- exports["ɵka"] = TransactionLineDeliveryHistoryComponent;
31177
- exports["ɵkb"] = TransactionLineSalesDeliveryComponent;
31178
- exports["ɵkc"] = TransactionLineSalesInvoiceModule;
31179
- exports["ɵkd"] = TransactionLineInvoiceHistoryModule;
31180
- exports["ɵke"] = TransactionLineInvoiceHistoryComponent;
31181
- exports["ɵkf"] = TransactionLineSalesInvoiceComponent;
31182
- exports["ɵkg"] = TransactionLineSidePanelSalesComponent;
31183
- exports["ɵkh"] = TransactionLineSidePanelComponent;
31184
- exports["ɵki"] = TransactionLineActionButtonsModule;
31185
- exports["ɵkj"] = TransactionArticleTextOverviewModule;
31186
- exports["ɵkk"] = TransactionArticleTextOverviewComponent;
31187
- exports["ɵkl"] = TransactionLineActionButtonsComponent;
31188
- exports["ɵkm"] = TransactionLineActionButtonsPopupComponent;
31189
- exports["ɵkn"] = TransactionBaseGridComponent;
31190
- exports["ɵko"] = TransactionGridBaseComponent;
31191
- exports["ɵkp"] = DialogTransactionLineCommissionCodeModule;
31192
- exports["ɵkq"] = DialogTransactionLineCommissionCodeComponent;
31193
- exports["ɵkr"] = DialogTransactionLineWarehouseModule;
31194
- exports["ɵks"] = DialogTransactionLineWarehouseComponent;
31195
- exports["ɵkt"] = DialogTransactionLineWarehouseCcModule;
31196
- exports["ɵku"] = DialogTransactionLineWarehouseCcComponent;
31197
- exports["ɵkv"] = DialogTransactionLineDeliveryMethodModule;
31198
- exports["ɵkw"] = DialogTransactionLineDeliveryMethodComponent;
31199
- exports["ɵkx"] = DialogTransactionLineVatModule;
31200
- exports["ɵky"] = DialogTransactionLineVatComponent;
31201
- exports["ɵkz"] = DialogTransactionLineDiscountModule;
31392
+ exports["ɵka"] = TransactionLineSalesDeliveryModule;
31393
+ exports["ɵkb"] = TransactionLineDeliveryHistoryModule;
31394
+ exports["ɵkc"] = TransactionLineDeliveryHistoryComponent;
31395
+ exports["ɵkd"] = TransactionLineSalesDeliveryComponent;
31396
+ exports["ɵke"] = TransactionLineSalesInvoiceModule;
31397
+ exports["ɵkf"] = TransactionLineInvoiceHistoryModule;
31398
+ exports["ɵkg"] = TransactionLineInvoiceHistoryComponent;
31399
+ exports["ɵkh"] = TransactionLineSalesInvoiceComponent;
31400
+ exports["ɵki"] = TransactionLineSidePanelSalesComponent;
31401
+ exports["ɵkj"] = TransactionLineSidePanelComponent;
31402
+ exports["ɵkk"] = TransactionLineActionButtonsModule;
31403
+ exports["ɵkl"] = TransactionArticleTextOverviewModule;
31404
+ exports["ɵkm"] = TransactionArticleTextOverviewComponent;
31405
+ exports["ɵkn"] = TransactionLineActionButtonsComponent;
31406
+ exports["ɵko"] = TransactionLineActionButtonsPopupComponent;
31407
+ exports["ɵkp"] = TransactionBaseGridComponent;
31408
+ exports["ɵkq"] = TransactionGridBaseComponent;
31409
+ exports["ɵkr"] = DialogTransactionLineCommissionCodeModule;
31410
+ exports["ɵks"] = DialogTransactionLineCommissionCodeComponent;
31411
+ exports["ɵkt"] = DialogTransactionLineWarehouseModule;
31412
+ exports["ɵku"] = DialogTransactionLineWarehouseComponent;
31413
+ exports["ɵkv"] = DialogTransactionLineWarehouseCcModule;
31414
+ exports["ɵkw"] = DialogTransactionLineWarehouseCcComponent;
31415
+ exports["ɵkx"] = DialogTransactionLineDeliveryMethodModule;
31416
+ exports["ɵky"] = DialogTransactionLineDeliveryMethodComponent;
31417
+ exports["ɵkz"] = DialogTransactionLineVatModule;
31202
31418
  exports["ɵl"] = SelectMultipleParameterizedCacheService;
31203
- exports["ɵla"] = DialogTransactionLinePriceListModule;
31204
- exports["ɵlb"] = DialogTransactionLinePriceListComponent;
31205
- exports["ɵlc"] = DialogTransactionLineDiscountComponent;
31206
- exports["ɵld"] = DialogTransactionHeaderBranchModule;
31207
- exports["ɵle"] = DialogTransactionHeaderBranchComponent;
31208
- exports["ɵlf"] = TransactionLinesGridComponent;
31209
- exports["ɵlg"] = DiscountModule;
31210
- exports["ɵlh"] = DiscountComponent;
31211
- exports["ɵli"] = QuickSendButtonModule;
31212
- exports["ɵlj"] = QuickSendButtonComponent;
31213
- exports["ɵlk"] = TransactionQuickAccessSendMethodBaseComponent;
31214
- exports["ɵll"] = TransactionQuickAccessOverviewModule;
31215
- exports["ɵlm"] = DialogCatalogModule;
31216
- exports["ɵln"] = DialogCatalogComponent;
31217
- exports["ɵlo"] = TransactionSendDocumentsModule;
31218
- exports["ɵlp"] = TransactionSendDocumentsComponent;
31219
- exports["ɵlq"] = AddProductModule;
31220
- exports["ɵlr"] = AddProductComponent;
31221
- exports["ɵls"] = TransactionQuickAccessOverviewComponent;
31222
- exports["ɵlt"] = TransactionQuickAccessOrderDeliveryModule;
31223
- exports["ɵlu"] = TransactionQuickAccessOrderDeliveryComponent;
31224
- exports["ɵlv"] = TransactionQuickAccessOrderPurchaseModule;
31225
- exports["ɵlw"] = TransactionQuickAccessOrderPurchaseComponent;
31226
- exports["ɵlx"] = TransactionQuickAccessGoodsAllocationModule;
31227
- exports["ɵly"] = TransactionQuickAccessGoodsAllocationComponent;
31228
- exports["ɵlz"] = TransactionQuickAccessPurchaseOrderOverviewModule;
31419
+ exports["ɵla"] = DialogTransactionLineVatComponent;
31420
+ exports["ɵlb"] = DialogTransactionLineDiscountModule;
31421
+ exports["ɵlc"] = DialogTransactionLinePriceListModule;
31422
+ exports["ɵld"] = DialogTransactionLinePriceListComponent;
31423
+ exports["ɵle"] = DialogTransactionLineDiscountComponent;
31424
+ exports["ɵlf"] = DialogTransactionHeaderBranchModule;
31425
+ exports["ɵlg"] = DialogTransactionHeaderBranchComponent;
31426
+ exports["ɵlh"] = TransactionLinesGridComponent;
31427
+ exports["ɵli"] = DiscountModule;
31428
+ exports["ɵlj"] = DiscountComponent;
31429
+ exports["ɵlk"] = QuickSendButtonModule;
31430
+ exports["ɵll"] = QuickSendButtonComponent;
31431
+ exports["ɵlm"] = TransactionQuickAccessSendMethodBaseComponent;
31432
+ exports["ɵln"] = TransactionQuickAccessOverviewModule;
31433
+ exports["ɵlo"] = DialogCatalogModule;
31434
+ exports["ɵlp"] = DialogCatalogComponent;
31435
+ exports["ɵlq"] = TransactionSendDocumentsModule;
31436
+ exports["ɵlr"] = TransactionSendDocumentsComponent;
31437
+ exports["ɵls"] = AddProductModule;
31438
+ exports["ɵlt"] = AddProductComponent;
31439
+ exports["ɵlu"] = TransactionQuickAccessOverviewComponent;
31440
+ exports["ɵlv"] = TransactionQuickAccessOrderDeliveryModule;
31441
+ exports["ɵlw"] = TransactionQuickAccessOrderDeliveryComponent;
31442
+ exports["ɵlx"] = TransactionQuickAccessOrderPurchaseModule;
31443
+ exports["ɵly"] = TransactionQuickAccessOrderPurchaseComponent;
31444
+ exports["ɵlz"] = TransactionQuickAccessGoodsAllocationModule;
31229
31445
  exports["ɵm"] = ErrorService;
31230
- exports["ɵma"] = TransactionQuickAccessPurchaseOrderOverviewComponent;
31231
- exports["ɵmb"] = TransactionQuickAccessInvoiceModule;
31232
- exports["ɵmc"] = TransactionQuickAccessInvoiceComponent;
31233
- exports["ɵmd"] = TransactionOrderConfirmationGridModule;
31234
- exports["ɵme"] = TransactionOrderConfirmationGridComponent;
31235
- exports["ɵmf"] = TransactionGridModule;
31236
- exports["ɵmg"] = TransactionGridComponent;
31237
- exports["ɵmh"] = TransactionTileModule;
31238
- exports["ɵmi"] = TransactionTileComponent;
31239
- exports["ɵmj"] = TransactionOverviewLineModule;
31240
- exports["ɵmk"] = EditableLabelModule;
31241
- exports["ɵml"] = EditableLabelComponent;
31242
- exports["ɵmm"] = TransactionBaseLineModule;
31243
- exports["ɵmn"] = TransactionBaseLineComponent;
31244
- exports["ɵmo"] = TransactionLineCommissionButtonModule;
31245
- exports["ɵmp"] = TransactionLineCommissionButtonComponent;
31246
- exports["ɵmq"] = TransactionLineWarehouseButtonModule;
31247
- exports["ɵmr"] = TransactionLineWarehouseButtonComponent;
31248
- exports["ɵms"] = TransactionLineDeliveryButtonModule;
31249
- exports["ɵmt"] = TransactionLineDeliveryButtonComponent;
31250
- exports["ɵmu"] = TransactionLineDeliveryDateButtonModule;
31251
- exports["ɵmv"] = TransactionLineDeliveryDateButtonComponent;
31252
- exports["ɵmw"] = TransactionLineAmountModule;
31253
- exports["ɵmx"] = TransactionLineAmountComponent;
31254
- exports["ɵmy"] = TransactionLineVatButtonModule;
31255
- exports["ɵmz"] = TransactionLineVatButtonComponent;
31446
+ exports["ɵma"] = TransactionQuickAccessGoodsAllocationComponent;
31447
+ exports["ɵmb"] = TransactionQuickAccessPurchaseOrderOverviewModule;
31448
+ exports["ɵmc"] = TransactionQuickAccessPurchaseOrderOverviewComponent;
31449
+ exports["ɵmd"] = TransactionQuickAccessInvoiceModule;
31450
+ exports["ɵme"] = TransactionQuickAccessInvoiceComponent;
31451
+ exports["ɵmf"] = TransactionOrderConfirmationGridModule;
31452
+ exports["ɵmg"] = TransactionOrderConfirmationGridComponent;
31453
+ exports["ɵmh"] = TransactionGridModule;
31454
+ exports["ɵmi"] = TransactionGridComponent;
31455
+ exports["ɵmj"] = TransactionTileModule;
31456
+ exports["ɵmk"] = TransactionTileComponent;
31457
+ exports["ɵml"] = TransactionOverviewLineModule;
31458
+ exports["ɵmm"] = EditableLabelModule;
31459
+ exports["ɵmn"] = EditableLabelComponent;
31460
+ exports["ɵmo"] = TransactionBaseLineModule;
31461
+ exports["ɵmp"] = TransactionBaseLineComponent;
31462
+ exports["ɵmq"] = TransactionLineCommissionButtonModule;
31463
+ exports["ɵmr"] = TransactionLineCommissionButtonComponent;
31464
+ exports["ɵms"] = TransactionLineWarehouseButtonModule;
31465
+ exports["ɵmt"] = TransactionLineWarehouseButtonComponent;
31466
+ exports["ɵmu"] = TransactionLineDeliveryButtonModule;
31467
+ exports["ɵmv"] = TransactionLineDeliveryButtonComponent;
31468
+ exports["ɵmw"] = TransactionLineDeliveryDateButtonModule;
31469
+ exports["ɵmx"] = TransactionLineDeliveryDateButtonComponent;
31470
+ exports["ɵmy"] = TransactionLineAmountModule;
31471
+ exports["ɵmz"] = TransactionLineAmountComponent;
31256
31472
  exports["ɵn"] = SelectSingleCacheService;
31257
- exports["ɵna"] = TransactionLineDiscountButtonModule;
31258
- exports["ɵnb"] = TransactionLineDiscountButtonComponent;
31259
- exports["ɵnc"] = TransactionOverviewLineComponent;
31260
- exports["ɵnd"] = TransactionOrderDeliveryLineModule;
31261
- exports["ɵne"] = TransactionOrderDeliveryLineComponent;
31262
- exports["ɵnf"] = TransactionOrderDeliveryLineBaseComponent;
31263
- exports["ɵng"] = TransactionReceiveGoodsLineModule;
31264
- exports["ɵnh"] = TransactionPrintPackageStickerModule;
31265
- exports["ɵni"] = TransactionPrintPackageStickerComponent;
31266
- exports["ɵnj"] = TransactionReceiveGoodsLineComponent;
31267
- exports["ɵnk"] = TransactionReceiveGoodsLineBaseComponent;
31268
- exports["ɵnl"] = TransactionPurchaseLineModule;
31269
- exports["ɵnm"] = TransactionNavigationButtonModule;
31270
- exports["ɵnn"] = TransactionNavigationButtonComponent;
31271
- exports["ɵno"] = TransactionLineDropShipmentButtonModule;
31272
- exports["ɵnp"] = TransactionLineDropShipmentButtonComponent;
31273
- exports["ɵnq"] = TransactionPurchaseLineComponent;
31274
- exports["ɵnr"] = TransactionPurchaseLineBaseComponent;
31275
- exports["ɵns"] = TransactionInvoiceLineModule;
31276
- exports["ɵnt"] = TransactionInvoiceLineComponent;
31277
- exports["ɵnu"] = TransactionInvoiceLineBaseComponent;
31278
- exports["ɵnv"] = TransactionGoodsAllocationLineModule;
31279
- exports["ɵnw"] = TransactionGoodsAllocationLineComponent;
31280
- exports["ɵnx"] = TransactionPurchaseOrderLineModule;
31281
- exports["ɵny"] = TransactionPurchasePortalLineConfirmedPriceModule;
31282
- exports["ɵnz"] = TransactionPurchasePortalLineConfirmedPriceComponent;
31473
+ exports["ɵna"] = TransactionLineVatButtonModule;
31474
+ exports["ɵnb"] = TransactionLineVatButtonComponent;
31475
+ exports["ɵnc"] = TransactionLineDiscountButtonModule;
31476
+ exports["ɵnd"] = TransactionLineDiscountButtonComponent;
31477
+ exports["ɵne"] = TransactionOverviewLineComponent;
31478
+ exports["ɵnf"] = TransactionOrderDeliveryLineModule;
31479
+ exports["ɵng"] = TransactionOrderDeliveryLineComponent;
31480
+ exports["ɵnh"] = TransactionOrderDeliveryLineBaseComponent;
31481
+ exports["ɵni"] = TransactionReceiveGoodsLineModule;
31482
+ exports["ɵnj"] = TransactionPrintPackageStickerModule;
31483
+ exports["ɵnk"] = TransactionPrintPackageStickerComponent;
31484
+ exports["ɵnl"] = TransactionReceiveGoodsLineComponent;
31485
+ exports["ɵnm"] = TransactionReceiveGoodsLineBaseComponent;
31486
+ exports["ɵnn"] = TransactionPurchaseLineModule;
31487
+ exports["ɵno"] = TransactionNavigationButtonModule;
31488
+ exports["ɵnp"] = TransactionNavigationButtonComponent;
31489
+ exports["ɵnq"] = TransactionLineDropShipmentButtonModule;
31490
+ exports["ɵnr"] = TransactionLineDropShipmentButtonComponent;
31491
+ exports["ɵns"] = TransactionPurchaseLineComponent;
31492
+ exports["ɵnt"] = TransactionPurchaseLineBaseComponent;
31493
+ exports["ɵnu"] = TransactionInvoiceLineModule;
31494
+ exports["ɵnv"] = TransactionInvoiceLineComponent;
31495
+ exports["ɵnw"] = TransactionInvoiceLineBaseComponent;
31496
+ exports["ɵnx"] = TransactionGoodsAllocationLineModule;
31497
+ exports["ɵny"] = TransactionGoodsAllocationLineComponent;
31498
+ exports["ɵnz"] = TransactionPurchaseOrderLineModule;
31283
31499
  exports["ɵo"] = SelectSingleParameterizedCacheService;
31284
- exports["ɵoa"] = TransactionPurchasePortalLineGrossOrderPriceModule;
31285
- exports["ɵob"] = TransactionPurchasePortalLineGrossOrderPriceComponent;
31286
- exports["ɵoc"] = TransactionPurchasePortalLineNetOrderPriceModule;
31287
- exports["ɵod"] = TransactionPurchasePortalLineNetOrderPriceComponent;
31288
- exports["ɵoe"] = TransactionPurchasePortalLineDeliveryDateModule;
31289
- exports["ɵof"] = TransactionPurchasePortalLineDeliveryDateComponent;
31290
- exports["ɵog"] = TransactionPurchasePortalLineConfirmedDeliveryDateModule;
31291
- exports["ɵoh"] = TransactionPurchasePortalLineConfirmedDeliveryDateComponent;
31292
- exports["ɵoi"] = TransactionPurchaseOrderLineComponent;
31293
- exports["ɵoj"] = TransactionPurchaseOrderLineBaseComponent;
31294
- exports["ɵok"] = TransactionPurchaseOverviewLineModule;
31295
- exports["ɵol"] = TransactionNavigationButtonListModule;
31296
- exports["ɵom"] = TransactionNavigationButtonListComponent;
31297
- exports["ɵon"] = TransactionPurchaseOverviewLineComponent;
31298
- exports["ɵoo"] = TransactionCardModule;
31299
- exports["ɵop"] = TransactionCardPurchaseOverviewModule;
31300
- exports["ɵoq"] = TransactionCardHeaderModule;
31301
- exports["ɵor"] = TransactionCardHeaderComponent;
31302
- exports["ɵos"] = TransactionCardFooterModule;
31303
- exports["ɵot"] = TransactionCardFooterComponent;
31304
- exports["ɵou"] = TransactionCardPurchaseOverviewComponent;
31305
- exports["ɵov"] = TransactionCardSalesOverviewModule;
31306
- exports["ɵow"] = TransactionCardSalesOverviewComponent;
31307
- exports["ɵox"] = TransactionCardReceiveGoodsModule;
31308
- exports["ɵoy"] = TransactionCardReceiveGoodsComponent;
31309
- exports["ɵoz"] = TransactionCardInvoiceModule;
31500
+ exports["ɵoa"] = TransactionPurchasePortalLineConfirmedPriceModule;
31501
+ exports["ɵob"] = TransactionPurchasePortalLineConfirmedPriceComponent;
31502
+ exports["ɵoc"] = TransactionPurchasePortalLineGrossOrderPriceModule;
31503
+ exports["ɵod"] = TransactionPurchasePortalLineGrossOrderPriceComponent;
31504
+ exports["ɵoe"] = TransactionPurchasePortalLineNetOrderPriceModule;
31505
+ exports["ɵof"] = TransactionPurchasePortalLineNetOrderPriceComponent;
31506
+ exports["ɵog"] = TransactionPurchasePortalLineDeliveryDateModule;
31507
+ exports["ɵoh"] = TransactionPurchasePortalLineDeliveryDateComponent;
31508
+ exports["ɵoi"] = TransactionPurchasePortalLineConfirmedDeliveryDateModule;
31509
+ exports["ɵoj"] = TransactionPurchasePortalLineConfirmedDeliveryDateComponent;
31510
+ exports["ɵok"] = TransactionLineSupplierDeliveryDateButtonModule;
31511
+ exports["ɵol"] = TransactionLineSupplierDeliveryDateButtonComponent;
31512
+ exports["ɵom"] = TransactionPurchaseOrderLineComponent;
31513
+ exports["ɵon"] = TransactionPurchaseOrderLineBaseComponent;
31514
+ exports["ɵoo"] = TransactionPurchaseOverviewLineModule;
31515
+ exports["ɵop"] = TransactionNavigationButtonListModule;
31516
+ exports["ɵoq"] = TransactionNavigationButtonListComponent;
31517
+ exports["ɵor"] = TransactionPurchaseOverviewLineComponent;
31518
+ exports["ɵos"] = TransactionCardModule;
31519
+ exports["ɵot"] = TransactionCardPurchaseOverviewModule;
31520
+ exports["ɵou"] = TransactionCardHeaderModule;
31521
+ exports["ɵov"] = TransactionCardHeaderComponent;
31522
+ exports["ɵow"] = TransactionCardFooterModule;
31523
+ exports["ɵox"] = TransactionCardFooterComponent;
31524
+ exports["ɵoy"] = TransactionCardPurchaseOverviewComponent;
31525
+ exports["ɵoz"] = TransactionCardSalesOverviewModule;
31310
31526
  exports["ɵp"] = ArticleConnectorService;
31311
- exports["ɵpa"] = TransactionCardInvoiceComponent;
31312
- exports["ɵpb"] = TransactionCardOrderDeliveryModule;
31313
- exports["ɵpc"] = TransactionCardOrderDeliveryComponent;
31314
- exports["ɵpd"] = TransactionCardComponent;
31315
- exports["ɵpe"] = TransactionTextLineModule;
31316
- exports["ɵpf"] = TransactionTextLineComponent;
31317
- exports["ɵpg"] = SearchViewModeService;
31318
- exports["ɵph"] = TransactionSearchSalesOrderTileModule;
31319
- exports["ɵpi"] = TransactionSearchSalesOrderTileComponent;
31320
- exports["ɵpj"] = TransactionSearchTileBaseComponent;
31321
- exports["ɵpk"] = TransactionSearchPurchaseOrderTileModule;
31322
- exports["ɵpl"] = TransactionSearchPurchaseOrderTileComponent;
31323
- exports["ɵpm"] = TransactionSearchSalesOrderGridModule;
31324
- exports["ɵpn"] = TransactionSearchSalesOrderGridComponent;
31325
- exports["ɵpo"] = TransactionSearchGridBaseComponent;
31326
- exports["ɵpp"] = TransactionSearchPurchaseOrderGridModule;
31327
- exports["ɵpq"] = TransactionSearchPurchaseOrderGridComponent;
31328
- exports["ɵpr"] = TransactionSearchGridModule;
31329
- exports["ɵps"] = TransactionSearchGridComponent;
31330
- exports["ɵpt"] = TransactionSearchTileModule;
31331
- exports["ɵpu"] = TransactionSearchTileComponent;
31332
- exports["ɵpv"] = TransactionSalesOrderFilterModule;
31333
- exports["ɵpw"] = TransactionSalesOrderFilterContentOrderModule;
31334
- exports["ɵpx"] = TransactionFilterItemModule;
31335
- exports["ɵpy"] = TransactionFilterItemComponent;
31336
- exports["ɵpz"] = TransactionSalesOrderFilterContentOrderComponent;
31527
+ exports["ɵpa"] = TransactionCardSalesOverviewComponent;
31528
+ exports["ɵpb"] = TransactionCardReceiveGoodsModule;
31529
+ exports["ɵpc"] = TransactionCardReceiveGoodsComponent;
31530
+ exports["ɵpd"] = TransactionCardInvoiceModule;
31531
+ exports["ɵpe"] = TransactionCardInvoiceComponent;
31532
+ exports["ɵpf"] = TransactionCardOrderDeliveryModule;
31533
+ exports["ɵpg"] = TransactionCardOrderDeliveryComponent;
31534
+ exports["ɵph"] = TransactionCardComponent;
31535
+ exports["ɵpi"] = TransactionTextLineModule;
31536
+ exports["ɵpj"] = TransactionTextLineComponent;
31537
+ exports["ɵpk"] = SearchViewModeService;
31538
+ exports["ɵpl"] = TransactionSearchSalesOrderTileModule;
31539
+ exports["ɵpm"] = TransactionSearchSalesOrderTileComponent;
31540
+ exports["ɵpn"] = TransactionSearchTileBaseComponent;
31541
+ exports["ɵpo"] = TransactionSearchPurchaseOrderTileModule;
31542
+ exports["ɵpp"] = TransactionSearchPurchaseOrderTileComponent;
31543
+ exports["ɵpq"] = TransactionSearchSalesOrderGridModule;
31544
+ exports["ɵpr"] = TransactionSearchSalesOrderGridComponent;
31545
+ exports["ɵps"] = TransactionSearchGridBaseComponent;
31546
+ exports["ɵpt"] = TransactionSearchPurchaseOrderGridModule;
31547
+ exports["ɵpu"] = TransactionSearchPurchaseOrderGridComponent;
31548
+ exports["ɵpv"] = TransactionSearchGridModule;
31549
+ exports["ɵpw"] = TransactionSearchGridComponent;
31550
+ exports["ɵpx"] = TransactionSearchTileModule;
31551
+ exports["ɵpy"] = TransactionSearchTileComponent;
31552
+ exports["ɵpz"] = TransactionSalesOrderFilterModule;
31337
31553
  exports["ɵq"] = RelationConnectorService;
31338
- exports["ɵqa"] = TransactionFilterContentBaseComponent;
31339
- exports["ɵqb"] = FilterRequestService;
31340
- exports["ɵqc"] = TransactionSalesOrderFilterContentLogisticsModule;
31341
- exports["ɵqd"] = TransactionFilterHistoricStateModule;
31342
- exports["ɵqe"] = TransactionFilterHistoricStateComponent;
31343
- exports["ɵqf"] = TransactionSalesOrderFilterContentLogisticsComponent;
31344
- exports["ɵqg"] = TransactionSalesOrderFilterContentArticleModule;
31345
- exports["ɵqh"] = TransactionSalesOrderFilterContentArticleComponent;
31346
- exports["ɵqi"] = TransactionSalesOrderFilterComponent;
31347
- exports["ɵqj"] = TransactionFilterBaseComponent;
31348
- exports["ɵqk"] = TransactionPurchaseOrderFilterModule;
31349
- exports["ɵql"] = TransactionPurchaseOrderFilterContentOrderModule;
31350
- exports["ɵqm"] = TransactionPurchaseOrderFilterContentOrderComponent;
31351
- exports["ɵqn"] = TransactionPurchaseOrderFilterContentLogisticsModule;
31352
- exports["ɵqo"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
31353
- exports["ɵqp"] = TransactionPurchaseOrderFilterContentArticleModule;
31354
- exports["ɵqq"] = TransactionPurchaseOrderFilterContentArticleComponent;
31355
- exports["ɵqr"] = TransactionPurchaseOrderFilterComponent;
31356
- exports["ɵqs"] = SearchFeatureModule;
31357
- exports["ɵqt"] = SearchHeaderButtonsModule;
31358
- exports["ɵqu"] = SearchHeaderButtonsComponent;
31359
- exports["ɵqv"] = SearchFilterPanelModule;
31360
- exports["ɵqw"] = SearchFilterPanelComponent;
31361
- exports["ɵqx"] = SearchComponent;
31362
- exports["ɵqy"] = TransactionTagComponent;
31554
+ exports["ɵqa"] = TransactionSalesOrderFilterContentOrderModule;
31555
+ exports["ɵqb"] = TransactionFilterItemModule;
31556
+ exports["ɵqc"] = TransactionFilterItemComponent;
31557
+ exports["ɵqd"] = TransactionSalesOrderFilterContentOrderComponent;
31558
+ exports["ɵqe"] = TransactionFilterContentBaseComponent;
31559
+ exports["ɵqf"] = FilterRequestService;
31560
+ exports["ɵqg"] = TransactionSalesOrderFilterContentLogisticsModule;
31561
+ exports["ɵqh"] = TransactionFilterHistoricStateModule;
31562
+ exports["ɵqi"] = TransactionFilterHistoricStateComponent;
31563
+ exports["ɵqj"] = TransactionSalesOrderFilterContentLogisticsComponent;
31564
+ exports["ɵqk"] = TransactionSalesOrderFilterContentArticleModule;
31565
+ exports["ɵql"] = TransactionSalesOrderFilterContentArticleComponent;
31566
+ exports["ɵqm"] = TransactionSalesOrderFilterComponent;
31567
+ exports["ɵqn"] = TransactionFilterBaseComponent;
31568
+ exports["ɵqo"] = TransactionPurchaseOrderFilterModule;
31569
+ exports["ɵqp"] = TransactionPurchaseOrderFilterContentOrderModule;
31570
+ exports["ɵqq"] = TransactionPurchaseOrderFilterContentOrderComponent;
31571
+ exports["ɵqr"] = TransactionPurchaseOrderFilterContentLogisticsModule;
31572
+ exports["ɵqs"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
31573
+ exports["ɵqt"] = TransactionPurchaseOrderFilterContentArticleModule;
31574
+ exports["ɵqu"] = TransactionPurchaseOrderFilterContentArticleComponent;
31575
+ exports["ɵqv"] = TransactionPurchaseOrderFilterComponent;
31576
+ exports["ɵqw"] = SearchFeatureModule;
31577
+ exports["ɵqx"] = SearchHeaderButtonsModule;
31578
+ exports["ɵqy"] = SearchHeaderButtonsComponent;
31579
+ exports["ɵqz"] = SearchFilterPanelModule;
31363
31580
  exports["ɵr"] = CoreModule;
31581
+ exports["ɵra"] = SearchFilterPanelComponent;
31582
+ exports["ɵrb"] = SearchComponent;
31583
+ exports["ɵrc"] = TransactionTagComponent;
31364
31584
  exports["ɵs"] = ConfirmationDialogModule;
31365
31585
  exports["ɵt"] = PipeModule;
31366
31586
  exports["ɵu"] = AppendPipe;