@colijnit/transaction 12.1.110 → 12.1.111

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 (92) hide show
  1. package/bundles/colijnit-transaction.umd.js +917 -647
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +380 -379
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +381 -380
  6. package/esm2015/lib/component/core/base/transaction-base.component.js +51 -15
  7. package/esm2015/lib/component/core/core.module.js +6 -11
  8. package/esm2015/lib/component/core/directive/overlay.directive.js +62 -22
  9. package/esm2015/lib/component/core/directive/overlay.module.js +17 -0
  10. package/esm2015/lib/component/core/relation/customer-groups.component.js +9 -9
  11. package/esm2015/lib/component/relation/relation-address/relation-address.component.js +7 -7
  12. package/esm2015/lib/component/relation/relation-address/relation-address.module.js +4 -3
  13. package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +53 -15
  14. package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.module.js +4 -3
  15. package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +16 -15
  16. package/esm2015/lib/component/transaction/transaction.component.js +33 -25
  17. package/esm2015/lib/component/transaction-card/transaction-card-invoice/transaction-card-invoice.component.js +4 -4
  18. package/esm2015/lib/component/transaction-card/transaction-card-order-delivery/transaction-card-order-delivery.component.js +10 -10
  19. package/esm2015/lib/component/transaction-card/transaction-card-receive-goods/transaction-card-receive-goods.component.js +7 -7
  20. package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.js +5 -7
  21. package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.module.js +4 -3
  22. package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.component.js +6 -8
  23. package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.module.js +4 -3
  24. package/esm2015/lib/component/transaction-header-fields/transaction-header-currency.component.js +5 -7
  25. package/esm2015/lib/component/transaction-header-fields/transaction-header-currency.module.js +4 -3
  26. package/esm2015/lib/component/transaction-header-fields/transaction-header-payment-condition.component.js +5 -7
  27. package/esm2015/lib/component/transaction-header-fields/transaction-header-payment-condition.module.js +4 -3
  28. package/esm2015/lib/component/transaction-header-fields/transaction-header-price-kind.component.js +6 -7
  29. package/esm2015/lib/component/transaction-header-fields/transaction-header-price-kind.module.js +4 -3
  30. package/esm2015/lib/component/transaction-header-fields/transaction-header-sales-person.component.js +5 -7
  31. package/esm2015/lib/component/transaction-header-fields/transaction-header-sales-person.module.js +4 -3
  32. package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +4 -7
  33. package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +4 -4
  34. package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line-base.component.js +5 -5
  35. package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.js +8 -8
  36. package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line-base.component.js +3 -3
  37. package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +10 -10
  38. package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +6 -6
  39. package/esm2015/lib/component/transaction-line/transaction-text-line/transaction-text-line.component.js +8 -3
  40. package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons-popup.component.js +61 -0
  41. package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +40 -64
  42. package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.module.js +9 -4
  43. package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +6 -2
  44. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +10 -2
  45. package/esm2015/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.component.js +6 -2
  46. package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +8 -1
  47. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +9 -1
  48. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.module.js +4 -3
  49. package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +2 -7
  50. package/esm2015/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.component.js +5 -5
  51. package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.component.js +4 -4
  52. package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component.js +18 -7
  53. package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.module.js +4 -3
  54. package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +14 -14
  55. package/esm2015/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.module.js +10 -9
  56. package/esm2015/lib/component/transaction-print-package-sticker/transaction-print-package-sticker.component.js +4 -4
  57. package/esm2015/lib/service/transaction-connector-adapter.service.js +16 -1
  58. package/esm2015/lib/service/transaction-connector.service.js +6 -1
  59. package/esm2015/lib/service/transaction.service.js +21 -3
  60. package/esm2015/lib/transaction-version.js +3 -3
  61. package/fesm2015/colijnit-transaction.js +606 -388
  62. package/fesm2015/colijnit-transaction.js.map +1 -1
  63. package/lib/component/core/base/transaction-base.component.d.ts +22 -0
  64. package/lib/component/core/directive/overlay.directive.d.ts +9 -5
  65. package/lib/component/core/directive/overlay.module.d.ts +2 -0
  66. package/lib/component/shared/transaction-article-text/style/_layout.scss +11 -0
  67. package/lib/component/shared/transaction-article-text/transaction-article-text.component.d.ts +12 -2
  68. package/lib/component/shared/transaction-article-text-overview/style/_layout.scss +9 -2
  69. package/lib/component/shared/transaction-article-text-overview/style/_material-definition.scss +7 -3
  70. package/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +3 -4
  71. package/lib/component/tile/style/_material-definition.scss +1 -1
  72. package/lib/component/transaction/transaction.component.d.ts +9 -4
  73. package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +1 -2
  74. package/lib/component/transaction-line/transaction-text-line/transaction-text-line.component.d.ts +2 -0
  75. package/lib/component/transaction-line-action-buttons/style/_layout.scss +21 -81
  76. package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +10 -2
  77. package/lib/component/transaction-line-action-buttons/style/_theme.scss +5 -4
  78. package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons-popup.component.d.ts +16 -0
  79. package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.d.ts +8 -8
  80. package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +1 -0
  81. package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +1 -0
  82. package/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.d.ts +0 -2
  83. package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_material-definition.scss +2 -2
  84. package/lib/service/transaction-connector-adapter.service.d.ts +1 -0
  85. package/lib/service/transaction-connector.service.d.ts +1 -0
  86. package/lib/service/transaction.service.d.ts +1 -0
  87. package/lib/style/_variables.scss +2 -1
  88. package/package.json +3 -3
  89. package/esm2015/lib/component/core/directive/overlay-parent.directive.js +0 -19
  90. package/esm2015/lib/enum/direction.enum.js +0 -9
  91. package/lib/component/core/directive/overlay-parent.directive.d.ts +0 -6
  92. package/lib/enum/direction.enum.d.ts +0 -6
@@ -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.110";
36
- this.publishDate = "23-4-2023 09:34:18";
35
+ this.symVer = "12.1.111";
36
+ this.publishDate = "25-4-2023 18:50:20";
37
37
  }
38
38
  return Version;
39
39
  }());
@@ -2515,6 +2515,24 @@
2515
2515
  });
2516
2516
  });
2517
2517
  };
2518
+ TransactionConnectorAdapterService.prototype.updateTextLine = function (uuid, lineUuid, showOnDocuments, text) {
2519
+ return __awaiter(this, void 0, void 0, function () {
2520
+ var _this = this;
2521
+ return __generator(this, function (_a) {
2522
+ return [2 /*return*/, new Promise(function (resolve, reject) {
2523
+ return _this.connector.updateTextLine(uuid, lineUuid, showOnDocuments, text).then(function (result) {
2524
+ if (result.validationResult && result.validationResult.success) {
2525
+ resolve(_this._boFactory.makeWithRawBackendData(transactionInfoResponse_bo.TransactionInfoResponse, result.resultObject));
2526
+ }
2527
+ else {
2528
+ _this._handleExceptionFromResponse(result);
2529
+ reject(null);
2530
+ }
2531
+ });
2532
+ })];
2533
+ });
2534
+ });
2535
+ };
2518
2536
  TransactionConnectorAdapterService.prototype.addRelationToTransaction = function (uuid, relationId) {
2519
2537
  return __awaiter(this, void 0, void 0, function () {
2520
2538
  var _this = this;
@@ -5019,6 +5037,13 @@
5019
5037
  });
5020
5038
  });
5021
5039
  };
5040
+ TransactionConnectorService.prototype.updateTextLine = function (uuid, lineUuid, showOnDocuments, text) {
5041
+ return __awaiter(this, void 0, void 0, function () {
5042
+ return __generator(this, function (_a) {
5043
+ return [2 /*return*/, this._adapterService.updateTextLine(uuid, lineUuid, showOnDocuments, text)];
5044
+ });
5045
+ });
5046
+ };
5022
5047
  TransactionConnectorService.prototype.changeLineSequence = function (uuid, lineUuid, aboveLineNr, belowLineNr) {
5023
5048
  return __awaiter(this, void 0, void 0, function () {
5024
5049
  return __generator(this, function (_a) {
@@ -5995,6 +6020,28 @@
5995
6020
  this.visible = false;
5996
6021
  this.headerReadonly = false;
5997
6022
  this.committing = false;
6023
+ this.lineHasLogisticalState = false;
6024
+ this.lineIsOrdered = false;
6025
+ this.lineIsDelivered = false;
6026
+ this.lineIsInvoiced = false;
6027
+ this.lineIsReceived = false;
6028
+ this.lineQuantityToInvoice = 0;
6029
+ this.lineQuantityInvoiced = 0;
6030
+ this.lineQuantityToReceive = 0;
6031
+ this.lineQuantityReceived = 0;
6032
+ this.lineQuantityToDeliver = 0;
6033
+ this.lineQuantityDelivered = 0;
6034
+ this.lineQuantityToAllocate = 0;
6035
+ this.lineQuantityAllocated = 0;
6036
+ this.lineQuantityOrdered = 0;
6037
+ this.lineQuantityPlanningRequested = 0;
6038
+ this.lineQuantityPlanningPreferredDateEntered = 0;
6039
+ this.lineQuantityToBePicked = 0;
6040
+ this.lineQuantityPicked = 0;
6041
+ this.lineQuantityPlanningFinal = 0;
6042
+ this.lineQuantityPurchaseConfirmed = 0;
6043
+ this.lineQuantityTransportNotification = 0;
6044
+ this.lineQuantityInvoiceControl = 0;
5998
6045
  this.headerTooltipMessages = [];
5999
6046
  this.lineTooltipMessages = [];
6000
6047
  this._relation = nulRelationObject.NULL_CUSTOMER_FULL_OBJECT;
@@ -6042,6 +6089,33 @@
6042
6089
  this._transactionLine.selected = this._selected;
6043
6090
  this.isText = this._transactionLine.isText;
6044
6091
  this.isArticle = this._transactionLine.isArticle;
6092
+ this.lineHasLogisticalState = this._transactionLine.articleLineStatus &&
6093
+ (this._transactionLine.articleLineStatus.quantityDelivered !== 0 ||
6094
+ this._transactionLine.articleLineStatus.quantityInvoiced !== 0 ||
6095
+ this._transactionLine.articleLineStatus.quantityPicked !== 0 ||
6096
+ this._transactionLine.articleLineStatus.quantityToBePicked !== 0 ||
6097
+ this._transactionLine.articleLineStatus.quantityAllocated < 0);
6098
+ this.lineIsOrdered = this._transactionLine.articleLineStatus && this._transactionLine.articleLineStatus.quantityOrdered !== 0;
6099
+ this.lineIsDelivered = this._transactionLine.articleLineStatus && this._transactionLine.articleLineStatus.quantityDelivered !== 0;
6100
+ this.lineIsInvoiced = this._transactionLine.articleLineStatus && this._transactionLine.articleLineStatus.quantityInvoiced !== 0;
6101
+ this.lineIsReceived = this._transactionLine.articleLineStatus && this._transactionLine.articleLineStatus.quantityReceived !== 0;
6102
+ this.lineQuantityToInvoice = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityToInvoice : 0;
6103
+ this.lineQuantityInvoiced = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityInvoiced : 0;
6104
+ this.lineQuantityToReceive = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityToReceive : 0;
6105
+ this.lineQuantityReceived = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityReceived : 0;
6106
+ this.lineQuantityToDeliver = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityToDeliver : 0;
6107
+ this.lineQuantityDelivered = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityDelivered : 0;
6108
+ this.lineQuantityToAllocate = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityToAllocate : 0;
6109
+ this.lineQuantityAllocated = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityAllocated : 0;
6110
+ this.lineQuantityOrdered = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityOrdered : 0;
6111
+ this.lineQuantityPlanningRequested = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityPlanningRequested : 0;
6112
+ this.lineQuantityPlanningPreferredDateEntered = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityPlanningPreferredDateEntered : 0;
6113
+ this.lineQuantityToBePicked = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityToBePicked : 0;
6114
+ this.lineQuantityPicked = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityPicked : 0;
6115
+ this.lineQuantityPlanningFinal = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityPlanningFinal : 0;
6116
+ this.lineQuantityPurchaseConfirmed = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityPurchaseConfirmed : 0;
6117
+ this.lineQuantityTransportNotification = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityTransportNotification : 0;
6118
+ this.lineQuantityInvoiceControl = this._transactionLine.articleLineStatus ? this._transactionLine.articleLineStatus.quantityInvoiceControl : 0;
6045
6119
  this.transactionLineSet();
6046
6120
  }
6047
6121
  },
@@ -6173,23 +6247,9 @@
6173
6247
  // overridden by descendents
6174
6248
  };
6175
6249
  TransactionBaseComponent.prototype.transactionLineSet = function () {
6176
- this.lineTooltipMessages.length = 0;
6177
- this.readonly = this.readonly || (this._transactionLine.articleLineStatus && this._transactionLine.articleLineStatus.hasInvoices);
6178
- if (this.readonly) {
6179
- this.addLineTooltipMessage(this.dictionaryService.get("DELIVERY_DATE_DEFINITIVE"));
6180
- }
6181
- this.prepareTooltipMessage();
6182
- this.detectChanges();
6183
6250
  };
6184
6251
  // overridden by descendents
6185
6252
  TransactionBaseComponent.prototype.transactionInfoSet = function () {
6186
- this.headerTooltipMessages.length = 0;
6187
- this.headerReadonly = this._transactionInfo.deliveryDateDefinitive;
6188
- if (this.headerReadonly) {
6189
- this.addHeaderTooltipMessage(this.dictionaryService.get("DELIVERY_DATE_DEFINITIVE"));
6190
- }
6191
- this.prepareTooltipMessage();
6192
- this.detectChanges();
6193
6253
  };
6194
6254
  TransactionBaseComponent.prototype.addLineTooltipMessage = function (message) {
6195
6255
  if (this.lineTooltipMessages.indexOf(message) < 0) {
@@ -6209,6 +6269,7 @@
6209
6269
  if (this.headerTooltipMessages.length > 0 || this.lineTooltipMessages.length > 0) {
6210
6270
  tooltips = this.headerTooltipMessages.concat(this.lineTooltipMessages);
6211
6271
  this.tooltipMessage = this.dictionaryService.get("FIELD_IS_READONLY_BECAUSE") + "</br></br>" + tooltips.join('</br>');
6272
+ this.detectChanges();
6212
6273
  }
6213
6274
  };
6214
6275
  // overridden by descendents
@@ -8872,15 +8933,38 @@
8872
8933
  });
8873
8934
  });
8874
8935
  };
8936
+ TransactionService.prototype.updateTextLine = function (uuid, lineUuid, showOnDocuments, text) {
8937
+ return __awaiter(this, void 0, void 0, function () {
8938
+ var lockSuccess, response;
8939
+ return __generator(this, function (_a) {
8940
+ switch (_a.label) {
8941
+ case 0: return [4 /*yield*/, this.tryToLockTransaction(this.currentTransaction.transactionInfo.id, this.currentTransaction.transactionInfo.version)];
8942
+ case 1:
8943
+ lockSuccess = _a.sent();
8944
+ if (!lockSuccess) return [3 /*break*/, 3];
8945
+ return [4 /*yield*/, this.connector.updateTextLine(uuid, lineUuid, showOnDocuments, text)];
8946
+ case 2:
8947
+ response = _a.sent();
8948
+ return [2 /*return*/, this.handleLineOperationStatuses(response)];
8949
+ case 3: return [2 /*return*/, false];
8950
+ }
8951
+ });
8952
+ });
8953
+ };
8875
8954
  TransactionService.prototype.changeLineSequence = function (lineUuid, aboveLineNr, belowLineNr) {
8876
8955
  return __awaiter(this, void 0, void 0, function () {
8877
- var response;
8956
+ var lockSuccess, response;
8878
8957
  return __generator(this, function (_a) {
8879
8958
  switch (_a.label) {
8880
- case 0: return [4 /*yield*/, this.connector.changeLineSequence(this.currentTransaction.transactionInfo.uuid, lineUuid, aboveLineNr, belowLineNr)];
8959
+ case 0: return [4 /*yield*/, this.tryToLockTransaction(this.currentTransaction.transactionInfo.id, this.currentTransaction.transactionInfo.version)];
8881
8960
  case 1:
8961
+ lockSuccess = _a.sent();
8962
+ if (!lockSuccess) return [3 /*break*/, 3];
8963
+ return [4 /*yield*/, this.connector.changeLineSequence(this.currentTransaction.transactionInfo.uuid, lineUuid, aboveLineNr, belowLineNr)];
8964
+ case 2:
8882
8965
  response = _a.sent();
8883
8966
  return [2 /*return*/, this.handleLineOperationStatuses(response)];
8967
+ case 3: return [2 /*return*/, false];
8884
8968
  }
8885
8969
  });
8886
8970
  });
@@ -10543,7 +10627,7 @@
10543
10627
  CustomerGroupsComponent.decorators = [
10544
10628
  { type: i0.Component, args: [{
10545
10629
  selector: "relation-customer-groups",
10546
- template: "\n <co-input-combo-box [model]=\"model\"\n [readonly]=\"readonly\"\n (modelChange)=\"modelChange.emit($event)\"\n [collection]=\"customerGroups\"\n [fields]=\"fields\"\n [placeholder]=\"'CUSTOMER_GROUP' | localize\"\n [required]=\"required\"\n ></co-input-combo-box>\n ",
10630
+ template: "\n <co-list-of-values [model]=\"model\"\n [readonly]=\"readonly\"\n (modelChange)=\"modelChange.emit($event)\"\n [collection]=\"customerGroups\"\n [displayField]=\"'naam'\"\n [label]=\"'CUSTOMER_GROUP' | localize\"\n [required]=\"required\"\n ></co-list-of-values>\n ",
10547
10631
  styles: [":host{display:flex}:host .co-input-combo-box{width:100%}\n"]
10548
10632
  },] }
10549
10633
  ];
@@ -11090,97 +11174,6 @@
11090
11174
  },] }
11091
11175
  ];
11092
11176
 
11093
- var OverlayDirective = /** @class */ (function () {
11094
- function OverlayDirective(elementRef) {
11095
- this._elementRef = elementRef;
11096
- }
11097
- Object.defineProperty(OverlayDirective.prototype, "parent", {
11098
- set: function (value) {
11099
- if (value && value.elementRef) {
11100
- this._parent = value.elementRef;
11101
- }
11102
- else {
11103
- if (this._parent) {
11104
- this._observer.disconnect();
11105
- }
11106
- }
11107
- },
11108
- enumerable: false,
11109
- configurable: true
11110
- });
11111
- OverlayDirective.prototype.ngOnDestroy = function () {
11112
- var _this = this;
11113
- window.removeEventListener("scroll", function (event) { return _this._handleScroll; });
11114
- this._observer.disconnect();
11115
- this._elementRef = undefined;
11116
- this._parent = undefined;
11117
- };
11118
- OverlayDirective.prototype.ngOnInit = function () {
11119
- var _this = this;
11120
- window.addEventListener("scroll", function (event) { return _this._handleScroll; });
11121
- this._initiallyPlaceElement();
11122
- this._observer = new ResizeObserver(function (entries) {
11123
- var entry = entries[0];
11124
- var elementRect = _this._elementRef.nativeElement.getBoundingClientRect();
11125
- var parentRect = _this._parent.nativeElement.getBoundingClientRect();
11126
- _this._placeElement(entry.contentRect.bottom, entry.contentRect.right, parentRect, elementRect);
11127
- });
11128
- this._observer.observe(document.body);
11129
- };
11130
- OverlayDirective.prototype._initiallyPlaceElement = function () {
11131
- var elementRect = this._elementRef.nativeElement.getBoundingClientRect();
11132
- var parentRect = this._parent.nativeElement.getBoundingClientRect();
11133
- this._placeElement(window.innerHeight, window.innerWidth, parentRect, elementRect);
11134
- };
11135
- OverlayDirective.prototype._placeElement = function (bottom, right, parentRect, elementRect) {
11136
- if (bottom < parentRect.bottom + elementRect.height) { // make sure it fits at the bottom
11137
- this._elementRef.nativeElement.style.top = (parentRect.top - elementRect.height) + "px";
11138
- }
11139
- else {
11140
- this._elementRef.nativeElement.style.top = parentRect.bottom + "px";
11141
- }
11142
- if (right < parentRect.left + elementRect.width) { // make sure it fits at the right
11143
- this._elementRef.nativeElement.style.left = (parentRect.right - elementRect.width) + "px";
11144
- }
11145
- else {
11146
- this._elementRef.nativeElement.style.left = parentRect.left + "px";
11147
- }
11148
- };
11149
- OverlayDirective.prototype._handleScroll = function (event) {
11150
- };
11151
- return OverlayDirective;
11152
- }());
11153
- OverlayDirective.decorators = [
11154
- { type: i0.Directive, args: [{
11155
- selector: "[overlay]"
11156
- },] }
11157
- ];
11158
- OverlayDirective.ctorParameters = function () { return [
11159
- { type: i0.ElementRef }
11160
- ]; };
11161
- OverlayDirective.propDecorators = {
11162
- parent: [{ type: i0.Input, args: ["overlay",] }]
11163
- };
11164
-
11165
- var OverlayParentDirective = /** @class */ (function () {
11166
- function OverlayParentDirective(elementRef) {
11167
- this.elementRef = elementRef;
11168
- }
11169
- OverlayParentDirective.prototype.ngOnDestroy = function () {
11170
- this.elementRef = undefined;
11171
- };
11172
- return OverlayParentDirective;
11173
- }());
11174
- OverlayParentDirective.decorators = [
11175
- { type: i0.Directive, args: [{
11176
- selector: '[overlayParent]',
11177
- exportAs: 'overlayParent'
11178
- },] }
11179
- ];
11180
- OverlayParentDirective.ctorParameters = function () { return [
11181
- { type: i0.ElementRef }
11182
- ]; };
11183
-
11184
11177
  var CoreModule = /** @class */ (function () {
11185
11178
  function CoreModule() {
11186
11179
  }
@@ -11199,7 +11192,8 @@
11199
11192
  corecomponents_v12.InputCheckboxModule,
11200
11193
  CharacteristicAnswerModule,
11201
11194
  WarehouseModule,
11202
- ToastModule
11195
+ ToastModule,
11196
+ corecomponents_v12.ListOfValuesModule
11203
11197
  ],
11204
11198
  declarations: [
11205
11199
  ImageDisplayComponent,
@@ -11207,9 +11201,7 @@
11207
11201
  CustomerGroupsComponent,
11208
11202
  StockStatusIndicatorComponent,
11209
11203
  LazyRenderMasterDirective,
11210
- LazyRenderDirective,
11211
- OverlayParentDirective,
11212
- OverlayDirective
11204
+ LazyRenderDirective
11213
11205
  ],
11214
11206
  exports: [
11215
11207
  ImageDisplayComponent,
@@ -11217,9 +11209,7 @@
11217
11209
  CustomerGroupsComponent,
11218
11210
  StockStatusIndicatorComponent,
11219
11211
  LazyRenderMasterDirective,
11220
- LazyRenderDirective,
11221
- OverlayParentDirective,
11222
- OverlayDirective
11212
+ LazyRenderDirective
11223
11213
  ]
11224
11214
  },] }
11225
11215
  ];
@@ -11448,7 +11438,7 @@
11448
11438
  RelationAddressComponent.decorators = [
11449
11439
  { type: i0.Component, args: [{
11450
11440
  selector: "co-relation-address",
11451
- template: "\n <label *ngIf=label [textContent]=\"label | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div class=\"relation-address-data-row default\">\n <co-input-combo-box [(model)]=\"address.countryId\"\n [collection]=\"countries\"\n [fields]=\"fields\"\n [placeholder]=\"'COUNTRY'| localize\"\n [required]=\"true\"\n ></co-input-combo-box>\n </div>\n <div class=\"relation-address-data-row default\">\n <co-input-text [(model)]=\"address.postalCode\"\n [placeholder]=\"'POSTAL_CODE' | localize\"\n (blur)=\"checkForPostalCodeCheckError()\"\n required\n ></co-input-text>\n <co-input-text class=\"default-width\"\n [(model)]=\"address.houseNo\"\n [placeholder]=\"'HOUSE_NO' | localize\"\n [digitsOnly]=\"true\"\n (blur)=\"checkForPostalCodeCheckError()\"\n (modelChange)=\"changeHouseNo()\"\n required\n ></co-input-text>\n <co-input-text [(model)]=\"address.houseNoAddition\"\n [placeholder]=\"'HOUSE_NO_ADDITION' | localize\"\n ></co-input-text>\n </div>\n <div class=\"relation-address-data-row default\">\n <co-input-text [(model)]=\"address.streetName\" [placeholder]=\"'STREET' | localize\" required></co-input-text>\n </div>\n <div class=\"relation-address-data-row default\">\n <co-input-text [(model)]=\"address.city\" [placeholder]=\"'CITY' | localize\" required></co-input-text>\n </div>\n ",
11441
+ template: "\n <label *ngIf=label [textContent]=\"label | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div class=\"relation-address-data-row default\">\n <co-list-of-values [(model)]=\"address.countryId\"\n [collection]=\"countries\"\n [displayField]=\"'description'\"\n [label]=\"'COUNTRY'| localize\"\n [required]=\"true\"\n ></co-list-of-values>\n </div>\n <div class=\"relation-address-data-row default\">\n <co-input-text [(model)]=\"address.postalCode\"\n [placeholder]=\"'POSTAL_CODE' | localize\"\n (blur)=\"checkForPostalCodeCheckError()\"\n required\n ></co-input-text>\n <co-input-text class=\"default-width\"\n [(model)]=\"address.houseNo\"\n [placeholder]=\"'HOUSE_NO' | localize\"\n [digitsOnly]=\"true\"\n (blur)=\"checkForPostalCodeCheckError()\"\n (modelChange)=\"changeHouseNo()\"\n required\n ></co-input-text>\n <co-input-text [(model)]=\"address.houseNoAddition\"\n [placeholder]=\"'HOUSE_NO_ADDITION' | localize\"\n ></co-input-text>\n </div>\n <div class=\"relation-address-data-row default\">\n <co-input-text [(model)]=\"address.streetName\" [placeholder]=\"'STREET' | localize\" required></co-input-text>\n </div>\n <div class=\"relation-address-data-row default\">\n <co-input-text [(model)]=\"address.city\" [placeholder]=\"'CITY' | localize\" required></co-input-text>\n </div>\n ",
11452
11442
  encapsulation: i0.ViewEncapsulation.None
11453
11443
  },] }
11454
11444
  ];
@@ -11479,7 +11469,8 @@
11479
11469
  corecomponents_v12.FormModule,
11480
11470
  corecomponents_v12.ButtonModule,
11481
11471
  PipeModule,
11482
- PipeModule
11472
+ PipeModule,
11473
+ corecomponents_v12.ListOfValuesModule
11483
11474
  ],
11484
11475
  declarations: [
11485
11476
  RelationAddressComponent
@@ -12334,7 +12325,6 @@
12334
12325
  _this.popUpView = false;
12335
12326
  _this.preview = false;
12336
12327
  _this.openArticleTextClicked = new i0.EventEmitter();
12337
- _this.descriptionDblClick = new i0.EventEmitter();
12338
12328
  _this.handleDeleteLine = new i0.EventEmitter();
12339
12329
  return _this;
12340
12330
  }
@@ -12374,15 +12364,12 @@
12374
12364
  });
12375
12365
  }
12376
12366
  };
12377
- TransactionLineImageAndDescriptionComponent.prototype.onDescriptionDblClick = function () {
12378
- this.descriptionDblClick.emit();
12379
- };
12380
12367
  return TransactionLineImageAndDescriptionComponent;
12381
12368
  }(TransactionBaseComponent));
