@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.
@@ -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.57";
37
- this.publishDate = "08/05/2025, 16:24:28";
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 = _this.transactionLine.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 = _this.catalogDefinition.getId(); }).map(function (o) { return o.orderLineSetCode; });
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) {