@colijnit/transaction 258.1.13 → 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 +4 -4
- package/bundles/colijnit-transaction.umd.js.map +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/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +4 -4
- package/fesm2015/colijnit-transaction.js.map +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 = "9-5-2025 16:
|
|
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) {
|