@colijnit/transaction 258.1.12 → 258.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/colijnit-transaction.umd.js +10 -10
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-amount.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-invoice-check-order-tile/transaction-invoice-check-order-tile.component.js +24 -25
- package/esm2015/lib/interface/invoice-check-order.interface.js +1 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +27 -28
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-invoice-check-order-tile/transaction-invoice-check-order-tile.component.d.ts +2 -2
- package/lib/interface/invoice-check-order.interface.d.ts +1 -1
- 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 = "258.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "258.1.14";
|
|
37
|
+
this.publishDate = "9-5-2025 16:55:37";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -35469,7 +35469,7 @@
|
|
|
35469
35469
|
TransactionLineAmountComponent.prototype._setIsImportFromExternalCatalog = function () {
|
|
35470
35470
|
var _this = this;
|
|
35471
35471
|
if (this.transactionLine && this.orderLineSets && this.orderLineSets.length > 0) {
|
|
35472
|
-
var orderLineSet = this.orderLineSets.find(function (o) { return o.orderLineSetCode
|
|
35472
|
+
var orderLineSet = this.orderLineSets.find(function (o) { return o.orderLineSetCode === _this.transactionLine.orderLineSetCode; });
|
|
35473
35473
|
if (orderLineSet.aupOrderNr || orderLineSet.aupShoppingCartId || orderLineSet.vdProjectId || orderLineSet.wtProjectNr || orderLineSet.hdVariantId) {
|
|
35474
35474
|
this.isImportFromCatalog = true;
|
|
35475
35475
|
}
|
|
@@ -55496,7 +55496,7 @@
|
|
|
55496
55496
|
DialogCatalogComponent.prototype.checkIfOpeningIsAllowed = function () {
|
|
55497
55497
|
var _this = this;
|
|
55498
55498
|
if (this.transaction.transactionInfo.orderLineSets && this.transaction.transactionInfo.orderLineSets.length > 0) {
|
|
55499
|
-
var orderLineSetCodes_1 = this.transaction.transactionInfo.orderLineSets.filter(function (o) { return o.catalogId
|
|
55499
|
+
var orderLineSetCodes_1 = this.transaction.transactionInfo.orderLineSets.filter(function (o) { return o.catalogId === _this.catalogDefinition.getId(); }).map(function (o) { return o.orderLineSetCode; });
|
|
55500
55500
|
this.transaction.transactionLines.forEach(function (l) {
|
|
55501
55501
|
if ((orderLineSetCodes_1.findIndex(function (c) { return c === l.orderLineSetCode; }) >= 0)
|
|
55502
55502
|
&& l.articleLineStatus && l.articleLineStatus.hasOwnProperty('quantityOrdered') && l.articleLineStatus.quantityOrdered > 0) {
|
|
@@ -64729,25 +64729,25 @@
|
|
|
64729
64729
|
this.iconCacheService = iconCacheService;
|
|
64730
64730
|
this.icons = Icon;
|
|
64731
64731
|
this.selected = false;
|
|
64732
|
-
this.invoiceCheckOrderSelectEvent = new i0.EventEmitter();
|
|
64733
64732
|
this.lineSelectedEvent = new i0.EventEmitter();
|
|
64733
|
+
this.saveRowEvent = new i0.EventEmitter();
|
|
64734
64734
|
this.selectAllLinesEvent = new i0.EventEmitter();
|
|
64735
64735
|
}
|
|
64736
64736
|
TransactionInvoiceCheckOrderTileComponent.prototype.showClass = function () {
|
|
64737
64737
|
return true;
|
|
64738
64738
|
};
|
|
64739
|
-
TransactionInvoiceCheckOrderTileComponent.prototype.handleInvoiceCheckOrderSelected = function (value) {
|
|
64740
|
-
this.invoiceCheckOrderSelectEvent.emit(value);
|
|
64741
|
-
};
|
|
64742
64739
|
TransactionInvoiceCheckOrderTileComponent.prototype.handleLineSelected = function (selected, line) {
|
|
64743
64740
|
this.lineSelectedEvent.emit({ selected: selected, lineNumber: line.lineNumber });
|
|
64744
64741
|
};
|
|
64742
|
+
TransactionInvoiceCheckOrderTileComponent.prototype.handleSaveRow = function (row) {
|
|
64743
|
+
this.saveRowEvent.emit(row);
|
|
64744
|
+
};
|
|
64745
64745
|
return TransactionInvoiceCheckOrderTileComponent;
|
|
64746
64746
|
}());
|
|
64747
64747
|
TransactionInvoiceCheckOrderTileComponent.decorators = [
|
|
64748
64748
|
{ type: i0.Component, args: [{
|
|
64749
64749
|
selector: "co-transaction-invoice-check-order-tile",
|
|
64750
|
-
template: "\n <div class=\"row\">\n <div class=\"transaction-tile-wrapper\">\n <div class=\"tile\">\n <div class=\"tile-header\">\n <div class=\"tile-upper-left\">\n <div class=\"header\">\n <
|
|
64750
|
+
template: "\n <div class=\"row\">\n <div class=\"transaction-tile-wrapper\">\n <div class=\"tile\">\n <div class=\"tile-header\">\n <div class=\"tile-upper-left\">\n <div class=\"header\">\n <span class=\"bold\" [textContent]=\"invoiceCheckOrder.transNo\"></span>\n </div>\n </div>\n <div class=\"tile-upper-right\">\n \n </div>\n </div>\n <div class=\"tile-body\">\n <div class=\"tile-middle-left\">\n <div class=\"row center\">\n<!-- <span class=\"title\" [textContent]=\"'CUSTOMER_NAME' | localize\"></span>-->\n <span class=\"bold center-align\"\n [textContent]=\"invoiceCheckOrder.customerName\"></span>\n </div>\n </div>\n <div class=\"tile-middle-middle\">\n\n </div>\n <div class=\"tile-middle-right\"></div>\n </div>\n <div class=\"tile-footer\">\n <div class=\"tile-bottom-left order-info-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularCartShoppingClock)\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"invoiceCheckOrder.plannedDeliveryDate | date:'dd MMM yyyy'\"></span>\n </div>\n </div>\n <div class=\"tile-bottom-left order-info-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularTruckMovingClock)\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"invoiceCheckOrder.confirmedDeliveryDate | date:'dd MMM yyyy'\"></span>\n </div>\n </div>\n <div class=\"tile-bottom-left order-info-section\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.RegularWarehouseClock)\"></co-icon>\n <div class=\"value\">\n <span [textContent]=\"invoiceCheckOrder.transactionDate | date:'dd MMM yyyy'\"></span></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"grid-wrapper\">\n <span (click)=\"selectAllLinesEvent.emit()\" [textContent]=\"'SELECT_ALL' | localize\"></span>\n <co-simple-grid [data]=\"invoiceCheckOrder?.orderLines\" [rowsPerPage]=\"8\" [inlineEdit]=\"true\" (saveRow)=\"handleSaveRow($event)\">\n <co-simple-grid-column>\n <ng-template #template let-row=\"row\">\n <co-input-checkbox (modelChange)=\"handleLineSelected($event, row)\" [(model)]=\"row['selected']\"></co-input-checkbox>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['amountOrdered']\"></span>\n </ng-template>\n </co-simple-grid-column>\n\n <co-simple-grid-column [headerText]=\"'ARTICLE_DESCRIPTION' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['articleDescription']\"></span>\n </ng-template>\n </co-simple-grid-column>\n\n <co-simple-grid-column [headerText]=\"'ARTICLE_NUMBER' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['articleNumber']\"></span>\n </ng-template>\n </co-simple-grid-column>\n\n <co-simple-grid-column [headerText]=\"'AMOUNT_RECEIVED' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['amountReceived']\"></span>\n </ng-template>\n </co-simple-grid-column>\n\n <co-simple-grid-column [headerText]=\"'AMOUNT_CHECKED' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['checked']\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT_TO_CHECK' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['toCheck']\"></span>\n </ng-template>\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text *ngIf=\"row['selected']\" [type]=\"'number'\" [(model)]=\"row['toCheck']\"></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n \n <co-simple-grid-column [headerText]=\"'BOOKING_PRICE' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row['bookingPrice'] | coCurrency: true\"></span>\n </ng-template>\n <ng-template #editTemplate let-row=\"row\">\n <co-input-text *ngIf=\"row['selected']\" [type]=\"'number'\" [(model)]=\"row['bookingPrice']\"></co-input-text>\n </ng-template>\n </co-simple-grid-column>\n \n \n </co-simple-grid>\n </div>\n </div>\n ",
|
|
64751
64751
|
encapsulation: i0.ViewEncapsulation.None
|
|
64752
64752
|
},] }
|
|
64753
64753
|
];
|
|
@@ -64757,8 +64757,8 @@
|
|
|
64757
64757
|
TransactionInvoiceCheckOrderTileComponent.propDecorators = {
|
|
64758
64758
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-invoice-check-order-tile",] }],
|
|
64759
64759
|
invoiceCheckOrder: [{ type: i0.Input }],
|
|
64760
|
-
invoiceCheckOrderSelectEvent: [{ type: i0.Output }],
|
|
64761
64760
|
lineSelectedEvent: [{ type: i0.Output }],
|
|
64761
|
+
saveRowEvent: [{ type: i0.Output }],
|
|
64762
64762
|
selectAllLinesEvent: [{ type: i0.Output }]
|
|
64763
64763
|
};
|
|
64764
64764
|
|