@colijnit/transaction 12.1.52 → 12.1.54

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.
Files changed (22) hide show
  1. package/bundles/colijnit-transaction.umd.js +65 -28
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.metadata.json +1 -1
  4. package/esm2015/lib/assets/dictionary/text.properties.js +2 -1
  5. package/esm2015/lib/component/transaction/transaction.module.js +3 -6
  6. package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +27 -18
  7. package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +20 -7
  8. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +11 -1
  9. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.module.js +4 -4
  10. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +3 -1
  11. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +2 -2
  12. package/fesm2015/colijnit-transaction.js +58 -28
  13. package/fesm2015/colijnit-transaction.js.map +1 -1
  14. package/lib/component/quick-send-button/style/_layout.scss +7 -0
  15. package/lib/component/quick-send-button/style/_material-definition.scss +0 -0
  16. package/lib/component/quick-send-button/style/_theme.scss +6 -0
  17. package/lib/component/quick-send-button/style/material.scss +4 -0
  18. package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +3 -1
  19. package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +5 -3
  20. package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +4 -1
  21. package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_layout.scss +13 -0
  22. package/package.json +1 -1
@@ -917,6 +917,7 @@
917
917
  "GOOD_DESCRIPTION": "Article description",
918
918
  "GROSS_PRICE": "Gross price",
919
919
  "HANDLED_BY": "Handled by",
920
+ "HISTORICAL": "Historisch",
920
921
  "HOUSE_NO": "Housenumber",
921
922
  "HOUSE_NO_ADDITION": "Housenumber addition",
922
923
  "IN": "In",
