@colijnit/transaction 254.1.8 → 254.1.9

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 = "254.1.8";
37
- this.publishDate = "30-6-2024 21:46:24";
36
+ this.symVer = "254.1.9";
37
+ this.publishDate = "30-6-2024 22:19:31";
38
38
  }
39
39
  return Version;
40
40
  }());
@@ -52337,14 +52337,13 @@
52337
52337
  case 1:
52338
52338
  //fetch relation and create needed transaction first.
52339
52339
  _a.relation = _b.sent();
52340
+ this.transactionSection.existingTransaction = this._externallyProvidedTransaction;
52341
+ this.transactionSection.existingTransactionLine = this._externallyProvidedTransaction.transactionLines.find(function (l) { return l.lineNr === _this._externallyProvidedLineNr; });
52342
+ this.transactionSection.createOrderWithTransactionLineClicked(false);
52343
+ this.transactionSection.buttonsVisible = false;
52340
52344
  return [4 /*yield*/, this.createService.createServiceOrderWithTransactionLine(Number(this.transactionSection.existingTransaction.transactionInfo.id), Number(this.transactionSection.existingTransactionLine.lineNr))];
52341
52345
  case 2:
52342
52346
  _b.sent();
52343
- //pass the necessary objects to the fields and block inputs that cannot be used in this case.
52344
- this.transactionSection.createOrderWithTransactionLineClicked(false);
52345
- this.transactionSection.buttonsVisible = false;
52346
- this.transactionSection.existingTransaction = this._externallyProvidedTransaction;
52347
- this.transactionSection.existingTransactionLine = this._externallyProvidedTransaction.transactionLines.find(function (l) { return l.lineNr === _this._externallyProvidedLineNr; });
52348
52347
  this.stepper.openToIndex(3);
52349
52348
  _b.label = 3;
52350
52349
  case 3: return [2 /*return*/];