@colijnit/transaction 254.1.37 → 254.1.38

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.37";
37
- this.publishDate = "27/11/2024, 13:17:01";
36
+ this.symVer = "254.1.38";
37
+ this.publishDate = "20/12/2024, 14:59:04";
38
38
  }
39
39
  return Version;
40
40
  }());
@@ -22150,6 +22150,7 @@
22150
22150
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
22151
22151
  _this.historicReports = [];
22152
22152
  _this.showDialog = false;
22153
+ _this.LayoutCode = layoutCode_enum.LayoutCode;
22153
22154
  return _this;
22154
22155
  }
22155
22156
  TransactionSendDocumentsComponent.prototype.showClass = function () {
@@ -22164,10 +22165,10 @@
22164
22165
  };
22165
22166
  TransactionSendDocumentsComponent.prototype.getHistoricDocuments = function () {
22166
22167
  var _this = this;
22167
- this.transactionService.getHistoricDocuments(this.transactionInfo.id, this.getLayoutCode())
22168
- .then(function (result) {
22168
+ this.transactionService.getHistoricDocuments(this.transactionInfo.id, this.getLayoutCode()).then(function (result) {
22169
22169
  if (result) {
22170
22170
  _this.historicReports = result;
22171
+ _this.detectChanges();
22171
22172
  }
22172
22173
  });
22173
22174
  };
@@ -22177,11 +22178,11 @@
22177
22178
  this.transactionEventService.historicReportLinesToShow.next(null);
22178
22179
  this.activeReport = null;
22179
22180
  this.selected = false;
22180
- this.detectChanges();
22181
22181
  }
22182
22182
  else {
22183
22183
  this.showDialog = !this.showDialog;
22184
22184
  }
22185
+ this.detectChanges();
22185
22186
  }
22186
22187
  };
22187
22188
  TransactionSendDocumentsComponent.prototype.handleShowHistoricDocumentLines = function (historicReport) {
@@ -22264,7 +22265,7 @@
22264
22265
  TransactionSendDocumentsComponent.decorators = [
22265
22266
  { type: i0.Component, args: [{
22266
22267
  selector: "co-transaction-send-documents",
22267
- template: "\n <div class=\"send-documents-wrapper\" *ngIf=\"historicReports.length > 0\">\n <div class=\"amount-send-indicator\">\n <span [textContent]=\"historicReports.length\"></span>\n </div>\n <div class=\"send-button\" [class.no-pointer]=\"historicReports.length === 0\"\n [class.selected]=\"selected\"\n (click)=\"toggleSendDocumentsDialog()\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.FileCircleInfoSolid)\"></co-icon>\n <span [textContent]=\"'SENT' | localize\"></span>\n </div>\n <co-dialog-wizard *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-container header>\n <div class=\"dialog-title\" [textContent]=\"'ALREADY_SENT' | localize\"></div>\n </ng-container>\n <div class=\"dialog-container\">\n <div class=\"historic-report-line\" *ngFor=\"let report of historicReports\" (click)=\"handleShowHistoricDocumentLines(report)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(getSendMethodIcon(report))\"></co-icon>\n <span [textContent]=\"report.reportId + ' ' + (report.reportCreationDate | date)\"></span>\n </div>\n </div>\n </co-dialog-wizard>\n </div>\n ",
22268
+ template: "\n <div class=\"send-documents-wrapper\" *ngIf=\"historicReports.length > 0\">\n <div class=\"amount-send-indicator\">\n <span [textContent]=\"historicReports.length\"></span>\n </div>\n <div class=\"send-button\" [class.no-pointer]=\"historicReports.length === 0\"\n [class.selected]=\"selected\"\n (click)=\"toggleSendDocumentsDialog()\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.FileCircleInfoSolid)\"></co-icon>\n <span [textContent]=\"'SENT' | localize\"></span>\n </div>\n <co-dialog-wizard *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-container header>\n <div class=\"dialog-title\" [textContent]=\"'ALREADY_SENT' | localize\"></div>\n </ng-container>\n <div class=\"dialog-container\">\n <div class=\"historic-report-line\" *ngFor=\"let report of historicReports\" (click)=\"handleShowHistoricDocumentLines(report)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(getSendMethodIcon(report))\"></co-icon>\n <span [textContent]=\"report.reportId + ' ' + (getLayoutCode() === LayoutCode.Invoice ? report.reportDocNr + ' ' : '') + (report.reportCreationDate | date)\"></span>\n </div>\n </div>\n </co-dialog-wizard>\n </div>\n ",
22268
22269
  encapsulation: i0.ViewEncapsulation.None
22269
22270
  },] }
22270
22271
  ];