12382
12369
  TransactionLineImageAndDescriptionComponent.decorators = [
12383
12370
  { type: i0.Component, args: [{
12384
12371
  selector: "co-transaction-line-image-and-description",
12385
- template: "\n <div class=\"transaction-line-image\" [class.preview]=\"preview\">\n <co-image-display [model]=\"image\"></co-image-display>\n </div>\n <div class=\"transaction-line-description\" data-action=\"openSidePanel\" (dblclick)=\"onDescriptionDblClick()\">\n <div class=\"description-wrapper\">\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n <div class=\"transaction-line-article-number-wrapper\" *ngIf=\"!popUpView\">\n <span *ngIf=\"transactionLine.goodDescription && transactionLine.articleNumber\">|</span>\n <span [textContent]=\"transactionLine.articleNumber\"></span>\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\"\n (click)=\"deleteTransactionLineClick($event)\"></co-icon>\n </div>\n </div>\n <div *ngIf=\"!preview && !popUpView && transactionLine.articleBoundConcatenatedText\" class=\"article-text-wrapper\">\n <div class=\"article-text\" *ngFor=\"let text of transactionLine.articleTextAsArray\">\n <span [innerHTML]=\"text | safeHtml\" (dblclick)=\"handleOpenArticleText(text)\"></span>\n </div>\n </div>\n <div *ngIf=\"!preview && !popUpView && transactionLine.configurationReadable\">\n <span [innerHTML]=\"transactionLine.configurationReadable\"></span>\n </div>\n </div>\n ",
12372
+ template: "\n <div class=\"transaction-line-image\" [class.preview]=\"preview\">\n <co-image-display [model]=\"image\"></co-image-display>\n </div>\n <div class=\"transaction-line-description\" data-action=\"openSidePanel\">\n <div class=\"description-wrapper\">\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n <div class=\"transaction-line-article-number-wrapper\" *ngIf=\"!popUpView\">\n <span *ngIf=\"transactionLine.goodDescription && transactionLine.articleNumber\">|</span>\n <span [textContent]=\"transactionLine.articleNumber\"></span>\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\"\n (click)=\"deleteTransactionLineClick($event)\"></co-icon>\n </div>\n </div>\n <div *ngIf=\"!preview && !popUpView && transactionLine.articleBoundConcatenatedText\" class=\"article-text-wrapper\">\n <div class=\"article-text\" *ngFor=\"let text of transactionLine.articleTextAsArray\">\n <span [innerHTML]=\"text | safeHtml\" (dblclick)=\"handleOpenArticleText(text)\"></span>\n </div>\n </div>\n <div *ngIf=\"!preview && !popUpView && transactionLine.configurationReadable\">\n <span [innerHTML]=\"transactionLine.configurationReadable\"></span>\n </div>\n </div>\n ",
12386
12373
  encapsulation: i0.ViewEncapsulation.None,
12387
12374
  changeDetection: i0.ChangeDetectionStrategy.OnPush
12388
12375
  },] }
@@ -12392,7 +12379,6 @@
12392
12379
  showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-image-and-description",] }],
12393
12380
  preview: [{ type: i0.HostBinding, args: ["class.preview",] }, { type: i0.Input }],
12394
12381
  openArticleTextClicked: [{ type: i0.Output }],
12395
- descriptionDblClick: [{ type: i0.Output }],
12396
12382
  handleDeleteLine: [{ type: i0.Output }]
12397
12383
  };
12398
12384
 
@@ -12432,9 +12418,12 @@
12432
12418
  this.icon = Icon;
12433
12419
  this.standardTexts = [];
12434
12420
  this.documents = [];
12421
+ this.showOnDocuments = [];
12422
+ this.selectAll = false;
12435
12423
  this.fields = { text: "description", value: "textId" };
12436
12424
  this.fieldsDocuments = { text: "description", value: "code" };
12437
12425
  this.textAreaPlaceholder = this._dictionaryService.get("TYPE_TEXT", true);
12426
+ this.new = true;
12438
12427
  this.transactionAddTextLineRequest = new transactionAddTextLineRequest_bo.TransactionAddTextLineRequest();
12439
12428
  }
12440
12429
  Object.defineProperty(TransactionArticleTextComponent.prototype, "transactionLine", {
@@ -12444,7 +12433,6 @@
12444
12433
  set: function (value) {
12445
12434
  if (value) {
12446
12435
  this._transactionLine = value;
12447
- this.transactionAddTextLineRequest.transactionUuid = value.uuid;
12448
12436
  this.transactionAddTextLineRequest.text = value.text;
12449
12437
  }
12450
12438
  },
@@ -12465,6 +12453,7 @@
12465
12453
  });
12466
12454
  Object.defineProperty(TransactionArticleTextComponent.prototype, "editText", {
12467
12455
  set: function (value) {
12456
+ this.new = value === undefined || value === null;
12468
12457
  this.transactionAddTextLineRequest.text = value;
12469
12458
  },
12470
12459
  enumerable: false,
@@ -12496,13 +12485,16 @@
12496
12485
  return [4 /*yield*/, this.transactionService.getTextTypes("NL")];
12497
12486
  case 2:
12498
12487
  _b.documents = _c.sent();
12488
+ this._setShowOnDocuments();
12499
12489
  return [2 /*return*/];
12500
12490
  }
12501
12491
  });
12502
12492
  });
12503
12493
  };
12504
12494
  TransactionArticleTextComponent.prototype.onOkClick = function (event) {
12505
- this.saveClick.next(this.transactionAddTextLineRequest);
12495
+ this.transactionAddTextLineRequest.transactionUuid = this.transactionUuid;
12496
+ this.transactionAddTextLineRequest.showOnDocuments = this._getShowOnDocuments();
12497
+ this.saveClick.next({ request: this.transactionAddTextLineRequest, new: this.new });
12506
12498
  };
12507
12499
  TransactionArticleTextComponent.prototype.onCancelClick = function (event) {
12508
12500
  this.cancelClick.next(event);
@@ -12510,14 +12502,45 @@
12510
12502
  TransactionArticleTextComponent.prototype.onSelectStandardText = function (value) {
12511
12503
  this.transactionAddTextLineRequest.text = (this.standardTexts.find(function (x) { return x.textId === value; })).text;
12512
12504
  };
12513
- TransactionArticleTextComponent.prototype.handleDocumentsChange = function (docs) {
12505
+ TransactionArticleTextComponent.prototype.handleDocumentsChange = function (codes) {
12506
+ this.showOnDocuments = codes;
12507
+ };
12508
+ TransactionArticleTextComponent.prototype.handleSelectAll = function (select) {
12509
+ var _this = this;
12510
+ if (select) {
12511
+ this.showOnDocuments = [];
12512
+ this.documents.forEach(function (d) { return _this.showOnDocuments.push(d.code); });
12513
+ }
12514
+ else {
12515
+ this.showOnDocuments = [];
12516
+ }
12517
+ };
12518
+ TransactionArticleTextComponent.prototype._setShowOnDocuments = function () {
12519
+ var _this = this;
12520
+ this.showOnDocuments.length = 0;
12521
+ if (this.transactionLine && (this.transactionLine.showOnDocuments || this.transactionLine.showOnDocuments === 0)) {
12522
+ this.documents.forEach(function (d) {
12523
+ if (d.code & _this.transactionLine.showOnDocuments) {
12524
+ _this.showOnDocuments.push(d.code);
12525
+ }
12526
+ });
12527
+ }
12528
+ else { // creating new text, check all documents
12529
+ this.documents.forEach(function (d) { return _this.showOnDocuments.push(d.code); });
12530
+ this.selectAll = true;
12531
+ }
12532
+ };
12533
+ TransactionArticleTextComponent.prototype._getShowOnDocuments = function () {
12534
+ var result = 0;
12535
+ this.showOnDocuments.forEach(function (d) { return result = result + d; });
12536
+ return result;
12514
12537
  };
12515
12538
  return TransactionArticleTextComponent;
12516
12539
  }());
12517
12540
  TransactionArticleTextComponent.decorators = [
12518
12541
  { type: i0.Component, args: [{
12519
12542
  selector: "co-transaction-article-text",
12520
- template: "\n <co-dialog (closeClick)=\"closeClick.emit($event)\" [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <div *ngIf=\"showArticleImageDescription\" class=\"article-image-description-wrapper\">\n <span [textContent]=\"'Productomschrijving'\" class=\"dialog-label\"></span>\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionInfo]=\"transactionService.currentTransaction.transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n </div>\n\n <div class=\"standard-texts-dropdown-wrapper\">\n <co-drop-down-list\n [collection]=\"standardTexts\"\n [fields]=\"fields\"\n [placeholder]=\"'STANDARD_TEXTS' | localize\"\n (modelChange)=\"onSelectStandardText($event)\"\n ></co-drop-down-list>\n </div>\n\n <div class=\"article-text-content-wrapper\">\n <div class=\"editor-wrapper\">\n <textarea class=\"article-text\"\n [placeholder]=\"textAreaPlaceholder\"\n [(ngModel)]=\"transactionAddTextLineRequest.text\"\n ></textarea>\n </div>\n <div class=\"option-wrapper\">\n <co-input-listbox\n [collection]=\"documents\"\n [fields]=\"fieldsDocuments\"\n [placeholder]=\"'FOR_DOCUMENTS' | localize\"\n [value]=\"transactionAddTextLineRequest.showOnDocuments\"\n [showCheckbox]=\"true\"\n [fullWidth]=\"true\"\n (modelChange)=\"handleDocumentsChange($event)\"\n ></co-input-listbox>\n </div>\n </div>\n </co-dialog>\n\n <ng-template #headerTemplate>\n <span class=\"co-dialog-header-title\" [textContent]=\"header\"></span>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onOkClick($event)\"></co-button>\n </div>\n </ng-template>\n ",
12543
+ template: "\n <co-dialog (closeClick)=\"closeClick.emit($event)\" [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\">\n <div *ngIf=\"showArticleImageDescription\" class=\"article-image-description-wrapper\">\n <span [textContent]=\"'Productomschrijving'\" class=\"dialog-label\"></span>\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionInfo]=\"transactionService.currentTransaction.transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n </div>\n\n <div class=\"standard-texts-dropdown-wrapper\">\n <co-list-of-values\n [collection]=\"standardTexts\"\n [displayField]=\"'description'\"\n [label]=\"'STANDARD_TEXTS' | localize\"\n (modelChange)=\"onSelectStandardText($event)\"\n ></co-list-of-values>\n </div>\n\n <div class=\"article-text-content-wrapper\">\n <div class=\"editor-wrapper\">\n <textarea class=\"article-text\"\n [placeholder]=\"textAreaPlaceholder\"\n [(ngModel)]=\"transactionAddTextLineRequest.text\"\n ></textarea>\n </div>\n <div class=\"option-wrapper\">\n <co-input-checkbox class=\"select-all-checkbox\" [model]=\"selectAll\" (modelChange)=\"handleSelectAll($event)\"></co-input-checkbox>\n <co-input-listbox\n [customCssClass]=\"'co-small-scrollbar'\"\n [collection]=\"documents\"\n [fields]=\"fieldsDocuments\"\n [placeholder]=\"'FOR_DOCUMENTS' | localize\"\n [value]=\"showOnDocuments\"\n [showCheckbox]=\"true\"\n [fullWidth]=\"true\"\n (modelChange)=\"handleDocumentsChange($event)\"\n ></co-input-listbox>\n </div>\n </div>\n </co-dialog>\n\n <ng-template #headerTemplate>\n <span class=\"co-dialog-header-title\" [textContent]=\"header\"></span>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onOkClick($event)\"></co-button>\n </div>\n </ng-template>\n ",
12521
12544
  encapsulation: i0.ViewEncapsulation.None
12522
12545
  },] }
12523
12546
  ];
@@ -12528,6 +12551,7 @@
12528
12551
  ]; };
12529
12552
  TransactionArticleTextComponent.propDecorators = {
12530
12553
  header: [{ type: i0.Input }],
12554
+ transactionUuid: [{ type: i0.Input }],
12531
12555
  transactionLine: [{ type: i0.Input }],
12532
12556
  articleRef: [{ type: i0.Input }],
12533
12557
  editText: [{ type: i0.Input }],
@@ -12559,7 +12583,8 @@
12559
12583
  PipeModule,
12560
12584
  corecomponents_v12.InputSearchModule,
12561
12585
  TransactionLineImageAndDescriptionModule,
12562
- TransactionLineDescriptionModule
12586
+ TransactionLineDescriptionModule,
12587
+ corecomponents_v12.ListOfValuesModule
12563
12588
  ],
12564
12589
  declarations: [
12565
12590
  TransactionArticleTextComponent
@@ -13410,31 +13435,66 @@
13410
13435
  showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-lines-grid",] }]
13411
13436
  };
13412
13437
 
13413
- // Direction type for regular straight directions.
13414
- var Direction;
13415
- (function (Direction) {
13416
- Direction["Right"] = "right";
13417
- Direction["Left"] = "left";
13418
- Direction["Up"] = "top";
13419
- Direction["Down"] = "bottom";
13420
- })(Direction || (Direction = {}));
13438
+ var TransactionLineActionButtonsPopupComponent = /** @class */ (function () {
13439
+ function TransactionLineActionButtonsPopupComponent(iconCacheService) {
13440
+ this.iconCacheService = iconCacheService;
13441
+ this.icons = Icon;
13442
+ this.articleTextButtonClick = new i0.EventEmitter();
13443
+ this.transactionTextButtonClick = new i0.EventEmitter();
13444
+ this.sidePanelButtonClick = new i0.EventEmitter();
13445
+ this.showClass = true;
13446
+ }
13447
+ TransactionLineActionButtonsPopupComponent.prototype.handleArticleTextButtonClick = function (event) {
13448
+ event.preventDefault();
13449
+ event.stopPropagation();
13450
+ this.articleTextButtonClick.emit();
13451
+ };
13452
+ TransactionLineActionButtonsPopupComponent.prototype.handleTransactionTextButtonClick = function (event) {
13453
+ event.preventDefault();
13454
+ event.stopPropagation();
13455
+ this.transactionTextButtonClick.emit();
13456
+ };
13457
+ TransactionLineActionButtonsPopupComponent.prototype.handleSidePanelButtonClick = function (event) {
13458
+ event.preventDefault();
13459
+ event.stopPropagation();
13460
+ this.sidePanelButtonClick.emit();
13461
+ };
13462
+ return TransactionLineActionButtonsPopupComponent;
13463
+ }());
13464
+ TransactionLineActionButtonsPopupComponent.decorators = [
13465
+ { type: i0.Component, args: [{
13466
+ selector: "co-transaction-line-action-buttons-popup",
13467
+ template: "\n <div class=\"transaction-line-action-buttons-popup-wrapper\" [overlay]=\"parentForOverlay\" [rightAlign]=\"true\">\n <div class=\"action-button-wrapper\" (click)=\"handleArticleTextButtonClick($event)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.TextSizeSolid)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"></div>\n </div>\n <div class=\"action-button-wrapper\" (click)=\"handleTransactionTextButtonClick($event)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'ORDER_TEXT_LINE' | localize\"></div>\n </div>\n <div class=\"action-button-wrapper\" (click)=\"handleSidePanelButtonClick($event)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.ObjectIntersectSolid)\"></co-icon>\n <div class=\"action-button-description\" [textContent]=\"'SIDEPANEL' | localize\"></div>\n </div>\n </div>\n ",
13468
+ encapsulation: i0.ViewEncapsulation.None
13469
+ },] }
13470
+ ];
13471
+ TransactionLineActionButtonsPopupComponent.ctorParameters = function () { return [
13472
+ { type: IconCacheService }
13473
+ ]; };
13474
+ TransactionLineActionButtonsPopupComponent.propDecorators = {
13475
+ parentForOverlay: [{ type: i0.Input }],
13476
+ articleTextButtonClick: [{ type: i0.Output }],
13477
+ transactionTextButtonClick: [{ type: i0.Output }],
13478
+ sidePanelButtonClick: [{ type: i0.Output }],
13479
+ showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-action-buttons-popup",] }]
13480
+ };
13421
13481
 