@@ -11026,7 +11027,7 @@
11026
11027
  TransactionSearchSalesOrderTileComponent.decorators = [
11027
11028
  { type: i0.Component, args: [{
11028
11029
  selector: "co-transaction-search-sales-order-tile",
11029
- template: "\n <div class=\"transaction-tile-wrapper\" (click)=\"onTransactionClick(transaction)\">\n <div class=\"tile\">\n <div class=\"tile-header\">\n <div class=\"tile-upper-left\">\n <div class=\"transaction-tile-avatar\">\n <co-avatar [image]=\"transaction.execImage\" [relationId]=\"transaction.handledBy\"></co-avatar>\n </div>\n </div>\n <div class=\"tile-upper-middle\">\n <div class=\"header\"><span [textContent]=\"transaction.transNr\"></span></div>\n <div class=\"text\"><span [textContent]=\"transaction.brancheName\"></span></div>\n </div>\n <div class=\"tile-upper-right\">\n <div class=\"status-bar-wrapper\">\n <co-transaction-statusbar [transaction]=\"transaction\" [transactionKind]=\"transaction.transactionKind\"></co-transaction-statusbar>\n </div>\n <div class=\"header\"><span [textContent]=\"transaction.totalPriceWithVat | currency:'EUR'\"></span></div>\n </div>\n </div>\n <div class=\"tile-body\">\n <div class=\"tile-middle-left\"></div>\n <div class=\"tile-middle-middle\">\n <div class=\"text\"><span [textContent]=\"transaction.relationName\"></span></div>\n <div class=\"text\"><span [textContent]=\"transaction.getAdres()\"></span></div>\n </div>\n <div class=\"tile-middle-right\"></div>\n </div>\n <div class=\"tile-footer\">\n <div class=\"tile-bottom-left order-info-section\">\n <div class=\"label\"><span [textContent]=\"'ORDER_DATE' | localize\"></span></div>\n <div class=\"value\">\n <span [textContent]=\"transaction.getTransDate() | date:'dd MMM yyyy'\"></span></div>\n </div>\n <div class=\"tile-bottom-middle order-info-section\">\n <div class=\"label\"><span [textContent]=\"'DELIVERY_DATE' | localize\"></span></div>\n <div class=\"value\">\n <span [textContent]=\"transaction.getDeliveryDate() | date:'dd MMM yyyy'\"></span>\n <div *ngIf=\"transaction.getDeliveryDate()\">\n <co-icon *ngIf=\"transaction.deliveryDateDefinitive; else indefinite\"\n [iconData]=\"this.iconCacheService.getIcon(this.icons.Lock)\" class=\"lock-icon\"></co-icon>\n <ng-template #indefinite>\n <co-icon [iconData]=\"this.iconCacheService.getIcon(this.icons.Unlock)\" class=\"unlock-icon\"></co-icon>\n </ng-template>\n </div>\n </div>\n </div>\n <div class=\"tile-bottom-right order-info-section\">\n <div class=\"label\"><span [textContent]=\"'ORDER_RULE' | localize\"></span></div>\n <div class=\"value\">\n <span [textContent]=\"'68/00'\"></span></div>\n </div>\n </div>\n </div>\n </div>",
11030
+ template: "\n <div class=\"transaction-tile-wrapper\" (click)=\"onTransactionClick(transaction)\">\n <div class=\"tile\">\n <div class=\"tile-header\">\n <div class=\"tile-upper-left\">\n <div class=\"transaction-tile-avatar\">\n <co-avatar [image]=\"transaction.execImage\" [relationId]=\"transaction.handledBy\"></co-avatar>\n </div>\n </div>\n <div class=\"tile-upper-middle\">\n <div class=\"header\"><span [textContent]=\"transaction.transNr\"></span></div>\n <div class=\"text\"><span [textContent]=\"transaction.brancheName\"></span></div>\n </div>\n <div class=\"tile-upper-right\">\n <div class=\"status-bar-wrapper\">\n <co-transaction-statusbar [transaction]=\"transaction\" [transactionKind]=\"transaction.transactionKind\"></co-transaction-statusbar>\n </div>\n <div class=\"header total-price-vat\"><span [textContent]=\"transaction.totalPriceWithVat | currency:'EUR'\"></span></div>\n </div>\n </div>\n <div class=\"tile-body\">\n <div class=\"tile-middle-left\"></div>\n <div class=\"tile-middle-middle\">\n <div class=\"text\"><span [textContent]=\"transaction.relationName\"></span></div>\n <div class=\"text\"><span [textContent]=\"transaction.getAdres()\"></span></div>\n </div>\n <div class=\"tile-middle-right\"></div>\n </div>\n <div class=\"tile-footer\">\n <div class=\"tile-bottom-left order-info-section\">\n <div class=\"label\"><span [textContent]=\"'ORDER_DATE' | localize\"></span></div>\n <div class=\"value\">\n <span [textContent]=\"transaction.getTransDate() | date:'dd MMM yyyy'\"></span></div>\n </div>\n <div class=\"tile-bottom-middle order-info-section\">\n <div class=\"label\"><span [textContent]=\"'DELIVERY_DATE' | localize\"></span></div>\n <div class=\"value\">\n <span [textContent]=\"transaction.getDeliveryDate() | date:'dd MMM yyyy'\"></span>\n <div *ngIf=\"transaction.getDeliveryDate()\">\n <co-icon *ngIf=\"transaction.deliveryDateDefinitive; else indefinite\"\n [iconData]=\"this.iconCacheService.getIcon(this.icons.Lock)\" class=\"lock-icon\"></co-icon>\n <ng-template #indefinite>\n <co-icon [iconData]=\"this.iconCacheService.getIcon(this.icons.Unlock)\" class=\"unlock-icon\"></co-icon>\n </ng-template>\n </div>\n </div>\n </div>\n <div class=\"tile-bottom-right order-info-section\">\n <div class=\"label\"><span [textContent]=\"'ORDER_RULE' | localize\"></span></div>\n <div class=\"value\">\n <span [textContent]=\"'68/00'\"></span></div>\n </div>\n </div>\n </div>\n </div>",
11030
11031
  encapsulation: i0.ViewEncapsulation.None
11031
11032
  },] }
11032
11033
  ];
@@ -17786,15 +17787,28 @@
17786
17787
  ];
17787
17788
 
