@colijnit/transaction 257.1.14 → 257.1.15

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.
@@ -3,8 +3,8 @@ export class Version {
3
3
  constructor() {
4
4
  this.name = "@colijnit/transaction";
5
5
  this.description = "Colijn IT transaction package";
6
- this.symVer = "257.1.14";
7
- this.publishDate = "14-2-2025 12:37:53";
6
+ this.symVer = "257.1.15";
7
+ this.publishDate = "17-2-2025 17:47:50";
8
8
  }
9
9
  }
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tdmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvdHJhbnNhY3Rpb24tdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx1REFBdUQ7QUFDdkQsTUFBTSxPQUFPLE9BQU87SUFBcEI7UUFDUyxTQUFJLEdBQUcsdUJBQXVCLENBQUM7UUFDL0IsZ0JBQVcsR0FBRywrQkFBK0IsQ0FBQztRQUM5QyxXQUFNLEdBQUcsVUFBVSxDQUFDO1FBQ3BCLGdCQUFXLEdBQUcsb0JBQW9CLENBQUM7SUFDNUMsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gdGhpcyBmaWxlIGlzIGR5bmFtaWNhbGx5IGNyZWF0ZWQsIGRvIG5vdCBjaGFuZ2UgdGhpc1xuZXhwb3J0IGNsYXNzIFZlcnNpb24ge1xuICBwdWJsaWMgbmFtZSA9IFwiQGNvbGlqbml0L3RyYW5zYWN0aW9uXCI7XG4gIHB1YmxpYyBkZXNjcmlwdGlvbiA9IFwiQ29saWpuIElUIHRyYW5zYWN0aW9uIHBhY2thZ2VcIjtcbiAgcHVibGljIHN5bVZlciA9IFwiMjU3LjEuMTRcIjtcbiAgcHVibGljIHB1Ymxpc2hEYXRlID0gXCIxNC0yLTIwMjUgMTI6Mzc6NTNcIjtcbn0iXX0=
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tdmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvdHJhbnNhY3Rpb24tdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx1REFBdUQ7QUFDdkQsTUFBTSxPQUFPLE9BQU87SUFBcEI7UUFDUyxTQUFJLEdBQUcsdUJBQXVCLENBQUM7UUFDL0IsZ0JBQVcsR0FBRywrQkFBK0IsQ0FBQztRQUM5QyxXQUFNLEdBQUcsVUFBVSxDQUFDO1FBQ3BCLGdCQUFXLEdBQUcsb0JBQW9CLENBQUM7SUFDNUMsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gdGhpcyBmaWxlIGlzIGR5bmFtaWNhbGx5IGNyZWF0ZWQsIGRvIG5vdCBjaGFuZ2UgdGhpc1xuZXhwb3J0IGNsYXNzIFZlcnNpb24ge1xuICBwdWJsaWMgbmFtZSA9IFwiQGNvbGlqbml0L3RyYW5zYWN0aW9uXCI7XG4gIHB1YmxpYyBkZXNjcmlwdGlvbiA9IFwiQ29saWpuIElUIHRyYW5zYWN0aW9uIHBhY2thZ2VcIjtcbiAgcHVibGljIHN5bVZlciA9IFwiMjU3LjEuMTVcIjtcbiAgcHVibGljIHB1Ymxpc2hEYXRlID0gXCIxNy0yLTIwMjUgMTc6NDc6NTBcIjtcbn0iXX0=
@@ -283,8 +283,8 @@ class Version {
283
283
  constructor() {
284
284
  this.name = "@colijnit/transaction";
285
285
  this.description = "Colijn IT transaction package";
286
- this.symVer = "257.1.14";
287
- this.publishDate = "14-2-2025 12:37:53";
286
+ this.symVer = "257.1.15";
287
+ this.publishDate = "17-2-2025 17:47:50";
288
288
  }
289
289
  }
290
290
 
@@ -8068,9 +8068,7 @@ class TransactionConnectorService {
8068
8068
  }
8069
8069
  getTransactionInfo(transId, lineNr) {
8070
8070
  return __awaiter(this, void 0, void 0, function* () {
8071
- return this._selectMultipleParameterizedCacheService.requestCache(TransactionInfoHistory, ([transId, lineNr]) => {
8072
- return this._adapterService.functionCall(this._adapterService.getTransactionInfo, [transId, lineNr]);
8073
- }).getValue([transId, lineNr]);
8071
+ return this._adapterService.functionCall(this._adapterService.getTransactionInfo, [transId, lineNr]);
8074
8072
  });
8075
8073
  }