13422
13482
  var TransactionLineActionButtonsComponent = /** @class */ (function () {
13423
- function TransactionLineActionButtonsComponent(iconCacheService, _transactionService, _dictionaryService, _transactionEventService) {
13483
+ function TransactionLineActionButtonsComponent(elementRef, iconCacheService, _transactionService, _dictionaryService, _transactionEventService, _overlayService) {
13484
+ this.elementRef = elementRef;
13424
13485
  this.iconCacheService = iconCacheService;
13425
13486
  this._transactionService = _transactionService;
13426
13487
  this._dictionaryService = _dictionaryService;
13427
13488
  this._transactionEventService = _transactionEventService;
13489
+ this._overlayService = _overlayService;
13428
13490
  this.icons = Icon;
13429
- this.alignDirection = Direction.Down;
13430
13491
  this.waitingForUserAction = new i0.EventEmitter();
13431
13492
  this.transactionArticleTextOverviewButtonClicked = new i0.EventEmitter();
13432
13493
  this.transactionTextButtonClicked = new i0.EventEmitter();
13433
13494
  this.articleTextButtonClicked = new i0.EventEmitter();
13434
13495
  this.sidePanelButtonClicked = new i0.EventEmitter();
13435
- this.showActionButtonsDelayed = false;
13436
13496
  this.readonly = false;
13437
- this._showActionButtons = false;
13497
+ this.showActionButtons = false;
13438
13498
  }
13439
13499
  Object.defineProperty(TransactionLineActionButtonsComponent.prototype, "transactionLine", {
13440
13500
  get: function () {
@@ -13447,20 +13507,6 @@
13447
13507
  enumerable: false,
13448
13508
  configurable: true
13449
13509
  });
13450
- Object.defineProperty(TransactionLineActionButtonsComponent.prototype, "showActionButtons", {
13451
- get: function () {
13452
- return this._showActionButtons;
13453
- },
13454
- set: function (value) {
13455
- var _this = this;
13456
- this._showActionButtons = value;
13457
- setTimeout(function () {
13458
- _this.showActionButtonsDelayed = _this._showActionButtons;
13459
- });
13460
- },
13461
- enumerable: false,
13462
- configurable: true
13463
- });
13464
13510
  TransactionLineActionButtonsComponent.prototype.showClass = function () {
13465
13511
  return true;
13466
13512
  };
@@ -13468,49 +13514,64 @@
13468
13514
  this.transactionKind = this._transactionService.currentTransaction.transactionInfo.transactionKind;
13469
13515
  };
13470
13516
  TransactionLineActionButtonsComponent.prototype.handleShowHideClick = function () {
13471
- var _this = this;
13472
13517
  this.showActionButtons = !this.showActionButtons;
13473
- setTimeout(function () {
13474
- _this.showActionButtonsDelayed = !_this.showActionButtonsDelayed;
13475
- }, 1);
13518
+ if (this.showActionButtons) {
13519
+ this._showPopup();
13520
+ }
13521
+ else {
13522
+ this._hidePopup();
13523
+ }
13476
13524
  };
13477
13525
  TransactionLineActionButtonsComponent.prototype.handleTransactionText = function () {
13478
13526
  this._transactionEventService.addTransactionText.next(this.transactionLine);
13479
13527
  this.waitingForUserAction.next(true);
13480
- this.showActionButtons = false;
13481
- this.showActionButtonsDelayed = false;
13528
+ this._hidePopup();
13482
13529
  };
13483
13530
  TransactionLineActionButtonsComponent.prototype.handleArticleText = function () {
13484
13531
  this._transactionEventService.addArticleText.next(this.transactionLine);
13485
13532
  this.waitingForUserAction.next(true);
13486
- this.showActionButtons = false;
13487
- this.showActionButtonsDelayed = false;
13533
+ this._hidePopup();
13488
13534
  };
13489
13535
  TransactionLineActionButtonsComponent.prototype.handleShowSidePanel = function () {
13490
13536
  this._transactionEventService.openSidePanel.next(this.transactionLine);
13491
13537
  this.waitingForUserAction.next(true);
13538
+ this._hidePopup();
13539
+ };
13540
+ TransactionLineActionButtonsComponent.prototype._showPopup = function () {
13541
+ var _this = this;
13542
+ this.showActionButtons = true;
13543
+ this._overlayService.createComponent(TransactionLineActionButtonsPopupComponent, { parentForOverlay: this.elementRef }, {
13544
+ articleTextButtonClick: function () { return _this.handleArticleText(); },
13545
+ transactionTextButtonClick: function () { return _this.handleTransactionText(); },
13546
+ sidePanelButtonClick: function () { return _this.handleShowSidePanel(); }
13547
+ });
13548
+ };
13549
+ TransactionLineActionButtonsComponent.prototype._hidePopup = function () {
13492
13550
  this.showActionButtons = false;
13493
- this.showActionButtonsDelayed = false;
13551
+ this._overlayService.removeComponent();
13494
13552
  };
13495
13553
  return TransactionLineActionButtonsComponent;
13496
13554
  }());
13497
13555
  TransactionLineActionButtonsComponent.decorators = [
13498
13556
  { type: i0.Component, args: [{
13499
13557
  selector: "co-transaction-line-action-buttons",
13500
- template: "\n <div class=\"transaction-line-action-buttons-wrapper\">\n <!--\n <div class=\"menu-button-container\">\n <co-button\n class=\"action-menu-button circle\"\n [iconData]=\"iconCacheService.getIcon(icons.EllipsisLight)\"\n (click)=\"handleShowHideClick()\">\n </co-button>\n </div>\n -->\n\n <div class=\"action-buttons-container\"\n *ngIf=\"showActionButtons\"\n [ngClass]=\"alignDirection\">\n\n <!-- <co-button\n class=\"transaction-line-overview-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSizeSolid)\"\n (click)=\"handleTransactionArticleTextOverview()\"></co-button>-->\n\n <co-button\n class=\"transaction-line-overview-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSizeSolid)\"\n (click)=\"handleArticleText()\"></co-button>\n\n <co-button\n class=\"transaction-line-add-text-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"\n (click)=\"handleTransactionText()\"></co-button>\n\n <co-button\n class=\"transaction-line-show-sidebar-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.ObjectIntersectSolid)\"\n (click)=\"handleShowSidePanel()\"></co-button>\n </div>\n </div>\n ",
13558
+ template: "\n <div class=\"transaction-line-action-buttons-wrapper\">\n <div class=\"menu-button-container\">\n <co-button\n class=\"action-menu-button circle\"\n [iconData]=\"iconCacheService.getIcon(icons.EllipsisLight)\"\n (click)=\"handleShowHideClick()\">\n </co-button>\n </div>\n </div>\n ",
13559
+ providers: [
13560
+ corecomponents_v12.OverlayService
13561
+ ],
13501
13562
  encapsulation: i0.ViewEncapsulation.None
13502
13563
  },] }
13503
13564
  ];
13504
13565
  TransactionLineActionButtonsComponent.ctorParameters = function () { return [
13566
+ { type: i0.ElementRef },
13505
13567
  { type: IconCacheService },
13506
13568
  { type: TransactionService },
13507
13569
  { type: DictionaryService },
13508
- { type: TransactionEventService }
13570
+ { type: TransactionEventService },
13571
+ { type: corecomponents_v12.OverlayService }
13509
13572
  ]; };
13510
13573
  TransactionLineActionButtonsComponent.propDecorators = {
13511
13574
  transactionLine: [{ type: i0.Input }],
13512
- alignDirection: [{ type: i0.Input }],
13513
- showActionButtons: [{ type: i0.Input }],
13514
13575
  waitingForUserAction: [{ type: i0.Output }],
13515
13576
  transactionArticleTextOverviewButtonClicked: [{ type: i0.Output }],
13516
13577
  transactionTextButtonClicked: [{ type: i0.Output }],
@@ -13574,7 +13635,7 @@
13574
13635
  var _this = this;
13575
13636
  this.expanded = false;
13576
13637
  this._subscriptions.push(this.transactionEventService.selectAllSalesOrderLinesForDelivery.subscribe(function (value) {
13577
- if (_this.transactionLine.articleLineStatus.quantityToDeliver > 0) {
13638
+ if (_this.lineQuantityToDeliver > 0) {
13578
13639
  _this.transactionLine.selected = value;
13579
13640
  }
13580
13641
  }));
@@ -13584,7 +13645,7 @@
13584
13645
  this._subscriptions.forEach(function (s) { return s.unsubscribe(); });
13585
13646
  };
13586
13647
  TransactionOrderDeliveryLineBaseComponent.prototype.showNumberPicker = function () {
13587
- return this.transactionInfo.allowPartialDelivery && this.transactionLine.articleLineStatus.quantityToDeliver !== 0;
13648
+ return this.transactionInfo.allowPartialDelivery && this.lineQuantityToDeliver !== 0;
13588
13649
  };
13589
13650
  TransactionOrderDeliveryLineBaseComponent.prototype.handleLineClicked = function (mouseClick) {
13590
13651
  if (this.transactionLine && this.transactionLine.commissionCode !== "1") {
@@ -13614,7 +13675,7 @@
13614
13675
  TransactionOrderDeliveryLineComponent.decorators = [
13615
13676
  { type: i0.Component, args: [{
13616
13677
  selector: "co-transaction-order-delivery-line",
13617
- template: "\n <co-transaction-base-line [transactionInfo]=\"transactionInfo\" [transactionLine]=\"transactionLine\" [preview]=\"preview\" [checkbox]=\"transactionInfo.allowPartialDelivery\"\n [checkboxValue]=\"transactionLine.selected\" [hideCheckbox]=\"transactionLine.articleLineStatus.quantityToDeliver === 0\" [actionButtons]=\"false\" (click)=\"handleLineClicked($event)\">\n <div class=\"transaction-line-buttons-grid\" data-action=\"openSidePanel\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [readonly]=\"readonly\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [readonly]=\"readonly\"></co-transaction-line-delivery-button>\n <co-transaction-line-statusbar [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [activeCategory]=\"category.SalesOrderDeliveryNote\"></co-transaction-line-statusbar>\n </div>\n <div class=\"transaction-line-totals-custom-grid\" data-action=\"openSidePanel\">\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"(transactionLine.price + transactionLine.discountAmount) | coCurrency\"\n [crossedOut]=\"!!transactionLine.discountAmount\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label *ngIf=\"transactionLine.discountAmount\" class=\"transaction-line-totals-total price discount\"\n [model]=\"'- ' + (transactionLine.discountAmount | coCurrency)\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.price * transactionLine.amount | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"transaction-line-totals-amount\" *ngIf=\"transactionLine.articleLineStatus.quantityToDeliver !== 0 && transactionInfo.allowPartialDelivery\"\n [class.fully-delivered]=\"transactionLine.articleLineStatus.quantityDelivered === transactionLine.amount\"\n [class.partially-delivered]=\"transactionLine.articleLineStatus.quantityDelivered !== transactionLine.amount && transactionLine.articleLineStatus.quantityDelivered !== 0\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"transactionLine.articleLineStatus.quantityToDeliver\"\n [min]=\"!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1\"\n [max]=\"transactionLine.amount\"\n [readonly]=\"readonly || !transactionInfo.allowPartialDelivery\">\n </co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\" *ngIf=\"transactionLine.articleLineStatus.quantityToDeliver === 0 || !transactionInfo.allowPartialDelivery\"\n [class.fully-delivered]=\"transactionLine.articleLineStatus.quantityDelivered === transactionLine.amount\"\n [class.partially-delivered]=\"transactionLine.articleLineStatus.quantityDelivered !== transactionLine.amount && transactionLine.articleLineStatus.quantityDelivered !== 0\"\n [model]=\"transactionLine.articleLineStatus.quantityToDeliver\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n </co-transaction-base-line>\n ",
13678
+ template: "\n <co-transaction-base-line [transactionInfo]=\"transactionInfo\" [transactionLine]=\"transactionLine\" [preview]=\"preview\" [checkbox]=\"transactionInfo.allowPartialDelivery\"\n [checkboxValue]=\"transactionLine.selected\" [hideCheckbox]=\"lineQuantityToDeliver === 0\" [actionButtons]=\"false\" (click)=\"handleLineClicked($event)\">\n <div class=\"transaction-line-buttons-grid\" data-action=\"openSidePanel\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [readonly]=\"readonly\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [readonly]=\"readonly\"></co-transaction-line-delivery-button>\n <co-transaction-line-statusbar [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [activeCategory]=\"category.SalesOrderDeliveryNote\"></co-transaction-line-statusbar>\n </div>\n <div class=\"transaction-line-totals-custom-grid\" data-action=\"openSidePanel\">\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"(transactionLine.price + transactionLine.discountAmount) | coCurrency\"\n [crossedOut]=\"!!transactionLine.discountAmount\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label *ngIf=\"transactionLine.discountAmount\" class=\"transaction-line-totals-total price discount\"\n [model]=\"'- ' + (transactionLine.discountAmount | coCurrency)\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.price * transactionLine.amount | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"transaction-line-totals-amount\" *ngIf=\"lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery\"\n [class.fully-delivered]=\"lineQuantityDelivered === transactionLine.amount\"\n [class.partially-delivered]=\"lineQuantityDelivered !== transactionLine.amount && lineIsDelivered\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"lineQuantityToDeliver\"\n [min]=\"!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1\"\n [max]=\"transactionLine.amount\"\n [readonly]=\"readonly || !transactionInfo.allowPartialDelivery\">\n </co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\" *ngIf=\"lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery\"\n [class.fully-delivered]=\"lineQuantityDelivered === transactionLine.amount\"\n [class.partially-delivered]=\"lineQuantityDelivered !== transactionLine.amount && lineIsDelivered\"\n [model]=\"lineQuantityToDeliver\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n </co-transaction-base-line>\n ",
13618
13679
  encapsulation: i0.ViewEncapsulation.None,
13619
13680
  changeDetection: i0.ChangeDetectionStrategy.OnPush
13620
13681
  },] }
@@ -13905,7 +13966,7 @@
13905
13966
  TransactionReceiveGoodsLineComponent.decorators = [
13906
13967
  { type: i0.Component, args: [{
13907
13968
  selector: "co-transaction-receive-goods-line",
13908
- template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"transactionLine.selected\"\n [actionButtons]=\"false\"\n (checkboxValueChanged)=\"transactionLine.selected = $event\"\n (click)=\"handleLineClicked($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"line-content-wrapper\" data-action=\"openSidePanel\">\n <co-transaction-line-statusbar [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [activeCategory]=\"transactionTypeCategory.PurchaseOrderReceivedGoods\"></co-transaction-line-statusbar>\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [readonly]=\"true\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-warehouse-location-button [readonly]=\"warehouseLocationButtonDisabled\" [(locationNr)]=\"transactionLine.locationNr\" [warehouseNumber]=\"transactionLine.warehouseNumber\"></co-transaction-line-warehouse-location-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.amount?.toString() + 'x'\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"transaction-line-totals-amount\"\n [class.fully-delivered]=\"transactionLine.articleLineStatus.quantityReceived === transactionLine.amount\"\n [class.partially-delivered]=\"transactionLine.articleLineStatus.quantityReceived !== transactionLine.amount && transactionLine.articleLineStatus.quantityReceived !== 0\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"transactionLine.articleLineStatus.quantityToReceive\"\n [min]=\"1\"\n [max]=\"transactionLine.amount - transactionLine.articleLineStatus.quantityReceived\"\n [readonly]=\"readonly || transactionLine.articleLineStatus.quantityReceived === transactionLine.amount\"\n (modelChange)=\"changeLineAmount($event)\">\n </co-input-number-picker>\n </div>\n <co-transaction-print-package-sticker\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-print-package-sticker>\n </div>\n </co-transaction-base-line>\n ",
13969
+ template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"transactionLine.selected\"\n [actionButtons]=\"false\"\n (checkboxValueChanged)=\"transactionLine.selected = $event\"\n (click)=\"handleLineClicked($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"line-content-wrapper\" data-action=\"openSidePanel\">\n <co-transaction-line-statusbar [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [activeCategory]=\"transactionTypeCategory.PurchaseOrderReceivedGoods\"></co-transaction-line-statusbar>\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [readonly]=\"true\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-warehouse-location-button [readonly]=\"warehouseLocationButtonDisabled\" [(locationNr)]=\"transactionLine.locationNr\" [warehouseNumber]=\"transactionLine.warehouseNumber\"></co-transaction-line-warehouse-location-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.amount?.toString() + 'x'\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"transaction-line-totals-amount\"\n [class.fully-delivered]=\"lineQuantityReceived === transactionLine.amount\"\n [class.partially-delivered]=\"lineQuantityReceived !== transactionLine.amount && lineIsReceived\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"lineQuantityToReceive\"\n [min]=\"1\"\n [max]=\"transactionLine.amount - lineQuantityReceived\"\n [readonly]=\"readonly || lineQuantityReceived === transactionLine.amount\"\n (modelChange)=\"changeLineAmount($event)\">\n </co-input-number-picker>\n </div>\n <co-transaction-print-package-sticker\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-print-package-sticker>\n </div>\n </co-transaction-base-line>\n ",
13909
13970
  encapsulation: i0.ViewEncapsulation.None,
13910
13971
  changeDetection: i0.ChangeDetectionStrategy.OnPush
13911
13972
  },] }
@@ -14141,7 +14202,7 @@
14141
14202
  TransactionGoodsAllocationLineComponent.prototype.ngOnInit = function () {
14142
14203
  var _this = this;
14143
14204
  this._subscriptions.push(this.transactionEventService.selectAllSalesOrderLinesForAllocation.subscribe(function (value) {
14144
- _this.transactionLine.selected = _this.transactionLine.commissionCode === "1" && _this.transactionLine.articleLineStatus.quantityToAllocate !== 0;
14205
+ _this.transactionLine.selected = _this.transactionLine.commissionCode === "1" && _this.lineQuantityToAllocate !== 0;
14145
14206
  }));
14146
14207
  };
14147
14208
  TransactionGoodsAllocationLineComponent.prototype.ngOnDestroy = function () {
@@ -14151,8 +14212,8 @@
14151
14212
  TransactionGoodsAllocationLineComponent.prototype.transactionLineSet = function () {
14152
14213
  _super.prototype.transactionLineSet.call(this);
14153
14214
  if (this.transactionLine.articleLineStatus) {
14154
- this.quantityAllocated = this.transactionLine.articleLineStatus.quantityAllocated;
14155
- this.transactionLine.quantityToAllocate = this.transactionLine.articleLineStatus.quantityToAllocate;
14215
+ this.quantityAllocated = this.lineQuantityAllocated;
14216
+ this.transactionLine.quantityToAllocate = this.lineQuantityToAllocate;
14156
14217
  }
14157
14218
  };
14158
14219
  TransactionGoodsAllocationLineComponent.prototype.handleRowVisible = function () {
@@ -14774,7 +14835,7 @@
14774
14835
  var _this = this;
14775
14836
  this.expanded = false;
14776
14837
  this._subscriptions.push(this.transactionEventService.selectAllSalesOrderLinesForInvoice.subscribe(function (value) {
14777
- if (_this.transactionLine.articleLineStatus.quantityToInvoice > 0) {
14838
+ if (_this.lineQuantityToInvoice > 0) {
14778
14839
  _this.transactionLine.selected = value;
14779
14840
  }
14780
14841
  }));
@@ -14784,7 +14845,7 @@
14784
14845
  this._subscriptions.forEach(function (s) { return s.unsubscribe(); });
14785
14846
  };
14786
14847
  TransactionInvoiceLineBaseComponent.prototype.showNumberPicker = function () {
14787
- return this.transactionLine.articleLineStatus.quantityToInvoice !== 0;
14848
+ return this.lineQuantityToInvoice !== 0;
14788
14849
  };
14789
14850
  TransactionInvoiceLineBaseComponent.prototype.visibilitySet = function (visible) {
14790
14851
  _super.prototype.visibilitySet.call(this, visible);
@@ -14793,8 +14854,8 @@
14793
14854
  TransactionInvoiceLineBaseComponent.prototype.transactionLineSet = function () {
14794
14855
  _super.prototype.transactionLineSet.call(this);
14795
14856
  if (this.transactionLine.articleLineStatus) {
14796
- this.transactionLine.quantityToInvoice = this.transactionLine.articleLineStatus.quantityToInvoice;
14797
- this.showCheckBox = this.transactionService.internalParameterPartialInvoice && this.transactionLine.articleLineStatus.quantityToInvoice > 0;
14857
+ this.transactionLine.quantityToInvoice = this.lineQuantityToInvoice;
14858
+ this.showCheckBox = this.transactionService.internalParameterPartialInvoice && this.lineQuantityToInvoice > 0;
14798
14859
  }
14799
14860
  };
14800
14861
  TransactionInvoiceLineBaseComponent.prototype.handleLineClicked = function (mouseClick) {
@@ -14825,7 +14886,7 @@
14825
14886
  TransactionInvoiceLineComponent.decorators = [
14826
14887
  { type: i0.Component, args: [{
14827
14888
  selector: "co-transaction-invoice-line",
14828
- template: "\n <co-transaction-base-line [transactionInfo]=\"transactionInfo\" [transactionLine]=\"transactionLine\" [preview]=\"preview\"\n [checkboxValue]=\"transactionLine.selected\" [checkbox]=\"showCheckBox\" [actionButtons]=\"false\" (click)=\"handleLineClicked($event)\">\n <div class=\"transaction-line-buttons-grid\" data-action=\"openSidePanel\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-button>\n <co-transaction-line-statusbar [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [activeCategory]=\"category.SalesOrderInvoice\"></co-transaction-line-statusbar>\n </div>\n <div class=\"transaction-line-totals-custom-grid\" data-action=\"openSidePanel\">\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"(transactionLine.price + transactionLine.discountAmount) | coCurrency\"\n [crossedOut]=\"!!transactionLine.discountAmount\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label *ngIf=\"transactionLine.discountAmount\" class=\"transaction-line-totals-total price discount\"\n [model]=\"'- ' + (transactionLine.discountAmount | coCurrency)\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.price * transactionLine.amount | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"transaction-line-totals-amount\" *ngIf=\"transactionLine.articleLineStatus.quantityToInvoice !== 0\"\n [class.fully-delivered]=\"transactionLine.articleLineStatus.quantityInvoiced === transactionLine.amount\"\n [class.partially-delivered]=\"transactionLine.articleLineStatus.quantityInvoiced !== transactionLine.amount && transactionLine.articleLineStatus.quantityInvoiced !== 0\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"transactionLine.quantityToInvoice\"\n [min]=\"1\"\n [max]=\"transactionLine.amount\"\n [readonly]=\"readonly\">\n </co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\" *ngIf=\"transactionLine.articleLineStatus.quantityToInvoice === 0\"\n [class.fully-delivered]=\"transactionLine.articleLineStatus.quantityInvoiced === transactionLine.amount\"\n [class.partially-delivered]=\"transactionLine.articleLineStatus.quantityInvoiced !== transactionLine.amount && transactionLine.articleLineStatus.quantityInvoiced !== 0\"\n [model]=\"transactionLine.articleLineStatus.quantityToInvoice\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n </co-transaction-base-line>\n ",
14889
+ template: "\n <co-transaction-base-line [transactionInfo]=\"transactionInfo\" [transactionLine]=\"transactionLine\" [preview]=\"preview\"\n [checkboxValue]=\"transactionLine.selected\" [checkbox]=\"showCheckBox\" [actionButtons]=\"false\" (click)=\"handleLineClicked($event)\">\n <div class=\"transaction-line-buttons-grid\" data-action=\"openSidePanel\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-button>\n <co-transaction-line-statusbar [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\" [activeCategory]=\"category.SalesOrderInvoice\"></co-transaction-line-statusbar>\n </div>\n <div class=\"transaction-line-totals-custom-grid\" data-action=\"openSidePanel\">\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"(transactionLine.price + transactionLine.discountAmount) | coCurrency\"\n [crossedOut]=\"!!transactionLine.discountAmount\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label *ngIf=\"transactionLine.discountAmount\" class=\"transaction-line-totals-total price discount\"\n [model]=\"'- ' + (transactionLine.discountAmount | coCurrency)\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.price * transactionLine.amount | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"transaction-line-totals-amount\" *ngIf=\"lineQuantityToInvoice !== 0\"\n [class.fully-delivered]=\"lineQuantityInvoiced === transactionLine.amount\"\n [class.partially-delivered]=\"lineQuantityInvoiced !== transactionLine.amount && lineIsInvoiced\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"transactionLine.quantityToInvoice\"\n [min]=\"1\"\n [max]=\"transactionLine.amount\"\n [readonly]=\"readonly\">\n </co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\" *ngIf=\"lineQuantityToInvoice === 0\"\n [class.fully-delivered]=\"lineQuantityInvoiced === transactionLine.amount\"\n [class.partially-delivered]=\"lineQuantityInvoiced !== transactionLine.amount && lineIsInvoiced\"\n [model]=\"lineQuantityToInvoice\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n </co-transaction-base-line>\n ",
14829
14890
  encapsulation: i0.ViewEncapsulation.None,
14830
14891
  changeDetection: i0.ChangeDetectionStrategy.OnPush
14831
14892
  },] }
@@ -14920,7 +14981,7 @@
14920
14981
  TransactionCardReceiveGoodsComponent.decorators = [
14921
14982
  { type: i0.Component, args: [{
14922
14983
  selector: "co-transaction-card-receive-goods",
14923
- template: "\n <div class=\"transaction-card-wrapper\">\n <co-transaction-card-header\n [transactionLine]=\"transactionLine\"\n [showActionButtons]=\"false\"\n [showCheckbox]=\"transactionLine.articleLineStatus.quantityToReceive !== 0\"\n [showThumbnail]=\"true\"\n [expanded]=\"expanded\"\n >\n <div class=\"transaction-line-totals-amount card-button\"\n [class.fully-delivered]=\"transactionLine.articleLineStatus.quantityReceived === transactionLine.amount\"\n [class.partially-delivered]=\"transactionLine.articleLineStatus.quantityReceived !== transactionLine.amount && transactionLine.articleLineStatus.quantityReceived !== 0\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"transactionLine.articleLineStatus.quantityToReceive\"\n [min]=\"1\"\n [max]=\"transactionLine.amount - transactionLine.articleLineStatus.quantityReceived\"\n [readonly]=\"readonly || transactionLine.articleLineStatus.quantityReceived === transactionLine.amount\"\n (modelChange)=\"changeLineAmount($event)\">\n </co-input-number-picker>\n </div>\n <div class=\"card-side-panel-button\" (click)=\"handleShowSidePanel(transactionLine)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.EllipsisVerticalSolid)\"></co-icon>\n </div>\n </co-transaction-card-header>\n\n <div class=\"transaction-card-content-wrapper\">\n <div class=\"content-base\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-warehouse-location-button [readonly]=\"warehouseLocationButtonDisabled\" [(locationNr)]=\"transactionLine.locationNr\" [warehouseNumber]=\"transactionLine.warehouseNumber\"></co-transaction-line-warehouse-location-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.amount?.toString() + 'x'\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-transaction-print-package-sticker\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-print-package-sticker>\n </div>\n\n <div class=\"content-expanded\" *ngIf=\"expanded\">\n\n </div>\n </div>\n\n <co-transaction-card-footer\n [transaction]=\"transaction\"\n [transactionLine]=\"transactionLine\"\n [transactionTypeCategory]=\"transactionTypeCategory.PurchaseOrderReceivedGoods\"\n [expanded]=\"expanded\"\n (expandClicked)=\"expanded = !expanded\"\n ></co-transaction-card-footer>\n </div>\n ",
14984
+ template: "\n <div class=\"transaction-card-wrapper\">\n <co-transaction-card-header\n [transactionLine]=\"transactionLine\"\n [showActionButtons]=\"false\"\n [showCheckbox]=\"lineQuantityToReceive !== 0\"\n [showThumbnail]=\"true\"\n [expanded]=\"expanded\"\n >\n <div class=\"transaction-line-totals-amount card-button\"\n [class.fully-delivered]=\"lineQuantityReceived === transactionLine.amount\"\n [class.partially-delivered]=\"lineQuantityReceived !== transactionLine.amount && lineIsReceived\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"lineQuantityToReceive\"\n [min]=\"1\"\n [max]=\"transactionLine.amount - lineQuantityReceived\"\n [readonly]=\"readonly || lineQuantityReceived === transactionLine.amount\"\n (modelChange)=\"changeLineAmount($event)\">\n </co-input-number-picker>\n </div>\n <div class=\"card-side-panel-button\" (click)=\"handleShowSidePanel(transactionLine)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.EllipsisVerticalSolid)\"></co-icon>\n </div>\n </co-transaction-card-header>\n\n <div class=\"transaction-card-content-wrapper\">\n <div class=\"content-base\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-warehouse-location-button [readonly]=\"warehouseLocationButtonDisabled\" [(locationNr)]=\"transactionLine.locationNr\" [warehouseNumber]=\"transactionLine.warehouseNumber\"></co-transaction-line-warehouse-location-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.amount?.toString() + 'x'\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-transaction-print-package-sticker\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-print-package-sticker>\n </div>\n\n <div class=\"content-expanded\" *ngIf=\"expanded\">\n\n </div>\n </div>\n\n <co-transaction-card-footer\n [transaction]=\"transaction\"\n [transactionLine]=\"transactionLine\"\n [transactionTypeCategory]=\"transactionTypeCategory.PurchaseOrderReceivedGoods\"\n [expanded]=\"expanded\"\n (expandClicked)=\"expanded = !expanded\"\n ></co-transaction-card-footer>\n </div>\n ",
14924
14985
  encapsulation: i0.ViewEncapsulation.None
14925
14986
  },] }
14926
14987
  ];
@@ -14944,7 +15005,7 @@
14944
15005
  TransactionCardInvoiceComponent.decorators = [
14945
15006
  { type: i0.Component, args: [{
14946
15007
  selector: "co-transaction-card-invoice",
14947
- template: "\n <div class=\"transaction-card-wrapper\">\n <co-transaction-card-header\n [transactionLine]=\"transactionLine\"\n [showActionButtons]=\"false\"\n [showCheckbox]=\"showCheckBox\"\n [showThumbnail]=\"true\"\n [expanded]=\"expanded\"\n >\n <div class=\"transaction-line-totals-amount card-button\" *ngIf=\"transactionLine.articleLineStatus.quantityToInvoice !== 0\"\n [class.fully-delivered]=\"transactionLine.articleLineStatus.quantityInvoiced === transactionLine.amount\"\n [class.partially-delivered]=\"transactionLine.articleLineStatus.quantityInvoiced !== transactionLine.amount && transactionLine.articleLineStatus.quantityInvoiced !== 0\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"transactionLine.quantityToInvoice\"\n [min]=\"1\"\n [max]=\"transactionLine.amount\"\n [readonly]=\"readonly\">\n </co-input-number-picker>\n </div>\n <div class=\"side-panel-button\" (click)=\"handleShowSidePanel(transactionLine)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.EllipsisVerticalSolid)\"></co-icon>\n </div>\n </co-transaction-card-header>\n <div class=\"transaction-card-content-wrapper\">\n <div class=\"content-base\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"(transactionLine.price + transactionLine.discountAmount) | coCurrency\"\n [crossedOut]=\"!!transactionLine.discountAmount\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.price * transactionLine.amount | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n\n <div class=\"content-expanded\" *ngIf=\"expanded\">\n\n </div>\n </div>\n\n <co-transaction-card-footer\n [transaction]=\"transaction\"\n [transactionLine]=\"transactionLine\"\n [transactionTypeCategory]=\"category.SalesOrderInvoice\"\n [expanded]=\"expanded\"\n (expandClicked)=\"expanded = !expanded\"\n ></co-transaction-card-footer>\n </div>\n ",
15008
+ template: "\n <div class=\"transaction-card-wrapper\">\n <co-transaction-card-header\n [transactionLine]=\"transactionLine\"\n [showActionButtons]=\"false\"\n [showCheckbox]=\"showCheckBox\"\n [showThumbnail]=\"true\"\n [expanded]=\"expanded\"\n >\n <div class=\"transaction-line-totals-amount card-button\" *ngIf=\"lineQuantityToInvoice !== 0\"\n [class.fully-delivered]=\"lineQuantityInvoiced === transactionLine.amount\"\n [class.partially-delivered]=\"lineQuantityInvoiced !== transactionLine.amount && lineIsInvoiced\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"transactionLine.quantityToInvoice\"\n [min]=\"1\"\n [max]=\"transactionLine.amount\"\n [readonly]=\"readonly\">\n </co-input-number-picker>\n </div>\n <div class=\"side-panel-button\" (click)=\"handleShowSidePanel(transactionLine)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.EllipsisVerticalSolid)\"></co-icon>\n </div>\n </co-transaction-card-header>\n <div class=\"transaction-card-content-wrapper\">\n <div class=\"content-base\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"(transactionLine.price + transactionLine.discountAmount) | coCurrency\"\n [crossedOut]=\"!!transactionLine.discountAmount\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.price * transactionLine.amount | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n\n <div class=\"content-expanded\" *ngIf=\"expanded\">\n\n </div>\n </div>\n\n <co-transaction-card-footer\n [transaction]=\"transaction\"\n [transactionLine]=\"transactionLine\"\n [transactionTypeCategory]=\"category.SalesOrderInvoice\"\n [expanded]=\"expanded\"\n (expandClicked)=\"expanded = !expanded\"\n ></co-transaction-card-footer>\n </div>\n ",
14948
15009
  encapsulation: i0.ViewEncapsulation.None
14949
15010
  },] }
14950
15011
  ];
@@ -14968,7 +15029,7 @@
14968
15029
  TransactionCardOrderDeliveryComponent.decorators = [
14969
15030
  { type: i0.Component, args: [{
14970
15031
  selector: "co-transaction-card-order-delivery",
14971
- template: "\n <div class=\"transaction-card-wrapper\">\n <co-transaction-card-header\n [transactionLine]=\"transactionLine\"\n [showActionButtons]=\"false\"\n [showCheckbox]=\"transactionInfo.allowPartialDelivery && transactionLine.articleLineStatus.quantityToDeliver !== 0\"\n [showThumbnail]=\"true\"\n [expanded]=\"expanded\"\n >\n <div class=\"transaction-line-totals-amount card-button\" *ngIf=\"transactionLine.articleLineStatus.quantityToDeliver !== 0 && transactionInfo.allowPartialDelivery\"\n [class.fully-delivered]=\"transactionLine.articleLineStatus.quantityDelivered === transactionLine.amount\"\n [class.partially-delivered]=\"transactionLine.articleLineStatus.quantityDelivered !== transactionLine.amount && transactionLine.articleLineStatus.quantityDelivered !== 0\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"transactionLine.articleLineStatus.quantityToDeliver\"\n [min]=\"!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1\"\n [max]=\"transactionLine.amount\"\n [readonly]=\"readonly || !transactionInfo.allowPartialDelivery\">\n </co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price card-button\" *ngIf=\"transactionLine.articleLineStatus.quantityToDeliver === 0 || !transactionInfo.allowPartialDelivery\"\n [class.fully-delivered]=\"transactionLine.articleLineStatus.quantityDelivered === transactionLine.amount\"\n [class.partially-delivered]=\"transactionLine.articleLineStatus.quantityDelivered !== transactionLine.amount && transactionLine.articleLineStatus.quantityDelivered !== 0\"\n [model]=\"transactionLine.articleLineStatus.quantityToDeliver\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"side-panel-button\" (click)=\"handleShowSidePanel(transactionLine)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.EllipsisVerticalSolid)\"></co-icon>\n </div>\n </co-transaction-card-header>\n <div class=\"transaction-card-content-wrapper\">\n <div class=\"content-base\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"(transactionLine.price + transactionLine.discountAmount) | coCurrency\"\n [crossedOut]=\"!!transactionLine.discountAmount\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.price * transactionLine.amount | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n\n <div class=\"content-expanded\" *ngIf=\"expanded\">\n\n </div>\n </div>\n\n <co-transaction-card-footer\n [transaction]=\"transaction\"\n [transactionLine]=\"transactionLine\"\n [transactionTypeCategory]=\"category.SalesOrderDeliveryNote\"\n [expanded]=\"expanded\"\n (expandClicked)=\"expanded = !expanded\"\n ></co-transaction-card-footer>\n </div>\n ",
15032
+ template: "\n <div class=\"transaction-card-wrapper\">\n <co-transaction-card-header\n [transactionLine]=\"transactionLine\"\n [showActionButtons]=\"false\"\n [showCheckbox]=\"transactionInfo.allowPartialDelivery && lineQuantityToDeliver !== 0\"\n [showThumbnail]=\"true\"\n [expanded]=\"expanded\"\n >\n <div class=\"transaction-line-totals-amount card-button\" *ngIf=\"lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery\"\n [class.fully-delivered]=\"lineQuantityDelivered === transactionLine.amount\"\n [class.partially-delivered]=\"lineQuantityDelivered !== transactionLine.amount && lineIsDelivered\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"lineQuantityToDeliver\"\n [min]=\"!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1\"\n [max]=\"transactionLine.amount\"\n [readonly]=\"readonly || !transactionInfo.allowPartialDelivery\">\n </co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price card-button\" *ngIf=\"lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery\"\n [class.fully-delivered]=\"lineQuantityDelivered === transactionLine.amount\"\n [class.partially-delivered]=\"lineQuantityDelivered !== transactionLine.amount && lineIsDelivered\"\n [model]=\"lineQuantityToDeliver\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"side-panel-button\" (click)=\"handleShowSidePanel(transactionLine)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.EllipsisVerticalSolid)\"></co-icon>\n </div>\n </co-transaction-card-header>\n <div class=\"transaction-card-content-wrapper\">\n <div class=\"content-base\">\n <co-transaction-line-warehouse-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"transactionLine\" [transactionInfo]=\"transactionInfo\"></co-transaction-line-delivery-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"(transactionLine.price + transactionLine.discountAmount) | coCurrency\"\n [crossedOut]=\"!!transactionLine.discountAmount\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.price * transactionLine.amount | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n\n <div class=\"content-expanded\" *ngIf=\"expanded\">\n\n </div>\n </div>\n\n <co-transaction-card-footer\n [transaction]=\"transaction\"\n [transactionLine]=\"transactionLine\"\n [transactionTypeCategory]=\"category.SalesOrderDeliveryNote\"\n [expanded]=\"expanded\"\n (expandClicked)=\"expanded = !expanded\"\n ></co-transaction-card-footer>\n </div>\n ",
14972
15033
  encapsulation: i0.ViewEncapsulation.None
14973
15034
  },] }
14974
15035
  ];
@@ -15155,7 +15216,9 @@
15155
15216
  var TransactionTextLineComponent = /** @class */ (function (_super) {
15156
15217
  __extends(TransactionTextLineComponent, _super);
15157
15218
  function TransactionTextLineComponent() {
15158
- return _super !== null && _super.apply(this, arguments) || this;
15219
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
15220
+ _this.descriptionDblClick = new i0.EventEmitter();
15221
+ return _this;
15159
15222
  }
15160
15223
  TransactionTextLineComponent.prototype.showClass = function () {
15161
15224
  return true;
@@ -15165,11 +15228,12 @@
15165
15228
  TransactionTextLineComponent.decorators = [
15166
15229
  { type: i0.Component, args: [{
15167
15230
  selector: 'co-transaction-text-line',
15168
- template: "\n <div [textContent]=\"transactionLine.text\"></div>\n <div class=\"transaction-line-delete\" *ngIf=\"!preview\">\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\" (click)=\"deleteTransactionLineClick($event)\"></co-icon>\n </div>\n ",
15231
+ template: "\n <div [textContent]=\"transactionLine.text\" (dblclick)=\"descriptionDblClick.emit()\"></div>\n <div class=\"transaction-line-delete\" *ngIf=\"!preview\">\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\" (click)=\"deleteTransactionLineClick($event)\"></co-icon>\n </div>\n ",
15169
15232
  encapsulation: i0.ViewEncapsulation.None
15170
15233
  },] }
15171
15234
  ];
15172
15235
  TransactionTextLineComponent.propDecorators = {
15236
+ descriptionDblClick: [{ type: i0.Output }],
15173
15237
  showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-text-line',] }]
15174
15238
  };
15175
15239
 
@@ -18547,7 +18611,7 @@
18547
18611
  TransactionHeaderBranchComponent.decorators = [
18548
18612
  { type: i0.Component, args: [{
18549
18613
  selector: "co-transaction-header-branch",
18550
- template: "\n <ng-container *ngIf=\"simple\">\n <co-drop-down-list\n [readonly]=\"readonly\"\n [placeholder]=\"'BRANCH' | localize\"\n [allowFiltering]=\"true\"\n [filterType]=\"'Contains'\"\n [collection]=\"collection\"\n [fields]=\"fields\"\n [model]=\"branchModel\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commit($event)\">\n </co-drop-down-list>\n </ng-container>\n <ng-container *ngIf=\"!simple\">\n <co-transaction-line-checkbox-list\n [committing]=\"committing\"\n [collection]=\"viewModelsFiltered\"\n [readonly]=\"readonly\"\n [tooltip]=\"tooltipMessage\"\n (checked)=\"handleChecked($event)\"\n ></co-transaction-line-checkbox-list>\n </ng-container>\n ",
18614
+ template: "\n <ng-container *ngIf=\"simple\">\n <co-list-of-values\n [readonly]=\"readonly\"\n [label]=\"'BRANCH' | localize\"\n [collection]=\"collection\"\n [displayField]=\"'description'\"\n [model]=\"branchModel\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commit($event)\"\n ></co-list-of-values>\n </ng-container>\n <ng-container *ngIf=\"!simple\">\n <co-transaction-line-checkbox-list\n [committing]=\"committing\"\n [collection]=\"viewModelsFiltered\"\n [readonly]=\"readonly\"\n [tooltip]=\"tooltipMessage\"\n (checked)=\"handleChecked($event)\"\n ></co-transaction-line-checkbox-list>\n </ng-container>\n ",
18551
18615
  encapsulation: i0.ViewEncapsulation.None
18552
18616
  },] }
18553
18617
  ];
@@ -18577,7 +18641,8 @@
18577
18641
  corecomponents_v12.DropDownModule,
18578
18642
  corecomponents_v12.InputCheckboxModule,
18579
18643
  TransactionLineCheckboxModule,
18580
- corecomponents_v12.TooltipDirectiveModule
18644
+ corecomponents_v12.TooltipDirectiveModule,
18645
+ corecomponents_v12.ListOfValuesModule
18581
18646
  ],
18582
18647
  declarations: [
18583
18648
  TransactionHeaderBranchComponent
@@ -18636,7 +18701,7 @@
18636
18701
  TransactionHeaderAdministrativeRelationComponent.decorators = [
18637
18702
  { type: i0.Component, args: [{
18638
18703
  selector: "co-transaction-header-administrative-relation",
18639
- template: "\n <co-drop-down-list\n [readonly]=\"headerReadonly\"\n [placeholder]=\"'ADMINISTRATIVE_MANAGER' | localize\"\n [allowFiltering]=\"true\"\n [filterType]=\"'Contains'\"\n [collection]=\"collection\"\n [fields]=\"fields\"\n [model]=\"transactionInfo.admCoordinator\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionAdministrative($event)\">\n </co-drop-down-list>\n ",
18704
+ template: "\n <co-list-of-values\n [readonly]=\"headerReadonly\"\n [label]=\"'ADMINISTRATIVE_MANAGER' | localize\"\n [collection]=\"collection\"\n [displayField]=\"'displayName'\"\n [model]=\"transactionInfo.admCoordinator\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionAdministrative($event)\">\n </co-list-of-values>\n ",
18640
18705
  encapsulation: i0.ViewEncapsulation.None
18641
18706
  },] }
18642
18707
  ];
@@ -18661,7 +18726,8 @@
18661
18726
  common.CommonModule,
18662
18727
  PipeModule,
18663
18728
  corecomponents_v12.DropDownModule,
18664
- corecomponents_v12.TooltipDirectiveModule
18729
+ corecomponents_v12.TooltipDirectiveModule,
18730
+ corecomponents_v12.ListOfValuesModule
18665
18731
  ],
18666
18732
  declarations: [
18667
18733
  TransactionHeaderAdministrativeRelationComponent
@@ -18875,7 +18941,6 @@
18875
18941
  this._transactionEventService = _transactionEventService;
18876
18942
  this.closeClick = new i0.EventEmitter();
18877
18943
  this.cancelClick = new i0.EventEmitter();
18878
- this.saveClick = new i0.EventEmitter();
18879
18944
  this.collection = [];
18880
18945
  this.showTransactionArticleText = false;
18881
18946
  this.header = 'PRODUCT_RELATED_TEXTS';
@@ -18893,11 +18958,18 @@
18893
18958
  TransactionArticleTextOverviewComponent.prototype.showClass = function () {
18894
18959
  return true;
18895
18960
  };
18896
- TransactionArticleTextOverviewComponent.prototype.onOkClick = function (event) {
18897
- this.saveClick.next();
18898
- };
18899
18961
  TransactionArticleTextOverviewComponent.prototype.onCancelClick = function (event) {
18900
- this.cancelClick.next(event);
18962
+ return __awaiter(this, void 0, void 0, function () {
18963
+ return __generator(this, function (_a) {
18964
+ switch (_a.label) {
18965
+ case 0: return [4 /*yield*/, this.service.rollback()];
18966
+ case 1:
18967
+ _a.sent();
18968
+ this.cancelClick.next(event);
18969
+ return [2 /*return*/];
18970
+ }
18971
+ });
18972
+ });
18901
18973
  };
18902
18974
  TransactionArticleTextOverviewComponent.prototype.handleCanDragDrop = function (drag, drop) {
18903
18975
  return drag.data instanceof transactionLineInfo_bo.TransactionLineInfo;
@@ -18914,7 +18986,10 @@
18914
18986
  var target = this.collection[to_1];
18915
18987
  // set items in correct order
18916
18988
  dragDrop.moveItemInArray(this.collection, from_1, to_1);
18917
- this.service.changeLineSequence(beingDropped.uuid, from_1 > to_1 ? target.lineNr : null, from_1 < to_1 ? target.lineNr : null).catch(function () {
18989
+ this.service.changeLineSequence(beingDropped.uuid, from_1 > to_1 ? target.lineNr : null, from_1 < to_1 ? target.lineNr : null)
18990
+ .then(function () {
18991
+ })
18992
+ .catch(function () {
18918
18993
  // something went wrong, reset drop
18919
18994
  dragDrop.moveItemInArray(_this.collection, to_1, from_1);
18920
18995
  });
@@ -18932,6 +19007,9 @@
18932
19007
  TransactionArticleTextOverviewComponent.prototype.closeArticleText = function () {
18933
19008
  this._hideArticleTextDialog();
18934
19009
  };
19010
+ TransactionArticleTextOverviewComponent.prototype.handleSelect = function (index) {
19011
+ this.selectedIndex = index;
19012
+ };
18935
19013
  TransactionArticleTextOverviewComponent.prototype._hideArticleTextDialog = function () {
18936
19014
  this.showTransactionArticleText = false;
18937
19015
  };
@@ -18946,7 +19024,7 @@
18946
19024
  TransactionArticleTextOverviewComponent.decorators = [
18947
19025
  { type: i0.Component, args: [{
18948
19026
  selector: "co-transaction-article-text-overview",
18949
- template: "\n <co-dialog (closeClick)=\"closeClick.emit($event)\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\">\n <div class=\"article-text-content-wrapper\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"article-text-drag-drop-list\"\n [cdkDropListData]=\"collection\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"article-text-overview-article-text-wrapper\" *ngFor=\"let transLine of collection; let index = index\" cdkDrag (dblclick)=\"handleOpenArticleText(transLine)\">\n <div class=\"index\" [textContent]=\"index + 1\"></div>\n <div class=\"text\" [innerHTML]=\"transLine.text | safeHtml\"></div>\n </div>\n </div>\n </div>\n </co-dialog>\n <ng-template #headerTemplate><span class=\"co-dialog-header-title\" [textContent]=\"header | localize\"></span></ng-template>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onOkClick($event)\"></co-button>\n </div>\n </ng-template>\n ",
19027
+ template: "\n <co-dialog (closeClick)=\"onCancelClick($event)\" [headerTemplate]=\"headerTemplate\">\n <div class=\"article-text-content-wrapper\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"article-text-drag-drop-list\"\n [cdkDropListData]=\"collection\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"article-text-overview-article-text-wrapper\" [class.selected]=\"selectedIndex === index\" *ngFor=\"let transLine of collection; let index = index\" cdkDrag \n (dblclick)=\"handleOpenArticleText(transLine)\" (click)=\"handleSelect(index)\">\n <div class=\"index\" [textContent]=\"index + 1\"></div>\n <div class=\"text\" [innerHTML]=\"transLine.text | safeHtml\"></div>\n </div>\n </div>\n </div>\n </co-dialog>\n <ng-template #headerTemplate><span class=\"co-dialog-header-title\" [textContent]=\"header | localize\"></span></ng-template>\n ",
18950
19028
  encapsulation: i0.ViewEncapsulation.None
18951
19029
  },] }
18952
19030
  ];
@@ -18958,7 +19036,6 @@
18958
19036
  transactionLine: [{ type: i0.Input }],
18959
19037
  closeClick: [{ type: i0.Output }],
18960
19038
  cancelClick: [{ type: i0.Output }],
18961
- saveClick: [{ type: i0.Output }],
18962
19039
  showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-article-text-overview",] }]
18963
19040
  };
18964
19041
 
@@ -19064,7 +19141,7 @@
19064
19141
  this._subs.push(this.service.transactionUpdated.subscribe(function (transaction) {
19065
19142
  if (transaction) {
19066
19143
  _this.transaction = transaction;
19067
- _this.updateSidePanelTransactionLine();
19144
+ _this.updateTransactionLine();
19068
19145
  }
19069
19146
  }), this.service.relationUpdated.subscribe(function (relation) {
19070
19147
  if (relation) {
@@ -19135,26 +19212,47 @@
19135
19212
  this.showArticleTextDialog();
19136
19213
  }
19137
19214
  };
19138
- TransactionComponent.prototype.onSaveArticleTextOverview = function (request) {
19139
- this.saveArticleLineText(request);
19140
- this.closeArticleTextOverview();
19141
- };
19142
- TransactionComponent.prototype.saveTransactionLineText = function (transactionAddTextLineRequest) {
19143
- if (transactionAddTextLineRequest.transactionUuid) { //update
19144
- }
19145
- else { // new transactionLine (transactionArticleText)
19146
- this.service.addTextLine(transactionAddTextLineRequest.showOnDocuments, transactionAddTextLineRequest.text, 0, transactionAddTextLineRequest.articleBound, 0, 0, 0);
19147
- }
19148
- this._hideTransactionTextDialog();
19215
+ TransactionComponent.prototype.saveTransactionLineText = function (data) {
19216
+ return __awaiter(this, void 0, void 0, function () {
19217
+ return __generator(this, function (_a) {
19218
+ switch (_a.label) {
19219
+ case 0:
19220
+ if (!!data.new) return [3 /*break*/, 2];
19221
+ return [4 /*yield*/, this.service.updateTextLine(data.request.transactionUuid, this.transactionLine.uuid, data.request.showOnDocuments, data.request.text)];
19222
+ case 1:
19223
+ _a.sent();
19224
+ return [3 /*break*/, 4];
19225
+ case 2: return [4 /*yield*/, this.service.addTextLine(data.request.showOnDocuments, data.request.text, 0, data.request.articleBound, 0, 0, 0)];
19226
+ case 3:
19227
+ _a.sent();
19228
+ _a.label = 4;
19229
+ case 4:
19230
+ this._hideTransactionTextDialog();
19231
+ return [2 /*return*/];
19232
+ }
19233
+ });
19234
+ });
19149
19235
  };
19150
- TransactionComponent.prototype.saveArticleLineText = function (transactionAddTextLineRequest) {
19151
- var _this = this;
19152
- if (transactionAddTextLineRequest) {
19153
- this.service.addTextLine(transactionAddTextLineRequest.showOnDocuments, transactionAddTextLineRequest.text, 0, true, transactionAddTextLineRequest.refArticleLineNr).then(function () {
19154
- _this._hideArticleTextDialog();
19236
+ TransactionComponent.prototype.saveArticleLineText = function (data) {
19237
+ return __awaiter(this, void 0, void 0, function () {
19238
+ return __generator(this, function (_a) {
19239
+ switch (_a.label) {
19240
+ case 0:
19241
+ if (!!data.new) return [3 /*break*/, 2];
19242
+ return [4 /*yield*/, this.service.updateTextLine(data.request.transactionUuid, this.transactionLine.uuid, data.request.showOnDocuments, data.request.text)];
19243
+ case 1:
19244
+ _a.sent();
19245
+ return [3 /*break*/, 4];
19246
+ case 2: return [4 /*yield*/, this.service.addTextLine(data.request.showOnDocuments, data.request.text, 0, true, data.request.refArticleLineNr)];
19247
+ case 3:
19248
+ _a.sent();
19249
+ _a.label = 4;
19250
+ case 4:
19251
+ this._hideArticleTextDialog();
19252
+ return [2 /*return*/];
19253
+ }
19155
19254
  });
19156
- }
19157
- this._hideArticleTextDialog();
19255
+ });
19158
19256
  };
19159
19257
  TransactionComponent.prototype.handleEditTransactionText = function (line) {
19160
19258
  this.transactionLine = line;
@@ -19162,9 +19260,9 @@
19162
19260
  if (line.isText) {
19163
19261
  this.showTransactionTextDialog();
19164
19262
  }
19165
- if (line.articleBoundConcatenatedText.length > 0) {
19166
- this.showArticleTextOverviewDialog();
19167
- }
19263
+ // if (line.articleBoundConcatenatedText && line.articleBoundConcatenatedText.length > 0) {
19264
+ // this.showArticleTextOverviewDialog();
19265
+ // }
19168
19266
  };
19169
19267
  TransactionComponent.prototype.handleEditArticleText = function (line) {
19170
19268
  this.textToEdit = line.text;
@@ -19199,8 +19297,12 @@
19199
19297
  TransactionComponent.prototype._hideArticleTextOverviewDialog = function () {
19200
19298
  this.showArticleTextOverview = false;
19201
19299
  };
19202
- TransactionComponent.prototype.updateSidePanelTransactionLine = function () {
19300
+ TransactionComponent.prototype.updateTransactionLine = function () {
19203
19301
  var _this = this;
19302
+ if (this.transactionLine) {
19303
+ this.transactionLine = this.transaction.transactionLines
19304
+ .find(function (line) { return line.lineNr === _this.transactionLine.lineNr; });
19305
+ }
19204
19306
  if (this.sidePanelTransactionLine) {
19205
19307
  this.sidePanelTransactionLine = this.transaction.transactionLines
19206
19308
  .find(function (line) { return line.lineNr === _this.sidePanelTransactionLine.lineNr; });
@@ -19211,7 +19313,7 @@
19211
19313
  TransactionComponent.decorators = [
19212
19314
  { type: i0.Component, args: [{
19213
19315
  selector: "co-transaction",
19214
- template: "\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\" [relation]=\"relation\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-quick-access>\n <co-transaction-button-bar *ngIf=\"showButtonBar\" class=\"transaction-lines-header-item\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\"\n ></co-transaction-button-bar>\n\n <div class=\"transaction-lines-header-item right\">\n <co-avatar class=\"transaction-sales-avatar\" [relationId]=\"transaction.transactionInfo.salesPerson\"></co-avatar>\n <co-view-mode-buttons [showViewModes]=\"[viewModes.List, viewModes.Tiles]\"\n (viewModeChange)=\"activeViewMode = $event\"></co-view-mode-buttons>\n </div>\n </div>\n\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles\">\n <co-transaction-card\n *ngFor=\"let line of (historicTransactionLines ? historicTransactionLines : transaction.transactionLines)\"\n [transaction]=\"transaction\"\n [transactionLine]=\"line\"\n [readonly]=\"historicTransactionLines !== null\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-card>\n </div>\n <div class=\"transaction-lines-wrapper\" *ngIf=\"activeViewMode === viewModes.List\">\n <co-transaction-lines\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n (saveTransactionLine)=\"saveTransactionLineText($event)\"\n ></co-transaction-lines>\n </div>\n <div class=\"transaction-footer-wrapper\">\n <co-transaction-totals\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionTotal]=\"transaction.transactionTotal\"\n [showDiscount]=\"true\"\n ></co-transaction-totals>\n </div>\n <co-transaction-line-side-panel *ngIf=\"showSidePanel\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"sidePanelTransactionLine\"\n [activeCategory]=\"activeCategory\"\n (cancelClick)=\"showSidePanel = false\"\n ></co-transaction-line-side-panel>\n\n <!--Popup voor wijzigen volgorde van tekstregels-->\n <co-transaction-article-text-overview *ngIf=\"showArticleTextOverview\"\n [transactionLine]=\"transactionLine\"\n (saveClick)=\"onSaveArticleTextOverview($event)\"\n (closeClick)=\"closeArticleTextOverview()\"\n (cancelClick)=\"closeArticleTextOverview()\"\n ></co-transaction-article-text-overview>\n\n <!--Popup voor aanmaken en updaten transactietekstregels-->\n <co-transaction-article-text *ngIf=\"showTransactionText\"\n [header]=\"'ORDER_TEXT_LINE' | localize\"\n [editText]=\"textToEdit\"\n [transactionLine]=\"transactionLine\"\n (saveClick)=\"saveTransactionLineText($event)\"\n (closeClick)=\"closeTransactionText()\"\n (cancelClick)=\"closeTransactionText()\"\n ></co-transaction-article-text>\n\n <!--Popup voor aanmaken en updaten artikeltekstregels-->\n <co-transaction-article-text *ngIf=\"showArticleText\"\n [header]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"\n [showArticleImageDescription]=\"transactionLine.articleBound\"\n [showImage]=\"false\"\n [articleLineNr]=\"transactionLine.lineNr\"\n [articleRef]=\"transactionLine.articleNumber\"\n [transactionLine]=\"transactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveArticleLineText($event)\"\n (closeClick)=\"closeArticleText()\"\n (cancelClick)=\"closeArticleText()\"\n ></co-transaction-article-text>\n ",
19316
+ template: "\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\" [relation]=\"relation\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-quick-access>\n <co-transaction-button-bar *ngIf=\"showButtonBar\" class=\"transaction-lines-header-item\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\"\n ></co-transaction-button-bar>\n\n <div class=\"transaction-lines-header-item right\">\n <co-avatar class=\"transaction-sales-avatar\" [relationId]=\"transaction.transactionInfo.salesPerson\"></co-avatar>\n <co-view-mode-buttons [showViewModes]=\"[viewModes.List, viewModes.Tiles]\"\n (viewModeChange)=\"activeViewMode = $event\"></co-view-mode-buttons>\n </div>\n </div>\n\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles\">\n <co-transaction-card\n *ngFor=\"let line of (historicTransactionLines ? historicTransactionLines : transaction.transactionLines)\"\n [transaction]=\"transaction\"\n [transactionLine]=\"line\"\n [readonly]=\"historicTransactionLines !== null\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-card>\n </div>\n <div class=\"transaction-lines-wrapper\" *ngIf=\"activeViewMode === viewModes.List\">\n <co-transaction-lines\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n (saveTransactionLine)=\"saveTransactionLineText($event)\"\n ></co-transaction-lines>\n </div>\n <div class=\"transaction-footer-wrapper\">\n <co-transaction-totals\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionTotal]=\"transaction.transactionTotal\"\n [showDiscount]=\"true\"\n ></co-transaction-totals>\n </div>\n <co-transaction-line-side-panel *ngIf=\"showSidePanel\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"sidePanelTransactionLine\"\n [activeCategory]=\"activeCategory\"\n (cancelClick)=\"showSidePanel = false\"\n ></co-transaction-line-side-panel>\n\n <!--Popup voor wijzigen volgorde van tekstregels-->\n <co-transaction-article-text-overview *ngIf=\"showArticleTextOverview\"\n [transactionLine]=\"transactionLine\"\n (closeClick)=\"closeArticleTextOverview()\"\n (cancelClick)=\"closeArticleTextOverview()\"\n ></co-transaction-article-text-overview>\n\n <!--Popup voor aanmaken en updaten transactietekstregels-->\n <co-transaction-article-text *ngIf=\"showTransactionText\"\n [header]=\"'ORDER_TEXT_LINE' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [editText]=\"textToEdit\"\n [transactionLine]=\"transactionLine\"\n (saveClick)=\"saveTransactionLineText($event)\"\n (closeClick)=\"closeTransactionText()\"\n (cancelClick)=\"closeTransactionText()\"\n ></co-transaction-article-text>\n\n <!--Popup voor aanmaken en updaten artikeltekstregels-->\n <co-transaction-article-text *ngIf=\"showArticleText\"\n [header]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [showArticleImageDescription]=\"transactionLine.articleBound\"\n [showImage]=\"false\"\n [articleLineNr]=\"transactionLine.lineNr\"\n [articleRef]=\"transactionLine.articleNumber\"\n [transactionLine]=\"transactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveArticleLineText($event)\"\n (closeClick)=\"closeArticleText()\"\n (cancelClick)=\"closeArticleText()\"\n ></co-transaction-article-text>\n ",
19215
19317
  encapsulation: i0.ViewEncapsulation.None
19216
19318
  },] }
19217
19319
  ];
@@ -19610,7 +19712,7 @@
19610
19712
  TransactionHeaderSalesPersonComponent.decorators = [
19611
19713
  { type: i0.Component, args: [{
19612
19714
  selector: "co-transaction-header-sales-person",
19613
- template: "\n <co-drop-down-list\n [readonly]=\"headerReadonly\"\n [placeholder]=\"'SALES_PERSON' | localize\"\n [allowFiltering]=\"true\"\n [filterType]=\"'Contains'\"\n [collection]=\"collection\"\n [fields]=\"fields\"\n [model]=\"transactionInfo.salesPerson\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionSalesPerson($event)\">\n </co-drop-down-list>\n ",
19715
+ template: "\n <co-list-of-values\n [readonly]=\"headerReadonly\"\n [label]=\"'SALES_PERSON' | localize\"\n [collection]=\"collection\"\n [displayField]=\"'name'\"\n [model]=\"transactionInfo.salesPerson\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionSalesPerson($event)\">\n </co-list-of-values>\n ",
19614
19716
  encapsulation: i0.ViewEncapsulation.None
19615
19717
  },] }
19616
19718
  ];
@@ -19626,7 +19728,8 @@
19626
19728
  common.CommonModule,
19627
19729
  PipeModule,
19628
19730
  corecomponents_v12.DropDownModule,
19629
- corecomponents_v12.TooltipDirectiveModule
19731
+ corecomponents_v12.TooltipDirectiveModule,
19732
+ corecomponents_v12.ListOfValuesModule
19630
19733
  ],
19631
19734
  declarations: [
19632
19735
  TransactionHeaderSalesPersonComponent
@@ -19674,7 +19777,7 @@
19674
19777
  _super.prototype.transactionSet.call(this);
19675
19778
  this.readonly = this.readonly || (this.transaction.transactionLines && this.transaction.transactionLines.length > 0);
19676
19779
  if (this.readonly) {
19677
- this.tooltipMessage = this.dictionaryService.get("FIELD_IS_READONLY_BECAUSE") + "</br><i>" + this.dictionaryService.get("ORDER_LINES_EXIST") + "</i>";
19780
+ this.addHeaderTooltipMessage(this.dictionaryService.get("ORDER_LINES_EXIST"));
19678
19781
  }
19679
19782
  };
19680
19783
  return TransactionHeaderPriceKindComponent;
@@ -19682,7 +19785,7 @@
19682
19785
  TransactionHeaderPriceKindComponent.decorators = [
19683
19786
  { type: i0.Component, args: [{
19684
19787
  selector: "co-transaction-header-price-kind",
19685
- template: "\n <co-drop-down-list\n [readonly]=\"readonly\"\n [placeholder]=\"'PRICE_TYPE' | localize\"\n [allowFiltering]=\"false\"\n [collection]=\"collection\"\n [fields]=\"fields\"\n [model]=\"transactionInfo.priceKind\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionPriceKind($event)\">\n </co-drop-down-list>\n ",
19788
+ template: "\n <co-list-of-values\n [readonly]=\"readonly\"\n [label]=\"'PRICE_TYPE' | localize\"\n [collection]=\"collection\"\n [displayField]=\"'displayName'\"\n [model]=\"transactionInfo.priceKind\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionPriceKind($event)\">\n </co-list-of-values>\n ",
19686
19789
  encapsulation: i0.ViewEncapsulation.None
19687
19790
  },] }
19688
19791
  ];
@@ -19699,7 +19802,8 @@
19699
19802
  PipeModule,
19700
19803
  corecomponents_v12.InputTextareaModule,
19701
19804
  corecomponents_v12.DropDownModule,
19702
- corecomponents_v12.TooltipDirectiveModule
19805
+ corecomponents_v12.TooltipDirectiveModule,
19806
+ corecomponents_v12.ListOfValuesModule
19703
19807
  ],
19704
19808
  declarations: [
19705
19809
  TransactionHeaderPriceKindComponent
@@ -19745,7 +19849,7 @@
19745
19849
  TransactionHeaderPaymentConditionComponent.decorators = [
19746
19850
  { type: i0.Component, args: [{
19747
19851
  selector: "co-transaction-header-payment-condition",
19748
- template: "\n <co-drop-down-list\n [readonly]=\"headerReadonly\"\n [placeholder]=\"'PAYMENT_CONDITION' | localize\"\n [allowFiltering]=\"true\"\n [filterType]=\"'Contains'\"\n [collection]=\"collection\"\n [fields]=\"fields\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionPaymentCondition($event)\">\n </co-drop-down-list>\n ",
19852
+ template: "\n <co-list-of-values\n [readonly]=\"headerReadonly\"\n [label]=\"'PAYMENT_CONDITION' | localize\"\n [collection]=\"collection\"\n [displayField]=\"'description'\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionPaymentCondition($event)\">\n </co-list-of-values>\n ",
19749
19853
  encapsulation: i0.ViewEncapsulation.None
19750
19854
  },] }
19751
19855
  ];
@@ -19762,7 +19866,8 @@
19762
19866
  PipeModule,
19763
19867
  corecomponents_v12.InputTextareaModule,
19764
19868
  corecomponents_v12.DropDownModule,
19765
- corecomponents_v12.TooltipDirectiveModule
19869
+ corecomponents_v12.TooltipDirectiveModule,
19870
+ corecomponents_v12.ListOfValuesModule
19766
19871
  ],
19767
19872
  declarations: [
19768
19873
  TransactionHeaderPaymentConditionComponent
@@ -19828,7 +19933,7 @@
19828
19933
  TransactionHeaderCurrencyComponent.decorators = [
19829
19934
  { type: i0.Component, args: [{
19830
19935
  selector: "co-transaction-header-currency",
19831
- template: "\n <co-drop-down-list\n [readonly]=\"readonly\"\n [placeholder]=\"'CURRENCY' | localize\"\n [allowFiltering]=\"true\"\n [filterType]=\"'Contains'\"\n [collection]=\"collection\"\n [fields]=\"fields\"\n [model]=\"transactionInfo.currencyId\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionCurrency($event)\">\n </co-drop-down-list>\n ",
19936
+ template: "\n <co-list-of-values\n [readonly]=\"readonly\"\n [label]=\"'CURRENCY' | localize\"\n [collection]=\"collection\"\n [displayField]=\"'unit'\"\n [model]=\"transactionInfo.currencyId\"\n [tooltip]=\"tooltipMessage\"\n (modelChange)=\"commitTransactionCurrency($event)\">\n </co-list-of-values>\n ",
19832
19937
  encapsulation: i0.ViewEncapsulation.None
19833
19938
  },] }
19834
19939
  ];
@@ -19854,7 +19959,8 @@
19854
19959
  PipeModule,
19855
19960
  corecomponents_v12.InputTextareaModule,
19856
19961
  corecomponents_v12.DropDownModule,
19857
- corecomponents_v12.TooltipDirectiveModule
19962
+ corecomponents_v12.TooltipDirectiveModule,
19963
+ corecomponents_v12.ListOfValuesModule
19858
19964
  ],
19859
19965
  declarations: [
19860
19966
  TransactionHeaderCurrencyComponent
@@ -20130,24 +20236,24 @@
20130
20236
  };
20131
20237
  TransactionLineStatusbarComponent.prototype.setStatusbardataForSalesOrder = function () {
20132
20238
  this.statusbarData = [
20133
- this.getStatusbarLine("ORDERED", this.transactionLine.articleLineStatus.quantityOrdered),
20134
- this.getStatusbarLine("ALLOCATED", this.transactionLine.articleLineStatus.quantityAllocated),
20135
- this.getStatusbarLine("PLANNING_REQUESTED", this.transactionLine.articleLineStatus.quantityPlanningRequested),
20136
- this.getStatusbarLine("PLANNING_PREFERRED_DATE_ENTERED", this.transactionLine.articleLineStatus.quantityPlanningPreferredDateEntered),
20137
- this.getStatusbarLine("TO_BE_PICKED", this.transactionLine.articleLineStatus.quantityToBePicked),
20138
- this.getStatusbarLine("PICKED", this.transactionLine.articleLineStatus.quantityPicked),
20139
- this.getStatusbarLine("PLANNED", this.transactionLine.articleLineStatus.quantityPlanningFinal),
20140
- this.getStatusbarLine("DELIVERED", this.transactionLine.articleLineStatus.quantityDelivered),
20141
- this.getStatusbarLine("INVOICED", this.transactionLine.articleLineStatus.quantityInvoiced), //Gefactureerd
20239
+ this.getStatusbarLine("ORDERED", this.lineQuantityOrdered),
20240
+ this.getStatusbarLine("ALLOCATED", this.lineQuantityAllocated),
20241
+ this.getStatusbarLine("PLANNING_REQUESTED", this.lineQuantityPlanningRequested),
20242
+ this.getStatusbarLine("PLANNING_PREFERRED_DATE_ENTERED", this.lineQuantityPlanningPreferredDateEntered),
20243
+ this.getStatusbarLine("TO_BE_PICKED", this.lineQuantityToBePicked),
20244
+ this.getStatusbarLine("PICKED", this.lineQuantityPicked),
20245
+ this.getStatusbarLine("PLANNED", this.lineQuantityPlanningFinal),
20246
+ this.getStatusbarLine("DELIVERED", this.lineQuantityDelivered),
20247
+ this.getStatusbarLine("INVOICED", this.lineQuantityInvoiced), //Gefactureerd
20142
20248
  ];
20143
20249
  };
20144
20250
  TransactionLineStatusbarComponent.prototype.setStatusbarDataForPurchaseOrder = function () {
20145
20251
  this.statusbarData = [
20146
- this.getStatusbarLine("CONFIRMED", this.transactionLine.articleLineStatus.quantityPurchaseConfirmed),
20147
- this.getStatusbarLine("TRANSPORT_NOTIFICATION", this.transactionLine.articleLineStatus.quantityTransportNotification),
20252
+ this.getStatusbarLine("CONFIRMED", this.lineQuantityPurchaseConfirmed),
20253
+ this.getStatusbarLine("TRANSPORT_NOTIFICATION", this.lineQuantityTransportNotification),
20148
20254
  //this.getStatusbarLine(),// Vooraangemeld todo: als BE gereed is
20149
- this.getStatusbarLine("ITEM_ACCEPTED", this.transactionLine.articleLineStatus.quantityReceived),
20150
- this.getStatusbarLine("INVOICE_CHECK", this.transactionLine.articleLineStatus.quantityInvoiceControl), //Factuur controle
20255
+ this.getStatusbarLine("ITEM_ACCEPTED", this.lineQuantityReceived),
20256
+ this.getStatusbarLine("INVOICE_CHECK", this.lineQuantityInvoiceControl), //Factuur controle
20151
20257
  ];
20152
20258
  };
20153
20259
  TransactionLineStatusbarComponent.prototype.getStatusbarLine = function (label, property) {
@@ -20456,6 +20562,13 @@
20456
20562
  });
20457
20563
  }
20458
20564
  };
20565
+ TransactionLineVatComponent.prototype.transactionLineSet = function () {
20566
+ _super.prototype.transactionLineSet.call(this);
20567
+ if (this.lineIsInvoiced) {
20568
+ this.readonly = true;
20569
+ this.addLineTooltipMessage(this.dictionaryService.get("TRANSACTION_LINE_INVOICED"));
20570
+ }
20571
+ };
20459
20572
  return TransactionLineVatComponent;
20460
20573
  }(TransactionFilterPopupBaseComponent));
20461
20574
  TransactionLineVatComponent.decorators = [
@@ -20599,10 +20712,18 @@
20599
20712
  };
20600
20713
  TransactionLineDeliveryMethodComponent.prototype.transactionInfoSet = function () {
20601
20714
  _super.prototype.transactionInfoSet.call(this);
20602
- this.readonly = this.readonly || !this.transactionInfo.allowPartialDelivery;
20603
20715
  if (!this.transactionInfo.allowPartialDelivery) {
20716
+ this.readonly = true;
20604
20717
  this.addLineTooltipMessage(this.dictionaryService.get("TRANSACTION_NO_PARTIAL_DELIVERY"));
20605
20718
  }
20719
+ if (this.lineIsDelivered) {
20720
+ this.readonly = true;
20721
+ this.addLineTooltipMessage(this.dictionaryService.get("TRANSACTION_LINE_DELIVERED"));
20722
+ }
20723
+ if (this.lineIsInvoiced) {
20724
+ this.readonly = true;
20725
+ this.addLineTooltipMessage(this.dictionaryService.get("TRANSACTION_LINE_INVOICED"));
20726
+ }
20606
20727
  };
20607
20728
  return TransactionLineDeliveryMethodComponent;
20608
20729
  }(TransactionFilterPopupBaseComponent));
@@ -20831,10 +20952,14 @@
20831
20952
  };
20832
20953
  TransactionLineCommissionCodeComponent.prototype.transactionLineSet = function () {
20833
20954
  _super.prototype.transactionLineSet.call(this);
20834
- this.readonly = this.readonly || !this.transactionLine.articleFreeCommissionCode;
20835
20955
  if (!this.transactionLine.articleFreeCommissionCode) {
20956
+ this.readonly = true;
20836
20957
  this.addLineTooltipMessage(this.dictionaryService.get("NO_FREE_COMMISSION_CODE"));
20837
20958
  }
20959
+ if (this.lineHasLogisticalState && this.lineIsOrdered) {
20960
+ this.readonly = true;
20961
+ this.addLineTooltipMessage(this.dictionaryService.get("ORDER_LINE_HAS_LOGISTICAL_STATE"));
20962
+ }
20838
20963
  };
20839
20964
  return TransactionLineCommissionCodeComponent;
20840
20965
  }(TransactionFilterPopupBaseComponent));
@@ -20907,12 +21032,19 @@
20907
21032
  });
20908
21033
  });
20909
21034
  };
21035
+ TransactionLineWarehouseComponent.prototype.transactionLineSet = function () {
21036
+ _super.prototype.transactionLineSet.call(this);
21037
+ if (this.lineHasLogisticalState && this.lineIsOrdered) {
21038
+ this.readonly = true;
21039
+ this.addLineTooltipMessage(this.dictionaryService.get("ORDER_LINE_HAS_LOGISTICAL_STATE"));
21040
+ }
21041
+ };
20910
21042
  return TransactionLineWarehouseComponent;
20911
21043
  }(TransactionFilterPopupBaseComponent));
20912
21044
  TransactionLineWarehouseComponent.decorators = [
20913
21045
  { type: i0.Component, args: [{
20914
21046
  selector: "co-transaction-line-warehouse",
20915
- template: "\n <co-transaction-line-checkbox-list\n [committing]=\"committing\"\n [collection]=\"viewModelsFiltered\"\n [readonly]=\"readonly\"\n (checked)=\"handleChecked($event)\"\n ></co-transaction-line-checkbox-list>\n ",
21047
+ template: "\n <co-transaction-line-checkbox-list\n [committing]=\"committing\"\n [collection]=\"viewModelsFiltered\"\n [readonly]=\"readonly\"\n [tooltip]=\"tooltipMessage\"\n (checked)=\"handleChecked($event)\"\n ></co-transaction-line-checkbox-list>\n ",
20916
21048
  encapsulation: i0.ViewEncapsulation.None
20917
21049
  },] }
20918
21050
  ];
@@ -20930,7 +21062,8 @@
20930
21062
  PipeModule,
20931
21063
  corecomponents_v12.InputComboBoxModule,
20932
21064
  corecomponents_v12.InputCheckboxModule,
20933
- TransactionLineCheckboxModule
21065
+ TransactionLineCheckboxModule,
21066
+ corecomponents_v12.TooltipDirectiveModule
20934
21067
  ],
20935
21068
  declarations: [
20936
21069
  TransactionLineWarehouseComponent
@@ -21325,10 +21458,14 @@
21325
21458
  };
21326
21459
  TransactionLinePriceComponent.prototype.transactionLineSet = function () {
21327
21460
  _super.prototype.transactionLineSet.call(this);
21328
- this.readonly = this.readonly || !this.transactionLine.articleFreePrice;
21329
21461
  if (!this.transactionLine.articleFreePrice) {
21462
+ this.readonly = true;
21330
21463
  this.addLineTooltipMessage(this.dictionaryService.get("NO_FREE_ARTICLE_PRICE"));
21331
21464
  }
21465
+ if (this.lineIsInvoiced) {
21466
+ this.readonly = true;
21467
+ this.addLineTooltipMessage(this.dictionaryService.get("TRANSACTION_LINE_INVOICED"));
21468
+ }
21332
21469
  };
21333
21470
  return TransactionLinePriceComponent;
21334
21471
  }(TransactionBaseComponent));
@@ -22386,7 +22523,7 @@
22386
22523
  };
22387
22524
  TransactionLinePurchaseReceiveGoodsComponent.prototype.handleSaveDetailsEdit = function () {
22388
22525
  var _this = this;
22389
- if (this.transactionLine.articleLineStatus.quantityToReceive === 0) {
22526
+ if (this.lineQuantityToReceive === 0) {
22390
22527
  return;
22391
22528
  }
22392
22529
  var valid = this.submit();
@@ -22431,7 +22568,7 @@
22431
22568
  });
22432
22569
  };
22433
22570
  TransactionLinePurchaseReceiveGoodsComponent.prototype.handleSelectStock = function (availableStock) {
22434
- var maxToReturn = this.transactionLine.articleLineStatus.quantityToReceive < 0 ? Math.abs(this.transactionLine.articleLineStatus.quantityToReceive) : this.transactionLine.articleLineStatus.quantityToReceive;
22571
+ var maxToReturn = this.lineQuantityToReceive < 0 ? Math.abs(this.lineQuantityToReceive) : this.lineQuantityToReceive;
22435
22572
  this.returnMaxToReceive = maxToReturn > availableStock.availableQuantity ? availableStock.availableQuantity : maxToReturn;
22436
22573
  this.receiptDetails.quantityToReceive = this.returnMaxToReceive;
22437
22574
  this.receiptDetails.warehouseNr = availableStock.warehouseNumber;
@@ -22448,7 +22585,7 @@
22448
22585
  TransactionLinePurchaseReceiveGoodsComponent.prototype._handleTransactionLineSet = function (transLine) {
22449
22586
  this.receiptDetails.warehouseNr = this.transactionLine.warehouseNumber;
22450
22587
  this.receiptDetails.lineNr = this.transactionLine.lineNr;
22451
- this.receiptDetails.quantityToReceive = this.transactionLine.articleLineStatus.quantityToReceive;
22588
+ this.receiptDetails.quantityToReceive = this.lineQuantityToReceive;
22452
22589
  this.receiptDetails.locationNr = this.transactionLine.locationNr;
22453
22590
  this.returnStockMode === this.transactionLine.amount < 0;
22454
22591
  this.getGoodsReceiptHistory();
@@ -22473,7 +22610,7 @@
22473
22610
  TransactionLinePurchaseReceiveGoodsComponent.decorators = [
22474
22611
  { type: i0.Component, args: [{
22475
22612
  selector: 'co-transaction-line-purchase-receive-goods',
22476
- template: "\n <co-form>\n <div class=\"header-wrapper\">\n <div class=\"details-header\"\n [textContent]=\"returnStockMode ? ('RETURN_DETAILS' | localize) : ('RECEIPT_DETAILS' | localize)\"></div>\n <co-transaction-line-statusbar class=\"status-bar-wrapper\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderReceivedGoods\"></co-transaction-line-statusbar>\n </div>\n <div class=\"columns-wrapper\">\n <div class=\"details-column\">\n <div class=\"transaction-line-totals-amount\">\n <co-input-number-picker class=\"amount-number-picker\"\n [max]=\"returnStockMode ? returnMaxToReceive : transactionLine.articleLineStatus.quantityToReceive\"\n [(model)]=\"receiptDetails.serialNr ? 1 : receiptDetails.quantityToReceive\"\n [min]=\"1\"\n [readonly]=\"!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0 || !receiptDetails.quantityToReceive || readonly\"\n [disabled]=\"!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0 || !receiptDetails.quantityToReceive\"\n [required]=\"true\"\n ></co-input-number-picker>\n </div>\n <div class=\"location-wrapper\">\n <!-- <span *ngIf=\"!receiptDetails.locationNr && transactionLine.isLocationRequired\" class=\"required\" [textContent]=\"'*'\"></span>-->\n <co-transaction-line-warehouse-location-button\n [locationNr]=\"receiptDetails.locationNr\"\n [warehouseNumber]=\"transactionLine.warehouseNumber\"\n [readonly]=\"returnStockMode || receiptDetails.quantityToReceive === 0\"\n (locationNrChange)=\"receiptDetails.locationNr = $event\"></co-transaction-line-warehouse-location-button>\n </div>\n <co-input-text class=\"details-input\"\n *ngIf=\"!returnStockMode\"\n [(model)]=\"request.packingSlipNr\"\n [placeholder]=\"'PACKING_SLIP' | localize\"\n [required]=\"true\"\n [readonly]=\"readonly\"\n ></co-input-text>\n </div>\n <div class=\"divider-wrapper\">\n <div class=\"divider\"></div>\n </div>\n <div class=\"details-column\">\n <co-input-date class=\"details-input\"\n [(model)]=\"request.receivedDate\"\n [readonly]=\"readonly\"\n ></co-input-date>\n <co-input-text *ngIf=\"transactionLine.isBatchNrRequired\" class=\"details-input\" [(model)]=\"receiptDetails.batchNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly || returnStockMode\"\n [disabled]=\"returnStockMode\"\n [required]=\"transactionLine.isBatchNrRequired\"\n [placeholder]=\"'BATCH_NUMBER' | localize\"></co-input-text>\n <co-input-text *ngIf=\"transactionLine.isSerialNrRequired\" class=\"details-input\" [(model)]=\"receiptDetails.serialNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly || returnStockMode\"\n [disabled]=\"returnStockMode\"\n [required]=\"transactionLine.isSerialNrRequired\"\n [placeholder]=\"'SERIAL_NUMBER' | localize\"></co-input-text>\n </div>\n </div>\n </co-form>\n <div class=\"commit-button-wrapper\">\n <div class=\"commit-button clickable\" *ngIf=\"!readonly\" (click)=\"handleSaveDetailsEdit()\"\n [class.disabled]=\"receiptDetails.quantityToReceive === 0\">\n <span class=\"commit-text\" [textContent]=\"returnStockMode ? ('RETURN_STOCK' | localize) : ('RECEIVE' | localize)\"></span>\n </div>\n </div>\n <co-transaction-receiving-goods-history *ngIf=\"transactionLine.amount >= 0\"\n [goodsReceiptHistory]=\"goodsReceiptHistory\"\n (deleteRow)=\"handleDeleteSelectedRow($event)\"\n ></co-transaction-receiving-goods-history>\n <co-transaction-available-stock-grid *ngIf=\"transactionLine.amount < 0\"\n [collection]=\"availableStockCollection\"\n (selectStock)=\"handleSelectStock($event)\"\n ></co-transaction-available-stock-grid>\n ",
22613
+ template: "\n <co-form>\n <div class=\"header-wrapper\">\n <div class=\"details-header\"\n [textContent]=\"returnStockMode ? ('RETURN_DETAILS' | localize) : ('RECEIPT_DETAILS' | localize)\"></div>\n <co-transaction-line-statusbar class=\"status-bar-wrapper\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderReceivedGoods\"></co-transaction-line-statusbar>\n </div>\n <div class=\"columns-wrapper\">\n <div class=\"details-column\">\n <div class=\"transaction-line-totals-amount\">\n <co-input-number-picker class=\"amount-number-picker\"\n [max]=\"returnStockMode ? returnMaxToReceive : lineQuantityToReceive\"\n [(model)]=\"receiptDetails.serialNr ? 1 : receiptDetails.quantityToReceive\"\n [min]=\"1\"\n [readonly]=\"!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0 || !receiptDetails.quantityToReceive || readonly\"\n [disabled]=\"!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0 || !receiptDetails.quantityToReceive\"\n [required]=\"true\"\n ></co-input-number-picker>\n </div>\n <div class=\"location-wrapper\">\n <!-- <span *ngIf=\"!receiptDetails.locationNr && transactionLine.isLocationRequired\" class=\"required\" [textContent]=\"'*'\"></span>-->\n <co-transaction-line-warehouse-location-button\n [locationNr]=\"receiptDetails.locationNr\"\n [warehouseNumber]=\"transactionLine.warehouseNumber\"\n [readonly]=\"returnStockMode || receiptDetails.quantityToReceive === 0\"\n (locationNrChange)=\"receiptDetails.locationNr = $event\"></co-transaction-line-warehouse-location-button>\n </div>\n <co-input-text class=\"details-input\"\n *ngIf=\"!returnStockMode\"\n [(model)]=\"request.packingSlipNr\"\n [placeholder]=\"'PACKING_SLIP' | localize\"\n [required]=\"true\"\n [readonly]=\"readonly\"\n ></co-input-text>\n </div>\n <div class=\"divider-wrapper\">\n <div class=\"divider\"></div>\n </div>\n <div class=\"details-column\">\n <co-input-date class=\"details-input\"\n [(model)]=\"request.receivedDate\"\n [readonly]=\"readonly\"\n ></co-input-date>\n <co-input-text *ngIf=\"transactionLine.isBatchNrRequired\" class=\"details-input\" [(model)]=\"receiptDetails.batchNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly || returnStockMode\"\n [disabled]=\"returnStockMode\"\n [required]=\"transactionLine.isBatchNrRequired\"\n [placeholder]=\"'BATCH_NUMBER' | localize\"></co-input-text>\n <co-input-text *ngIf=\"transactionLine.isSerialNrRequired\" class=\"details-input\" [(model)]=\"receiptDetails.serialNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly || returnStockMode\"\n [disabled]=\"returnStockMode\"\n [required]=\"transactionLine.isSerialNrRequired\"\n [placeholder]=\"'SERIAL_NUMBER' | localize\"></co-input-text>\n </div>\n </div>\n </co-form>\n <div class=\"commit-button-wrapper\">\n <div class=\"commit-button clickable\" *ngIf=\"!readonly\" (click)=\"handleSaveDetailsEdit()\"\n [class.disabled]=\"receiptDetails.quantityToReceive === 0\">\n <span class=\"commit-text\" [textContent]=\"returnStockMode ? ('RETURN_STOCK' | localize) : ('RECEIVE' | localize)\"></span>\n </div>\n </div>\n <co-transaction-receiving-goods-history *ngIf=\"transactionLine.amount >= 0\"\n [goodsReceiptHistory]=\"goodsReceiptHistory\"\n (deleteRow)=\"handleDeleteSelectedRow($event)\"\n ></co-transaction-receiving-goods-history>\n <co-transaction-available-stock-grid *ngIf=\"transactionLine.amount < 0\"\n [collection]=\"availableStockCollection\"\n (selectStock)=\"handleSelectStock($event)\"\n ></co-transaction-available-stock-grid>\n ",
22477
22614
  providers: [
22478
22615
  corecomponents_v12.FormMasterService
22479
22616
  ],
@@ -23041,7 +23178,7 @@
23041
23178
  };
23042
23179
  TransactionLineSalesAllocationComponent.prototype.handleSaveDetailsEdit = function () {
23043
23180
  var _this = this;
23044
- if (this.transactionLine.articleLineStatus.quantityToAllocate === 0) {
23181
+ if (this.lineQuantityToAllocate === 0) {
23045
23182
  return;
23046
23183
  }
23047
23184
  var valid = this.submit();
@@ -23076,7 +23213,7 @@
23076
23213
  };
23077
23214
  TransactionLineSalesAllocationComponent.prototype.openWarehouseLocationDialog = function () {
23078
23215
  var _this = this;
23079
- if (this.transactionLine.articleLineStatus.quantityToAllocate > 0) {
23216
+ if (this.lineQuantityToAllocate > 0) {
23080
23217
  this.dialogService.showWarehouseLocation(this.allocationDetails.warehouseNr, true, true, true, this.transactionLine)
23081
23218
  .then(function () { return _this.allocationDetails.locationNr = _this.transactionLine.locationNr; });
23082
23219
  }
@@ -23096,7 +23233,7 @@
23096
23233
  TransactionLineSalesAllocationComponent.decorators = [
23097
23234
  { type: i0.Component, args: [{
23098
23235
  selector: "co-transaction-line-sales-allocation",
23099
- template: "\n <co-form>\n <div class=\"details-header\" [textContent]=\"'ALLOCATE_DETAILS' | localize | uppercase\"></div>\n <div class=\"columns-wrapper\">\n <div class=\"details-column\">\n <co-input-text class=\"details-input\"\n [max]=\"allocationDetails.quantityToAllocate\"\n [(model)]=\"allocationDetails.serialNr ? 1 : allocationDetails.quantityToAllocate\"\n [disabled]=\"!!allocationDetails.serialNr || allocationDetails.quantityToAllocate === 0\"\n [readonly]=\"!!allocationDetails.serialNr || allocationDetails.quantityToAllocate === 0 || readonly\"\n [required]=\"true\"\n [type]=\"'number'\"\n [min]=\"1\"\n [placeholder]=\"'AMOUNT' | localize\"></co-input-text>\n <co-input-text class=\"details-input\" [(model)]=\"allocationDetails.warehouseNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"transactionLine.warehouseNumber !== undefined || readonly\"\n [disabled]=\"transactionLine.warehouseNumber !== undefined\"\n [required]=\"transactionLine.isWarehouseRequired\"\n [placeholder]=\"'WAREHOUSE' | localize\"></co-input-text>\n <div class=\"location-wrapper\" [class.clickable]=\"transactionLine.articleLineStatus.quantityToAllocate > 0\" (click)=\"openWarehouseLocationDialog()\">\n <span *ngIf=\"!allocationDetails.locationNr && transactionLine.isLocationRequired\" class=\"required\" [textContent]=\"'*'\"></span>\n <co-icon *ngIf=\"allocationDetails.locationNr\" [iconData]=\"iconCacheService.getIcon(icons.ShelvesLight)\"></co-icon>\n <div [textContent]=\"allocationDetails.locationNr ? allocationDetails.locationNr : ('LOCATION' | localize)\"></div>\n </div>\n </div>\n <div class=\"divider-wrapper\">\n <div class=\"divider\"></div>\n </div>\n <div class=\"details-column\">\n <co-input-text *ngIf=\"transactionLine.isBatchNrRequired\" class=\"details-input\" [(model)]=\"allocationDetails.batchNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly\"\n [required]=\"transactionLine.isBatchNrRequired\"\n [placeholder]=\"'BATCH_NUMBER' | localize\"></co-input-text>\n <co-input-text *ngIf=\"transactionLine.isSerialNrRequired\" class=\"details-input\" [(model)]=\"allocationDetails.serialNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly\"\n [required]=\"transactionLine.isSerialNrRequired\"\n [placeholder]=\"'SERIAL_NUMBER' | localize\"></co-input-text>\n </div>\n </div>\n </co-form>\n <div class=\"commit-button-wrapper\">\n <div class=\"commit-button\" *ngIf=\"!readonly\"\n [class.clickable]=\"allocationDetails.quantityToAllocate > 0\"\n [class.disabled]=\"allocationDetails.quantityToAllocate === 0\"\n (click)=\"handleSaveDetailsEdit()\">\n <span class=\"commit-text\" [textContent]=\"'ALLOCATE' | localize\"></span>\n </div>\n </div>\n <co-transaction-allocate-goods-history\n [goodsAllocationHistory]=\"goodsAllocationHistory\"\n (deleteRow)=\"handleDeleteSelectedRow($event)\"\n ></co-transaction-allocate-goods-history>\n ",
23236
+ template: "\n <co-form>\n <div class=\"details-header\" [textContent]=\"'ALLOCATE_DETAILS' | localize | uppercase\"></div>\n <div class=\"columns-wrapper\">\n <div class=\"details-column\">\n <co-input-text class=\"details-input\"\n [max]=\"allocationDetails.quantityToAllocate\"\n [(model)]=\"allocationDetails.serialNr ? 1 : allocationDetails.quantityToAllocate\"\n [disabled]=\"!!allocationDetails.serialNr || allocationDetails.quantityToAllocate === 0\"\n [readonly]=\"!!allocationDetails.serialNr || allocationDetails.quantityToAllocate === 0 || readonly\"\n [required]=\"true\"\n [type]=\"'number'\"\n [min]=\"1\"\n [placeholder]=\"'AMOUNT' | localize\"></co-input-text>\n <co-input-text class=\"details-input\" [(model)]=\"allocationDetails.warehouseNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"transactionLine.warehouseNumber !== undefined || readonly\"\n [disabled]=\"transactionLine.warehouseNumber !== undefined\"\n [required]=\"transactionLine.isWarehouseRequired\"\n [placeholder]=\"'WAREHOUSE' | localize\"></co-input-text>\n <div class=\"location-wrapper\" [class.clickable]=\"lineQuantityToAllocate > 0\" (click)=\"openWarehouseLocationDialog()\">\n <span *ngIf=\"!allocationDetails.locationNr && transactionLine.isLocationRequired\" class=\"required\" [textContent]=\"'*'\"></span>\n <co-icon *ngIf=\"allocationDetails.locationNr\" [iconData]=\"iconCacheService.getIcon(icons.ShelvesLight)\"></co-icon>\n <div [textContent]=\"allocationDetails.locationNr ? allocationDetails.locationNr : ('LOCATION' | localize)\"></div>\n </div>\n </div>\n <div class=\"divider-wrapper\">\n <div class=\"divider\"></div>\n </div>\n <div class=\"details-column\">\n <co-input-text *ngIf=\"transactionLine.isBatchNrRequired\" class=\"details-input\" [(model)]=\"allocationDetails.batchNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly\"\n [required]=\"transactionLine.isBatchNrRequired\"\n [placeholder]=\"'BATCH_NUMBER' | localize\"></co-input-text>\n <co-input-text *ngIf=\"transactionLine.isSerialNrRequired\" class=\"details-input\" [(model)]=\"allocationDetails.serialNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly\"\n [required]=\"transactionLine.isSerialNrRequired\"\n [placeholder]=\"'SERIAL_NUMBER' | localize\"></co-input-text>\n </div>\n </div>\n </co-form>\n <div class=\"commit-button-wrapper\">\n <div class=\"commit-button\" *ngIf=\"!readonly\"\n [class.clickable]=\"allocationDetails.quantityToAllocate > 0\"\n [class.disabled]=\"allocationDetails.quantityToAllocate === 0\"\n (click)=\"handleSaveDetailsEdit()\">\n <span class=\"commit-text\" [textContent]=\"'ALLOCATE' | localize\"></span>\n </div>\n </div>\n <co-transaction-allocate-goods-history\n [goodsAllocationHistory]=\"goodsAllocationHistory\"\n (deleteRow)=\"handleDeleteSelectedRow($event)\"\n ></co-transaction-allocate-goods-history>\n ",
23100
23237
  providers: [
23101
23238
  corecomponents_v12.FormMasterService
23102
23239
  ],
@@ -23480,7 +23617,7 @@
23480
23617
  TransactionLineSidePanelArticleDetailsComponent.decorators = [
23481
23618
  { type: i0.Component, args: [{
23482
23619
  selector: "co-transaction-line-side-panel-article-details",
23483
- template: "\n <div class=\"transaction-line-side-panel-article-details-wrapper\">\n <div class=\"transaction-line-side-panel-article-details-header\">\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ARTICLE_NR'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"purchaseAdviceLine.goodId\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item max-width-40\">\n <span class=\"side-panel-header-label\" [textContent]=\"'DESCRIPTION'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"purchaseAdviceLine.purchaseDescription\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'AMOUNT2'| localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.orderAmount ? purchaseAdviceLine.orderAmount : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item last-item-margin\">\n <span class=\"side-panel-header-label\" [textContent]=\"'PRICE' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.purchasePrice ? (purchaseAdviceLine.purchasePrice | priceDisplay) : '-'\"></span>\n </div>\n <co-icon (click)=\"handleCancelClick()\" [iconData]=\"iconCacheService.getIcon(icons.Cancel)\"\n class=\"close-button\"></co-icon>\n </div>\n\n <div class=\"section-wrapper\">\n <span class=\"section-title\" [textContent]=\"'STOCK_PARAMETERS' | localize\"></span>\n <div class=\"purchase-advice-detail-header\">\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ECONOMIC'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.econStock ? purchaseAdviceLine.econStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'TARGET2'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.targetStock ? purchaseAdviceLine.targetStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'DYNAMIC_MINIMAL'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.minDynamicStock ? purchaseAdviceLine.minDynamicStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'MINIMAL'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.minStock ? purchaseAdviceLine.minStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'MAX'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.maxStock ? purchaseAdviceLine.maxStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'DIRECTLY_AVAILABLE'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.readilyAvailable ? purchaseAdviceLine.readilyAvailable : '-'\"></span>\n </div>\n </div>\n </div>\n\n <div class=\"section-wrapper\">\n <div class=\"detail-column-container\">\n <div class=\"detail-column\">\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'SALES_DESCRIPTION' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.salesDescription ? purchaseAdviceLine.salesDescription : '-'\"></span>\n </div>\n </div>\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'TURNOVER_GROUP' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.turnOverGroupNo ? purchaseAdviceLine.turnOverGroupNo : '-'\"></span>\n </div>\n </div>\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'EXCEEDANCE_CODE' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.exceedanceCode ? purchaseAdviceLine.exceedanceCode : '-'\"></span>\n </div>\n </div>\n </div>\n <div class=\"detail-column\">\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ORDER_CODE' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.orderCode ? purchaseAdviceLine.orderCode : '-'\"></span>\n </div>\n </div>\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'NAME' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.articleName ? purchaseAdviceLine.articleName : '-'\"></span>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"section-wrapper\">\n <span class=\"section-title\" [textContent]=\"'ORDER_INFORMATION' | localize\"></span>\n <div class=\"purchase-advice-detail-header\">\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'SALES_QUANTITY'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.amountSales ? purchaseAdviceLine.amountSales : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'PURCHASE_QUANTITY'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.amountPurchase ? purchaseAdviceLine.amountPurchase : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ORDER_AMOUNT'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"$any(purchaseAdviceLine).displayOrderAmount ? $any(purchaseAdviceLine).displayOrderAmount : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'VELOCITY'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.velocityMonth ? purchaseAdviceLine.velocityMonth : '-'\"></span>\n </div>\n </div>\n </div>\n\n <div class=\"section-wrapper\">\n <div class=\"detail-column-container\">\n <div class=\"detail-column\">\n <div class=\"column-input-item\">\n <co-input-text\n [placeholder]=\"'AMOUNT2' | localize\"\n [type]=\"'number'\"\n [(model)]=\"purchaseAdviceLine.orderAmount\"\n [min]=\"1\"\n ></co-input-text>\n </div>\n <div class=\"column-input-item\">\n <co-drop-down-list class=\"details-input\"\n [(model)]=\"purchaseAdviceLine.warehouseNo\"\n [collection]=\"warehouses\"\n [fields]=\"warehouseDropDownFields\"\n [placeholder]=\"'WAREHOUSE' | localize\"\n ></co-drop-down-list>\n </div>\n </div>\n <div class=\"detail-column\">\n <div class=\"column-input-item\">\n <co-input-text\n [placeholder]=\"'PURCHASE_PRICE' | localize\"\n [type]=\"'number'\"\n [(model)]=\"purchaseAdviceLine.purchasePrice\"\n [min]=\"0\"\n (modelChange)=\"handleCostChange()\"\n ></co-input-text>\n </div>\n <div class=\"column-input-item\">\n <co-input-text\n [placeholder]=\"'TRANSPORT_PRICE' | localize\"\n [type]=\"'number'\"\n [(model)]=\"purchaseAdviceLine.shippingCost\"\n [min]=\"0\"\n (modelChange)=\"handleCostChange()\"\n ></co-input-text>\n </div>\n <div class=\"column-input-item\">\n <co-input-text\n [placeholder]=\"'MANUFACTURING_PRICE' | localize\"\n [type]=\"'number'\"\n [(model)]=\"calculatedAssemblyCost\"\n [min]=\"0\"\n (modelChange)=\"handleAssemblyCostChange()\"\n ></co-input-text>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"section-wrapper\">\n <span class=\"section-title\" [textContent]=\"'ALTERNATIVE_SUPPLIERS' | localize\"></span>\n\n <div class=\"dynamic-suppliers-wrapper\">\n <div class=\"dynamic-supplier\"\n [class.selected]=\"selectedSupplierId === supplier.supplierProduct.relationIdSupplier\"\n *ngFor=\"let supplier of alternateSuppliers\" (click)=\"handleSelectSupplier(supplier)\">\n <span class=\"side-panel-header-label supplier-date\"\n [textContent]=\"supplier.supplierProduct.updateStock ? supplier.supplierProduct.updateStock : ('UNKNOWN_DELIVERY_DATE' | localize)\"></span>\n <span class=\"supplier-name\" [textContent]=\"supplier.relationName\"></span>\n <div class=\"supplier-detail-container\">\n <div class=\"transaction-line-side-panel-article-details-header-item center half-width\">\n <span class=\"side-panel-header-label\" [textContent]=\"'PURCHASE_PRICE'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"supplier.supplierProduct.priceDeviation ? (supplier.supplierProduct.priceDeviation | priceDisplay) : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center half-width\">\n <span class=\"side-panel-header-label\" [textContent]=\"'STOCK'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"supplier.supplierProduct.stockSupplier ? supplier.supplierProduct.stockSupplier : '-'\"></span>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n\n <co-drop-down-list class=\"supplier-list\"\n [placeholder]=\"'SUPPLIER' | localize\"\n [required]=\"true\"\n [noClickFocus]=\"true\"\n [allowFiltering]=\"true\"\n [filterType]=\"'Contains'\"\n [filterBarPlaceholder]=\"'SEARCH' | localize\"\n [collection]=\"suppliers\"\n [fields]=\"supplierDropdownFields\"\n [(model)]=\"selectedSupplierId\"\n (modelChange)=\"handleSupplierChanged($event)\"\n ></co-drop-down-list>\n </div>\n ",
23620
+ template: "\n <div class=\"transaction-line-side-panel-article-details-wrapper\">\n <div class=\"transaction-line-side-panel-article-details-header\">\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ARTICLE_NR'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"purchaseAdviceLine.goodId\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item max-width-40\">\n <span class=\"side-panel-header-label\" [textContent]=\"'DESCRIPTION'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"purchaseAdviceLine.purchaseDescription\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'AMOUNT2'| localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.orderAmount ? purchaseAdviceLine.orderAmount : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item last-item-margin\">\n <span class=\"side-panel-header-label\" [textContent]=\"'PRICE' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.purchasePrice ? (purchaseAdviceLine.purchasePrice | priceDisplay) : '-'\"></span>\n </div>\n <co-icon (click)=\"handleCancelClick()\" [iconData]=\"iconCacheService.getIcon(icons.Cancel)\"\n class=\"close-button\"></co-icon>\n </div>\n\n <div class=\"section-wrapper\">\n <span class=\"section-title\" [textContent]=\"'STOCK_PARAMETERS' | localize\"></span>\n <div class=\"purchase-advice-detail-header\">\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ECONOMIC'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.econStock ? purchaseAdviceLine.econStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'TARGET2'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.targetStock ? purchaseAdviceLine.targetStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'DYNAMIC_MINIMAL'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.minDynamicStock ? purchaseAdviceLine.minDynamicStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'MINIMAL'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.minStock ? purchaseAdviceLine.minStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'MAX'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.maxStock ? purchaseAdviceLine.maxStock : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'DIRECTLY_AVAILABLE'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.readilyAvailable ? purchaseAdviceLine.readilyAvailable : '-'\"></span>\n </div>\n </div>\n </div>\n\n <div class=\"section-wrapper\">\n <div class=\"detail-column-container\">\n <div class=\"detail-column\">\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'SALES_DESCRIPTION' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.salesDescription ? purchaseAdviceLine.salesDescription : '-'\"></span>\n </div>\n </div>\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'TURNOVER_GROUP' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.turnOverGroupNo ? purchaseAdviceLine.turnOverGroupNo : '-'\"></span>\n </div>\n </div>\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'EXCEEDANCE_CODE' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.exceedanceCode ? purchaseAdviceLine.exceedanceCode : '-'\"></span>\n </div>\n </div>\n </div>\n <div class=\"detail-column\">\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ORDER_CODE' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.orderCode ? purchaseAdviceLine.orderCode : '-'\"></span>\n </div>\n </div>\n <div class=\"transaction-line-side-panel-article-details-header-item\">\n <div class=\"detail-column-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'NAME' | localize\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"purchaseAdviceLine.articleName ? purchaseAdviceLine.articleName : '-'\"></span>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"section-wrapper\">\n <span class=\"section-title\" [textContent]=\"'ORDER_INFORMATION' | localize\"></span>\n <div class=\"purchase-advice-detail-header\">\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'SALES_QUANTITY'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.amountSales ? purchaseAdviceLine.amountSales : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'PURCHASE_QUANTITY'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.amountPurchase ? purchaseAdviceLine.amountPurchase : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ORDER_AMOUNT'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"$any(purchaseAdviceLine).displayOrderAmount ? $any(purchaseAdviceLine).displayOrderAmount : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center\">\n <span class=\"side-panel-header-label\" [textContent]=\"'VELOCITY'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"purchaseAdviceLine.velocityMonth ? purchaseAdviceLine.velocityMonth : '-'\"></span>\n </div>\n </div>\n </div>\n\n <div class=\"section-wrapper\">\n <div class=\"detail-column-container\">\n <div class=\"detail-column\">\n <div class=\"column-input-item\">\n <co-input-text\n [placeholder]=\"'AMOUNT2' | localize\"\n [type]=\"'number'\"\n [(model)]=\"purchaseAdviceLine.orderAmount\"\n [min]=\"1\"\n ></co-input-text>\n </div>\n <div class=\"column-input-item\">\n <co-list-of-values class=\"details-input\"\n [(model)]=\"purchaseAdviceLine.warehouseNo\"\n [collection]=\"warehouses\"\n [displayField]=\"'description'\"\n [label]=\"'WAREHOUSE' | localize\"\n ></co-list-of-values>\n </div>\n </div>\n <div class=\"detail-column\">\n <div class=\"column-input-item\">\n <co-input-text\n [placeholder]=\"'PURCHASE_PRICE' | localize\"\n [type]=\"'number'\"\n [(model)]=\"purchaseAdviceLine.purchasePrice\"\n [min]=\"0\"\n (modelChange)=\"handleCostChange()\"\n ></co-input-text>\n </div>\n <div class=\"column-input-item\">\n <co-input-text\n [placeholder]=\"'TRANSPORT_PRICE' | localize\"\n [type]=\"'number'\"\n [(model)]=\"purchaseAdviceLine.shippingCost\"\n [min]=\"0\"\n (modelChange)=\"handleCostChange()\"\n ></co-input-text>\n </div>\n <div class=\"column-input-item\">\n <co-input-text\n [placeholder]=\"'MANUFACTURING_PRICE' | localize\"\n [type]=\"'number'\"\n [(model)]=\"calculatedAssemblyCost\"\n [min]=\"0\"\n (modelChange)=\"handleAssemblyCostChange()\"\n ></co-input-text>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"section-wrapper\">\n <span class=\"section-title\" [textContent]=\"'ALTERNATIVE_SUPPLIERS' | localize\"></span>\n\n <div class=\"dynamic-suppliers-wrapper\">\n <div class=\"dynamic-supplier\"\n [class.selected]=\"selectedSupplierId === supplier.supplierProduct.relationIdSupplier\"\n *ngFor=\"let supplier of alternateSuppliers\" (click)=\"handleSelectSupplier(supplier)\">\n <span class=\"side-panel-header-label supplier-date\"\n [textContent]=\"supplier.supplierProduct.updateStock ? supplier.supplierProduct.updateStock : ('UNKNOWN_DELIVERY_DATE' | localize)\"></span>\n <span class=\"supplier-name\" [textContent]=\"supplier.relationName\"></span>\n <div class=\"supplier-detail-container\">\n <div class=\"transaction-line-side-panel-article-details-header-item center half-width\">\n <span class=\"side-panel-header-label\" [textContent]=\"'PURCHASE_PRICE'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"supplier.supplierProduct.priceDeviation ? (supplier.supplierProduct.priceDeviation | priceDisplay) : '-'\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-article-details-header-item center half-width\">\n <span class=\"side-panel-header-label\" [textContent]=\"'STOCK'| localize\"></span>\n <span class=\"side-panel-header-field bold\"\n [textContent]=\"supplier.supplierProduct.stockSupplier ? supplier.supplierProduct.stockSupplier : '-'\"></span>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n\n <co-drop-down-list class=\"supplier-list\"\n [placeholder]=\"'SUPPLIER' | localize\"\n [required]=\"true\"\n [noClickFocus]=\"true\"\n [allowFiltering]=\"true\"\n [filterType]=\"'Contains'\"\n [filterBarPlaceholder]=\"'SEARCH' | localize\"\n [collection]=\"suppliers\"\n [fields]=\"supplierDropdownFields\"\n [(model)]=\"selectedSupplierId\"\n (modelChange)=\"handleSupplierChanged($event)\"\n ></co-drop-down-list>\n\n <co-list-of-values class=\"supplier-list\"\n [label]=\"'SUPPLIER' | localize\"\n [required]=\"true\"\n [noClickFocus]=\"true\"\n [searchPlaceholder]=\"'SEARCH' | localize\"\n [collection]=\"suppliers\"\n [displayField]=\"'familyName'\"\n [(model)]=\"selectedSupplierId\"\n (modelChange)=\"handleSupplierChanged($event)\"\n ></co-list-of-values>\n </div>\n ",
23484
23621
  encapsulation: i0.ViewEncapsulation.None
23485
23622
  },] }
23486
23623
  ];
@@ -23509,7 +23646,8 @@
23509
23646
  corecomponents_v12.InputTextModule,
23510
23647
  common.CommonModule,
23511
23648
  PipeModule,
23512
- corecomponents_v12.IconModule
23649
+ corecomponents_v12.IconModule,
23650
+ corecomponents_v12.ListOfValuesModule
23513
23651
  ],
23514
23652
  declarations: [
23515
23653
  TransactionLineSidePanelArticleDetailsComponent
@@ -23552,6 +23690,135 @@
23552
23690
  },] }
23553
23691
  ];
23554
23692
 
23693
+ var OverlayDirective = /** @class */ (function () {
23694
+ function OverlayDirective(elementRef) {
23695
+ var _this = this;
23696
+ this.keepInView = false;
23697
+ this.inheritWidth = false;
23698
+ this.rightAlign = false;
23699
+ this.handleScroll = function (event) {
23700
+ _this._checkAndPlaceElement();
23701
+ };
23702
+ this._elementRef = elementRef;
23703
+ }
23704
+ Object.defineProperty(OverlayDirective.prototype, "parent", {
23705
+ set: function (value) {
23706
+ if (value) {
23707
+ this._parent = value instanceof i0.ElementRef ? value : value.elementRef;
23708
+ }
23709
+ else {
23710
+ if (this._parent) {
23711
+ this._resizeObserver.disconnect();
23712
+ }
23713
+ }
23714
+ },
23715
+ enumerable: false,
23716
+ configurable: true
23717
+ });
23718
+ OverlayDirective.prototype.ngOnDestroy = function () {
23719
+ document.removeEventListener("scroll", this.handleScroll, true);
23720
+ this._intersectionObserver.disconnect();
23721
+ this._resizeObserver.disconnect();
23722
+ this._elementRef = undefined;
23723
+ this._parent = undefined;
23724
+ };
23725
+ OverlayDirective.prototype.ngOnInit = function () {
23726
+ var _this = this;
23727
+ if (!this._elementRef || !this._elementRef.nativeElement) {
23728
+ return;
23729
+ }
23730
+ document.addEventListener("scroll", this.handleScroll, true);
23731
+ this._checkAndPlaceElement();
23732
+ this._resizeObserver = new ResizeObserver(function (entries) {
23733
+ _this._checkAndPlaceElement();
23734
+ });
23735
+ this._intersectionObserver = new IntersectionObserver(function (entries) {
23736
+ if (entries && entries.length > 0) {
23737
+ if (entries[0].isIntersecting === false) {
23738
+ _this._elementRef.nativeElement.style.opacity = 0; // hide cause parent is not visible
23739
+ }
23740
+ else {
23741
+ _this._elementRef.nativeElement.style.opacity = 1;
23742
+ }
23743
+ }
23744
+ }, {
23745
+ root: null
23746
+ });
23747
+ this._intersectionObserver.observe(this._parent.nativeElement); // observe parent for visibility
23748
+ this._resizeObserver.observe(document.body);
23749
+ };
23750
+ OverlayDirective.prototype._checkAndPlaceElement = function () {
23751
+ if (this._elementRef && this._elementRef.nativeElement && this._parent && this._parent.nativeElement) {
23752
+ var elementRect = this._elementRef.nativeElement.getBoundingClientRect();
23753
+ var parentRect = this._parent.nativeElement.getBoundingClientRect();
23754
+ this._placeElement(window.innerHeight, window.innerWidth, parentRect, elementRect);
23755
+ }
23756
+ };
23757
+ OverlayDirective.prototype._placeElement = function (bottom, right, parentRect, elementRect) {
23758
+ if (bottom < parentRect.bottom + elementRect.height) { // make sure it fits at the bottom
23759
+ this._elementRef.nativeElement.style.top = (parentRect.top - elementRect.height) + "px";
23760
+ this._elementRef.nativeElement.classList.add('top');
23761
+ }
23762
+ else {
23763
+ this._elementRef.nativeElement.classList.remove('top');
23764
+ this._elementRef.nativeElement.style.top = parentRect.bottom + "px";
23765
+ }
23766
+ if (this.inheritWidth) {
23767
+ this._elementRef.nativeElement.style.width = parentRect.width + "px";
23768
+ }
23769
+ if (this.rightAlign) {
23770
+ this._elementRef.nativeElement.style.left = (parentRect.right - elementRect.width) + "px";
23771
+ }
23772
+ else {
23773
+ this._elementRef.nativeElement.style.left = parentRect.left + "px";
23774
+ }
23775
+ if (this.keepInView) {
23776
+ if (elementRect.right > window.innerWidth) {
23777
+ //see if we can move it to the left
23778
+ if ((window.innerWidth - elementRect.width) > 0) {
23779
+ this._elementRef.nativeElement.style.left = (window.innerWidth - elementRect.width) + "px";
23780
+ }
23781
+ else { //resize so it fits into view
23782
+ this._elementRef.nativeElement.style.width = window.innerWidth + "px";
23783
+ this._elementRef.nativeElement.style.left = 0;
23784
+ }
23785
+ }
23786
+ }
23787
+ };
23788
+ return OverlayDirective;
23789
+ }());
23790
+ OverlayDirective.decorators = [
23791
+ { type: i0.Directive, args: [{
23792
+ selector: "[overlay]"
23793
+ },] }
23794
+ ];
23795
+ OverlayDirective.ctorParameters = function () { return [
23796
+ { type: i0.ElementRef }
23797
+ ]; };
23798
+ OverlayDirective.propDecorators = {
23799
+ parent: [{ type: i0.Input, args: ["overlay",] }],
23800
+ keepInView: [{ type: i0.Input }],
23801
+ inheritWidth: [{ type: i0.Input }],
23802
+ rightAlign: [{ type: i0.Input }]
23803
+ };
23804
+
23805
+ var OverlayModule = /** @class */ (function () {
23806
+ function OverlayModule() {
23807
+ }
23808
+ return OverlayModule;
23809
+ }());
23810
+ OverlayModule.decorators = [
23811
+ { type: i0.NgModule, args: [{
23812
+ imports: [
23813
+ common.CommonModule
23814
+ ],
23815
+ declarations: [
23816
+ OverlayDirective
23817
+ ],
23818
+ exports: [OverlayDirective]
23819
+ },] }
23820
+ ];
23821
+
23555
23822
  var TransactionLineActionButtonsModule = /** @class */ (function () {
23556
23823
  function TransactionLineActionButtonsModule() {
23557
23824
  }
@@ -23566,10 +23833,13 @@
23566
23833
  corecomponents_v12.ClickoutsideModule,
23567
23834
  TransactionArticleTextOverviewModule,
23568
23835
  TransactionArticleTextModule,
23569
- PipeModule
23836
+ PipeModule,
23837
+ OverlayModule,
23838
+ corecomponents_v12.IconModule
23570
23839
  ],
23571
23840
  declarations: [
23572
- TransactionLineActionButtonsComponent
23841
+ TransactionLineActionButtonsComponent,
23842
+ TransactionLineActionButtonsPopupComponent
23573
23843
  ],
23574
23844
  exports: [
23575
23845
  TransactionLineActionButtonsComponent
@@ -25002,7 +25272,6 @@
25002
25272
  _this.actionButtons = true;
25003
25273
  _this.checkboxValueChanged = new i0.EventEmitter();
25004
25274
  _this.waitingForUserAction = new i0.EventEmitter();
25005
- _this.descriptionDblClick = new i0.EventEmitter();
25006
25275
  return _this;
25007
25276
  }
25008
25277
  TransactionBaseLineComponent.prototype.showClass = function () {
@@ -25016,15 +25285,15 @@
25016
25285
  this.transactionEventService.openSidePanel.next(line);
25017
25286
  this.waitingForUserAction.next(true);
25018
25287
  };
25019
- TransactionBaseLineComponent.prototype.onDescriptionDblClick = function () {
25020
- this.descriptionDblClick.emit();
25288
+ TransactionBaseLineComponent.prototype.handleOpenArticleText = function (text) {
25289
+ this.transactionEventService.openArticleTextOverview.next(this.transactionLine);
25021
25290
  };
25022
25291
  return TransactionBaseLineComponent;
25023
25292
  }(TransactionBaseComponent));
25024
25293
  TransactionBaseLineComponent.decorators = [
25025
25294
  { type: i0.Component, args: [{
25026
25295
  selector: "co-transaction-base-line",
25027
- template: "\n <div class=\"transaction-base-line-wrapper\" data-action=\"openSidePanel\">\n <div class=\"transaction-base-line-section\" [class.line-start]=\"!preview\">\n <co-input-checkbox *ngIf=\"checkbox\" class=\"transaction-line-checkbox\" [class.hidden]=\"hideCheckbox\"\n [model]=\"checkboxValue\"\n (modelChange)=\"checkboxValueChanged.emit($event)\"\n ></co-input-checkbox>\n <co-transaction-line-image-and-description\n *ngIf=\"transactionLine.isArticle\" class=\"transaction-line-image-and-description-wrapper\"\n [preview]=\"preview\"\n [transactionLine]=\"transactionLine\"\n (handleDeleteLine)=\"deleteTransactionLineClick($event)\"\n (descriptionDblClick)=\"onDescriptionDblClick()\"\n ></co-transaction-line-image-and-description>\n </div>\n <div class=\"transaction-base-line-section\" [class.line-end]=\"!preview\" [class.preview-margin]=\"preview\">\n <ng-content></ng-content>\n <div *ngIf=\"!preview && actionButtons\" class=\"transaction-line-buttons\">\n <co-transaction-line-action-buttons\n [showActionButtons]=\"selected || false\"\n [transactionLine]=\"transactionLine\"\n (waitingForUserAction)=\"waitingForUserAction.next($event)\"\n (sidePanelButtonClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-line-action-buttons>\n </div>\n </div>\n </div>\n ",
25296
+ template: "\n <div class=\"transaction-base-line-wrapper\" data-action=\"openSidePanel\">\n <div class=\"transaction-base-line-section\" [class.line-start]=\"!preview\">\n <co-input-checkbox *ngIf=\"checkbox\" class=\"transaction-line-checkbox\" [class.hidden]=\"hideCheckbox\"\n [model]=\"checkboxValue\"\n (modelChange)=\"checkboxValueChanged.emit($event)\"\n ></co-input-checkbox>\n <co-transaction-line-image-and-description\n *ngIf=\"transactionLine.isArticle\" class=\"transaction-line-image-and-description-wrapper\"\n [preview]=\"preview\"\n [transactionLine]=\"transactionLine\"\n (handleDeleteLine)=\"deleteTransactionLineClick($event)\"\n (openArticleTextClicked)=\"handleOpenArticleText($event)\"\n ></co-transaction-line-image-and-description>\n </div>\n <div class=\"transaction-base-line-section\" [class.line-end]=\"!preview\" [class.preview-margin]=\"preview\">\n <ng-content></ng-content>\n <div *ngIf=\"!preview && actionButtons\" class=\"transaction-line-buttons\">\n <co-transaction-line-action-buttons\n [transactionLine]=\"transactionLine\"\n (waitingForUserAction)=\"waitingForUserAction.next($event)\"\n (sidePanelButtonClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-line-action-buttons>\n </div>\n </div>\n </div>\n ",
25028
25297
  encapsulation: i0.ViewEncapsulation.None,
25029
25298
  changeDetection: i0.ChangeDetectionStrategy.OnPush
25030
25299
  },] }
@@ -25036,7 +25305,6 @@
25036
25305
  actionButtons: [{ type: i0.Input }],
25037
25306
  checkboxValueChanged: [{ type: i0.Output }],
25038
25307
  waitingForUserAction: [{ type: i0.Output }],
25039
- descriptionDblClick: [{ type: i0.Output }],
25040
25308
  showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-base-line",] }]
25041
25309
  };
25042
25310
 
@@ -25667,7 +25935,7 @@
25667
25935
  return true;
25668
25936
  };
25669
25937
  TransactionPrintPackageStickerComponent.prototype.handleShowDialog = function () {
25670
- if (this.transactionLine.articleLineStatus.quantityToReceive) {
25938
+ if (this.lineQuantityToReceive) {
25671
25939
  this.showSendMethodDialog = true;
25672
25940
  }
25673
25941
  };
@@ -25698,7 +25966,7 @@
25698
25966
  TransactionPrintPackageStickerComponent.decorators = [
25699
25967
  { type: i0.Component, args: [{
25700
25968
  selector: "co-transaction-print-package-sticker",
25701
- template: "\n <div class=\"print-button\">\n <co-icon [class.pointer]=\"transactionLine.articleLineStatus.quantityToReceive\" [iconData]=\"iconCacheService.getIcon(icons.PrintSolid)\" (click)=\"handleShowDialog()\"></co-icon>\n <co-input-text\n [(model)]=\"transactionLine.stickerAmount\"\n [disabled]=\"!transactionLine.articleLineStatus.quantityToReceive\"\n [noStyle]=\"true\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [min]=\"1\"\n ></co-input-text>\n </div>\n <co-send-method-dialog *ngIf=\"showSendMethodDialog\"\n [printerList]=\"printerList\"\n [headerTitle]=\"'Printer en lay-out selectie'\"\n [defaultSendMethod]=\"defaultSendMethod\"\n [visibleMethods]=\"[sendMethodType.Print]\"\n [emailAddresses]=\"emailAddresses\"\n [emailLayouts]=\"emailLayouts\"\n [printLayouts]=\"printLayouts\"\n [isDocSignEnabled]=\"true\"\n [(reportingDocumentEmailRequest)]=\"reportDocumentEmailRequest\"\n [(reportingDocumentPrintRequest)]=\"reportDocumentPrintRequest\"\n [(reportingDocumentPdfRequest)]=\"reportDocumentPdfRequest\"\n (closeClick)=\"showSendMethodDialog = false\"\n (okClick)=\"handleSendMethodOkClick($event)\"\n ></co-send-method-dialog>\n ",
25969
+ template: "\n <div class=\"print-button\">\n <co-icon [class.pointer]=\"lineQuantityToReceive\" [iconData]=\"iconCacheService.getIcon(icons.PrintSolid)\" (click)=\"handleShowDialog()\"></co-icon>\n <co-input-text\n [(model)]=\"transactionLine.stickerAmount\"\n [disabled]=\"!lineQuantityToReceive\"\n [noStyle]=\"true\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [min]=\"1\"\n ></co-input-text>\n </div>\n <co-send-method-dialog *ngIf=\"showSendMethodDialog\"\n [printerList]=\"printerList\"\n [headerTitle]=\"'Printer en lay-out selectie'\"\n [defaultSendMethod]=\"defaultSendMethod\"\n [visibleMethods]=\"[sendMethodType.Print]\"\n [emailAddresses]=\"emailAddresses\"\n [emailLayouts]=\"emailLayouts\"\n [printLayouts]=\"printLayouts\"\n [isDocSignEnabled]=\"true\"\n [(reportingDocumentEmailRequest)]=\"reportDocumentEmailRequest\"\n [(reportingDocumentPrintRequest)]=\"reportDocumentPrintRequest\"\n [(reportingDocumentPdfRequest)]=\"reportDocumentPdfRequest\"\n (closeClick)=\"showSendMethodDialog = false\"\n (okClick)=\"handleSendMethodOkClick($event)\"\n ></co-send-method-dialog>\n ",
25702
25970
  encapsulation: i0.ViewEncapsulation.None
25703
25971
  },] }
25704
25972
  ];
@@ -26826,7 +27094,8 @@
26826
27094
  TransactionNavigationButtonModule,
26827
27095
  PipeModule,
26828
27096
  CoreModule,
26829
- corecomponents_v12.ClickoutsideModule
27097
+ corecomponents_v12.ClickoutsideModule,
27098
+ corecomponents_v12.OverlayModule
26830
27099
  ],
26831
27100
  declarations: [
26832
27101
  TransactionNavigationButtonListComponent
@@ -29374,401 +29643,402 @@
29374
29643
  exports["ɵbo"] = StockStatusIndicatorComponent;
29375
29644
  exports["ɵbp"] = LazyRenderMasterDirective;
29376
29645
  exports["ɵbq"] = LazyRenderDirective;
29377
- exports["ɵbr"] = OverlayParentDirective;
29378
- exports["ɵbs"] = OverlayDirective;
29379
- exports["ɵbt"] = RelationAddressModule;
29380
- exports["ɵbu"] = RelationAddressComponent;
29381
- exports["ɵbv"] = RelationBaseComponent;
29382
- exports["ɵbw"] = RelationAddressSelectModule;
29383
- exports["ɵbx"] = RelationAddressTileModule;
29384
- exports["ɵby"] = TileModule;
29385
- exports["ɵbz"] = TileComponent;
29646
+ exports["ɵbr"] = RelationAddressModule;
29647
+ exports["ɵbs"] = RelationAddressComponent;
29648
+ exports["ɵbt"] = RelationBaseComponent;
29649
+ exports["ɵbu"] = RelationAddressSelectModule;
29650
+ exports["ɵbv"] = RelationAddressTileModule;
29651
+ exports["ɵbw"] = TileModule;
29652
+ exports["ɵbx"] = TileComponent;
29653
+ exports["ɵby"] = RelationAddressTileComponent;
29654
+ exports["ɵbz"] = RelationAddressSelectComponent;
29386
29655
  exports["ɵc"] = OptionsService;
29387
- exports["ɵca"] = RelationAddressTileComponent;
29388
- exports["ɵcb"] = RelationAddressSelectComponent;
29389
- exports["ɵcc"] = StepperModule;
29390
- exports["ɵcd"] = StepperComponent;
29391
- exports["ɵce"] = StepperStepComponent;
29392
- exports["ɵcf"] = TransactionLineModule;
29393
- exports["ɵcg"] = TransactionLineComponent;
29394
- exports["ɵch"] = TransactionBaseComponent;
29395
- exports["ɵci"] = TransactionImageService;
29396
- exports["ɵcj"] = TransactionMappingService;
29397
- exports["ɵck"] = TransactionArticleTextModule;
29398
- exports["ɵcl"] = TransactionLineImageAndDescriptionModule;
29399
- exports["ɵcm"] = TransactionLineDescriptionModule;
29400
- exports["ɵcn"] = TransactionLineDescriptionComponent;
29401
- exports["ɵco"] = TransactionInputFieldBaseComponent;
29402
- exports["ɵcp"] = TransactionLineImageAndDescriptionComponent;
29403
- exports["ɵcq"] = TransactionArticleTextComponent;
29404
- exports["ɵcr"] = DialogTransactionHeaderDiscountModule;
29405
- exports["ɵcs"] = TransactionHeaderDiscountPercentageModule;
29406
- exports["ɵct"] = TransactionHeaderDiscountPercentageComponent;
29407
- exports["ɵcu"] = TransactionHeaderDiscountAmountModule;
29408
- exports["ɵcv"] = TransactionHeaderDiscountAmountComponent;
29409
- exports["ɵcw"] = TransactionHeaderDiscountTransactionTotalModule;
29410
- exports["ɵcx"] = TransactionHeaderDiscountTransactionTotalComponent;
29411
- exports["ɵcy"] = DialogTransactionHeaderDiscountComponent;
29412
- exports["ɵcz"] = DialogTransactionBaseComponent;
29656
+ exports["ɵca"] = StepperModule;
29657
+ exports["ɵcb"] = StepperComponent;
29658
+ exports["ɵcc"] = StepperStepComponent;
29659
+ exports["ɵcd"] = TransactionLineModule;
29660
+ exports["ɵce"] = TransactionLineComponent;
29661
+ exports["ɵcf"] = TransactionBaseComponent;
29662
+ exports["ɵcg"] = TransactionImageService;
29663
+ exports["ɵch"] = TransactionMappingService;
29664
+ exports["ɵci"] = TransactionArticleTextModule;
29665
+ exports["ɵcj"] = TransactionLineImageAndDescriptionModule;
29666
+ exports["ɵck"] = TransactionLineDescriptionModule;
29667
+ exports["ɵcl"] = TransactionLineDescriptionComponent;
29668
+ exports["ɵcm"] = TransactionInputFieldBaseComponent;
29669
+ exports["ɵcn"] = TransactionLineImageAndDescriptionComponent;
29670
+ exports["ɵco"] = TransactionArticleTextComponent;
29671
+ exports["ɵcp"] = DialogTransactionHeaderDiscountModule;
29672
+ exports["ɵcq"] = TransactionHeaderDiscountPercentageModule;
29673
+ exports["ɵcr"] = TransactionHeaderDiscountPercentageComponent;
29674
+ exports["ɵcs"] = TransactionHeaderDiscountAmountModule;
29675
+ exports["ɵct"] = TransactionHeaderDiscountAmountComponent;
29676
+ exports["ɵcu"] = TransactionHeaderDiscountTransactionTotalModule;
29677
+ exports["ɵcv"] = TransactionHeaderDiscountTransactionTotalComponent;
29678
+ exports["ɵcw"] = DialogTransactionHeaderDiscountComponent;
29679
+ exports["ɵcx"] = DialogTransactionBaseComponent;
29680
+ exports["ɵcy"] = AvatarModule;
29681
+ exports["ɵcz"] = AvatarComponent;
29413
29682
  exports["ɵd"] = DictionaryService;
29414
- exports["ɵda"] = AvatarModule;
29415
- exports["ɵdb"] = AvatarComponent;
29416
- exports["ɵdc"] = SharedService;
29417
- exports["ɵdd"] = SharedConnectorService;
29418
- exports["ɵde"] = DeliveryTypeTileModule;
29419
- exports["ɵdf"] = DeliveryTypeTileComponent;
29420
- exports["ɵdg"] = PaymentModule;
29421
- exports["ɵdh"] = PaymentTileModule;
29422
- exports["ɵdi"] = PaymentTileComponent;
29423
- exports["ɵdj"] = PaymentQrCodeModule;
29424
- exports["ɵdk"] = PaymentQrCodeComponent;
29425
- exports["ɵdl"] = DepositPaymentModule;
29426
- exports["ɵdm"] = DepositPaymentComponent;
29427
- exports["ɵdn"] = PaymentService;
29428
- exports["ɵdo"] = PaymentComponent;
29429
- exports["ɵdp"] = RelationTypeModule;
29430
- exports["ɵdq"] = RelationTypeComponent;
29431
- exports["ɵdr"] = RelationGeneralModule;
29432
- exports["ɵds"] = RelationSuggestionsListModule;
29433
- exports["ɵdt"] = RelationSuggestionsListItemModule;
29434
- exports["ɵdu"] = RelationSuggestionsListItemComponent;
29435
- exports["ɵdv"] = RelationSuggestionsListComponent;
29436
- exports["ɵdw"] = RelationContactDetailsModule;
29437
- exports["ɵdx"] = RelationContactDetailsComponent;
29438
- exports["ɵdy"] = RelationGeneralComponent;
29439
- exports["ɵdz"] = RelationAddressesModule;
29683
+ exports["ɵda"] = SharedService;
29684
+ exports["ɵdb"] = SharedConnectorService;
29685
+ exports["ɵdc"] = DeliveryTypeTileModule;
29686
+ exports["ɵdd"] = DeliveryTypeTileComponent;
29687
+ exports["ɵde"] = PaymentModule;
29688
+ exports["ɵdf"] = PaymentTileModule;
29689
+ exports["ɵdg"] = PaymentTileComponent;
29690
+ exports["ɵdh"] = PaymentQrCodeModule;
29691
+ exports["ɵdi"] = PaymentQrCodeComponent;
29692
+ exports["ɵdj"] = DepositPaymentModule;
29693
+ exports["ɵdk"] = DepositPaymentComponent;
29694
+ exports["ɵdl"] = PaymentService;
29695
+ exports["ɵdm"] = PaymentComponent;
29696
+ exports["ɵdn"] = RelationTypeModule;
29697
+ exports["ɵdo"] = RelationTypeComponent;
29698
+ exports["ɵdp"] = RelationGeneralModule;
29699
+ exports["ɵdq"] = RelationSuggestionsListModule;
29700
+ exports["ɵdr"] = RelationSuggestionsListItemModule;
29701
+ exports["ɵds"] = RelationSuggestionsListItemComponent;
29702
+ exports["ɵdt"] = RelationSuggestionsListComponent;
29703
+ exports["ɵdu"] = RelationContactDetailsModule;
29704
+ exports["ɵdv"] = RelationContactDetailsComponent;
29705
+ exports["ɵdw"] = RelationGeneralComponent;
29706
+ exports["ɵdx"] = RelationAddressesModule;
29707
+ exports["ɵdy"] = RelationAddressesComponent;
29708
+ exports["ɵdz"] = RelationPreferencesModule;
29440
29709
  exports["ɵe"] = DialogService;
29441
- exports["ɵea"] = RelationAddressesComponent;
29442
- exports["ɵeb"] = RelationPreferencesModule;
29443
- exports["ɵec"] = RelationPreferencesComponent;
29444
- exports["ɵed"] = TransactionHeaderBlockModule;
29445
- exports["ɵee"] = TransactionHeaderBlockComponent;
29446
- exports["ɵef"] = TransactionHeaderDeliveryDateModule;
29447
- exports["ɵeg"] = TransactionHeaderDeliveryDateComponent;
29448
- exports["ɵeh"] = TransactionHeaderDeliveryOptionsModule;
29449
- exports["ɵei"] = TransactionHeaderDeliveryOptionsComponent;
29450
- exports["ɵej"] = TransactionHeaderRemarksModule;
29451
- exports["ɵek"] = TransactionHeaderRemarksComponent;
29452
- exports["ɵel"] = TransactionHeaderReferenceModule;
29453
- exports["ɵem"] = TransactionHeaderReferenceComponent;
29454
- exports["ɵen"] = TransactionHeaderRelationReferenceModule;
29455
- exports["ɵeo"] = TransactionHeaderRelationReferenceComponent;
29456
- exports["ɵep"] = TransactionHeaderDeliveryMethodModule;
29457
- exports["ɵeq"] = TransactionLineCheckboxModule;
29458
- exports["ɵer"] = TransactionLineCheckboxListComponent;
29459
- exports["ɵes"] = TransactionHeaderDeliveryMethodComponent;
29460
- exports["ɵet"] = TransactionFilterPopupBaseComponent;
29461
- exports["ɵeu"] = TransactionHeaderPreferredDeliveryDateModule;
29462
- exports["ɵev"] = TransactionHeaderPreferredDeliveryDateComponent;
29463
- exports["ɵew"] = DialogTransactionHeaderDeliveryMethodModule;
29464
- exports["ɵex"] = DialogHeaderSearchModule;
29465
- exports["ɵey"] = DialogHeaderSearchComponent;
29466
- exports["ɵez"] = DialogTransactionHeaderDeliveryMethodComponent;
29710
+ exports["ɵea"] = RelationPreferencesComponent;
29711
+ exports["ɵeb"] = TransactionHeaderBlockModule;
29712
+ exports["ɵec"] = TransactionHeaderBlockComponent;
29713
+ exports["ɵed"] = TransactionHeaderDeliveryDateModule;
29714
+ exports["ɵee"] = TransactionHeaderDeliveryDateComponent;
29715
+ exports["ɵef"] = TransactionHeaderDeliveryOptionsModule;
29716
+ exports["ɵeg"] = TransactionHeaderDeliveryOptionsComponent;
29717
+ exports["ɵeh"] = TransactionHeaderRemarksModule;
29718
+ exports["ɵei"] = TransactionHeaderRemarksComponent;
29719
+ exports["ɵej"] = TransactionHeaderReferenceModule;
29720
+ exports["ɵek"] = TransactionHeaderReferenceComponent;
29721
+ exports["ɵel"] = TransactionHeaderRelationReferenceModule;
29722
+ exports["ɵem"] = TransactionHeaderRelationReferenceComponent;
29723
+ exports["ɵen"] = TransactionHeaderDeliveryMethodModule;
29724
+ exports["ɵeo"] = TransactionLineCheckboxModule;
29725
+ exports["ɵep"] = TransactionLineCheckboxListComponent;
29726
+ exports["ɵeq"] = TransactionHeaderDeliveryMethodComponent;
29727
+ exports["ɵer"] = TransactionFilterPopupBaseComponent;
29728
+ exports["ɵes"] = TransactionHeaderPreferredDeliveryDateModule;
29729
+ exports["ɵet"] = TransactionHeaderPreferredDeliveryDateComponent;
29730
+ exports["ɵeu"] = DialogTransactionHeaderDeliveryMethodModule;
29731
+ exports["ɵev"] = DialogHeaderSearchModule;
29732
+ exports["ɵew"] = DialogHeaderSearchComponent;
29733
+ exports["ɵex"] = DialogTransactionHeaderDeliveryMethodComponent;
29734
+ exports["ɵey"] = TransactionHeaderPartialDeliveryModule;
29735
+ exports["ɵez"] = TransactionHeaderPartialDeliveryComponent;
29467
29736
  exports["ɵf"] = DynamicComponentService;
29468
- exports["ɵfa"] = TransactionHeaderPartialDeliveryModule;
29469
- exports["ɵfb"] = TransactionHeaderPartialDeliveryComponent;
29470
- exports["ɵfc"] = TransactionHeaderDepositPercentageModule;
29471
- exports["ɵfd"] = TransactionHeaderDepositPercentageComponent;
29472
- exports["ɵfe"] = TransactionHeaderDepositAmountModule;
29473
- exports["ɵff"] = TransactionHeaderDepositAmountComponent;
29474
- exports["ɵfg"] = TransactionHeaderDefinitiveModule;
29475
- exports["ɵfh"] = TransactionHeaderDefinitiveComponent;
29476
- exports["ɵfi"] = TransactionHeaderBranchModule;
29477
- exports["ɵfj"] = TransactionHeaderBranchComponent;
29478
- exports["ɵfk"] = TransactionHeaderAdministrativeRelationModule;
29479
- exports["ɵfl"] = TransactionHeaderAdministrativeRelationComponent;
29480
- exports["ɵfm"] = TransactionHeaderMarketingModule;
29481
- exports["ɵfn"] = TransactionHeaderMarketingComponent;
29482
- exports["ɵfo"] = CheckoutOverviewRelationEditComponent;
29483
- exports["ɵfp"] = CheckoutOverviewDeliveryEditComponent;
29484
- exports["ɵfq"] = CheckoutOverviewDeliveryAddressComponent;
29485
- exports["ɵfr"] = CheckoutOverviewPaymentComponent;
29486
- exports["ɵfs"] = CheckoutLoginComponent;
29487
- exports["ɵft"] = TransactionFilterCategoriesModule;
29488
- exports["ɵfu"] = TransactionFilterCategoriesComponent;
29489
- exports["ɵfv"] = TransactionHeaderSalesPersonModule;
29490
- exports["ɵfw"] = TransactionHeaderSalesPersonComponent;
29491
- exports["ɵfx"] = TransactionHeaderPriceKindModule;
29492
- exports["ɵfy"] = TransactionHeaderPriceKindComponent;
29493
- exports["ɵfz"] = TransactionHeaderPaymentConditionModule;
29737
+ exports["ɵfa"] = TransactionHeaderDepositPercentageModule;
29738
+ exports["ɵfb"] = TransactionHeaderDepositPercentageComponent;
29739
+ exports["ɵfc"] = TransactionHeaderDepositAmountModule;
29740
+ exports["ɵfd"] = TransactionHeaderDepositAmountComponent;
29741
+ exports["ɵfe"] = TransactionHeaderDefinitiveModule;
29742
+ exports["ɵff"] = TransactionHeaderDefinitiveComponent;
29743
+ exports["ɵfg"] = TransactionHeaderBranchModule;
29744
+ exports["ɵfh"] = TransactionHeaderBranchComponent;
29745
+ exports["ɵfi"] = TransactionHeaderAdministrativeRelationModule;
29746
+ exports["ɵfj"] = TransactionHeaderAdministrativeRelationComponent;
29747
+ exports["ɵfk"] = TransactionHeaderMarketingModule;
29748
+ exports["ɵfl"] = TransactionHeaderMarketingComponent;
29749
+ exports["ɵfm"] = CheckoutOverviewRelationEditComponent;
29750
+ exports["ɵfn"] = CheckoutOverviewDeliveryEditComponent;
29751
+ exports["ɵfo"] = CheckoutOverviewDeliveryAddressComponent;
29752
+ exports["ɵfp"] = CheckoutOverviewPaymentComponent;
29753
+ exports["ɵfq"] = CheckoutLoginComponent;
29754
+ exports["ɵfr"] = TransactionFilterCategoriesModule;
29755
+ exports["ɵfs"] = TransactionFilterCategoriesComponent;
29756
+ exports["ɵft"] = TransactionHeaderSalesPersonModule;
29757
+ exports["ɵfu"] = TransactionHeaderSalesPersonComponent;
29758
+ exports["ɵfv"] = TransactionHeaderPriceKindModule;
29759
+ exports["ɵfw"] = TransactionHeaderPriceKindComponent;
29760
+ exports["ɵfx"] = TransactionHeaderPaymentConditionModule;
29761
+ exports["ɵfy"] = TransactionHeaderPaymentConditionComponent;
29762
+ exports["ɵfz"] = TransactionHeaderCurrencyModule;
29494
29763
  exports["ɵg"] = TransactionConnectorService;
29495
- exports["ɵga"] = TransactionHeaderPaymentConditionComponent;
29496
- exports["ɵgb"] = TransactionHeaderCurrencyModule;
29497
- exports["ɵgc"] = TransactionHeaderCurrencyComponent;
29498
- exports["ɵgd"] = TransactionHeaderHoldCodesModule;
29499
- exports["ɵge"] = TransactionHeaderHoldCodesComponent;
29500
- exports["ɵgf"] = TransactionHeaderPaymentModule;
29501
- exports["ɵgg"] = TransactionHeaderPaymentComponent;
29502
- exports["ɵgh"] = TransactionLinesGridModule;
29503
- exports["ɵgi"] = TransactionBaseGridModule;
29504
- exports["ɵgj"] = TransactionLineSidePanelModule;
29505
- exports["ɵgk"] = TransactionLineSidePanelDefaultModule;
29506
- exports["ɵgl"] = TransactionLinePriceListModule;
29507
- exports["ɵgm"] = TransactionLinePriceListComponent;
29508
- exports["ɵgn"] = TransactionLineVatModule;
29509
- exports["ɵgo"] = TransactionLineVatComponent;
29510
- exports["ɵgp"] = TransactionLineQuantityModule;
29511
- exports["ɵgq"] = TransactionLineQuantityComponent;
29512
- exports["ɵgr"] = TransactionLineLineDiscountModule;
29513
- exports["ɵgs"] = TransactionLineLineDiscountComponent;
29514
- exports["ɵgt"] = TransactionLineDeliveryMethodModule;
29515
- exports["ɵgu"] = TransactionLineDeliveryMethodComponent;
29516
- exports["ɵgv"] = TransactionLineDeliveryDateModule;
29517
- exports["ɵgw"] = TransactionLineDeliveryDateComponent;
29518
- exports["ɵgx"] = TransactionLineReferenceModule;
29519
- exports["ɵgy"] = TransactionLineReferenceComponent;
29520
- exports["ɵgz"] = TransactionLineCommissionCodeModule;
29764
+ exports["ɵga"] = TransactionHeaderCurrencyComponent;
29765
+ exports["ɵgb"] = TransactionHeaderHoldCodesModule;
29766
+ exports["ɵgc"] = TransactionHeaderHoldCodesComponent;
29767
+ exports["ɵgd"] = TransactionHeaderPaymentModule;
29768
+ exports["ɵge"] = TransactionHeaderPaymentComponent;
29769
+ exports["ɵgf"] = TransactionLinesGridModule;
29770
+ exports["ɵgg"] = TransactionBaseGridModule;
29771
+ exports["ɵgh"] = TransactionLineSidePanelModule;
29772
+ exports["ɵgi"] = TransactionLineSidePanelDefaultModule;
29773
+ exports["ɵgj"] = TransactionLinePriceListModule;
29774
+ exports["ɵgk"] = TransactionLinePriceListComponent;
29775
+ exports["ɵgl"] = TransactionLineVatModule;
29776
+ exports["ɵgm"] = TransactionLineVatComponent;
29777
+ exports["ɵgn"] = TransactionLineQuantityModule;
29778
+ exports["ɵgo"] = TransactionLineQuantityComponent;
29779
+ exports["ɵgp"] = TransactionLineLineDiscountModule;
29780
+ exports["ɵgq"] = TransactionLineLineDiscountComponent;
29781
+ exports["ɵgr"] = TransactionLineDeliveryMethodModule;
29782
+ exports["ɵgs"] = TransactionLineDeliveryMethodComponent;
29783
+ exports["ɵgt"] = TransactionLineDeliveryDateModule;
29784
+ exports["ɵgu"] = TransactionLineDeliveryDateComponent;
29785
+ exports["ɵgv"] = TransactionLineReferenceModule;
29786
+ exports["ɵgw"] = TransactionLineReferenceComponent;
29787
+ exports["ɵgx"] = TransactionLineCommissionCodeModule;
29788
+ exports["ɵgy"] = TransactionLineCommissionCodeComponent;
29789
+ exports["ɵgz"] = TransactionLineWarehouseModule;
29521
29790
  exports["ɵh"] = TransactionConnectorAdapterService;
29522
- exports["ɵha"] = TransactionLineCommissionCodeComponent;
29523
- exports["ɵhb"] = TransactionLineWarehouseModule;
29524
- exports["ɵhc"] = TransactionLineWarehouseComponent;
29525
- exports["ɵhd"] = TransactionLineDiscountAmountModule;
29526
- exports["ɵhe"] = TransactionLineDiscountAmountComponent;
29527
- exports["ɵhf"] = TransactionLineQuantumDiscountModule;
29528
- exports["ɵhg"] = TransactionLineQuantumDiscountComponent;
29529
- exports["ɵhh"] = TransactionLineSpecialDiscountModule;
29530
- exports["ɵhi"] = TransactionLineSpecialDiscountComponent;
29531
- exports["ɵhj"] = TransactionLineSupplierModule;
29532
- exports["ɵhk"] = TransactionLineSupplierComponent;
29533
- exports["ɵhl"] = TransactionLinePriceModule;
29534
- exports["ɵhm"] = TransactionLinePriceComponent;
29535
- exports["ɵhn"] = TransactionLineSupplierButtonModule;
29536
- exports["ɵho"] = DialogTransactionLineSupplierModule;
29537
- exports["ɵhp"] = DialogTransactionLineSupplierComponent;
29538
- exports["ɵhq"] = TransactionLineSupplierButtonComponent;
29539
- exports["ɵhr"] = TransactionLineSidePanelDefaultComponent;
29540
- exports["ɵhs"] = TransactionReceivingGoodsHistoryModule;
29541
- exports["ɵht"] = TransactionHistoryGridModule;
29542
- exports["ɵhu"] = TransactionHistoryGridStatusModule;
29543
- exports["ɵhv"] = TransactionHistoryGridStatusComponent;
29544
- exports["ɵhw"] = TransactionHistoryGridComponent;
29545
- exports["ɵhx"] = TransactionReceivingGoodsHistoryComponent;
29546
- exports["ɵhy"] = TransactionButtonBarModule;
29547
- exports["ɵhz"] = AnimatedCheckboxModule;
29791
+ exports["ɵha"] = TransactionLineWarehouseComponent;
29792
+ exports["ɵhb"] = TransactionLineDiscountAmountModule;
29793
+ exports["ɵhc"] = TransactionLineDiscountAmountComponent;
29794
+ exports["ɵhd"] = TransactionLineQuantumDiscountModule;
29795
+ exports["ɵhe"] = TransactionLineQuantumDiscountComponent;
29796
+ exports["ɵhf"] = TransactionLineSpecialDiscountModule;
29797
+ exports["ɵhg"] = TransactionLineSpecialDiscountComponent;
29798
+ exports["ɵhh"] = TransactionLineSupplierModule;
29799
+ exports["ɵhi"] = TransactionLineSupplierComponent;
29800
+ exports["ɵhj"] = TransactionLinePriceModule;
29801
+ exports["ɵhk"] = TransactionLinePriceComponent;
29802
+ exports["ɵhl"] = TransactionLineSupplierButtonModule;
29803
+ exports["ɵhm"] = DialogTransactionLineSupplierModule;
29804
+ exports["ɵhn"] = DialogTransactionLineSupplierComponent;
29805
+ exports["ɵho"] = TransactionLineSupplierButtonComponent;
29806
+ exports["ɵhp"] = TransactionLineSidePanelDefaultComponent;
29807
+ exports["ɵhq"] = TransactionReceivingGoodsHistoryModule;
29808
+ exports["ɵhr"] = TransactionHistoryGridModule;
29809
+ exports["ɵhs"] = TransactionHistoryGridStatusModule;
29810
+ exports["ɵht"] = TransactionHistoryGridStatusComponent;
29811
+ exports["ɵhu"] = TransactionHistoryGridComponent;
29812
+ exports["ɵhv"] = TransactionReceivingGoodsHistoryComponent;
29813
+ exports["ɵhw"] = TransactionButtonBarModule;
29814
+ exports["ɵhx"] = AnimatedCheckboxModule;
29815
+ exports["ɵhy"] = AnimatedCheckboxComponent;
29816
+ exports["ɵhz"] = TransactionButtonBarComponent;
29548
29817
  exports["ɵi"] = SelectMultipleCacheService;
29549
- exports["ɵia"] = AnimatedCheckboxComponent;
29550
- exports["ɵib"] = TransactionButtonBarComponent;
29551
- exports["ɵic"] = TransactionButtonBarButtonComponent;
29552
- exports["ɵid"] = TransactionButtonBarButtonBaseComponent;
29553
- exports["ɵie"] = TransactionSalesPurchaseButtonBarButtonComponent;
29554
- exports["ɵif"] = TransactionPurchaseReceiveGoodsButtonBarButtonComponent;
29555
- exports["ɵig"] = TransactionSalesAllocationButtonBarButtonComponent;
29556
- exports["ɵih"] = TransactionPurchaseConfirmationButtonBarButtonComponent;
29557
- exports["ɵii"] = TransactionSalesDeliveryButtonBarButtonComponent;
29558
- exports["ɵij"] = TransactionSalesInvoiceButtonBarButtonComponent;
29559
- exports["ɵik"] = TransactionPurchaseInvoiceButtonBarButtonComponent;
29560
- exports["ɵil"] = TransactionLineSidePanelPurchaseModule;
29561
- exports["ɵim"] = DefaultOkCancelButtonsModule;
29562
- exports["ɵin"] = DefaultOkCancelButtonsComponent;
29563
- exports["ɵio"] = TransactionAvailableStockGridModule;
29564
- exports["ɵip"] = TransactionAvailableStockGridComponent;
29565
- exports["ɵiq"] = TransactionLinePurchaseReceiveGoodsModule;
29566
- exports["ɵir"] = TransactionLineWarehouseLocationButtonModule;
29567
- exports["ɵis"] = DialogTransactionLineWarehouseLocationModule;
29568
- exports["ɵit"] = TransactionLineWarehouseLocationModule;
29569
- exports["ɵiu"] = TransactionLineWarehouseLocationComponent;
29570
- exports["ɵiv"] = ArticleService;
29571
- exports["ɵiw"] = DialogTransactionLineWarehouseLocationComponent;
29572
- exports["ɵix"] = TransactionLineWarehouseLocationButtonComponent;
29573
- exports["ɵiy"] = TransactionLinePurchaseReceiveGoodsComponent;
29574
- exports["ɵiz"] = TransactionLinePurchaseConfirmationModule;
29818
+ exports["ɵia"] = TransactionButtonBarButtonComponent;
29819
+ exports["ɵib"] = TransactionButtonBarButtonBaseComponent;
29820
+ exports["ɵic"] = TransactionSalesPurchaseButtonBarButtonComponent;
29821
+ exports["ɵid"] = TransactionPurchaseReceiveGoodsButtonBarButtonComponent;
29822
+ exports["ɵie"] = TransactionSalesAllocationButtonBarButtonComponent;
29823
+ exports["ɵif"] = TransactionPurchaseConfirmationButtonBarButtonComponent;
29824
+ exports["ɵig"] = TransactionSalesDeliveryButtonBarButtonComponent;
29825
+ exports["ɵih"] = TransactionSalesInvoiceButtonBarButtonComponent;
29826
+ exports["ɵii"] = TransactionPurchaseInvoiceButtonBarButtonComponent;
29827
+ exports["ɵij"] = TransactionLineSidePanelPurchaseModule;
29828
+ exports["ɵik"] = DefaultOkCancelButtonsModule;
29829
+ exports["ɵil"] = DefaultOkCancelButtonsComponent;
29830
+ exports["ɵim"] = TransactionAvailableStockGridModule;
29831
+ exports["ɵin"] = TransactionAvailableStockGridComponent;
29832
+ exports["ɵio"] = TransactionLinePurchaseReceiveGoodsModule;
29833
+ exports["ɵip"] = TransactionLineWarehouseLocationButtonModule;
29834
+ exports["ɵiq"] = DialogTransactionLineWarehouseLocationModule;
29835
+ exports["ɵir"] = TransactionLineWarehouseLocationModule;
29836
+ exports["ɵis"] = TransactionLineWarehouseLocationComponent;
29837
+ exports["ɵit"] = ArticleService;
29838
+ exports["ɵiu"] = DialogTransactionLineWarehouseLocationComponent;
29839
+ exports["ɵiv"] = TransactionLineWarehouseLocationButtonComponent;
29840
+ exports["ɵiw"] = TransactionLinePurchaseReceiveGoodsComponent;
29841
+ exports["ɵix"] = TransactionLinePurchaseConfirmationModule;
29842
+ exports["ɵiy"] = TransactionLinePurchaseConfirmationComponent;
29843
+ exports["ɵiz"] = TransactionLineSidePanelPurchaseComponent;
29575
29844
  exports["ɵj"] = BusinessObjectCacheManagerService;
29576
- exports["ɵja"] = TransactionLinePurchaseConfirmationComponent;
29577
- exports["ɵjb"] = TransactionLineSidePanelPurchaseComponent;
29578
- exports["ɵjc"] = TransactionLineSidePanelSalesModule;
29579
- exports["ɵjd"] = TransactionAllocateGoodsHistoryModule;
29580
- exports["ɵje"] = TransactionAllocateGoodsHistoryComponent;
29581
- exports["ɵjf"] = TransactionLineSalesAllocationModule;
29582
- exports["ɵjg"] = TransactionLineSalesAllocationComponent;
29583
- exports["ɵjh"] = TransactionLineSalesDeliveryModule;
29584
- exports["ɵji"] = TransactionLineDeliveryHistoryModule;
29585
- exports["ɵjj"] = TransactionLineDeliveryHistoryComponent;
29586
- exports["ɵjk"] = TransactionLineSalesDeliveryComponent;
29587
- exports["ɵjl"] = TransactionLineSalesInvoiceModule;
29588
- exports["ɵjm"] = TransactionLineInvoiceHistoryModule;
29589
- exports["ɵjn"] = TransactionLineInvoiceHistoryComponent;
29590
- exports["ɵjo"] = TransactionLineSalesInvoiceComponent;
29591
- exports["ɵjp"] = TransactionLineSidePanelSalesComponent;
29592
- exports["ɵjq"] = TransactionLineSidePanelComponent;
29593
- exports["ɵjr"] = TransactionLineActionButtonsModule;
29594
- exports["ɵjs"] = TransactionArticleTextOverviewModule;
29595
- exports["ɵjt"] = TransactionArticleTextOverviewComponent;
29845
+ exports["ɵja"] = TransactionLineSidePanelSalesModule;
29846
+ exports["ɵjb"] = TransactionAllocateGoodsHistoryModule;
29847
+ exports["ɵjc"] = TransactionAllocateGoodsHistoryComponent;
29848
+ exports["ɵjd"] = TransactionLineSalesAllocationModule;
29849
+ exports["ɵje"] = TransactionLineSalesAllocationComponent;
29850
+ exports["ɵjf"] = TransactionLineSalesDeliveryModule;
29851
+ exports["ɵjg"] = TransactionLineDeliveryHistoryModule;
29852
+ exports["ɵjh"] = TransactionLineDeliveryHistoryComponent;
29853
+ exports["ɵji"] = TransactionLineSalesDeliveryComponent;
29854
+ exports["ɵjj"] = TransactionLineSalesInvoiceModule;
29855
+ exports["ɵjk"] = TransactionLineInvoiceHistoryModule;
29856
+ exports["ɵjl"] = TransactionLineInvoiceHistoryComponent;
29857
+ exports["ɵjm"] = TransactionLineSalesInvoiceComponent;
29858
+ exports["ɵjn"] = TransactionLineSidePanelSalesComponent;
29859
+ exports["ɵjo"] = TransactionLineSidePanelComponent;
29860
+ exports["ɵjp"] = TransactionLineActionButtonsModule;
29861
+ exports["ɵjq"] = TransactionArticleTextOverviewModule;
29862
+ exports["ɵjr"] = TransactionArticleTextOverviewComponent;
29863
+ exports["ɵjs"] = OverlayModule;
29864
+ exports["ɵjt"] = OverlayDirective;
29596
29865
  exports["ɵju"] = TransactionLineActionButtonsComponent;
29597
- exports["ɵjv"] = TransactionBaseGridComponent;
29598
- exports["ɵjw"] = TransactionGridBaseComponent;
29599
- exports["ɵjx"] = DialogTransactionLineCommissionCodeModule;
29600
- exports["ɵjy"] = DialogTransactionLineCommissionCodeComponent;
29601
- exports["ɵjz"] = DialogTransactionLineWarehouseModule;
29866
+ exports["ɵjv"] = TransactionLineActionButtonsPopupComponent;
29867
+ exports["ɵjw"] = TransactionBaseGridComponent;
29868
+ exports["ɵjx"] = TransactionGridBaseComponent;
29869
+ exports["ɵjy"] = DialogTransactionLineCommissionCodeModule;
29870
+ exports["ɵjz"] = DialogTransactionLineCommissionCodeComponent;
29602
29871
  exports["ɵk"] = CacheField;
29603
- exports["ɵka"] = DialogTransactionLineWarehouseComponent;
29604
- exports["ɵkb"] = DialogTransactionLineWarehouseCcModule;
29605
- exports["ɵkc"] = DialogTransactionLineWarehouseCcComponent;
29606
- exports["ɵkd"] = DialogTransactionLineDeliveryMethodModule;
29607
- exports["ɵke"] = DialogTransactionLineDeliveryMethodComponent;
29608
- exports["ɵkf"] = DialogTransactionLineVatModule;
29609
- exports["ɵkg"] = DialogTransactionLineVatComponent;
29610
- exports["ɵkh"] = DialogTransactionLineDiscountModule;
29611
- exports["ɵki"] = DialogTransactionLinePriceListModule;
29612
- exports["ɵkj"] = DialogTransactionLinePriceListComponent;
29613
- exports["ɵkk"] = DialogTransactionLineDiscountComponent;
29614
- exports["ɵkl"] = DialogTransactionHeaderBranchModule;
29615
- exports["ɵkm"] = DialogTransactionHeaderBranchComponent;
29616
- exports["ɵkn"] = TransactionLinesGridComponent;
29617
- exports["ɵko"] = DiscountModule;
29618
- exports["ɵkp"] = DiscountComponent;
29619
- exports["ɵkq"] = QuickSendButtonModule;
29620
- exports["ɵkr"] = QuickSendButtonComponent;
29621
- exports["ɵks"] = TransactionQuickAccessSendMethodBaseComponent;
29622
- exports["ɵkt"] = TransactionQuickAccessOverviewModule;
29623
- exports["ɵku"] = DialogCatalogModule;
29624
- exports["ɵkv"] = DialogCatalogComponent;
29625
- exports["ɵkw"] = TransactionSendDocumentsModule;
29626
- exports["ɵkx"] = TransactionSendDocumentsComponent;
29627
- exports["ɵky"] = AddProductModule;
29628
- exports["ɵkz"] = AddProductComponent;
29872
+ exports["ɵka"] = DialogTransactionLineWarehouseModule;
29873
+ exports["ɵkb"] = DialogTransactionLineWarehouseComponent;
29874
+ exports["ɵkc"] = DialogTransactionLineWarehouseCcModule;
29875
+ exports["ɵkd"] = DialogTransactionLineWarehouseCcComponent;
29876
+ exports["ɵke"] = DialogTransactionLineDeliveryMethodModule;
29877
+ exports["ɵkf"] = DialogTransactionLineDeliveryMethodComponent;
29878
+ exports["ɵkg"] = DialogTransactionLineVatModule;
29879
+ exports["ɵkh"] = DialogTransactionLineVatComponent;
29880
+ exports["ɵki"] = DialogTransactionLineDiscountModule;
29881
+ exports["ɵkj"] = DialogTransactionLinePriceListModule;
29882
+ exports["ɵkk"] = DialogTransactionLinePriceListComponent;
29883
+ exports["ɵkl"] = DialogTransactionLineDiscountComponent;
29884
+ exports["ɵkm"] = DialogTransactionHeaderBranchModule;
29885
+ exports["ɵkn"] = DialogTransactionHeaderBranchComponent;
29886
+ exports["ɵko"] = TransactionLinesGridComponent;
29887
+ exports["ɵkp"] = DiscountModule;
29888
+ exports["ɵkq"] = DiscountComponent;
29889
+ exports["ɵkr"] = QuickSendButtonModule;
29890
+ exports["ɵks"] = QuickSendButtonComponent;
29891
+ exports["ɵkt"] = TransactionQuickAccessSendMethodBaseComponent;
29892
+ exports["ɵku"] = TransactionQuickAccessOverviewModule;
29893
+ exports["ɵkv"] = DialogCatalogModule;
29894
+ exports["ɵkw"] = DialogCatalogComponent;
29895
+ exports["ɵkx"] = TransactionSendDocumentsModule;
29896
+ exports["ɵky"] = TransactionSendDocumentsComponent;
29897
+ exports["ɵkz"] = AddProductModule;
29629
29898
  exports["ɵl"] = SelectMultipleParameterizedCacheService;
29630
- exports["ɵla"] = TransactionQuickAccessOverviewComponent;
29631
- exports["ɵlb"] = TransactionQuickAccessOrderDeliveryModule;
29632
- exports["ɵlc"] = TransactionQuickAccessOrderDeliveryComponent;
29633
- exports["ɵld"] = TransactionQuickAccessOrderPurchaseModule;
29634
- exports["ɵle"] = TransactionQuickAccessOrderPurchaseComponent;
29635
- exports["ɵlf"] = TransactionQuickAccessGoodsAllocationModule;
29636
- exports["ɵlg"] = TransactionQuickAccessGoodsAllocationComponent;
29637
- exports["ɵlh"] = TransactionQuickAccessPurchaseOrderOverviewModule;
29638
- exports["ɵli"] = TransactionQuickAccessPurchaseOrderOverviewComponent;
29639
- exports["ɵlj"] = TransactionQuickAccessInvoiceModule;
29640
- exports["ɵlk"] = TransactionQuickAccessInvoiceComponent;
29641
- exports["ɵll"] = TransactionOrderConfirmationGridModule;
29642
- exports["ɵlm"] = TransactionOrderConfirmationGridComponent;
29643
- exports["ɵln"] = TransactionGridModule;
29644
- exports["ɵlo"] = TransactionGridComponent;
29645
- exports["ɵlp"] = TransactionTileModule;
29646
- exports["ɵlq"] = TransactionTileComponent;
29647
- exports["ɵlr"] = TransactionOverviewLineModule;
29648
- exports["ɵls"] = EditableLabelModule;
29649
- exports["ɵlt"] = EditableLabelComponent;
29650
- exports["ɵlu"] = TransactionBaseLineModule;
29651
- exports["ɵlv"] = TransactionBaseLineComponent;
29652
- exports["ɵlw"] = TransactionLineCommissionButtonModule;
29653
- exports["ɵlx"] = TransactionLineCommissionButtonComponent;
29654
- exports["ɵly"] = TransactionLineWarehouseButtonModule;
29655
- exports["ɵlz"] = TransactionLineWarehouseButtonComponent;
29899
+ exports["ɵla"] = AddProductComponent;
29900
+ exports["ɵlb"] = TransactionQuickAccessOverviewComponent;
29901
+ exports["ɵlc"] = TransactionQuickAccessOrderDeliveryModule;
29902
+ exports["ɵld"] = TransactionQuickAccessOrderDeliveryComponent;
29903
+ exports["ɵle"] = TransactionQuickAccessOrderPurchaseModule;
29904
+ exports["ɵlf"] = TransactionQuickAccessOrderPurchaseComponent;
29905
+ exports["ɵlg"] = TransactionQuickAccessGoodsAllocationModule;
29906
+ exports["ɵlh"] = TransactionQuickAccessGoodsAllocationComponent;
29907
+ exports["ɵli"] = TransactionQuickAccessPurchaseOrderOverviewModule;
29908
+ exports["ɵlj"] = TransactionQuickAccessPurchaseOrderOverviewComponent;
29909
+ exports["ɵlk"] = TransactionQuickAccessInvoiceModule;
29910
+ exports["ɵll"] = TransactionQuickAccessInvoiceComponent;
29911
+ exports["ɵlm"] = TransactionOrderConfirmationGridModule;
29912
+ exports["ɵln"] = TransactionOrderConfirmationGridComponent;
29913
+ exports["ɵlo"] = TransactionGridModule;
29914
+ exports["ɵlp"] = TransactionGridComponent;
29915
+ exports["ɵlq"] = TransactionTileModule;
29916
+ exports["ɵlr"] = TransactionTileComponent;
29917
+ exports["ɵls"] = TransactionOverviewLineModule;
29918
+ exports["ɵlt"] = EditableLabelModule;
29919
+ exports["ɵlu"] = EditableLabelComponent;
29920
+ exports["ɵlv"] = TransactionBaseLineModule;
29921
+ exports["ɵlw"] = TransactionBaseLineComponent;
29922
+ exports["ɵlx"] = TransactionLineCommissionButtonModule;
29923
+ exports["ɵly"] = TransactionLineCommissionButtonComponent;
29924
+ exports["ɵlz"] = TransactionLineWarehouseButtonModule;
29656
29925
  exports["ɵm"] = ErrorService;
29657
- exports["ɵma"] = TransactionLineDeliveryButtonModule;
29658
- exports["ɵmb"] = TransactionLineDeliveryButtonComponent;
29659
- exports["ɵmc"] = TransactionLineDeliveryDateButtonModule;
29660
- exports["ɵmd"] = TransactionLineDeliveryDateButtonComponent;
29661
- exports["ɵme"] = TransactionLineAmountModule;
29662
- exports["ɵmf"] = TransactionLineAmountComponent;
29663
- exports["ɵmg"] = TransactionLineVatButtonModule;
29664
- exports["ɵmh"] = TransactionLineVatButtonComponent;
29665
- exports["ɵmi"] = TransactionLineDiscountButtonModule;
29666
- exports["ɵmj"] = TransactionLineDiscountButtonComponent;
29667
- exports["ɵmk"] = TransactionOverviewLineComponent;
29668
- exports["ɵml"] = TransactionOrderDeliveryLineModule;
29669
- exports["ɵmm"] = TransactionOrderDeliveryLineComponent;
29670
- exports["ɵmn"] = TransactionOrderDeliveryLineBaseComponent;
29671
- exports["ɵmo"] = TransactionReceiveGoodsLineModule;
29672
- exports["ɵmp"] = TransactionPrintPackageStickerModule;
29673
- exports["ɵmq"] = TransactionPrintPackageStickerComponent;
29674
- exports["ɵmr"] = TransactionReceiveGoodsLineComponent;
29675
- exports["ɵms"] = TransactionReceiveGoodsLineBaseComponent;
29676
- exports["ɵmt"] = TransactionPurchaseLineModule;
29677
- exports["ɵmu"] = TransactionNavigationButtonModule;
29678
- exports["ɵmv"] = TransactionNavigationButtonComponent;
29679
- exports["ɵmw"] = TransactionLineDropShipmentButtonModule;
29680
- exports["ɵmx"] = TransactionLineDropShipmentButtonComponent;
29681
- exports["ɵmy"] = TransactionPurchaseLineComponent;
29682
- exports["ɵmz"] = TransactionPurchaseLineBaseComponent;
29926
+ exports["ɵma"] = TransactionLineWarehouseButtonComponent;
29927
+ exports["ɵmb"] = TransactionLineDeliveryButtonModule;
29928
+ exports["ɵmc"] = TransactionLineDeliveryButtonComponent;
29929
+ exports["ɵmd"] = TransactionLineDeliveryDateButtonModule;
29930
+ exports["ɵme"] = TransactionLineDeliveryDateButtonComponent;
29931
+ exports["ɵmf"] = TransactionLineAmountModule;
29932
+ exports["ɵmg"] = TransactionLineAmountComponent;
29933
+ exports["ɵmh"] = TransactionLineVatButtonModule;
29934
+ exports["ɵmi"] = TransactionLineVatButtonComponent;
29935
+ exports["ɵmj"] = TransactionLineDiscountButtonModule;
29936
+ exports["ɵmk"] = TransactionLineDiscountButtonComponent;
29937
+ exports["ɵml"] = TransactionOverviewLineComponent;
29938
+ exports["ɵmm"] = TransactionOrderDeliveryLineModule;
29939
+ exports["ɵmn"] = TransactionOrderDeliveryLineComponent;
29940
+ exports["ɵmo"] = TransactionOrderDeliveryLineBaseComponent;
29941
+ exports["ɵmp"] = TransactionReceiveGoodsLineModule;
29942
+ exports["ɵmq"] = TransactionPrintPackageStickerModule;
29943
+ exports["ɵmr"] = TransactionPrintPackageStickerComponent;
29944
+ exports["ɵms"] = TransactionReceiveGoodsLineComponent;
29945
+ exports["ɵmt"] = TransactionReceiveGoodsLineBaseComponent;
29946
+ exports["ɵmu"] = TransactionPurchaseLineModule;
29947
+ exports["ɵmv"] = TransactionNavigationButtonModule;
29948
+ exports["ɵmw"] = TransactionNavigationButtonComponent;
29949
+ exports["ɵmx"] = TransactionLineDropShipmentButtonModule;
29950
+ exports["ɵmy"] = TransactionLineDropShipmentButtonComponent;
29951
+ exports["ɵmz"] = TransactionPurchaseLineComponent;
29683
29952
  exports["ɵn"] = SelectSingleCacheService;
29684
- exports["ɵna"] = TransactionInvoiceLineModule;
29685
- exports["ɵnb"] = TransactionInvoiceLineComponent;
29686
- exports["ɵnc"] = TransactionInvoiceLineBaseComponent;
29687
- exports["ɵnd"] = TransactionGoodsAllocationLineModule;
29688
- exports["ɵne"] = TransactionGoodsAllocationLineComponent;
29689
- exports["ɵnf"] = TransactionPurchaseOrderLineModule;
29690
- exports["ɵng"] = TransactionPurchasePortalLineConfirmedPriceModule;
29691
- exports["ɵnh"] = TransactionPurchasePortalLineConfirmedPriceComponent;
29692
- exports["ɵni"] = TransactionPurchasePortalLineGrossOrderPriceModule;
29693
- exports["ɵnj"] = TransactionPurchasePortalLineGrossOrderPriceComponent;
29694
- exports["ɵnk"] = TransactionPurchasePortalLineNetOrderPriceModule;
29695
- exports["ɵnl"] = TransactionPurchasePortalLineNetOrderPriceComponent;
29696
- exports["ɵnm"] = TransactionPurchasePortalLineDeliveryDateModule;
29697
- exports["ɵnn"] = TransactionPurchasePortalLineDeliveryDateComponent;
29698
- exports["ɵno"] = TransactionPurchasePortalLineConfirmedDeliveryDateModule;
29699
- exports["ɵnp"] = TransactionPurchasePortalLineConfirmedDeliveryDateComponent;
29700
- exports["ɵnq"] = TransactionPurchaseOrderLineComponent;
29701
- exports["ɵnr"] = TransactionPurchaseOrderLineBaseComponent;
29702
- exports["ɵns"] = TransactionPurchaseOverviewLineModule;
29703
- exports["ɵnt"] = TransactionNavigationButtonListModule;
29704
- exports["ɵnu"] = TransactionNavigationButtonListComponent;
29705
- exports["ɵnv"] = TransactionPurchaseOverviewLineComponent;
29706
- exports["ɵnw"] = TransactionCardModule;
29707
- exports["ɵnx"] = TransactionCardPurchaseOverviewModule;
29708
- exports["ɵny"] = TransactionCardHeaderModule;
29709
- exports["ɵnz"] = TransactionCardHeaderComponent;
29953
+ exports["ɵna"] = TransactionPurchaseLineBaseComponent;
29954
+ exports["ɵnb"] = TransactionInvoiceLineModule;
29955
+ exports["ɵnc"] = TransactionInvoiceLineComponent;
29956
+ exports["ɵnd"] = TransactionInvoiceLineBaseComponent;
29957
+ exports["ɵne"] = TransactionGoodsAllocationLineModule;
29958
+ exports["ɵnf"] = TransactionGoodsAllocationLineComponent;
29959
+ exports["ɵng"] = TransactionPurchaseOrderLineModule;
29960
+ exports["ɵnh"] = TransactionPurchasePortalLineConfirmedPriceModule;
29961
+ exports["ɵni"] = TransactionPurchasePortalLineConfirmedPriceComponent;
29962
+ exports["ɵnj"] = TransactionPurchasePortalLineGrossOrderPriceModule;
29963
+ exports["ɵnk"] = TransactionPurchasePortalLineGrossOrderPriceComponent;
29964
+ exports["ɵnl"] = TransactionPurchasePortalLineNetOrderPriceModule;
29965
+ exports["ɵnm"] = TransactionPurchasePortalLineNetOrderPriceComponent;
29966
+ exports["ɵnn"] = TransactionPurchasePortalLineDeliveryDateModule;
29967
+ exports["ɵno"] = TransactionPurchasePortalLineDeliveryDateComponent;
29968
+ exports["ɵnp"] = TransactionPurchasePortalLineConfirmedDeliveryDateModule;
29969
+ exports["ɵnq"] = TransactionPurchasePortalLineConfirmedDeliveryDateComponent;
29970
+ exports["ɵnr"] = TransactionPurchaseOrderLineComponent;
29971
+ exports["ɵns"] = TransactionPurchaseOrderLineBaseComponent;
29972
+ exports["ɵnt"] = TransactionPurchaseOverviewLineModule;
29973
+ exports["ɵnu"] = TransactionNavigationButtonListModule;
29974
+ exports["ɵnv"] = TransactionNavigationButtonListComponent;
29975
+ exports["ɵnw"] = TransactionPurchaseOverviewLineComponent;
29976
+ exports["ɵnx"] = TransactionCardModule;
29977
+ exports["ɵny"] = TransactionCardPurchaseOverviewModule;
29978
+ exports["ɵnz"] = TransactionCardHeaderModule;
29710
29979
  exports["ɵo"] = SelectSingleParameterizedCacheService;
29711
- exports["ɵoa"] = TransactionCardFooterModule;
29712
- exports["ɵob"] = TransactionCardFooterComponent;
29713
- exports["ɵoc"] = TransactionCardPurchaseOverviewComponent;
29714
- exports["ɵod"] = TransactionCardSalesOverviewModule;
29715
- exports["ɵoe"] = TransactionCardSalesOverviewComponent;
29716
- exports["ɵof"] = TransactionCardReceiveGoodsModule;
29717
- exports["ɵog"] = TransactionCardReceiveGoodsComponent;
29718
- exports["ɵoh"] = TransactionCardInvoiceModule;
29719
- exports["ɵoi"] = TransactionCardInvoiceComponent;
29720
- exports["ɵoj"] = TransactionCardOrderDeliveryModule;
29721
- exports["ɵok"] = TransactionCardOrderDeliveryComponent;
29722
- exports["ɵol"] = TransactionCardComponent;
29723
- exports["ɵom"] = TransactionTextLineModule;
29724
- exports["ɵon"] = TransactionTextLineComponent;
29725
- exports["ɵoo"] = SearchViewModeService;
29726
- exports["ɵop"] = TransactionSearchSalesOrderTileModule;
29727
- exports["ɵoq"] = TransactionSearchSalesOrderTileComponent;
29728
- exports["ɵor"] = TransactionSearchTileBaseComponent;
29729
- exports["ɵos"] = TransactionSearchPurchaseOrderTileModule;
29730
- exports["ɵot"] = TransactionSearchPurchaseOrderTileComponent;
29731
- exports["ɵou"] = TransactionSearchSalesOrderGridModule;
29732
- exports["ɵov"] = TransactionSearchSalesOrderGridComponent;
29733
- exports["ɵow"] = TransactionSearchGridBaseComponent;
29734
- exports["ɵox"] = TransactionSearchPurchaseOrderGridModule;
29735
- exports["ɵoy"] = TransactionSearchPurchaseOrderGridComponent;
29736
- exports["ɵoz"] = TransactionSearchGridModule;
29980
+ exports["ɵoa"] = TransactionCardHeaderComponent;
29981
+ exports["ɵob"] = TransactionCardFooterModule;
29982
+ exports["ɵoc"] = TransactionCardFooterComponent;
29983
+ exports["ɵod"] = TransactionCardPurchaseOverviewComponent;
29984
+ exports["ɵoe"] = TransactionCardSalesOverviewModule;
29985
+ exports["ɵof"] = TransactionCardSalesOverviewComponent;
29986
+ exports["ɵog"] = TransactionCardReceiveGoodsModule;
29987
+ exports["ɵoh"] = TransactionCardReceiveGoodsComponent;
29988
+ exports["ɵoi"] = TransactionCardInvoiceModule;
29989
+ exports["ɵoj"] = TransactionCardInvoiceComponent;
29990
+ exports["ɵok"] = TransactionCardOrderDeliveryModule;
29991
+ exports["ɵol"] = TransactionCardOrderDeliveryComponent;
29992
+ exports["ɵom"] = TransactionCardComponent;
29993
+ exports["ɵon"] = TransactionTextLineModule;
29994
+ exports["ɵoo"] = TransactionTextLineComponent;
29995
+ exports["ɵop"] = SearchViewModeService;
29996
+ exports["ɵoq"] = TransactionSearchSalesOrderTileModule;
29997
+ exports["ɵor"] = TransactionSearchSalesOrderTileComponent;
29998
+ exports["ɵos"] = TransactionSearchTileBaseComponent;
29999
+ exports["ɵot"] = TransactionSearchPurchaseOrderTileModule;
30000
+ exports["ɵou"] = TransactionSearchPurchaseOrderTileComponent;
30001
+ exports["ɵov"] = TransactionSearchSalesOrderGridModule;
30002
+ exports["ɵow"] = TransactionSearchSalesOrderGridComponent;
30003
+ exports["ɵox"] = TransactionSearchGridBaseComponent;
30004
+ exports["ɵoy"] = TransactionSearchPurchaseOrderGridModule;
30005
+ exports["ɵoz"] = TransactionSearchPurchaseOrderGridComponent;
29737
30006
  exports["ɵp"] = ArticleConnectorService;
29738
- exports["ɵpa"] = TransactionSearchGridComponent;
29739
- exports["ɵpb"] = TransactionSearchTileModule;
29740
- exports["ɵpc"] = TransactionSearchTileComponent;
29741
- exports["ɵpd"] = TransactionSalesOrderFilterModule;
29742
- exports["ɵpe"] = TransactionSalesOrderFilterContentOrderModule;
29743
- exports["ɵpf"] = TransactionFilterItemModule;
29744
- exports["ɵpg"] = TransactionFilterItemComponent;
29745
- exports["ɵph"] = TransactionSalesOrderFilterContentOrderComponent;
29746
- exports["ɵpi"] = TransactionFilterContentBaseComponent;
29747
- exports["ɵpj"] = FilterRequestService;
29748
- exports["ɵpk"] = TransactionSalesOrderFilterContentLogisticsModule;
29749
- exports["ɵpl"] = TransactionFilterHistoricStateModule;
29750
- exports["ɵpm"] = TransactionFilterHistoricStateComponent;
29751
- exports["ɵpn"] = TransactionSalesOrderFilterContentLogisticsComponent;
29752
- exports["ɵpo"] = TransactionSalesOrderFilterContentArticleModule;
29753
- exports["ɵpp"] = TransactionSalesOrderFilterContentArticleComponent;
29754
- exports["ɵpq"] = TransactionSalesOrderFilterComponent;
29755
- exports["ɵpr"] = TransactionFilterBaseComponent;
29756
- exports["ɵps"] = TransactionPurchaseOrderFilterModule;
29757
- exports["ɵpt"] = TransactionPurchaseOrderFilterContentOrderModule;
29758
- exports["ɵpu"] = TransactionPurchaseOrderFilterContentOrderComponent;
29759
- exports["ɵpv"] = TransactionPurchaseOrderFilterContentLogisticsModule;
29760
- exports["ɵpw"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
29761
- exports["ɵpx"] = TransactionPurchaseOrderFilterContentArticleModule;
29762
- exports["ɵpy"] = TransactionPurchaseOrderFilterContentArticleComponent;
29763
- exports["ɵpz"] = TransactionPurchaseOrderFilterComponent;
30007
+ exports["ɵpa"] = TransactionSearchGridModule;
30008
+ exports["ɵpb"] = TransactionSearchGridComponent;
30009
+ exports["ɵpc"] = TransactionSearchTileModule;
30010
+ exports["ɵpd"] = TransactionSearchTileComponent;
30011
+ exports["ɵpe"] = TransactionSalesOrderFilterModule;
30012
+ exports["ɵpf"] = TransactionSalesOrderFilterContentOrderModule;
30013
+ exports["ɵpg"] = TransactionFilterItemModule;
30014
+ exports["ɵph"] = TransactionFilterItemComponent;
30015
+ exports["ɵpi"] = TransactionSalesOrderFilterContentOrderComponent;
30016
+ exports["ɵpj"] = TransactionFilterContentBaseComponent;
30017
+ exports["ɵpk"] = FilterRequestService;
30018
+ exports["ɵpl"] = TransactionSalesOrderFilterContentLogisticsModule;
30019
+ exports["ɵpm"] = TransactionFilterHistoricStateModule;
30020
+ exports["ɵpn"] = TransactionFilterHistoricStateComponent;
30021
+ exports["ɵpo"] = TransactionSalesOrderFilterContentLogisticsComponent;
30022
+ exports["ɵpp"] = TransactionSalesOrderFilterContentArticleModule;
30023
+ exports["ɵpq"] = TransactionSalesOrderFilterContentArticleComponent;
30024
+ exports["ɵpr"] = TransactionSalesOrderFilterComponent;
30025
+ exports["ɵps"] = TransactionFilterBaseComponent;
30026
+ exports["ɵpt"] = TransactionPurchaseOrderFilterModule;
30027
+ exports["ɵpu"] = TransactionPurchaseOrderFilterContentOrderModule;
30028
+ exports["ɵpv"] = TransactionPurchaseOrderFilterContentOrderComponent;
30029
+ exports["ɵpw"] = TransactionPurchaseOrderFilterContentLogisticsModule;
30030
+ exports["ɵpx"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
30031
+ exports["ɵpy"] = TransactionPurchaseOrderFilterContentArticleModule;
30032
+ exports["ɵpz"] = TransactionPurchaseOrderFilterContentArticleComponent;
29764
30033
  exports["ɵq"] = RelationConnectorService;
29765
- exports["ɵqa"] = SearchFeatureModule;
29766
- exports["ɵqb"] = SearchHeaderButtonsModule;
29767
- exports["ɵqc"] = SearchHeaderButtonsComponent;
29768
- exports["ɵqd"] = SearchFilterPanelModule;
29769
- exports["ɵqe"] = SearchFilterPanelComponent;
29770
- exports["ɵqf"] = SearchComponent;
29771
- exports["ɵqg"] = TransactionTagComponent;
30034
+ exports["ɵqa"] = TransactionPurchaseOrderFilterComponent;
30035
+ exports["ɵqb"] = SearchFeatureModule;
30036
+ exports["ɵqc"] = SearchHeaderButtonsModule;
30037
+ exports["ɵqd"] = SearchHeaderButtonsComponent;
30038
+ exports["ɵqe"] = SearchFilterPanelModule;
30039
+ exports["ɵqf"] = SearchFilterPanelComponent;
30040
+ exports["ɵqg"] = SearchComponent;
30041
+ exports["ɵqh"] = TransactionTagComponent;
29772
30042
  exports["ɵr"] = CoreModule;
29773
30043
  exports["ɵs"] = ConfirmationDialogModule;
29774
30044
  exports["ɵt"] = PipeModule;