17788
17789
  var TransactionConfirmationHistoryComponent = /** @class */ (function () {
17789
- function TransactionConfirmationHistoryComponent(iconCacheService, transactionService, _changeDetector) {
17790
+ function TransactionConfirmationHistoryComponent(iconCacheService, transactionService) {
17790
17791
  this.iconCacheService = iconCacheService;
17791
17792
  this.transactionService = transactionService;
17792
- this._changeDetector = _changeDetector;
17793
17793
  this.icons = Icon;
17794
17794
  this.lineSelected = new i0.EventEmitter();
17795
+ this.docBatchApplied = new i0.EventEmitter();
17795
17796
  this.getPurchasePortalLine = new getPurchasePortalLine.GetPurchasePortalLine();
17796
17797
  this.purchasePortalFilter = new purchasePortalFilters_bo.PurchasePortalFilters();
17797
17798
  }
17799
+ Object.defineProperty(TransactionConfirmationHistoryComponent.prototype, "isDocBatchSaved", {
17800
+ get: function () {
17801
+ return false;
17802
+ },
17803
+ set: function (data) {
17804
+ if (data === true) {
17805
+ this.getPurchasePortalLines();
17806
+ this.docBatchApplied.emit(false);
17807
+ }
17808
+ },
17809
+ enumerable: false,
17810
+ configurable: true
17811
+ });
17798
17812
  TransactionConfirmationHistoryComponent.prototype.showClass = function () {
17799
17813
  return true;
17800
17814
  };
@@ -17838,6 +17852,9 @@
17838
17852
  this.transactionService.purchasePortalLine[0].docKind = "IB";
17839
17853
  return [4 /*yield*/, this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine[0])];
17840
17854
  case 1:
17855
+ _a.sent();
17856
+ return [4 /*yield*/, this.getPurchasePortalLines()];
17857
+ case 2:
17841
17858
  _a.sent();
17842
17859
  return [2 /*return*/];
17843
17860
  }
@@ -17852,20 +17869,21 @@
17852
17869
  TransactionConfirmationHistoryComponent.decorators = [
17853
17870
  { type: i0.Component, args: [{
17854
17871
  selector: "co-transaction-confirmation-history",
17855
- template: "\n <div class=\"history-grid-wrapper\">\n <co-simple-grid (selectRow)=\"selectedLineDocBatchArray($event)\"\n *ngIf=\"transactionService.purchasePortalLine[0]\"\n [data]=\"transactionService.purchasePortalLine[0].docBatchArray\"\n [showToolbar]=\"true\"\n [rowsPerPage]=\"20\"\n [showDelete]=\"true\"\n (deleteRow)=\"deleteDocBatch($event)\"\n >\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.docDate | date:'dd MMM yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | localize\" [field]=\"'docAmount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PRICE' | localize\" [field]=\"'confirmedPrice'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.docDateOrg | date:'dd MMM yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'REFERENCE' | localize\" [field]=\"'deliveryBatch'\"></co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
17872
+ template: "\n <div class=\"history-grid-wrapper\">\n <co-simple-grid (selectRow)=\"selectedLineDocBatchArray($event)\"\n *ngIf=\"transactionService.purchasePortalLine[0]\"\n [data]=\"transactionService.purchasePortalLine[0].docBatchArray\"\n [showToolbar]=\"true\"\n [rowsPerPage]=\"20\"\n [showDelete]=\"true\"\n (deleteRow)=\"deleteDocBatch($event)\"\n >\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.docDate | date:'dd MMM yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | localize\" [field]=\"'docAmount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PRICE' | localize\" [field]=\"'confirmedPrice'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.docDateOrg | date:'dd MMM yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'REFERENCE' | localize\" [field]=\"'reference'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_BATCH' | localize\" [field]=\"'deliveryBatch'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'HISTORICAL' | localize\" [field]=\"'historical'\"></co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
17856
17873
  encapsulation: i0.ViewEncapsulation.None
17857
17874
  },] }
17858
17875
  ];
17859
17876
  TransactionConfirmationHistoryComponent.ctorParameters = function () { return [
17860
17877
  { type: IconCacheService },
17861
- { type: TransactionService },
17862
- { type: i0.ChangeDetectorRef }
17878
+ { type: TransactionService }
17863
17879
  ]; };
17864
17880
  TransactionConfirmationHistoryComponent.propDecorators = {
17865
17881
  transactionLines: [{ type: i0.Input }],
17866
17882
  transactionId: [{ type: i0.Input }],
17867
17883
  transactionInfoNr: [{ type: i0.Input }],
17884
+ isDocBatchSaved: [{ type: i0.Input }],
17868
17885
  lineSelected: [{ type: i0.Output }],
17886
+ docBatchApplied: [{ type: i0.Output }],
17869
17887
  showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-confirmation-history",] }]
17870
17888
  };
17871
17889
 
@@ -17905,6 +17923,7 @@
17905
17923
  this.icons = Icon;
17906
17924
  this.showAddOrder = false;
17907
17925
  this.newDocBatchArray = new docDeliveryBatch_bo.DocDeliveryBatch();
17926
+ this.docBatchSaved = new i0.EventEmitter();
17908
17927
  }
