@colijnit/transaction 255.1.62 → 255.1.67

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 (17) hide show
  1. package/bundles/colijnit-transaction.umd.js +21 -15
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.metadata.json +1 -1
  4. package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line-base.component.js +2 -2
  5. package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.js +11 -6
  6. package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line-base.component.js +7 -2
  7. package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +11 -6
  8. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +2 -2
  9. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +2 -2
  10. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +2 -2
  11. package/esm2015/lib/component/transaction-send-documents/transaction-send-documents.component.js +6 -5
  12. package/esm2015/lib/service/transaction.service.js +3 -3
  13. package/esm2015/lib/transaction-version.js +3 -3
  14. package/fesm2015/colijnit-transaction.js +39 -23
  15. package/fesm2015/colijnit-transaction.js.map +1 -1
  16. package/lib/component/transaction-send-documents/transaction-send-documents.component.d.ts +1 -0
  17. package/package.json +1 -1
@@ -33,8 +33,8 @@
33
33
  function Version() {
34
34
  this.name = "@colijnit/transaction";
35
35
  this.description = "Colijn IT transaction package";
36
- this.symVer = "255.1.62";
37
- this.publishDate = "27/11/2024, 13:50:14";
36
+ this.symVer = "255.1.67";
37
+ this.publishDate = "20/12/2024, 14:37:46";
38
38
  }
39
39
  return Version;
40
40
  }());
