@colijnit/transaction 256.1.84 → 256.1.85

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 = "256.1.84";
37
- this.publishDate = "7-5-2025 18:01:49";
36
+ this.symVer = "256.1.85";
37
+ this.publishDate = "9-5-2025 17:13:20";
38
38
  }
39
39
  return Version;
40
40
  }());
@@ -34535,7 +34535,7 @@
34535
34535
  TransactionLineAmountComponent.prototype._setIsImportFromExternalCatalog = function () {
34536
34536
  var _this = this;
34537
34537
  if (this.transactionLine && this.orderLineSets && this.orderLineSets.length > 0) {
34538
- var orderLineSet = this.orderLineSets.find(function (o) { return o.orderLineSetCode = _this.transactionLine.orderLineSetCode; });
34538
+ var orderLineSet = this.orderLineSets.find(function (o) { return o.orderLineSetCode === _this.transactionLine.orderLineSetCode; });
34539
34539
  if (orderLineSet.aupOrderNr || orderLineSet.aupShoppingCartId || orderLineSet.vdProjectId || orderLineSet.wtProjectNr || orderLineSet.hdVariantId) {
34540
34540
  this.isImportFromCatalog = true;
34541
34541
  }
@@ -53975,7 +53975,7 @@
53975
53975
  DialogCatalogComponent.prototype.checkIfOpeningIsAllowed = function () {
53976
53976
  var _this = this;
53977
53977
  if (this.transaction.transactionInfo.orderLineSets && this.transaction.transactionInfo.orderLineSets.length > 0) {
53978
- var orderLineSetCodes_1 = this.transaction.transactionInfo.orderLineSets.filter(function (o) { return o.catalogId = _this.catalogDefinition.getId(); }).map(function (o) { return o.orderLineSetCode; });
53978
+ var orderLineSetCodes_1 = this.transaction.transactionInfo.orderLineSets.filter(function (o) { return o.catalogId === _this.catalogDefinition.getId(); }).map(function (o) { return o.orderLineSetCode; });
53979
53979
  this.transaction.transactionLines.forEach(function (l) {
53980
53980
  if ((orderLineSetCodes_1.findIndex(function (c) { return c === l.orderLineSetCode; }) >= 0)
53981
53981
  && l.articleLineStatus && l.articleLineStatus.hasOwnProperty('quantityOrdered') && l.articleLineStatus.quantityOrdered > 0) {