17909
17928
  TransactionConfirmationDetailsComponent.prototype.showClass = function () {
17910
17929
  return true;
@@ -17913,19 +17932,28 @@
17913
17932
  this.showAddOrder = !this.showAddOrder;
17914
17933
  };
17915
17934
  TransactionConfirmationDetailsComponent.prototype.handleOkClick = function () {
17916
- if (this.newDocBatchArray.docAmount && this.newDocBatchArray.confirmedPrice) {
17917
- this.newDocBatchArray.docAmountOrg = 0;
17918
- this.newDocBatchArray.docDateOrg = new Date();
17919
- this.newDocBatchArray.deleteLine = "F";
17920
- this.newDocBatchArray.historical = "G";
17921
- this.transactionService.purchasePortalLine[0].docBatchArray.push(this.newDocBatchArray);
17922
- this.transactionService.purchasePortalLine[0].docKind = "IB";
17923
- this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine[0]);
17924
- this.newDocBatchArray = new docDeliveryBatch_bo.DocDeliveryBatch();
17925
- }
17926
- else {
17927
- return;
17928
- }
17935
+ return __awaiter(this, void 0, void 0, function () {
17936
+ return __generator(this, function (_a) {
17937
+ switch (_a.label) {
17938
+ case 0:
17939
+ if (!(this.newDocBatchArray.docAmount && this.newDocBatchArray.confirmedPrice)) return [3 /*break*/, 2];
17940
+ this.newDocBatchArray.docAmountOrg = 0;
17941
+ this.newDocBatchArray.docDateOrg = new Date();
17942
+ this.newDocBatchArray.deleteLine = "F";
17943
+ this.newDocBatchArray.historical = "G";
17944
+ this.transactionService.purchasePortalLine[0].docBatchArray.push(this.newDocBatchArray);
17945
+ this.transactionService.purchasePortalLine[0].docKind = "IB";
17946
+ return [4 /*yield*/, this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine[0])];
17947
+ case 1:
17948
+ _a.sent();
17949
+ this.docBatchSaved.emit(true);
17950
+ this.newDocBatchArray = new docDeliveryBatch_bo.DocDeliveryBatch();
17951
+ return [3 /*break*/, 3];
17952
+ case 2: return [2 /*return*/];
17953
+ case 3: return [2 /*return*/];
17954
+ }
17955
+ });
17956
+ });
17929
17957
  };
17930
17958
  return TransactionConfirmationDetailsComponent;
17931
17959
  }());
@@ -17933,8 +17961,10 @@
17933
17961
  { type: i0.Component, args: [{
17934
17962
  selector: "co-transaction-confirmation-details",
17935
17963
  template: "\n <div class=\"confirmation-details-wrapper\">\n <co-form>\n <div class=\"details-header\">\n <span class=\"header-left-text\" [textContent]=\"'ORDER_CONFIRMATIONS' | localize\"></span>\n <co-icon class=\"header-left-text\" [iconData]=\"iconCacheService.getIcon(icons.PlusRound)\"\n (click)=\"addButtonClicked()\"></co-icon>\n <div class=\"details-header-right\">\n <span class=\"header-right-text\" [textContent]=\"'REQUESTED_DELIVERY' | localize\"></span>\n <span class=\"header-right-text-colon\" [textContent]=\"': '\"></span>\n <span class=\"header-right-text\" [textContent]=\"transactionLines.deliveryDate | date:'dd-MM-YYYY'\"></span>\n </div>\n </div>\n <div *ngIf=\"showAddOrder\" class=\"columns-wrapper\">\n <div class=\"details-column\">\n <co-input-text class=\"details-input\"\n [(model)]=\"newDocBatchArray.docAmount\"\n [placeholder]=\"'AMOUNT' | localize\"\n required\n >\n </co-input-text>\n <co-input-date class=\"details-input\"\n [(model)]=\"newDocBatchArray.docDate\"\n >\n </co-input-date>\n <co-input-text class=\"details-input\"\n [(model)]=\"newDocBatchArray.confirmedPrice\"\n [placeholder]=\"'CONFIRMED_PRICE' | localize\"\n >\n </co-input-text>\n </div>\n\n <div class=\"divider-wrapper\">\n <div class=\"divider\"></div>\n </div>\n\n <div class=\"details-column\">\n <co-input-text class=\"details-input\"\n [(model)]=\"newDocBatchArray.reference\"\n [placeholder]=\"'REFERENCE' | localize\">\n </co-input-text>\n\n <co-input-text class=\"details-input\"\n [(model)]=\"newDocBatchArray.deliveryBatch\"\n [placeholder]=\"'DELIVERY_BATCH' | localize\">\n </co-input-text>\n </div>\n </div>\n </co-form>\n\n <div *ngIf=\"showAddOrder\" class=\"save-cancel-wrapper\">\n <co-default-ok-cancel-buttons (okClick)=\"handleOkClick()\"></co-default-ok-cancel-buttons>\n </div>\n </div>\n ",
17936
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
17937
- encapsulation: i0.ViewEncapsulation.None
17964
+ encapsulation: i0.ViewEncapsulation.None,
17965
+ providers: [
17966
+ corecomponents_v12.FormMasterService
17967
+ ]
17938
17968
  },] }