8076
8074
  getRefTransactions(transId) {
@@ -18976,8 +18974,8 @@ class TransactionQuickAccessSendMethodBaseComponent extends TransactionHeaderBas
18976
18974
  this.showLoader = false;
18977
18975
  break;
18978
18976
  }
18979
- this.detectChanges();
18980
18977
  this.getHistoricDocuments();
18978
+ this.detectChanges();
18981
18979
  }
18982
18980
  });
18983
18981
  }
@@ -19416,7 +19414,7 @@ class TransactionQuickAccessOverviewComponent extends TransactionQuickAccessSend
19416
19414
  }
19417
19415
  else {
19418
19416
  const pdfOrderConfirmationRequest = Object.assign(new PdfOrderConfirmationRequest(), request);
19419
- this.transactionService.pdfOrderConfirmation(pdfOrderConfirmationRequest).then((result) => {
19417
+ yield this.transactionService.pdfOrderConfirmation(pdfOrderConfirmationRequest).then((result) => {
19420
19418
  if (result instanceof CoDocument) {
19421
19419
  this.signatureDocumentId = result.documentId;
19422
19420
  }
@@ -19436,7 +19434,7 @@ class TransactionQuickAccessOverviewComponent extends TransactionQuickAccessSend
19436
19434
  }
19437
19435
  else {
19438
19436
  const printOrderConfirmationRequest = Object.assign(new PrintOrderConfirmationRequest(), request);
19439
- this.transactionService.printOrderConfirmation(printOrderConfirmationRequest).then((result) => {
19437
+ yield this.transactionService.printOrderConfirmation(printOrderConfirmationRequest).then((result) => {
19440
19438
  if (result instanceof CoDocument) {
19441
19439
  this.signatureDocumentId = result.documentId;
19442
19440
  }
@@ -20858,22 +20856,17 @@ class TransactionPurchaseLineBaseComponent extends TransactionLineBaseComponent
20858
20856
  this.transactionLine.isArticle &&
20859
20857
  this.transactionLine.commissionCode === '0' &&
20860
20858
  !this.transactionLine.purchaseOrderId &&
20861
- (!this.transactionLine.refTransactions || this.transactionLine.refTransactions.length === 0) &&
20859
+ (!this.transactionLine.refTransactionsPurchase || this.transactionLine.refTransactionsPurchase.length === 0) &&
20862
20860
  this.visible) {
20863
20861
  this.transactionService.getPurchaseOrderForTransactionLine(this.transactionInfo.id, this.transactionLine.lineNr).then((history) => {
20864
- this.transactionLine.refTransactions.length = 0;
20862
+ this.transactionLine.refTransactionsPurchase.length = 0;
20865
20863
  if (history && history.length > 0) {
20866
20864
  history.forEach(h => {
20867
- this.transactionLine.refTransactions.push(new TransactionRefTransaction(h.transId, h.transactionNo.toString(), h.transType, undefined, ''));
20865
+ this.transactionLine.refTransactionsPurchase.push(new TransactionRefTransaction(h.transId, h.transactionNo.toString(), h.transType, undefined, ''));
20868
20866
  });
20869
20867
  }
20870
- this.hasPurchaseOrder = this.transactionLine.refTransactions.filter(r => r.refTransactionType === TransactionKind.PurchaseOrder).length > 0;
20871
- this.transactionEventService.transactionLineChanged.next(this.transactionLine);
20872
- this.transactionEventService.transactionLineRefTransactionsChanged.next(this.transactionLine);
20868
+ this.hasPurchaseOrder = this.transactionLine.refTransactionsPurchase.filter(r => r.refTransactionType === TransactionKind.PurchaseOrder).length > 0;
20873
20869
  this.detectChanges();
20874
- // this.transactionService.getLinePurchaseInfo(this.transactionInfo.id, this.transactionLine.lineNr).then((history: PurchaseHistory) => {
20875
- // console.log('history', history);
20876
- // });
20877
20870
  });
20878
20871
  }
20879
20872
  }
@@ -20987,7 +20980,7 @@ TransactionPurchaseLineComponent.decorators = [
20987
20980
  <div class="inside-field" *ngIf="transactionLine.commissionCode === '0'">
20988
20981
  <co-transaction-navigation-button-list
20989
20982
  [screenConfigurationObject]="cfgNames.LineRefTransactions"
20990
- [refTransactions]="transactionLine.refTransactions"
20983
+ [refTransactions]="transactionLine.refTransactionsPurchase"
20991
20984
  [emptyLabel]="'NO_PURCHASE_ORDER' | localize"
20992
20985
  [insideLabel]="'PURCHASE_ORDER'"
20993
20986
  (transactionClick)="handlePurchaseExistingOrderNavigation($event)"