@@ -17770,7 +17770,7 @@
17770
17770
  return __awaiter(this, void 0, void 0, function () {
17771
17771
  var selectedLines, receivedGoodsRequest_1;
17772
17772
  return __generator(this, function (_a) {
17773
- selectedLines = this.currentTransaction.transactionLines.filter(function (line) { return line.selected && line.articleLineStatus.quantityToReceive > 0; });
17773
+ selectedLines = this.currentTransaction.transactionLines.filter(function (line) { return line.selected; });
17774
17774
  if (selectedLines.length > 0) {
17775
17775
  receivedGoodsRequest_1 = new receiveGoodsForPurchaseOrderRequest_bo.ReceiveGoodsForPurchaseOrderRequest();
17776
17776
  receivedGoodsRequest_1.transId = this.currentTransaction.transactionInfo.id;
@@ -17803,7 +17803,7 @@
17803
17803
  return __awaiter(this, void 0, void 0, function () {
17804
17804
  var selectedLines, allocateGoodsRequest_1;
17805
17805
  return __generator(this, function (_a) {
17806
- selectedLines = this.currentTransaction.transactionLines.filter(function (line) { return line.selected && line.quantityToAllocate > 0; });
17806
+ selectedLines = this.currentTransaction.transactionLines.filter(function (line) { return line.selected; });
17807
17807
  if (selectedLines.length > 0) {
17808
17808
  allocateGoodsRequest_1 = new allocateGoodsForSalesOrderRequest.AllocateGoodsForSalesOrderRequest();
17809
17809
  allocateGoodsRequest_1.transId = this.currentTransaction.transactionInfo.id;
@@ -23077,7 +23077,7 @@
23077
23077
  TransactionQuickAccessReceivedGoodsComponent.decorators = [
23078
23078
  { type: i0.Component, args: [{
23079
23079
  selector: "co-transaction-quick-access-received-goods",
23080
- template: "\n <div class=\"quick-access-wrapper\" *ngIf=\"!hideQuickAccessContent\">\n <co-input-checkbox\n class=\"checkbox-wrapper\"\n [(model)]=\"localCheckboxState\"\n (modelChange)=\"handleSelectAllLines($event)\"\n ></co-input-checkbox>\n <co-input-date\n [placeholder]=\"'RECEIVED_DATE' | localize\"\n [(model)]=\"commitDate\"\n ></co-input-date>\n <co-input-text\n [placeholder]=\"'PACKING_SLIP' | localize\"\n [(model)]=\"packingSlipNr\"\n ></co-input-text>\n <co-transaction-labeled-warehouse-location-button\n *ngIf=\"internalParamMLocat && showWarehouseLocationButton\"\n [locationNr]=\"globalWarehouseLocation\"\n [warehouseNumber]=\"warehouseNumber\"\n (locationNrChange)=\"handleGlobalLocationChange($event)\"\n ></co-transaction-labeled-warehouse-location-button>\n <co-quick-send-button\n [showSendMethodIcon]=\"false\"\n [icon]=\"icons.CheckDuotone\"\n [showLoader]=\"this.showProcessingLoader\"\n [title]=\"'PROCESS'\"\n (sendIconClicked)=\"handleCommitEvent()\"\n (openSendMethodDialog)=\"showSendMethodDialog = true\"\n ></co-quick-send-button>\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 ",
23080
+ template: "\n <div class=\"quick-access-wrapper\" *ngIf=\"!hideQuickAccessContent\">\n <co-input-checkbox\n class=\"checkbox-wrapper\"\n [(model)]=\"localCheckboxState\"\n (modelChange)=\"handleSelectAllLines($event)\"\n ></co-input-checkbox>\n <co-input-date\n [placeholder]=\"'RECEIVED_DATE' | localize\"\n [(model)]=\"commitDate\"\n ></co-input-date>\n <co-input-text\n [placeholder]=\"'PACKING_SLIP' | localize\"\n [(model)]=\"packingSlipNr\"\n ></co-input-text>\n <co-transaction-labeled-warehouse-location-button\n *ngIf=\"internalParamMLocat && showWarehouseLocationButton\"\n [locationNr]=\"globalWarehouseLocation\"\n [warehouseNumber]=\"warehouseNumber\"\n (locationNrChange)=\"handleGlobalLocationChange($event)\"\n ></co-transaction-labeled-warehouse-location-button>\n <co-quick-send-button\n [showSendMethodIcon]=\"false\"\n [icon]=\"icons.CheckDuotone\"\n [showLoader]=\"showProcessingLoader\"\n [title]=\"'PROCESS'\"\n (sendIconClicked)=\"handleCommitEvent()\"\n (openSendMethodDialog)=\"showSendMethodDialog = true\"\n ></co-quick-send-button>\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 ",
23081
23081
  encapsulation: i0.ViewEncapsulation.None
23082
23082
  },] }
23083
23083
  ];
@@ -23090,6 +23090,7 @@
23090
23090
  function TransactionSendDocumentsComponent() {
23091
23091
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
23092
23092
  _this.showDialog = false;
23093
+ _this.LayoutCode = layoutCode_enum.LayoutCode;
23093
23094
  return _this;
23094
23095
  }
23095
23096
  TransactionSendDocumentsComponent.prototype.showClass = function () {
@@ -23103,10 +23104,10 @@
23103
23104
  };
23104
23105
  TransactionSendDocumentsComponent.prototype.getHistoricDocuments = function () {
23105
23106
  var _this = this;
23106
- this.transactionService.getHistoricDocuments(this.transactionInfo.id, this.getLayoutCode())
23107
- .then(function (result) {
23107
+ this.transactionService.getHistoricDocuments(this.transactionInfo.id, this.getLayoutCode()).then(function (result) {
23108
23108
  if (result) {
23109
23109
  _this.historicReports = result;
23110
+ _this.detectChanges();
23110
23111
  }
23111
23112
  });
23112
23113
  };
@@ -23115,11 +23116,11 @@
23115
23116
  if (this.selected) {
23116
23117
  this.activeReport = null;
23117
23118
  this.selected = false;
23118
- this.detectChanges();
23119
23119
  }
23120
23120
  else {
23121
23121
  this.showDialog = !this.showDialog;
23122
23122
  }
23123
+ this.detectChanges();
23123
23124
  }
23124
23125
  };
23125
23126
  TransactionSendDocumentsComponent.prototype.handleShowHistoricDocumentLines = function (historicReport) {
@@ -23159,7 +23160,7 @@
23159
23160
  TransactionSendDocumentsComponent.decorators = [
23160
23161
  { type: i0.Component, args: [{
23161
23162
  selector: "co-transaction-send-documents",
23162
- template: "\n <div class=\"send-documents-wrapper\" *ngIf=\"historicReports?.length > 0\">\n <div class=\"amount-send-indicator\">\n <span [textContent]=\"historicReports.length\"></span>\n </div>\n <div class=\"send-button\" [class.no-pointer]=\"historicReports.length === 0\"\n [class.selected]=\"selected\"\n (click)=\"toggleSendDocumentsDialog()\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.FileCircleInfoSolid)\"></co-icon>\n <span [textContent]=\"'SENT' | localize\"></span>\n </div>\n <co-dialog-wizard *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-container header>\n <div class=\"dialog-title\" [textContent]=\"'ALREADY_SENT' | localize\"></div>\n </ng-container>\n <div class=\"dialog-container\">\n <div class=\"historic-report-line\" *ngFor=\"let report of historicReports\" (click)=\"handleShowHistoricDocumentLines(report)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(getSendMethodIcon(report))\"></co-icon>\n <span [textContent]=\"report.reportId + ' ' + (report.reportCreationDate | date)\"></span>\n </div>\n </div>\n </co-dialog-wizard>\n </div>\n ",
23163
+ template: "\n <div class=\"send-documents-wrapper\" *ngIf=\"historicReports?.length > 0\">\n <div class=\"amount-send-indicator\">\n <span [textContent]=\"historicReports.length\"></span>\n </div>\n <div class=\"send-button\" [class.no-pointer]=\"historicReports.length === 0\"\n [class.selected]=\"selected\"\n (click)=\"toggleSendDocumentsDialog()\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.FileCircleInfoSolid)\"></co-icon>\n <span [textContent]=\"'SENT' | localize\"></span>\n </div>\n <co-dialog-wizard *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-container header>\n <div class=\"dialog-title\" [textContent]=\"'ALREADY_SENT' | localize\"></div>\n </ng-container>\n <div class=\"dialog-container\">\n <div class=\"historic-report-line\" *ngFor=\"let report of historicReports\" (click)=\"handleShowHistoricDocumentLines(report)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(getSendMethodIcon(report))\"></co-icon>\n <span [textContent]=\"report.reportId + ' ' + (getLayoutCode() === LayoutCode.Invoice ? report.reportDocNr + ' ' : '') + (report.reportCreationDate | date)\"></span>\n </div>\n </div>\n </co-dialog-wizard>\n </div>\n ",
23163
23164
  encapsulation: i0.ViewEncapsulation.None
23164
23165
  },] }
23165
23166
  ];
@@ -23804,7 +23805,12 @@
23804
23805
  TransactionOrderDeliveryLineBaseComponent.prototype.transactionLineSet = function () {
23805
23806
  _super.prototype.transactionLineSet.call(this);
23806
23807
  if (this.transactionLine.amountSelected === undefined) {
23807
- this.transactionLine.amountSelected = this.transactionLine.amount;
23808
+ if (!this.transactionInfo.allowPartialDelivery) {
23809
+ this.transactionLine.amountSelected = this.transactionLine.amount;
23810
+ }
23811
+ else {
23812
+ this.transactionLine.amountSelected = 0;
23813
+ }
23808
23814
  }
23809
23815
  };
23810
23816
  TransactionOrderDeliveryLineBaseComponent.prototype._checkCheckbox = function () {
@@ -23859,7 +23865,7 @@
23859
23865
  TransactionOrderDeliveryLineComponent.decorators = [
23860
23866
  { type: i0.Component, args: [{
23861
23867
  selector: "co-transaction-order-delivery-line",
23862
- template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n [checkbox]=\"showCheckbox && transactionInfo.transactionDefinitive\"\n [checkboxValue]=\"transactionLine.selected\"\n [checkboxReadonly]=\"checkboxReadonly\"\n (click)=\"handleLineClicked($event)\"\n (checkboxValueChanged)=\"handleSelectCheckboxClick($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\"\n >\n <div class=\"transaction-line-wrapper\" data-action=\"openSidePanel\" [class.transaction-not-definitive]=\"!transactionInfo.transactionDefinitive\">\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <div class=\"column1\">\n <span class=\"transaction-field-label\" [textContent]=\"'WAREHOUSE_AND_STATUS' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-warehouse-button\n [screenConfigurationObject]=\"cfgNames.LineWarehouse\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [readonly]=\"readonly\"></co-transaction-line-warehouse-button>\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"category.SalesOrderDeliveryNote\"></co-transaction-line-statusbar>\n </div>\n <div class=\"column3\">\n <span class=\"transaction-field-label\" [textContent]=\"'DELIVERY_INFORMATION' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-delivery-button\n [screenConfigurationObject]=\"cfgNames.LineDeliveryMethod\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [readonly]=\"readonly\"></co-transaction-line-delivery-button>\n </div>\n </div>\n <div class=\"transaction-line-section\">\n <div class=\"transaction-line-totals\">\n <span class=\"transaction-field-label\" [textContent]=\"'TOTALS_AND_DISCOUNT' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [screenConfigurationObject]=\"cfgNames.LinePrice\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <co-transaction-line-discount-button *ngIf=\"!preview\"\n [screenConfigurationObject]=\"cfgNames.LineDiscount\"\n [configNames]=\"discountConfigNames\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <div class=\"transaction-line-totals-amount\">\n <co-transaction-line-amount class=\"amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineAmount\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-amount>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.displayNetLineTotal | coCurrency: true\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n </div>\n </div>\n </co-transaction-base-line>\n ",
23868
+ template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n [checkbox]=\"showCheckbox && transactionInfo.transactionDefinitive\"\n [checkboxValue]=\"transactionLine.selected\"\n [checkboxReadonly]=\"checkboxReadonly\"\n (click)=\"handleLineClicked($event)\"\n (checkboxValueChanged)=\"handleSelectCheckboxClick($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\"\n >\n <div class=\"transaction-line-wrapper\" data-action=\"openSidePanel\" [class.transaction-not-definitive]=\"!transactionInfo.transactionDefinitive\">\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <div class=\"column1\">\n <span class=\"transaction-field-label\" [textContent]=\"'WAREHOUSE_AND_STATUS' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-warehouse-button\n [screenConfigurationObject]=\"cfgNames.LineWarehouse\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [readonly]=\"readonly\"></co-transaction-line-warehouse-button>\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"category.SalesOrderDeliveryNote\"></co-transaction-line-statusbar>\n </div>\n <div class=\"column3\">\n <span class=\"transaction-field-label\" [textContent]=\"'DELIVERY_INFORMATION' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-delivery-button\n [screenConfigurationObject]=\"cfgNames.LineDeliveryMethod\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [readonly]=\"readonly\"></co-transaction-line-delivery-button>\n </div>\n </div>\n <div class=\"transaction-line-section\">\n <div class=\"transaction-line-totals\">\n <span class=\"transaction-field-label\" [textContent]=\"'TOTALS_AND_DISCOUNT' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [screenConfigurationObject]=\"cfgNames.LinePrice\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <co-transaction-line-discount-button *ngIf=\"!preview\"\n [screenConfigurationObject]=\"cfgNames.LineDiscount\"\n [configNames]=\"discountConfigNames\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <div class=\"transaction-line-totals-amount\">\n <co-input-number-picker class=\"amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineQuantityToDeliver\"\n [(model)]=\"transactionLine.amountSelected\"\n [decimals]=\"decimals\"\n [min]=\"!transactionInfo.allowPartialDelivery ? transactionLine.amount : 0\"\n [max]=\"lineQuantityToDeliver\"\n [readonly]=\"!transactionLine.selected || readonly || !transactionInfo.allowPartialDelivery\"\n (modelChange)=\"updateSelectedQuantity()\"\n >\n </co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.displayNetLineTotal | coCurrency: true\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n </div>\n </div>\n </co-transaction-base-line>\n ",
23863
23869
  encapsulation: i0.ViewEncapsulation.None,
23864
23870
  changeDetection: i0.ChangeDetectionStrategy.OnPush
23865
23871
  },] }
@@ -24028,7 +24034,7 @@
24028
24034
  return selectedLines.map(function (line) {
24029
24035
  var transactionLineReportingRequest = new transactionLineReportingRequest_bo.TransactionLineReportingRequest();
24030
24036
  transactionLineReportingRequest.lineNr = line.lineNr;
24031
- transactionLineReportingRequest.amount = line.articleLineStatus.quantityToDeliver;
24037
+ transactionLineReportingRequest.amount = line.amountSelected;
24032
24038
  return transactionLineReportingRequest;
24033
24039
  });
24034
24040
  };
@@ -25432,7 +25438,7 @@
25432
25438
  return selectedLines.map(function (line) {
25433
25439
  var transactionLineReportingRequest = new transactionLineReportingRequest_bo.TransactionLineReportingRequest();
25434
25440
  transactionLineReportingRequest.lineNr = line.lineNr;
25435
- transactionLineReportingRequest.amount = line.quantityToInvoice;
25441
+ transactionLineReportingRequest.amount = line.amountSelected;
25436
25442
  return transactionLineReportingRequest;
25437
25443
  });
25438
25444
  };
@@ -25494,7 +25500,7 @@
25494
25500
  this.transactionLine.quantityToInvoice = this.lineQuantityToInvoice;
25495
25501
  }
25496
25502
  if (this.transactionLine.amountSelected === undefined) {
25497
- this.transactionLine.amountSelected = this.transactionLine.amount;
25503
+ this.transactionLine.amountSelected = 0;
25498
25504
  }
25499
25505
  };
25500
25506
  TransactionInvoiceLineBaseComponent.prototype.handleLineClicked = function (mouseClick) {
@@ -25589,7 +25595,7 @@
25589
25595
  TransactionInvoiceLineComponent.decorators = [
25590
25596
  { type: i0.Component, args: [{
25591
25597
  selector: "co-transaction-invoice-line",
25592
- template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n [checkboxValue]=\"transactionLine.selected\"\n [checkboxReadonly]=\"checkboxReadonly\"\n [checkbox]=\"showCheckbox && transactionInfo.transactionDefinitive\"\n (click)=\"handleLineClicked($event)\"\n (checkboxValueChanged)=\"handleSelectCheckboxClick($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\"\n >\n <div class=\"transaction-line-wrapper\" [class.transaction-not-definitive]=\"!transactionInfo.transactionDefinitive\">\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <div class=\"column1\">\n <span class=\"transaction-field-label\" [textContent]=\"'WAREHOUSE_AND_STATUS' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-warehouse-button\n [screenConfigurationObject]=\"cfgNames.LineWarehouse\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [readonly]=\"readonly\"></co-transaction-line-warehouse-button>\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"category.SalesOrderInvoice\"></co-transaction-line-statusbar>\n </div>\n <div class=\"column3\">\n <span class=\"transaction-field-label\" [textContent]=\"'DELIVERY_INFORMATION' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-delivery-button\n [screenConfigurationObject]=\"cfgNames.LineDeliveryMethod\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [readonly]=\"readonly\"></co-transaction-line-delivery-button>\n </div>\n </div>\n <div class=\"transaction-line-section\">\n <div class=\"transaction-line-totals\">\n <span class=\"transaction-field-label\" [textContent]=\"'TOTALS_AND_DISCOUNT' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [screenConfigurationObject]=\"cfgNames.LinePrice\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <co-transaction-line-discount-button *ngIf=\"!preview\"\n [screenConfigurationObject]=\"cfgNames.LineDiscount\"\n [configNames]=\"discountConfigNames\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <div class=\"transaction-line-totals-amount\" *ngIf=\"!lineIsInvoiced\">\n <co-transaction-line-amount class=\"amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineQuantityToInvoice\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-amount>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\" *ngIf=\"!lineIsInvoiced\"\n [model]=\"transactionLine.displayNetLineTotal | coCurrency: true\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n </div>\n </div>\n </co-transaction-base-line>\n ",
25598
+ template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n [checkboxValue]=\"transactionLine.selected\"\n [checkboxReadonly]=\"checkboxReadonly\"\n [checkbox]=\"showCheckbox && transactionInfo.transactionDefinitive\"\n (click)=\"handleLineClicked($event)\"\n (checkboxValueChanged)=\"handleSelectCheckboxClick($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\"\n >\n <div class=\"transaction-line-wrapper\" [class.transaction-not-definitive]=\"!transactionInfo.transactionDefinitive\">\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <div class=\"column1\">\n <span class=\"transaction-field-label\" [textContent]=\"'WAREHOUSE_AND_STATUS' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-warehouse-button\n [screenConfigurationObject]=\"cfgNames.LineWarehouse\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [readonly]=\"readonly\"></co-transaction-line-warehouse-button>\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"category.SalesOrderInvoice\"></co-transaction-line-statusbar>\n </div>\n <div class=\"column3\">\n <span class=\"transaction-field-label\" [textContent]=\"'DELIVERY_INFORMATION' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-delivery-button\n [screenConfigurationObject]=\"cfgNames.LineDeliveryMethod\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [readonly]=\"readonly\"></co-transaction-line-delivery-button>\n </div>\n </div>\n <div class=\"transaction-line-section\">\n <div class=\"transaction-line-totals\">\n <span class=\"transaction-field-label\" [textContent]=\"'TOTALS_AND_DISCOUNT' | localize\" *ngIf=\"isFirst\"></span>\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [screenConfigurationObject]=\"cfgNames.LinePrice\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <co-transaction-line-discount-button *ngIf=\"!preview\"\n [screenConfigurationObject]=\"cfgNames.LineDiscount\"\n [configNames]=\"discountConfigNames\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <div class=\"transaction-line-totals-amount\" *ngIf=\"!lineIsInvoiced\">\n <co-input-number-picker class=\"amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineQuantityToInvoice\"\n [(model)]=\"transactionLine.amountSelected\"\n [decimals]=\"decimals\"\n [min]=\"1\"\n [max]=\"lineQuantityToInvoice\"\n [readonly]=\"!transactionLine.selected || readonly\"\n (modelChange)=\"updateSelectedQuantity()\"\n >\n </co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\" *ngIf=\"!lineIsInvoiced\"\n [model]=\"transactionLine.displayNetLineTotal | coCurrency: true\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n </div>\n </div>\n </co-transaction-base-line>\n ",
25593
25599
  encapsulation: i0.ViewEncapsulation.None,
25594
25600
  changeDetection: i0.ChangeDetectionStrategy.OnPush
25595
25601
  },] }