17939
17969
  ];
17940
17970
  TransactionConfirmationDetailsComponent.ctorParameters = function () { return [
@@ -17946,7 +17976,8 @@
17946
17976
  transactionInfoNr: [{ type: i0.Input }],
17947
17977
  testLines: [{ type: i0.Input }],
17948
17978
  showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-confirmation-details",] }],
17949
- newDocBatchArray: [{ type: i0.Input }]
17979
+ newDocBatchArray: [{ type: i0.Input }],
17980
+ docBatchSaved: [{ type: i0.Output }]
17950
17981
  };
17951
17982
 
17952
17983
  var DefaultOkCancelButtonsComponent = /** @class */ (function () {
@@ -18043,6 +18074,8 @@
18043
18074
  this.categories = TransactionTypeCategory;
18044
18075
  this.quantityToReceiveChange = new i0.EventEmitter();
18045
18076
  this.goodsReceiptStatus = new goodsReceiptStatusWithHistory_bo.GoodsReceiptStatusWithHistory();
18077
+ this.selectedLineDocBatchArray = new docDeliveryBatch_bo.DocDeliveryBatch();
18078
+ this.isDocBatchSaved = false;
18046
18079
  this._transactionInfo = new transactionInfo_bo.TransactionInfo();
18047
18080
  }
18048
18081
  Object.defineProperty(TransactionLineSidePanelPurchaseComponent.prototype, "transactionInfo", {
@@ -18078,12 +18111,16 @@
18078
18111
  TransactionLineSidePanelPurchaseComponent.prototype.fillInputOnClick = function (data) {
18079
18112
  this.selectedLineDocBatchArray = data;
18080
18113
  };
18114
+ TransactionLineSidePanelPurchaseComponent.prototype.docBatchSaved = function (data) {
18115
+ console.log(data);
18116
+ this.isDocBatchSaved = data;
18117
+ };
18081
18118
  return TransactionLineSidePanelPurchaseComponent;
18082
18119
  }());
18083
18120
  TransactionLineSidePanelPurchaseComponent.decorators = [
18084
18121
  { type: i0.Component, args: [{
18085
18122
  selector: "co-transaction-line-side-panel-purchase",
18086
- template: "\n <ng-container [ngSwitch]=\"category\">\n <ng-container *ngSwitchCase=\"categories.PurchaseOrderOrderConfirmation\">\n <co-transaction-confirmation-details\n [transactionInfoNr]=\"transactionInfo.transactionNr\"\n [transactionLines]=\"transactionLine\"\n [newDocBatchArray]=\"selectedLineDocBatchArray\"\n ></co-transaction-confirmation-details>\n <co-transaction-confirmation-history\n [transactionLines]=\"transactionLine\"\n [transactionInfoNr]=\"transactionInfo.transactionNr\"\n [transactionId]=\"transactionInfo.id\"\n (lineSelected)=\"fillInputOnClick($event)\"\n ></co-transaction-confirmation-history>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"categories.PurchaseOrderReceivedGoods\">\n <co-transaction-receiving-goods-details\n [transactionId]=\"transactionInfo.id\"\n [transactionLine]=\"transactionLine\"\n [amountLeftToReceive]=\"goodsReceiptStatus.quantityToReceive\"\n (reloadReceivingGoodsHistory)=\"getGoodsReceiptStatusWithHistory()\"\n ></co-transaction-receiving-goods-details>\n <co-transaction-receiving-goods-history\n [transactionId]=\"transactionInfo.id\"\n [transactionLine]=\"transactionLine\"\n [goodsReceiptHistory]=\"goodsReceiptStatus.goodsReceiptHistory\"\n (reloadReceivingGoodsHistory)=\"getGoodsReceiptStatusWithHistory()\"\n ></co-transaction-receiving-goods-history>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <co-transaction-line-side-panel-default\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n ></co-transaction-line-side-panel-default>\n </ng-container>\n </ng-container>\n ",
18123
+ template: "\n <ng-container [ngSwitch]=\"category\">\n <ng-container *ngSwitchCase=\"categories.PurchaseOrderOrderConfirmation\">\n <co-transaction-confirmation-details\n [transactionInfoNr]=\"transactionInfo.transactionNr\"\n [transactionLines]=\"transactionLine\"\n [newDocBatchArray]=\"selectedLineDocBatchArray\"\n (docBatchSaved)=\"docBatchSaved($event)\"\n ></co-transaction-confirmation-details>\n <co-transaction-confirmation-history\n [transactionLines]=\"transactionLine\"\n [transactionInfoNr]=\"transactionInfo.transactionNr\"\n [transactionId]=\"transactionInfo.id\"\n (lineSelected)=\"fillInputOnClick($event)\"\n [isDocBatchSaved]=\"isDocBatchSaved\"\n (docBatchApplied)=\"docBatchSaved($event)\"\n ></co-transaction-confirmation-history>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"categories.PurchaseOrderReceivedGoods\">\n <co-transaction-receiving-goods-details\n [transactionId]=\"transactionInfo.id\"\n [transactionLine]=\"transactionLine\"\n [amountLeftToReceive]=\"goodsReceiptStatus.quantityToReceive\"\n (reloadReceivingGoodsHistory)=\"getGoodsReceiptStatusWithHistory()\"\n ></co-transaction-receiving-goods-details>\n <co-transaction-receiving-goods-history\n [transactionId]=\"transactionInfo.id\"\n [transactionLine]=\"transactionLine\"\n [goodsReceiptHistory]=\"goodsReceiptStatus.goodsReceiptHistory\"\n (reloadReceivingGoodsHistory)=\"getGoodsReceiptStatusWithHistory()\"\n ></co-transaction-receiving-goods-history>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <co-transaction-line-side-panel-default\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n ></co-transaction-line-side-panel-default>\n </ng-container>\n </ng-container>\n ",
18087
18124
  encapsulation: i0.ViewEncapsulation.None
18088
18125
  },] }
18089
18126
  ];
@@ -18907,10 +18944,10 @@
18907
18944
  imports: [
18908
18945
  common.CommonModule,
18909
18946
  TransactionButtonBarModule,
18910
- sharedcomponents.SendMethodDialogModule,
18911
18947
  corecomponents_v12.IconModule,
18912
18948
  PipeModule,
18913
- corecomponents_v12.InputCheckboxModule
18949
+ corecomponents_v12.InputCheckboxModule,
18950
+ sharedcomponents.SendMethodDialogModule
18914
18951
  ],
18915
18952
  declarations: [
18916
18953
  TransactionQuickAccessOrderDeliveryComponent
@@ -20051,9 +20088,7 @@
20051
20088
  TransactionTileModule,
20052
20089
  TransactionOverviewLineModule,
20053
20090
  TransactionOrderDeliveryLineModule,
20054
- TransactionReceiveGoodsLineModule,
20055
- corecomponents_v12.IconModule,
20056
- sharedcomponents.SendMethodDialogModule
20091
+ TransactionReceiveGoodsLineModule
20057
20092
  ],
20058
20093
  declarations: [
20059
20094
  TransactionComponent
@@ -21533,6 +21568,8 @@
21533
21568
  return true;
21534
21569
  };
21535
21570
  TransactionSearchResultComponent.prototype.ngOnInit = function () {
21571
+ this.searchService.searchRequest.general = 'test';
21572
+ this.searchService.searchTransactions();
21536
21573
  };
21537
21574
  Object.defineProperty(TransactionSearchResultComponent.prototype, "fullscreen", {
21538
21575
  get: function () {