@colijnit/transaction 257.1.57 → 257.1.58
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 = "257.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "257.1.58";
|
|
37
|
+
this.publishDate = "9-5-2025 17:06:39";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -35178,7 +35178,7 @@
|
|
|
35178
35178
|
TransactionLineAmountComponent.prototype._setIsImportFromExternalCatalog = function () {
|
|
35179
35179
|
var _this = this;
|
|
35180
35180
|
if (this.transactionLine && this.orderLineSets && this.orderLineSets.length > 0) {
|
|
35181
|
-
var orderLineSet = this.orderLineSets.find(function (o) { return o.orderLineSetCode
|
|
35181
|
+
var orderLineSet = this.orderLineSets.find(function (o) { return o.orderLineSetCode === _this.transactionLine.orderLineSetCode; });
|
|
35182
35182
|
if (orderLineSet.aupOrderNr || orderLineSet.aupShoppingCartId || orderLineSet.vdProjectId || orderLineSet.wtProjectNr || orderLineSet.hdVariantId) {
|
|
35183
35183
|
this.isImportFromCatalog = true;
|
|
35184
35184
|
}
|
|
@@ -55063,7 +55063,7 @@
|
|
|
55063
55063
|
DialogCatalogComponent.prototype.checkIfOpeningIsAllowed = function () {
|
|
55064
55064
|
var _this = this;
|
|
55065
55065
|
if (this.transaction.transactionInfo.orderLineSets && this.transaction.transactionInfo.orderLineSets.length > 0) {
|
|
55066
|
-
var orderLineSetCodes_1 = this.transaction.transactionInfo.orderLineSets.filter(function (o) { return o.catalogId
|
|
55066
|
+
var orderLineSetCodes_1 = this.transaction.transactionInfo.orderLineSets.filter(function (o) { return o.catalogId === _this.catalogDefinition.getId(); }).map(function (o) { return o.orderLineSetCode; });
|
|
55067
55067
|
this.transaction.transactionLines.forEach(function (l) {
|
|
55068
55068
|
if ((orderLineSetCodes_1.findIndex(function (c) { return c === l.orderLineSetCode; }) >= 0)
|
|
55069
55069
|
&& l.articleLineStatus && l.articleLineStatus.hasOwnProperty('quantityOrdered') && l.articleLineStatus.quantityOrdered > 0) {
|