@colijnit/transaction 12.1.199 → 12.1.201

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 (55) hide show
  1. package/bundles/colijnit-transaction.umd.js +778 -302
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +123 -115
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +124 -116
  6. package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.js +3 -3
  7. package/esm2015/lib/component/transaction-internal/transaction-internal.component.js +5 -6
  8. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-planning/component/transaction-quick-access-planning-popup/transaction-quick-access-planning-popup.component.js +10 -10
  9. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-cash-desk-filter/transaction-cash-desk-filter.component.js +45 -0
  10. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-cash-desk-filter/transaction-cash-desk-filter.module.js +40 -0
  11. package/esm2015/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-article/transaction-cash-desk-filter-content-article.component.js +113 -0
  12. package/esm2015/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-article/transaction-cash-desk-filter-content-article.module.js +29 -0
  13. package/esm2015/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-logistics/transaction-cash-desk-filter-content-logistics.component.js +237 -0
  14. package/esm2015/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-logistics/transaction-cash-desk-filter-content-logistics.module.js +35 -0
  15. package/esm2015/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-order/transaction-cash-desk-filter-content-order.component.js +279 -0
  16. package/esm2015/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-order/transaction-cash-desk-filter-content-order.module.js +32 -0
  17. package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +1 -1
  18. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/transaction-search-pos-order-tile.component.js +1 -4
  19. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.js +26 -1
  20. package/esm2015/lib/component/transaction-search/transaction-search.module.js +3 -1
  21. package/esm2015/lib/service/transaction-connector-adapter.service.js +2 -2
  22. package/esm2015/lib/service/transaction-connector.service.js +1 -1
  23. package/esm2015/lib/service/transaction-mapping.service.js +11 -3
  24. package/esm2015/lib/transaction-version.js +3 -3
  25. package/fesm2015/colijnit-transaction.js +1157 -375
  26. package/fesm2015/colijnit-transaction.js.map +1 -1
  27. package/lib/component/transaction-search/transaction-filter/transaction-cash-desk-filter/style/_layout.scss +4 -0
  28. package/lib/component/transaction-search/transaction-filter/transaction-cash-desk-filter/style/_material-definition.scss +0 -0
  29. package/lib/component/transaction-search/transaction-filter/transaction-cash-desk-filter/style/_theme.scss +6 -0
  30. package/lib/component/transaction-search/transaction-filter/transaction-cash-desk-filter/style/material.scss +3 -0
  31. package/lib/component/transaction-search/transaction-filter/transaction-cash-desk-filter/transaction-cash-desk-filter.component.d.ts +9 -0
  32. package/lib/component/transaction-search/transaction-filter/transaction-cash-desk-filter/transaction-cash-desk-filter.module.d.ts +2 -0
  33. package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_layout.scss +1 -1
  34. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-article/style/_layout.scss +2 -0
  35. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-article/style/_material-definition.scss +1 -0
  36. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-article/style/_theme.scss +4 -0
  37. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-article/style/material.scss +3 -0
  38. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-article/transaction-cash-desk-filter-content-article.component.d.ts +32 -0
  39. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-article/transaction-cash-desk-filter-content-article.module.d.ts +2 -0
  40. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-logistics/style/_layout.scss +2 -0
  41. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-logistics/style/_material-definition.scss +0 -0
  42. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-logistics/style/_theme.scss +4 -0
  43. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-logistics/style/material.scss +3 -0
  44. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-logistics/transaction-cash-desk-filter-content-logistics.component.d.ts +55 -0
  45. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-logistics/transaction-cash-desk-filter-content-logistics.module.d.ts +2 -0
  46. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-order/style/_layout.scss +2 -0
  47. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-order/style/_material-definition.scss +1 -0
  48. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-order/style/_theme.scss +4 -0
  49. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-order/style/material.scss +3 -0
  50. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-order/transaction-cash-desk-filter-content-order.component.d.ts +81 -0
  51. package/lib/component/transaction-search/transaction-filter-content/cash-desk-filter-content/transaction-cash-desk-filter-content-order/transaction-cash-desk-filter-content-order.module.d.ts +2 -0
  52. package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.d.ts +1 -0
  53. package/lib/service/transaction-connector-adapter.service.d.ts +1 -1
  54. package/lib/service/transaction-connector.service.d.ts +1 -1
  55. package/package.json +1 -1
@@ -32,8 +32,8 @@
32
32
  function Version() {
33
33
  this.name = "@colijnit/transaction";
34
34
  this.description = "Colijn IT transaction package";
35
- this.symVer = "12.1.199";
36
- this.publishDate = "27-3-2024 17:16:56";
35
+ this.symVer = "12.1.201";
36
+ this.publishDate = "29-3-2024 12:22:07";
37
37
  }
38
38
  return Version;
39
39
  }());
@@ -7410,7 +7410,7 @@
7410
7410
  case 1:
7411
7411
  response = _a.sent();
7412
7412
  if (response && response.validationResult && response.validationResult.success) {
7413
- return [2 /*return*/, this._boFactory.makeBOArrayFromRawBackendDataArray(packageLsp_bo.PackageLSP, response.resultObject)];
7413
+ return [2 /*return*/, this._boFactory.makeWithRawBackendData(transactionInfoResponse_bo.TransactionInfoResponse, response.resultObject)];
7414
7414
  }
7415
7415
  else {
7416
7416
  this._handleExceptionFromResponse(response);
@@ -23408,6 +23408,66 @@
23408
23408
  showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-service-service-button-bar-button',] }]
23409
23409
  };
23410
23410
 
23411
+ var TransactionSearchPosOrderTileComponent = /** @class */ (function (_super) {
23412
+ __extends(TransactionSearchPosOrderTileComponent, _super);
23413
+ function TransactionSearchPosOrderTileComponent(iconCacheService) {
23414
+ var _this = _super.call(this, iconCacheService) || this;
23415
+ _this.iconCacheService = iconCacheService;
23416
+ _this.statusBarConfigNames = {
23417
+ statusBarBT: _this.cfgNames.StatusBarBT,
23418
+ statusBarTG: _this.cfgNames.StatusBarTG,
23419
+ statusBarTP: _this.cfgNames.StatusBarTP,
23420
+ statusBarGT: _this.cfgNames.StatusBarGT,
23421
+ statusBarGL: _this.cfgNames.StatusBarGL,
23422
+ statusBarGF: _this.cfgNames.StatusBarGF
23423
+ };
23424
+ return _this;
23425
+ }
23426
+ TransactionSearchPosOrderTileComponent.prototype.showClass = function () {
23427
+ return true;
23428
+ };
23429
+ return TransactionSearchPosOrderTileComponent;
23430
+ }(TransactionSearchTileBaseComponent));
23431
+ TransactionSearchPosOrderTileComponent.decorators = [
23432
+ { type: i0.Component, args: [{
23433
+ selector: 'co-transaction-search-pos-order-tile',
23434
+ 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\">\n <span [textContent]=\"transaction.transNr\"></span>\n <div class=\"type-indicator\"><span [textContent]=\"transaction.transactionKind\"></span></div>\n </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\" (click)=\"$event.stopPropagation()\">\n <co-transaction-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transaction]=\"transaction\"></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\">\n <co-input-checkbox *ngIf=\"showCheckbox\"\n [(model)]=\"transaction.selected\"\n ></co-input-checkbox>\n </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]=\"iconCacheService.getIcon(icons.Lock)\" class=\"lock-icon\"></co-icon>\n <ng-template #indefinite>\n <co-icon [iconData]=\"iconCacheService.getIcon(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>\n ",
23435
+ encapsulation: i0.ViewEncapsulation.None
23436
+ },] }
23437
+ ];
23438
+ TransactionSearchPosOrderTileComponent.ctorParameters = function () { return [
23439
+ { type: IconCacheService }
23440
+ ]; };
23441
+ TransactionSearchPosOrderTileComponent.propDecorators = {
23442
+ showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-search-pos-order-tile',] }]
23443
+ };
23444
+
23445
+ var TransactionSearchPosGridComponent = /** @class */ (function (_super) {
23446
+ __extends(TransactionSearchPosGridComponent, _super);
23447
+ function TransactionSearchPosGridComponent(searchService) {
23448
+ var _this = _super.call(this) || this;
23449
+ _this.searchService = searchService;
23450
+ return _this;
23451
+ }
23452
+ TransactionSearchPosGridComponent.prototype.showClass = function () {
23453
+ return true;
23454
+ };
23455
+ return TransactionSearchPosGridComponent;
23456
+ }(TransactionSearchGridBaseComponent));
23457
+ TransactionSearchPosGridComponent.decorators = [
23458
+ { type: i0.Component, args: [{
23459
+ selector: 'co-transaction-search-pos-grid',
23460
+ template: "\n <div>\n <co-simple-grid\n [data]=\"searchService.transactions\"\n [extraColumns]=\"extraColumns\"\n [dragDropEnabled]=\"true\"\n [emitDragDrop]=\"false\"\n (selectRow)=\"onTransactionClick($event)\">\n <co-simple-grid-column [headerText]=\"'ACTIVE' | localize\"\n [order]=\"10\" [textAlign]=\"align.Center\">\n <ng-template #template let-row=\"row\">\n <co-input-checkbox [model]=\"row.active\" readonly></co-input-checkbox>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'NR' | localize\" [field]=\"'transNr'\"\n [order]=\"20\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'NAME' | localize\" [field]=\"'relationName'\"\n [order]=\"30\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NUMBER' | localize\" [field]=\"'relationNr'\"\n [order]=\"40\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'BRANCH' | localize\" [field]=\"'brancheName'\"\n [order]=\"50\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ADDRESS' | localize\" [field]=\"'adres'\"\n [order]=\"70\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'REFERENCE_RELATION' | localize\" [field]=\"'relationReference'\"\n [order]=\"80\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PREFERRED_DATE' | localize\"\n [order]=\"90\" [textAlign]=\"align.Right\" [resizable]=\"false\">\n <ng-template #template let-row=\"row\">\n <div [textContent]=\"row.preferredDeliveryDate | date: 'dd MMM yyyy'\"></div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSACTION_DATE' | localize\"\n [order]=\"100\" [textAlign]=\"align.Right\" [resizable]=\"false\">\n <ng-template #template let-row=\"row\">\n <div [textContent]=\"row.transDate | date:'dd MMM yyyy'\"></div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ORDER_DEFINITIVE' | localize\"\n [order]=\"105\" [textAlign]=\"align.Center\">\n <ng-template #template let-row=\"row\">\n <co-input-checkbox [model]=\"row.transactionDefinitive\" readonly></co-input-checkbox>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | localize\"\n [order]=\"110\" [textAlign]=\"align.Right\" [resizable]=\"false\">\n <ng-template #template let-row=\"row\">\n <div [textContent]=\"row.deliveryDate | date:'dd MMM yyyy'\"></div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE_DEFINITIVE' | localize\"\n [order]=\"115\" [textAlign]=\"align.Center\">\n <ng-template #template let-row=\"row\">\n <co-input-checkbox [model]=\"row.deliveryDateDefinitive\" readonly></co-input-checkbox>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
23461
+ encapsulation: i0.ViewEncapsulation.None
23462
+ },] }
23463
+ ];
23464
+ TransactionSearchPosGridComponent.ctorParameters = function () { return [
23465
+ { type: TransactionSearchService }
23466
+ ]; };
23467
+ TransactionSearchPosGridComponent.propDecorators = {
23468
+ showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-search-pos-grid',] }]
23469
+ };
23470
+
23411
23471
  var PaymentViewmodel = /** @class */ (function () {
23412
23472
  function PaymentViewmodel(method) {
23413
23473
  this.payment = method;
@@ -23687,6 +23747,98 @@
23687
23747
  showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-lines-side-panel-cash-desk',] }]
23688
23748
  };
23689
23749
 
23750
+ var TransactionPlanningLineComponent = /** @class */ (function (_super) {
23751
+ __extends(TransactionPlanningLineComponent, _super);
23752
+ function TransactionPlanningLineComponent(transactionEventService, iconCacheService, screenConfigService, orderLineSetService, imageService, dictionaryService, transactionService, changeDetector) {
23753
+ var _this = _super.call(this, transactionEventService, iconCacheService, screenConfigService, imageService, dictionaryService, transactionService, changeDetector) || this;
23754
+ _this.transactionEventService = transactionEventService;
23755
+ _this.iconCacheService = iconCacheService;
23756
+ _this.screenConfigService = screenConfigService;
23757
+ _this.orderLineSetService = orderLineSetService;
23758
+ _this.imageService = imageService;
23759
+ _this.dictionaryService = dictionaryService;
23760
+ _this.transactionService = transactionService;
23761
+ _this.changeDetector = changeDetector;
23762
+ _this.category = TransactionTypeCategory;
23763
+ _this.selectedLines = [];
23764
+ _this.descriptionDblClick = new i0.EventEmitter();
23765
+ _this.stock = stockStatus_enum.StockStatus.Low;
23766
+ _this.mouseOver = false;
23767
+ _this.readonly = false;
23768
+ _this.statusBarConfigNames = {
23769
+ statusBarBT: _this.cfgNames.StatusBarBT,
23770
+ statusBarTG: _this.cfgNames.StatusBarTG,
23771
+ statusBarPA: _this.cfgNames.StatusBarPA,
23772
+ statusBarPV: _this.cfgNames.StatusBarPV,
23773
+ statusBarTP: _this.cfgNames.StatusBarTP,
23774
+ statusBarGT: _this.cfgNames.StatusBarGT,
23775
+ statusBarGP: _this.cfgNames.StatusBarGP,
23776
+ statusBarGL: _this.cfgNames.StatusBarGL,
23777
+ statusBarGF: _this.cfgNames.StatusBarGF
23778
+ };
23779
+ _this.discountConfigNames = {
23780
+ linePriceList: _this.cfgNames.LinePriceList,
23781
+ lineDiscountAmount: _this.cfgNames.LineDiscountAmount,
23782
+ lineDiscountPercentage: _this.cfgNames.LineDiscountPercentage,
23783
+ lineDiscountSpecial: _this.cfgNames.LineDiscountSpecial,
23784
+ lineDiscountQuantum: _this.cfgNames.LineDiscountQuantum
23785
+ };
23786
+ return _this;
23787
+ }
23788
+ TransactionPlanningLineComponent.prototype.showClass = function () {
23789
+ return true;
23790
+ };
23791
+ TransactionPlanningLineComponent.prototype.handleMouseOver = function (event) {
23792
+ this.mouseOver = true;
23793
+ };
23794
+ TransactionPlanningLineComponent.prototype.handleMouseLeave = function (event) {
23795
+ this.mouseOver = false;
23796
+ };
23797
+ TransactionPlanningLineComponent.prototype.handleCheckBoxValueChanged = function (value, line) {
23798
+ this.transactionLine.selected = value;
23799
+ };
23800
+ TransactionPlanningLineComponent.prototype.handleLineClicked = function (mouseClick) {
23801
+ if (this.transactionLine && this.transactionLine.commissionCode !== "1") {
23802
+ return;
23803
+ }
23804
+ var target = mouseClick.target;
23805
+ if (target && target.dataset && target.dataset['action'] && target.dataset['action'] === 'openSidePanel') {
23806
+ this.transactionEventService.openSidePanel.next(this.transactionLine);
23807
+ }
23808
+ };
23809
+ TransactionPlanningLineComponent.prototype.onDescriptionDblClick = function () {
23810
+ this.descriptionDblClick.emit();
23811
+ };
23812
+ TransactionPlanningLineComponent.prototype.dragStarted = function (ev, line) {
23813
+ ev.dataTransfer.setData("text", "line");
23814
+ };
23815
+ return TransactionPlanningLineComponent;
23816
+ }(TransactionBaseComponent));
23817
+ TransactionPlanningLineComponent.decorators = [
23818
+ { type: i0.Component, args: [{
23819
+ selector: "co-planning-overview-line",
23820
+ template: "\n <co-transaction-base-line\n [draggable]=\"true\"\n (dragstart)=\"dragStarted($event, transactionLine)\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"true\"\n [checkboxValue]=\"transactionLine.selected\"\n (checkboxValueChanged)=\"handleCheckBoxValueChanged($event, transactionLine)\"\n (click)=\"handleLineClicked($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <ng-container *ngIf=\"transactionLine.isArticle\">\n <div class=\"transaction-line-wrapper\">\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <div class=\"column1\">\n <co-transaction-line-commission-button\n [screenConfigurationObject]=\"cfgNames.LineCommission\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-commission-button>\n <co-transaction-line-warehouse-button\n [screenConfigurationObject]=\"cfgNames.LineWarehouse\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-warehouse-button>\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"category.SalesOrderOverview\"></co-transaction-line-statusbar>\n </div>\n <div class=\"column2\">\n <co-transaction-line-delivery-button\n [screenConfigurationObject]=\"cfgNames.LineDeliveryMethod\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-delivery-button>\n <co-transaction-line-delivery-date-button class=\"transaction-line-delivery-date two-column\"\n [screenConfigurationObject]=\"cfgNames.LineDeliveryDate\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n ></co-transaction-line-delivery-date-button>\n </div>\n </div>\n <div class=\"transaction-line-section\">\n <co-transaction-line-vat-button *ngIf=\"!preview\"\n [screenConfigurationObject]=\"cfgNames.LineVat\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-vat-button>\n <div class=\"transaction-line-totals\">\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [screenConfigurationObject]=\"cfgNames.LinePrice\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <co-transaction-line-discount-button *ngIf=\"!preview\"\n [screenConfigurationObject]=\"cfgNames.LineDiscount\"\n [configNames]=\"discountConfigNames\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <div class=\"transaction-line-totals-amount\">\n <co-transaction-line-amount class=\"amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineAmount\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-amount>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [screenConfigurationObject]=\"cfgNames.LineNetLineTotal\"\n [model]=\"transactionLine.displayNetLineTotal | coCurrency\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [commit]=\"!readonly\"\n ></co-editable-label>\n </div>\n </div>\n </div>\n </ng-container>\n </co-transaction-base-line>\n ",
23821
+ encapsulation: i0.ViewEncapsulation.None
23822
+ },] }
23823
+ ];
23824
+ TransactionPlanningLineComponent.ctorParameters = function () { return [
23825
+ { type: TransactionEventService },
23826
+ { type: IconCacheService },
23827
+ { type: TransactionScreenConfigurationService },
23828
+ { type: OrderLineSetService },
23829
+ { type: TransactionImageService },
23830
+ { type: DictionaryService },
23831
+ { type: TransactionService },
23832
+ { type: i0.ChangeDetectorRef }
23833
+ ]; };
23834
+ TransactionPlanningLineComponent.propDecorators = {
23835
+ transactionLineActionButtons: [{ type: i0.ViewChild, args: [TransactionLineActionButtonsComponent,] }],
23836
+ descriptionDblClick: [{ type: i0.Output }],
23837
+ showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-overview-line",] }],
23838
+ handleMouseOver: [{ type: i0.HostListener, args: ["mouseover", ["$event"],] }],
23839
+ handleMouseLeave: [{ type: i0.HostListener, args: ["mouseleave", ["$event"],] }]
23840
+ };
23841
+
23690
23842
  var TransactionQuickAccessPlanningComponent = /** @class */ (function (_super) {
23691
23843
  __extends(TransactionQuickAccessPlanningComponent, _super);
23692
23844
  function TransactionQuickAccessPlanningComponent(transactionEventService, service, iconCacheService, transactionScreenConfigurationService, dictionaryService, imageService, changeDetector, _purchaseConfirmationService, _connector, _transactionService) {
@@ -23845,6 +23997,34 @@
23845
23997
  showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-lines-side-panel-service-order',] }]
23846
23998
  };
23847
23999
 
24000
+ var TransactionCashDeskFilterComponent = /** @class */ (function (_super) {
24001
+ __extends(TransactionCashDeskFilterComponent, _super);
24002
+ function TransactionCashDeskFilterComponent(iconCacheService, searchService) {
24003
+ var _this = _super.call(this, iconCacheService, searchService) || this;
24004
+ _this.iconCacheService = iconCacheService;
24005
+ _this.searchService = searchService;
24006
+ return _this;
24007
+ }
24008
+ TransactionCashDeskFilterComponent.prototype.showClass = function () {
24009
+ return true;
24010
+ };
24011
+ return TransactionCashDeskFilterComponent;
24012
+ }(TransactionFilterBaseComponent));
24013
+ TransactionCashDeskFilterComponent.decorators = [
24014
+ { type: i0.Component, args: [{
24015
+ selector: 'co-transaction-cash-desk-filter',
24016
+ template: "\n <div class=\"transaction-filter-categories\">\n <co-transaction-filter-categories [categories]=\"filterCategories\"\n (categoryClick)=\"handleCategoryClick($event)\"></co-transaction-filter-categories>\n </div>\n <div #filterItems class=\"transaction-category-filter-wrapper\" data-ride=\"carousel\">\n <div #orderFilter class=\"transaction-filter-category-content\">\n <co-transaction-cash-desk-filter-content-order></co-transaction-cash-desk-filter-content-order>\n </div>\n <div #logisticsFilter class=\"transaction-filter-category-content\">\n <co-transaction-cash-desk-filter-content-logistics></co-transaction-cash-desk-filter-content-logistics>\n </div>\n <div #articleFilter class=\"transaction-filter-category-content\">\n <co-transaction-cash-desk-filter-content-article></co-transaction-cash-desk-filter-content-article>\n </div>\n </div>\n ",
24017
+ encapsulation: i0.ViewEncapsulation.None
24018
+ },] }
24019
+ ];
24020
+ TransactionCashDeskFilterComponent.ctorParameters = function () { return [
24021
+ { type: IconCacheService },
24022
+ { type: TransactionSearchService }
24023
+ ]; };
24024
+ TransactionCashDeskFilterComponent.propDecorators = {
24025
+ showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-cash-desk-filter",] }]
24026
+ };
24027
+
23848
24028
  var TransactionMappingService = /** @class */ (function () {
23849
24029
  function TransactionMappingService(_transactionService) {
23850
24030
  this._transactionService = _transactionService;
@@ -23908,6 +24088,7 @@
23908
24088
  [{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderInvoice }, TransactionInvoiceLineComponent],
23909
24089
  [{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderPicked }, TransactionPickedLineComponent],
23910
24090
  [{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderToBePicked }, TransactionToBePickedLineComponent],
24091
+ [{ type: transactionKind_enum.TransactionKind.SalesOrder, category: TransactionTypeCategory.SalesOrderPlanning }, TransactionPlanningLineComponent],
23911
24092
  [{ type: transactionKind_enum.TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOverview }, TransactionPurchaseOverviewLineComponent],
23912
24093
  [{ type: transactionKind_enum.TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderReceivedGoods }, TransactionReceiveGoodsLineComponent],
23913
24094
  [{ type: transactionKind_enum.TransactionKind.PurchaseOrder, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation }, TransactionPurchaseOrderLineComponent],
@@ -23943,6 +24124,7 @@
23943
24124
  this._transactionFilterComponent = new Map([
23944
24125
  [{ type: transactionKind_enum.TransactionKind.SalesOrder }, TransactionSalesOrderFilterComponent],
23945
24126
  [{ type: transactionKind_enum.TransactionKind.PurchaseOrder }, TransactionPurchaseOrderFilterComponent],
24127
+ [{ type: transactionKind_enum.TransactionKind.CashDesk }, TransactionCashDeskFilterComponent],
23946
24128
  [{ type: transactionKind_enum.TransactionKind.SalesQuotation }, TransactionSalesQuotationFilterComponent]
23947
24129
  ]);
23948
24130
  this._transactionSidePanelComponent = new Map([
@@ -23953,13 +24135,15 @@
23953
24135
  [{ type: transactionKind_enum.TransactionKind.SalesOrder }, TransactionSearchSalesOrderGridComponent],
23954
24136
  [{ type: transactionKind_enum.TransactionKind.PurchaseOrder }, TransactionSearchPurchaseOrderGridComponent],
23955
24137
  [{ type: transactionKind_enum.TransactionKind.SalesQuotation }, TransactionSearchSalesQuotationGridComponent],
23956
- [{ type: transactionKind_enum.TransactionKind.ServiceOrder }, TransactionSearchSalesOrderGridComponent]
24138
+ [{ type: transactionKind_enum.TransactionKind.ServiceOrder }, TransactionSearchSalesOrderGridComponent],
24139
+ [{ type: transactionKind_enum.TransactionKind.CashDesk }, TransactionSearchPosGridComponent]
23957
24140
  ]);
23958
24141
  this._transactionSearchTileComponent = new Map([
23959
24142
  [{ type: transactionKind_enum.TransactionKind.SalesOrder }, TransactionSearchSalesOrderTileComponent],
23960
24143
  [{ type: transactionKind_enum.TransactionKind.PurchaseOrder }, TransactionSearchPurchaseOrderTileComponent],
23961
24144
  [{ type: transactionKind_enum.TransactionKind.SalesQuotation }, TransactionSearchSalesQuotationTileComponent],
23962
- [{ type: transactionKind_enum.TransactionKind.ServiceOrder }, TransactionSearchSalesOrderTileComponent]
24145
+ [{ type: transactionKind_enum.TransactionKind.ServiceOrder }, TransactionSearchSalesOrderTileComponent],
24146
+ [{ type: transactionKind_enum.TransactionKind.CashDesk }, TransactionSearchPosOrderTileComponent]
23963
24147
  ]);
23964
24148
  }
23965
24149
  TransactionMappingService.prototype.getButtonBar = function (type) {
@@ -27129,98 +27313,6 @@
27129
27313
  },] }
27130
27314
  ];
27131
27315
 
27132
- var TransactionPlanningLineComponent = /** @class */ (function (_super) {
27133
- __extends(TransactionPlanningLineComponent, _super);
27134
- function TransactionPlanningLineComponent(transactionEventService, iconCacheService, screenConfigService, orderLineSetService, imageService, dictionaryService, transactionService, changeDetector) {
27135
- var _this = _super.call(this, transactionEventService, iconCacheService, screenConfigService, imageService, dictionaryService, transactionService, changeDetector) || this;
27136
- _this.transactionEventService = transactionEventService;
27137
- _this.iconCacheService = iconCacheService;
27138
- _this.screenConfigService = screenConfigService;
27139
- _this.orderLineSetService = orderLineSetService;
27140
- _this.imageService = imageService;
27141
- _this.dictionaryService = dictionaryService;
27142
- _this.transactionService = transactionService;
27143
- _this.changeDetector = changeDetector;
27144
- _this.category = TransactionTypeCategory;
27145
- _this.selectedLines = [];
27146
- _this.descriptionDblClick = new i0.EventEmitter();
27147
- _this.stock = stockStatus_enum.StockStatus.Low;
27148
- _this.mouseOver = false;
27149
- _this.readonly = false;
27150
- _this.statusBarConfigNames = {
27151
- statusBarBT: _this.cfgNames.StatusBarBT,
27152
- statusBarTG: _this.cfgNames.StatusBarTG,
27153
- statusBarPA: _this.cfgNames.StatusBarPA,
27154
- statusBarPV: _this.cfgNames.StatusBarPV,
27155
- statusBarTP: _this.cfgNames.StatusBarTP,
27156
- statusBarGT: _this.cfgNames.StatusBarGT,
27157
- statusBarGP: _this.cfgNames.StatusBarGP,
27158
- statusBarGL: _this.cfgNames.StatusBarGL,
27159
- statusBarGF: _this.cfgNames.StatusBarGF
27160
- };
27161
- _this.discountConfigNames = {
27162
- linePriceList: _this.cfgNames.LinePriceList,
27163
- lineDiscountAmount: _this.cfgNames.LineDiscountAmount,
27164
- lineDiscountPercentage: _this.cfgNames.LineDiscountPercentage,
27165
- lineDiscountSpecial: _this.cfgNames.LineDiscountSpecial,
27166
- lineDiscountQuantum: _this.cfgNames.LineDiscountQuantum
27167
- };
27168
- return _this;
27169
- }
27170
- TransactionPlanningLineComponent.prototype.showClass = function () {
27171
- return true;
27172
- };
27173
- TransactionPlanningLineComponent.prototype.handleMouseOver = function (event) {
27174
- this.mouseOver = true;
27175
- };
27176
- TransactionPlanningLineComponent.prototype.handleMouseLeave = function (event) {
27177
- this.mouseOver = false;
27178
- };
27179
- TransactionPlanningLineComponent.prototype.handleCheckBoxValueChanged = function (value, line) {
27180
- this.transactionLine.selected = value;
27181
- };
27182
- TransactionPlanningLineComponent.prototype.handleLineClicked = function (mouseClick) {
27183
- if (this.transactionLine && this.transactionLine.commissionCode !== "1") {
27184
- return;
27185
- }
27186
- var target = mouseClick.target;
27187
- if (target && target.dataset && target.dataset['action'] && target.dataset['action'] === 'openSidePanel') {
27188
- this.transactionEventService.openSidePanel.next(this.transactionLine);
27189
- }
27190
- };
27191
- TransactionPlanningLineComponent.prototype.onDescriptionDblClick = function () {
27192
- this.descriptionDblClick.emit();
27193
- };
27194
- TransactionPlanningLineComponent.prototype.dragStarted = function (ev, line) {
27195
- ev.dataTransfer.setData("text", "line");
27196
- };
27197
- return TransactionPlanningLineComponent;
27198
- }(TransactionBaseComponent));
27199
- TransactionPlanningLineComponent.decorators = [
27200
- { type: i0.Component, args: [{
27201
- selector: "co-planning-overview-line",
27202
- template: "\n <co-transaction-base-line\n [draggable]=\"true\"\n (dragstart)=\"dragStarted($event, transactionLine)\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"true\"\n [checkboxValue]=\"transactionLine.selected\"\n (checkboxValueChanged)=\"handleCheckBoxValueChanged($event, transactionLine)\"\n (click)=\"handleLineClicked($event)\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <ng-container *ngIf=\"transactionLine.isArticle\">\n <div class=\"transaction-line-wrapper\">\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <div class=\"column1\">\n <co-transaction-line-commission-button\n [screenConfigurationObject]=\"cfgNames.LineCommission\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-commission-button>\n <co-transaction-line-warehouse-button\n [screenConfigurationObject]=\"cfgNames.LineWarehouse\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-warehouse-button>\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"category.SalesOrderOverview\"></co-transaction-line-statusbar>\n </div>\n <div class=\"column2\">\n <co-transaction-line-delivery-button\n [screenConfigurationObject]=\"cfgNames.LineDeliveryMethod\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-delivery-button>\n <co-transaction-line-delivery-date-button class=\"transaction-line-delivery-date two-column\"\n [screenConfigurationObject]=\"cfgNames.LineDeliveryDate\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n ></co-transaction-line-delivery-date-button>\n </div>\n </div>\n <div class=\"transaction-line-section\">\n <co-transaction-line-vat-button *ngIf=\"!preview\"\n [screenConfigurationObject]=\"cfgNames.LineVat\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-vat-button>\n <div class=\"transaction-line-totals\">\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [screenConfigurationObject]=\"cfgNames.LinePrice\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <co-transaction-line-discount-button *ngIf=\"!preview\"\n [screenConfigurationObject]=\"cfgNames.LineDiscount\"\n [configNames]=\"discountConfigNames\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <div class=\"transaction-line-totals-amount\">\n <co-transaction-line-amount class=\"amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineAmount\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-amount>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [screenConfigurationObject]=\"cfgNames.LineNetLineTotal\"\n [model]=\"transactionLine.displayNetLineTotal | coCurrency\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [commit]=\"!readonly\"\n ></co-editable-label>\n </div>\n </div>\n </div>\n </ng-container>\n </co-transaction-base-line>\n ",
27203
- encapsulation: i0.ViewEncapsulation.None
27204
- },] }
27205
- ];
27206
- TransactionPlanningLineComponent.ctorParameters = function () { return [
27207
- { type: TransactionEventService },
27208
- { type: IconCacheService },
27209
- { type: TransactionScreenConfigurationService },
27210
- { type: OrderLineSetService },
27211
- { type: TransactionImageService },
27212
- { type: DictionaryService },
27213
- { type: TransactionService },
27214
- { type: i0.ChangeDetectorRef }
27215
- ]; };
27216
- TransactionPlanningLineComponent.propDecorators = {
27217
- transactionLineActionButtons: [{ type: i0.ViewChild, args: [TransactionLineActionButtonsComponent,] }],
27218
- descriptionDblClick: [{ type: i0.Output }],
27219
- showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-overview-line",] }],
27220
- handleMouseOver: [{ type: i0.HostListener, args: ["mouseover", ["$event"],] }],
27221
- handleMouseLeave: [{ type: i0.HostListener, args: ["mouseleave", ["$event"],] }]
27222
- };
27223
-
27224
27316
  var TransactionPlanningLineModule = /** @class */ (function () {
27225
27317
  function TransactionPlanningLineModule() {
27226
27318
  }
@@ -33819,7 +33911,7 @@
33819
33911
  TransactionHeaderDepositAmountComponent.decorators = [
33820
33912
  { type: i0.Component, args: [{
33821
33913
  selector: "co-transaction-header-deposit-amount",
33822
- template: "\n <span *ngIf=\"(!editMode || headerReadonly) && !defaultEditMode\" [textContent]=\"(transactionInfo.depositAmount | coCurrency) || '...'\" [tooltip]=\"tooltipMessage\"></span>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [type]=\"'number'\"\n [placeholder]=\"showLabel ? ('DOWNPAYMENT' | localize) : ''\"\n [showSaveCancel]=\"!headerReadonly\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly || headerReadonly\"\n [model]=\"transactionInfo.depositAmount\"\n (blur)=\"editMode = false\"\n ></co-input-text>\n ",
33914
+ template: "\n <span *ngIf=\"!editMode || headerReadonly\" [textContent]=\"(transactionInfo.depositAmount | coCurrency) || '...'\" [tooltip]=\"tooltipMessage\"></span>\n <co-input-text #input *ngIf=\"editMode\"\n [type]=\"'number'\"\n [placeholder]=\"showLabel ? ('DOWNPAYMENT' | localize) : ''\"\n [showSaveCancel]=\"!headerReadonly\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly || headerReadonly\"\n [model]=\"transactionInfo.depositAmount\"\n (blur)=\"editMode = false\"\n ></co-input-text>\n ",
33823
33915
  providers: [{
33824
33916
  provide: corecomponents_v12.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
33825
33917
  useExisting: i0.forwardRef(function () { return TransactionHeaderDepositAmountComponent; })
@@ -35216,13 +35308,12 @@
35216
35308
  this._subs = [];
35217
35309
  this._transaction = new transactionInfoResponse_bo.TransactionInfoResponse();
35218
35310
  this._subs.push(this.service.transactionUpdated.subscribe(function (transaction) {
35219
- var _a;
35220
35311
  if (transaction) {
35221
35312
  _this.shouldShowSidePanel = false;
35222
35313
  _this._transaction = transaction;
35223
- if ((_a = transaction.transactionInfo) === null || _a === void 0 ? void 0 : _a.id) {
35224
- _this.getTransactionMarginInfo(transaction === null || transaction === void 0 ? void 0 : transaction.transactionInfo.id);
35225
- }
35314
+ // if(transaction.transactionInfo?.id) {
35315
+ // this.getTransactionMarginInfo(transaction?.transactionInfo.id);
35316
+ // }
35226
35317
  _this.updateTransactionLine();
35227
35318
  }
35228
35319
  }), this.service.relationUpdated.subscribe(function (relation) {
@@ -35321,18 +35412,18 @@
35321
35412
  };
35322
35413
  TransactionInternalComponent.prototype.saveTransactionLineText = function (data) {
35323
35414
  return __awaiter(this, void 0, void 0, function () {
35324
- return __generator(this, function (_b) {
35325
- switch (_b.label) {
35415
+ return __generator(this, function (_a) {
35416
+ switch (_a.label) {
35326
35417
  case 0:
35327
35418
  if (!!data.new) return [3 /*break*/, 2];
35328
35419
  return [4 /*yield*/, this.service.updateTextLine(data.request.transactionUuid, this.transactionLine.uuid, data.request.showOnDocuments, data.request.text)];
35329
35420
  case 1:
35330
- _b.sent();
35421
+ _a.sent();
35331
35422
  return [3 /*break*/, 4];
35332
35423
  case 2: return [4 /*yield*/, this.service.addTextLine(data.request.showOnDocuments, data.request.text, 0, data.request.articleBound, 0, 0, 0)];
35333
35424
  case 3:
35334
- _b.sent();
35335
- _b.label = 4;
35425
+ _a.sent();
35426
+ _a.label = 4;
35336
35427
  case 4:
35337
35428
  this._hideTransactionTextDialog();
35338
35429
  return [2 /*return*/];
@@ -35343,16 +35434,16 @@
35343
35434
  TransactionInternalComponent.prototype.saveOrderLineSet = function (data) {
35344
35435
  return __awaiter(this, void 0, void 0, function () {
35345
35436
  var newRequest;
35346
- return __generator(this, function (_b) {
35347
- switch (_b.label) {
35437
+ return __generator(this, function (_a) {
35438
+ switch (_a.label) {
35348
35439
  case 0:
35349
35440
  if (!!data.new) return [3 /*break*/, 3];
35350
35441
  return [4 /*yield*/, this.service.updateOrderLineSet(data.request)];
35351
35442
  case 1:
35352
- _b.sent();
35443
+ _a.sent();
35353
35444
  return [4 /*yield*/, this.service.updateTextLine(data.request.transactionUuid, this.transactionLine.uuid, data.request.showOnDocuments, data.request.text)];
35354
35445
  case 2:
35355
- _b.sent();
35446
+ _a.sent();
35356
35447
  return [3 /*break*/, 5];
35357
35448
  case 3:
35358
35449
  newRequest = new transactionAddOrderLineSetTextLineRequest.TransactionAddOrderLineSetTextLineRequest();
@@ -35365,8 +35456,8 @@
35365
35456
  newRequest.text = data.request.title;
35366
35457
  return [4 /*yield*/, this.service.addOrderLineSet(newRequest)];
35367
35458
  case 4:
35368
- _b.sent();
35369
- _b.label = 5;
35459
+ _a.sent();
35460
+ _a.label = 5;
35370
35461
  case 5:
35371
35462
  this._hideTransactionTextDialog();
35372
35463
  return [2 /*return*/];
@@ -35376,18 +35467,18 @@
35376
35467
  };
35377
35468
  TransactionInternalComponent.prototype.saveArticleLineText = function (data) {
35378
35469
  return __awaiter(this, void 0, void 0, function () {
35379
- return __generator(this, function (_b) {
35380
- switch (_b.label) {
35470
+ return __generator(this, function (_a) {
35471
+ switch (_a.label) {
35381
35472
  case 0:
35382
35473
  if (!!data.new) return [3 /*break*/, 2];
35383
35474
  return [4 /*yield*/, this.service.updateTextLine(data.request.transactionUuid, this.transactionLine.uuid, data.request.showOnDocuments, data.request.text)];
35384
35475
  case 1:
35385
- _b.sent();
35476
+ _a.sent();
35386
35477
  return [3 /*break*/, 4];
35387
35478
  case 2: return [4 /*yield*/, this.service.addTextLine(data.request.showOnDocuments, data.request.text, 0, true, data.request.refArticleLineNr)];
35388
35479
  case 3:
35389
- _b.sent();
35390
- _b.label = 4;
35480
+ _a.sent();
35481
+ _a.label = 4;
35391
35482
  case 4:
35392
35483
  this._hideArticleTextDialog();
35393
35484
  return [2 /*return*/];
@@ -35510,7 +35601,7 @@
35510
35601
  TransactionInternalComponent.decorators = [
35511
35602
  { type: i0.Component, args: [{
35512
35603
  selector: 'co-transaction-internal',
35513
- template: "\n <ng-container *ngIf=\"loaded\">\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\" [relation]=\"relation\"\n (relationChange)=\"handleRelationChange($event)\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [transaction]=\"transaction\"\n [relation]=\"relation\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-quick-access>\n <co-transaction-button-bar *ngIf=\"showButtonBar\" class=\"transaction-lines-header-item\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\"\n ></co-transaction-button-bar>\n <div class=\"transaction-lines-header-item right\">\n <co-avatar class=\"transaction-sales-avatar\" [relationId]=\"transaction.transactionInfo.handledBy\"\n [screenConfigurationObject]=\"cfgNames.HeaderHandledBy\" screenConfigNativeElement></co-avatar>\n <co-avatar class=\"transaction-sales-avatar\"\n [relationId]=\"transaction.transactionInfo.branch?.relationId\"\n [screenConfigurationObject]=\"cfgNames.HeaderBranch\" screenConfigNativeElement></co-avatar>\n <co-view-mode-buttons *ngIf=\"!shouldShowTiles()\" && showViewModeButtons [showViewModes]=\"[viewModes.List, viewModes.Tiles]\"\n (viewModeChange)=\"activeViewMode = $event\"></co-view-mode-buttons>\n </div>\n </div>\n\n <div class=\"transaction-lines-content-wrapper\">\n <!--<co-transaction-document-button-bar [transaction]=\"transaction\"></co-transaction-document-button-bar>-->\n <div class=\"transaction-lines-content\">\n <div *ngIf=\"activeCategory === category.ServiceOrderService\">\n <co-transaction-service-overview\n [transaction]=\"transaction\"\n ></co-transaction-service-overview>\n </div>\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles || shouldShowTiles()\">\n <co-transaction-cards\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-cards>\n </div>\n <div class=\"transaction-lines-wrapper\" *ngIf=\"(activeViewMode === viewModes.List && !shouldShowTiles()) && activeCategory !== category.ServiceOrderService\">\n <co-transaction-lines\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n (saveTransactionLine)=\"saveTransactionLineText($event)\"\n ></co-transaction-lines>\n </div>\n <div class=\"transaction-footer-wrapper\">\n <div class=\"transaction-footer-left\">\n <co-add-product\n *ngIf=\"activeCategory === categories.SalesOrderCashRegister || activeCategory === categories.SalesOrderOverview || activeCategory === categories.PurchaseOrderOverview || activeCategory === categories.SalesOrderQuotation\">\n </co-add-product>\n <co-transaction-button class=\"custom-width text-rule\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"\n (click)=\"handleTransactionText()\">\n </co-transaction-button>\n </div>\n <div class=\"transaction-footer-center\">\n <co-transaction-margin *ngIf=\"activeCategory === categories.SalesOrderDeliveryNote\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionMarginInfo]=\"transactionMarginInfo\"\n ></co-transaction-margin>\n </div>\n <co-transaction-totals *ngIf=\"activeCategory !== category.ServiceOrderService\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionTotal]=\"transaction.transactionTotal\"\n [showDiscount]=\"true\"\n ></co-transaction-totals>\n </div>\n </div>\n <co-transaction-lines-side-panel\n *ngIf=\"transaction && ((transaction.transactionInfo.transactionKind === transactionKind.CashDesk && !fullyInvoiced()) ||\n transaction.transactionInfo.transactionKind === transactionKind.ServiceOrder)\"\n [class.higher-max-width]=\"transaction.transactionInfo.transactionKind === transactionKind.ServiceOrder\"\n [posOrderData]=\"posOrderData\"\n [transaction]=\"transaction\"\n ></co-transaction-lines-side-panel>\n\n <co-transaction-line-side-panel *ngIf=\"showSidePanel\"\n [transaction]=\"transaction\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"sidePanelTransactionLine\"\n [activeCategory]=\"activeCategory\"\n (cancelClick)=\"showSidePanel = false\"\n ></co-transaction-line-side-panel>\n\n <!--Popup voor wijzigen volgorde van tekstregels-->\n <co-transaction-article-text-overview *ngIf=\"showArticleTextOverview\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (closeClick)=\"closeArticleTextOverview()\"\n (cancelClick)=\"closeArticleTextOverview()\"\n ></co-transaction-article-text-overview>\n\n <!--Popup voor aanmaken en updaten transactietekstregels-->\n <co-transaction-article-text *ngIf=\"showTransactionText\"\n [header]=\"'ORDER_TEXT_LINE' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [editText]=\"textToEdit\"\n [orderLineSetDTO]=\"selectedOrderLineSetDTO\"\n [transactionLine]=\"transactionLine\"\n (saveClick)=\"saveTransactionLineText($event)\"\n (closeClick)=\"closeTransactionText()\"\n (cancelClick)=\"closeTransactionText()\"\n (saveOrderLineSetClick)=\"saveOrderLineSet($event)\"\n\n ></co-transaction-article-text>\n\n <!--Popup voor aanmaken en updaten artikeltekstregels-->\n <co-transaction-article-text *ngIf=\"showArticleText\"\n [header]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [showArticleImageDescription]=\"transactionLine.articleBound\"\n [showImage]=\"false\"\n [articleLineNr]=\"transactionLine.lineNr\"\n [articleRef]=\"transactionLine.articleNumber\"\n [transactionLine]=\"transactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveArticleLineText($event)\"\n (closeClick)=\"closeArticleText()\"\n (cancelClick)=\"closeArticleText()\"\n ></co-transaction-article-text>\n\n <co-transaction-copy-order *ngIf=\"showCopyOrderDialog\"\n [transaction]=\"transaction\"\n (closeDialog)=\"showCopyOrderDialog = false\"\n ></co-transaction-copy-order>\n </div>\n </ng-container>\n ",
35604
+ template: "\n <ng-container *ngIf=\"loaded\">\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\" [relation]=\"relation\"\n (relationChange)=\"handleRelationChange($event)\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [transaction]=\"transaction\"\n [relation]=\"relation\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-quick-access>\n <co-transaction-button-bar *ngIf=\"showButtonBar\" class=\"transaction-lines-header-item\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\"\n ></co-transaction-button-bar>\n <div class=\"transaction-lines-header-item right\">\n <co-avatar class=\"transaction-sales-avatar\" [relationId]=\"transaction.transactionInfo.handledBy\"\n [screenConfigurationObject]=\"cfgNames.HeaderHandledBy\" screenConfigNativeElement></co-avatar>\n <co-avatar class=\"transaction-sales-avatar\"\n [relationId]=\"transaction.transactionInfo.branch?.relationId\"\n [screenConfigurationObject]=\"cfgNames.HeaderBranch\" screenConfigNativeElement></co-avatar>\n <co-view-mode-buttons *ngIf=\"!shouldShowTiles() && showViewModeButtons\" [showViewModes]=\"[viewModes.List, viewModes.Tiles]\"\n (viewModeChange)=\"activeViewMode = $event\"></co-view-mode-buttons>\n </div>\n </div>\n\n <div class=\"transaction-lines-content-wrapper\">\n <!--<co-transaction-document-button-bar [transaction]=\"transaction\"></co-transaction-document-button-bar>-->\n <div class=\"transaction-lines-content\">\n <div *ngIf=\"activeCategory === category.ServiceOrderService\">\n <co-transaction-service-overview\n [transaction]=\"transaction\"\n ></co-transaction-service-overview>\n </div>\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles || shouldShowTiles()\">\n <co-transaction-cards\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-cards>\n </div>\n <div class=\"transaction-lines-wrapper\" *ngIf=\"(activeViewMode === viewModes.List && !shouldShowTiles()) && activeCategory !== category.ServiceOrderService\">\n <co-transaction-lines\n [transaction]=\"transaction\"\n [activeCategory]=\"activeCategory\"\n (saveTransactionLine)=\"saveTransactionLineText($event)\"\n ></co-transaction-lines>\n </div>\n <div class=\"transaction-footer-wrapper\">\n <div class=\"transaction-footer-left\">\n <co-add-product\n *ngIf=\"activeCategory === categories.SalesOrderCashRegister || activeCategory === categories.SalesOrderOverview || activeCategory === categories.PurchaseOrderOverview || activeCategory === categories.SalesOrderQuotation\">\n </co-add-product>\n <co-transaction-button class=\"custom-width text-rule\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"\n (click)=\"handleTransactionText()\">\n </co-transaction-button>\n </div>\n <div class=\"transaction-footer-center\">\n <co-transaction-margin *ngIf=\"activeCategory === categories.SalesOrderDeliveryNote\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionMarginInfo]=\"transactionMarginInfo\"\n ></co-transaction-margin>\n </div>\n <co-transaction-totals *ngIf=\"activeCategory !== category.ServiceOrderService\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionTotal]=\"transaction.transactionTotal\"\n [showDiscount]=\"true\"\n ></co-transaction-totals>\n </div>\n </div>\n <co-transaction-lines-side-panel\n *ngIf=\"transaction && ((transaction.transactionInfo.transactionKind === transactionKind.CashDesk && !fullyInvoiced()) ||\n transaction.transactionInfo.transactionKind === transactionKind.ServiceOrder)\"\n [class.higher-max-width]=\"transaction.transactionInfo.transactionKind === transactionKind.ServiceOrder\"\n [posOrderData]=\"posOrderData\"\n [transaction]=\"transaction\"\n ></co-transaction-lines-side-panel>\n\n <co-transaction-line-side-panel *ngIf=\"showSidePanel\"\n [transaction]=\"transaction\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"sidePanelTransactionLine\"\n [activeCategory]=\"activeCategory\"\n (cancelClick)=\"showSidePanel = false\"\n ></co-transaction-line-side-panel>\n\n <!--Popup voor wijzigen volgorde van tekstregels-->\n <co-transaction-article-text-overview *ngIf=\"showArticleTextOverview\"\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (closeClick)=\"closeArticleTextOverview()\"\n (cancelClick)=\"closeArticleTextOverview()\"\n ></co-transaction-article-text-overview>\n\n <!--Popup voor aanmaken en updaten transactietekstregels-->\n <co-transaction-article-text *ngIf=\"showTransactionText\"\n [header]=\"'ORDER_TEXT_LINE' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [editText]=\"textToEdit\"\n [orderLineSetDTO]=\"selectedOrderLineSetDTO\"\n [transactionLine]=\"transactionLine\"\n (saveClick)=\"saveTransactionLineText($event)\"\n (closeClick)=\"closeTransactionText()\"\n (cancelClick)=\"closeTransactionText()\"\n (saveOrderLineSetClick)=\"saveOrderLineSet($event)\"\n\n ></co-transaction-article-text>\n\n <!--Popup voor aanmaken en updaten artikeltekstregels-->\n <co-transaction-article-text *ngIf=\"showArticleText\"\n [header]=\"'PRODUCT_DESCRIPTION_AND_TEXTS' | localize\"\n [transactionUuid]=\"transaction.transactionInfo.uuid\"\n [showArticleImageDescription]=\"transactionLine.articleBound\"\n [showImage]=\"false\"\n [articleLineNr]=\"transactionLine.lineNr\"\n [articleRef]=\"transactionLine.articleNumber\"\n [transactionLine]=\"transactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveArticleLineText($event)\"\n (closeClick)=\"closeArticleText()\"\n (cancelClick)=\"closeArticleText()\"\n ></co-transaction-article-text>\n\n <co-transaction-copy-order *ngIf=\"showCopyOrderDialog\"\n [transaction]=\"transaction\"\n (closeDialog)=\"showCopyOrderDialog = false\"\n ></co-transaction-copy-order>\n </div>\n </ng-container>\n ",
35514
35605
  providers: [{
35515
35606
  provide: corecomponents_v12.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
35516
35607
  useExisting: i0.forwardRef(function () { return TransactionInternalComponent; })
@@ -40988,10 +41079,35 @@
40988
41079
  if (this._transaction.transactionKind === transactionKind_enum.TransactionKind.PurchaseOrder) {
40989
41080
  this.setStatusbarDataForPurchaseOrder();
40990
41081
  }
41082
+ else if (this._transaction.transactionKind === transactionKind_enum.TransactionKind.CashDesk) {
41083
+ this.setStatusbarDataForCashDesk();
41084
+ }
40991
41085
  else {
40992
41086
  this.setStatusbardataForSalesOrder();
40993
41087
  }
40994
41088
  };
41089
+ TransactionStatusbarComponent.prototype.setStatusbarDataForCashDesk = function () {
41090
+ var transaction = this._transaction;
41091
+ this.statusbarData = [];
41092
+ if (this.screenConfigService.getObjectConfigurationFor(this._configNames.statusBarBT).immediatelyVisible()) {
41093
+ this.statusbarData.push(this.getStatusbarLine("ORDERED", transaction.quantityOrdered, transaction.quantityToBeOrdered, transaction.isFullyOrdered)); //Besteld
41094
+ }
41095
+ if (this.screenConfigService.getObjectConfigurationFor(this._configNames.statusBarTG).immediatelyVisible()) {
41096
+ this.statusbarData.push(this.getStatusbarLine("ALLOCATED", transaction.quantityAllocated)); //Toegewezen
41097
+ }
41098
+ if (this.screenConfigService.getObjectConfigurationFor(this._configNames.statusBarTP).immediatelyVisible()) {
41099
+ this.statusbarData.push(this.getStatusbarLine("TO_BE_PICKED", transaction.quantityToBePicked)); //Te picken
41100
+ }
41101
+ if (this.screenConfigService.getObjectConfigurationFor(this._configNames.statusBarGT).immediatelyVisible()) {
41102
+ this.statusbarData.push(this.getStatusbarLine("PICKED", transaction.quantityPicked)); //Gepickt
41103
+ }
41104
+ if (this.screenConfigService.getObjectConfigurationFor(this._configNames.statusBarGL).immediatelyVisible()) {
41105
+ this.statusbarData.push(this.getStatusbarLine("DELIVERED", transaction.quantityDelivered)); //Geleverd
41106
+ }
41107
+ if (this.screenConfigService.getObjectConfigurationFor(this._configNames.statusBarGF).immediatelyVisible()) {
41108
+ this.statusbarData.push(this.getStatusbarLine("INVOICED", transaction.quantityInvoiced)); //Gefactureerd
41109
+ }
41110
+ };
40995
41111
  TransactionStatusbarComponent.prototype.setStatusbardataForSalesOrder = function () {
40996
41112
  var transaction = this._transaction;
40997
41113
  this.statusbarData = [];
@@ -41414,43 +41530,6 @@
41414
41530
  },] }
41415
41531
  ];
41416
41532
 
41417
- var TransactionSearchPosOrderTileComponent = /** @class */ (function (_super) {
41418
- __extends(TransactionSearchPosOrderTileComponent, _super);
41419
- function TransactionSearchPosOrderTileComponent(iconCacheService) {
41420
- var _this = _super.call(this, iconCacheService) || this;
41421
- _this.iconCacheService = iconCacheService;
41422
- _this.statusBarConfigNames = {
41423
- statusBarBT: _this.cfgNames.StatusBarBT,
41424
- statusBarTG: _this.cfgNames.StatusBarTG,
41425
- statusBarPA: _this.cfgNames.StatusBarPA,
41426
- statusBarPV: _this.cfgNames.StatusBarPV,
41427
- statusBarTP: _this.cfgNames.StatusBarTP,
41428
- statusBarGT: _this.cfgNames.StatusBarGT,
41429
- statusBarGP: _this.cfgNames.StatusBarGP,
41430
- statusBarGL: _this.cfgNames.StatusBarGL,
41431
- statusBarGF: _this.cfgNames.StatusBarGF
41432
- };
41433
- return _this;
41434
- }
41435
- TransactionSearchPosOrderTileComponent.prototype.showClass = function () {
41436
- return true;
41437
- };
41438
- return TransactionSearchPosOrderTileComponent;
41439
- }(TransactionSearchTileBaseComponent));
41440
- TransactionSearchPosOrderTileComponent.decorators = [
41441
- { type: i0.Component, args: [{
41442
- selector: 'co-transaction-search-pos-order-tile',
41443
- 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\">\n <span [textContent]=\"transaction.transNr\"></span>\n <div class=\"type-indicator\"><span [textContent]=\"transaction.transactionKind\"></span></div>\n </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\" (click)=\"$event.stopPropagation()\">\n <co-transaction-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [transaction]=\"transaction\"></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\">\n <co-input-checkbox *ngIf=\"showCheckbox\"\n [(model)]=\"transaction.selected\"\n ></co-input-checkbox>\n </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]=\"iconCacheService.getIcon(icons.Lock)\" class=\"lock-icon\"></co-icon>\n <ng-template #indefinite>\n <co-icon [iconData]=\"iconCacheService.getIcon(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>\n ",
41444
- encapsulation: i0.ViewEncapsulation.None
41445
- },] }
41446
- ];
41447
- TransactionSearchPosOrderTileComponent.ctorParameters = function () { return [
41448
- { type: IconCacheService }
41449
- ]; };
41450
- TransactionSearchPosOrderTileComponent.propDecorators = {
41451
- showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-search-pos-order-tile',] }]
41452
- };
41453
-
41454
41533
  var TransactionSearchPosOrderTileModule = /** @class */ (function () {
41455
41534
  function TransactionSearchPosOrderTileModule() {
41456
41535
  }
@@ -41476,32 +41555,6 @@
41476
41555
  },] }
41477
41556
  ];
41478
41557
 
41479
- var TransactionSearchPosGridComponent = /** @class */ (function (_super) {
41480
- __extends(TransactionSearchPosGridComponent, _super);
41481
- function TransactionSearchPosGridComponent(searchService) {
41482
- var _this = _super.call(this) || this;
41483
- _this.searchService = searchService;
41484
- return _this;
41485
- }
41486
- TransactionSearchPosGridComponent.prototype.showClass = function () {
41487
- return true;
41488
- };
41489
- return TransactionSearchPosGridComponent;
41490
- }(TransactionSearchGridBaseComponent));
41491
- TransactionSearchPosGridComponent.decorators = [
41492
- { type: i0.Component, args: [{
41493
- selector: 'co-transaction-search-pos-grid',
41494
- template: "\n <div>\n <co-simple-grid\n [data]=\"searchService.transactions\"\n [extraColumns]=\"extraColumns\"\n [dragDropEnabled]=\"true\"\n [emitDragDrop]=\"false\"\n (selectRow)=\"onTransactionClick($event)\">\n <co-simple-grid-column [headerText]=\"'ACTIVE' | localize\"\n [order]=\"10\" [textAlign]=\"align.Center\">\n <ng-template #template let-row=\"row\">\n <co-input-checkbox [model]=\"row.active\" readonly></co-input-checkbox>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'NR' | localize\" [field]=\"'transNr'\"\n [order]=\"20\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'NAME' | localize\" [field]=\"'relationName'\"\n [order]=\"30\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RELATION_NUMBER' | localize\" [field]=\"'relationNr'\"\n [order]=\"40\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'BRANCH' | localize\" [field]=\"'brancheName'\"\n [order]=\"50\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ADDRESS' | localize\" [field]=\"'adres'\"\n [order]=\"70\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'REFERENCE_RELATION' | localize\" [field]=\"'relationReference'\"\n [order]=\"80\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PREFERRED_DATE' | localize\"\n [order]=\"90\" [textAlign]=\"align.Right\" [resizable]=\"false\">\n <ng-template #template let-row=\"row\">\n <div [textContent]=\"row.preferredDeliveryDate | date: 'dd MMM yyyy'\"></div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'TRANSACTION_DATE' | localize\"\n [order]=\"100\" [textAlign]=\"align.Right\" [resizable]=\"false\">\n <ng-template #template let-row=\"row\">\n <div [textContent]=\"row.transDate | date:'dd MMM yyyy'\"></div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'ORDER_DEFINITIVE' | localize\"\n [order]=\"105\" [textAlign]=\"align.Center\">\n <ng-template #template let-row=\"row\">\n <co-input-checkbox [model]=\"row.transactionDefinitive\" readonly></co-input-checkbox>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | localize\"\n [order]=\"110\" [textAlign]=\"align.Right\" [resizable]=\"false\">\n <ng-template #template let-row=\"row\">\n <div [textContent]=\"row.deliveryDate | date:'dd MMM yyyy'\"></div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE_DEFINITIVE' | localize\"\n [order]=\"115\" [textAlign]=\"align.Center\">\n <ng-template #template let-row=\"row\">\n <co-input-checkbox [model]=\"row.deliveryDateDefinitive\" readonly></co-input-checkbox>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
41495
- encapsulation: i0.ViewEncapsulation.None
41496
- },] }
41497
- ];
41498
- TransactionSearchPosGridComponent.ctorParameters = function () { return [
41499
- { type: TransactionSearchService }
41500
- ]; };
41501
- TransactionSearchPosGridComponent.propDecorators = {
41502
- showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-search-pos-grid',] }]
41503
- };
41504
-
41505
41558
  var TransactionSearchPosGridModule = /** @class */ (function () {
41506
41559
  function TransactionSearchPosGridModule() {
41507
41560
  }
@@ -41940,6 +41993,420 @@
41940
41993
  },] }
41941
41994
  ];
41942
41995
 
41996
+ var TransactionCashDeskFilterContentArticleComponent = /** @class */ (function (_super) {
41997
+ __extends(TransactionCashDeskFilterContentArticleComponent, _super);
41998
+ function TransactionCashDeskFilterContentArticleComponent() {
41999
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
42000
+ _this.modes = corecomponents_v12.FilterItemMode;
42001
+ _this.exceedanceCodeFields = { text: "description", value: "code" };
42002
+ _this.turnoverGroupFields = { text: "description", value: "turnovergroupNr" };
42003
+ _this.mainArticleFields = { text: "description", value: "articlenumber" };
42004
+ _this.supplierFields = { text: "displayName", value: "relationId" };
42005
+ _this.getArticles = function (text) {
42006
+ var request = new articleExtendedRequest.ArticleExtendedRequest();
42007
+ request.articleNumber = text;
42008
+ return _this.transactionService.getArticles(request).then(function (articles) {
42009
+ return new corecomponents_v12.FilterViewmodel(articles, { text: 'articleNumber', value: 'articleNumber' }).filterItems;
42010
+ });
42011
+ };
42012
+ return _this;
42013
+ }
42014
+ TransactionCashDeskFilterContentArticleComponent.prototype.showClass = function () {
42015
+ return true;
42016
+ };
42017
+ TransactionCashDeskFilterContentArticleComponent.prototype.loadCollections = function () {
42018
+ this._setExceedanceCodes();
42019
+ this._setSuppliers();
42020
+ this._setTurnoverGroups();
42021
+ this._setMainArticles();
42022
+ };
42023
+ TransactionCashDeskFilterContentArticleComponent.prototype._setExceedanceCodes = function () {
42024
+ var _this = this;
42025
+ this.transactionService.getInOutCollection("NL").then(function (exceedanceCodes) {
42026
+ _this.exceedanceCodes = new corecomponents_v12.FilterViewmodel(exceedanceCodes, _this.exceedanceCodeFields).filterItems;
42027
+ });
42028
+ };
42029
+ TransactionCashDeskFilterContentArticleComponent.prototype._setTurnoverGroups = function () {
42030
+ var _this = this;
42031
+ this.transactionService.getTurnoverGroups().then(function (turnoverGroups) {
42032
+ _this.turnoverGroups = new corecomponents_v12.FilterViewmodel(turnoverGroups, _this.turnoverGroupFields).filterItems;
42033
+ });
42034
+ };
42035
+ TransactionCashDeskFilterContentArticleComponent.prototype._setMainArticles = function () {
42036
+ var _this = this;
42037
+ this.transactionService.getMainArticles().then(function (articles) {
42038
+ _this.mainArticles = new corecomponents_v12.FilterViewmodel(articles, _this.mainArticleFields).filterItems;
42039
+ });
42040
+ };
42041
+ TransactionCashDeskFilterContentArticleComponent.prototype._setSuppliers = function () {
42042
+ var _this = this;
42043
+ var request = new relationRequest.RelationRequest();
42044
+ request.relationType = relationKind_enum$1.RelationKind.Supplier;
42045
+ this.relationService.getRelationListObjects(request).then(function (relationListObjects) {
42046
+ _this.suppliers = new corecomponents_v12.FilterViewmodel(relationListObjects, _this.supplierFields).filterItems;
42047
+ });
42048
+ };
42049
+ return TransactionCashDeskFilterContentArticleComponent;
42050
+ }(TransactionFilterContentBaseComponent));
42051
+ TransactionCashDeskFilterContentArticleComponent.decorators = [
42052
+ { type: i0.Component, args: [{
42053
+ selector: 'co-transaction-cash-desk-filter-content-article',
42054
+ template: "\n <div class=\"transaction-filter-content-article-wrapper transaction-filter-content-wrapper\">\n\n <!--Artikelnummer-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ARTICLE_NR'\"\n [collectionLoadFn]=\"getArticles\"\n [minSearchCharsToLoadCollection]=\"3\"\n [(model)]=\"searchService.searchRequest.articleNr\"\n [mode]=\"modes.SingleSelectList\">\n </co-transaction-filter-item>\n </div>\n\n <!--Omzetgroep-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TURNOVER_GROUP'\"\n [collection]=\"turnoverGroups\"\n [(model)]=\"searchService.searchRequest.rangeTurnoverGroup\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Hoofdartikel-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'MAIN_ARTICLE'\"\n [collection]=\"mainArticles\"\n [(model)]=\"searchService.searchRequest.mainArticleNrRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Uitloopcode -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'EXCEEDENCE_CODE'\"\n [collection]=\"exceedanceCodes\"\n [(model)]=\"searchService.searchRequest.exceedanceCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n </co-transaction-filter-item>\n </div>\n\n <!--Leverancier-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'SUPPLIER'\"\n [collection]=\"suppliers\"\n [(model)]=\"searchService.searchRequest.rangeSupplier\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n </div>\n "
42055
+ },] }
42056
+ ];
42057
+ TransactionCashDeskFilterContentArticleComponent.propDecorators = {
42058
+ showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-search-filter-content",] }]
42059
+ };
42060
+
42061
+ var TransactionCashDeskFilterContentArticleModule = /** @class */ (function () {
42062
+ function TransactionCashDeskFilterContentArticleModule() {
42063
+ }
42064
+ return TransactionCashDeskFilterContentArticleModule;
42065
+ }());
42066
+ TransactionCashDeskFilterContentArticleModule.decorators = [
42067
+ { type: i0.NgModule, args: [{
42068
+ imports: [
42069
+ common.CommonModule,
42070
+ corecomponents_v12.FilterItemModule,
42071
+ PipeModule,
42072
+ corecomponents_v12.InputTextModule,
42073
+ corecomponents_v12.ButtonModule,
42074
+ CoreModule,
42075
+ TransactionFilterItemModule
42076
+ ],
42077
+ declarations: [
42078
+ TransactionCashDeskFilterContentArticleComponent
42079
+ ],
42080
+ exports: [
42081
+ TransactionCashDeskFilterContentArticleComponent
42082
+ ]
42083
+ },] }
42084
+ ];
42085
+
42086
+ var TransactionCashDeskFilterContentLogisticsComponent = /** @class */ (function (_super) {
42087
+ __extends(TransactionCashDeskFilterContentLogisticsComponent, _super);
42088
+ function TransactionCashDeskFilterContentLogisticsComponent() {
42089
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
42090
+ _this.modes = corecomponents_v12.FilterItemMode;
42091
+ _this.deliveryMethods = [];
42092
+ _this.deliveryMethodFields = { text: "description", value: "code" };
42093
+ _this.deliveryDateFinalFields = { text: "description", value: "code" };
42094
+ _this.toBeDeliveredFields = { text: "description", value: "code" };
42095
+ _this.warehouseFields = { text: "description", value: "warehouseNo" };
42096
+ _this.sourceWarehouseFields = { text: "description", value: "warehouseNo" };
42097
+ _this.partialDeliveryFields = { text: "description", value: "code" };
42098
+ _this.includingReturnsFields = { text: "description", value: "code" };
42099
+ _this.toBeOrderedFields = { text: "description", value: "code" };
42100
+ return _this;
42101
+ }
42102
+ TransactionCashDeskFilterContentLogisticsComponent.prototype.showClass = function () {
42103
+ return true;
42104
+ };
42105
+ TransactionCashDeskFilterContentLogisticsComponent.prototype.loadCollections = function () {
42106
+ this._setDeliveryMethods();
42107
+ this._setDeliveryDateFinal();
42108
+ this._setTobeDelivered();
42109
+ this._setWarehouses();
42110
+ this._setSourceWarehouses();
42111
+ this._setPartialDelivery();
42112
+ this._setIncludingReturns();
42113
+ this._setToBeOrdered();
42114
+ };
42115
+ //Delivery Methods
42116
+ TransactionCashDeskFilterContentLogisticsComponent.prototype._setDeliveryMethods = function () {
42117
+ var _this = this;
42118
+ this.transactionService.getDeliveryMethods().then(function (deliveryMethods) {
42119
+ _this.deliveryMethods = new corecomponents_v12.FilterViewmodel(deliveryMethods, _this.deliveryMethodFields).filterItems;
42120
+ });
42121
+ };
42122
+ //Delivery date final
42123
+ TransactionCashDeskFilterContentLogisticsComponent.prototype._setDeliveryDateFinal = function () {
42124
+ var _this = this;
42125
+ this.transactionService.getYesNo("NL").then(function (deliveryDateFinal) {
42126
+ _this.deliveryDateFinal = new corecomponents_v12.FilterViewmodel(deliveryDateFinal, _this.deliveryDateFinalFields).filterItems;
42127
+ });
42128
+ };
42129
+ //To be delivered
42130
+ TransactionCashDeskFilterContentLogisticsComponent.prototype._setTobeDelivered = function () {
42131
+ var _this = this;
42132
+ this.transactionService.getYesNo("NL").then(function (toBeDelivered) {
42133
+ _this.toBeDelivered = new corecomponents_v12.FilterViewmodel(toBeDelivered, _this.toBeDeliveredFields).filterItems;
42134
+ });
42135
+ };
42136
+ //Warehouses
42137
+ TransactionCashDeskFilterContentLogisticsComponent.prototype._setWarehouses = function () {
42138
+ var _this = this;
42139
+ this.transactionService.getWarehouses().then(function (warehouses) {
42140
+ _this.warehouses = new corecomponents_v12.FilterViewmodel(warehouses, _this.warehouseFields).filterItems;
42141
+ });
42142
+ };
42143
+ //Source Warehouses
42144
+ TransactionCashDeskFilterContentLogisticsComponent.prototype._setSourceWarehouses = function () {
42145
+ var _this = this;
42146
+ this.transactionService.getWarehouses().then(function (warehouses) {
42147
+ _this.sourceWarehouses = new corecomponents_v12.FilterViewmodel(warehouses, _this.sourceWarehouseFields).filterItems;
42148
+ });
42149
+ };
42150
+ TransactionCashDeskFilterContentLogisticsComponent.prototype._setPartialDelivery = function () {
42151
+ var _this = this;
42152
+ this.transactionService.getYesNo("NL").then(function (partialDelivery) {
42153
+ _this.partialDelivery = new corecomponents_v12.FilterViewmodel(partialDelivery, _this.partialDeliveryFields).filterItems;
42154
+ });
42155
+ };
42156
+ TransactionCashDeskFilterContentLogisticsComponent.prototype._setIncludingReturns = function () {
42157
+ var _this = this;
42158
+ this.transactionService.getYesNo("NL").then(function (includingReturns) {
42159
+ _this.includingReturns = new corecomponents_v12.FilterViewmodel(includingReturns, _this.includingReturnsFields).filterItems;
42160
+ });
42161
+ };
42162
+ TransactionCashDeskFilterContentLogisticsComponent.prototype._setToBeOrdered = function () {
42163
+ var _this = this;
42164
+ this.transactionService.getYesNo("NL").then(function (toBeOrdered) {
42165
+ _this.toBeOrdered = new corecomponents_v12.FilterViewmodel(toBeOrdered, _this.toBeOrderedFields).filterItems;
42166
+ });
42167
+ };
42168
+ return TransactionCashDeskFilterContentLogisticsComponent;
42169
+ }(TransactionFilterContentBaseComponent));
42170
+ TransactionCashDeskFilterContentLogisticsComponent.decorators = [
42171
+ { type: i0.Component, args: [{
42172
+ selector: 'co-transaction-cash-desk-filter-content-logistics',
42173
+ template: "\n <div class=\"transaction-filter-content-logistics-wrapper transaction-filter-content-wrapper\">\n\n <!--Levermethode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_METHOD'\"\n [collection]=\"deliveryMethods\"\n [(model)]=\"searchService.searchRequest.rangeDeliveryMethod\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Leverdatum definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE_FINAL'\"\n [collection]=\"deliveryDateFinal\"\n [(model)]=\"searchService.searchRequest.deliveryDateDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TO_DELIVER'\"\n [collection]=\"toBeDelivered\"\n [(model)]=\"searchService.searchRequest.showToBeDelivered\"\n [mode]=\"modes.Filterlist\">\n ></co-transaction-filter-item>\n </div>\n\n <!--Toegewezen-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-historic-state\n [label]=\"'ALLOCATED'\"\n [(model)]=\"searchService.searchRequest.quantityAllocated\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Geleverd-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-historic-state [label]=\"'DELIVERED'\"\n [(model)]=\"searchService.searchRequest.quantityDelivered\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Gefactureerd-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-historic-state [label]=\"'INVOICED'\"\n [(model)]=\"searchService.searchRequest.quantityInvoiced\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Te picken-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-historic-state [label]=\"'TO_BE_PICKED'\"\n [(model)]=\"searchService.searchRequest.quantityToBePicked\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Gepicked-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-historic-state [label]=\"'PICKED'\"\n [(model)]=\"searchService.searchRequest.quantityPicked\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n ></co-transaction-filter-historic-state>\n </div>\n\n <!--Bevestigde leverdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CONFIRMED_DELIVERY_DATE'\"\n [(model)]=\"searchService.searchRequest.confirmedDeliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <!--Aankomstdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ARRIVAL_DATE'\"\n [(model)]=\"searchService.searchRequest.arrivalDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <!--Deellevering-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PART_DELIVERY'\"\n [collection]=\"partialDelivery\"\n [(model)]=\"searchService.searchRequest.partialDelivery\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Magazijn -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'WAREHOUSE'\"\n [collection]=\"warehouses\"\n [(model)]=\"searchService.searchRequest.warehouse\"\n [mode]=\"modes.SingleSelectList\">\n </co-transaction-filter-item>\n </div>\n\n <!--Bron magazijn-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'SOURCE_WAREHOUSE'\"\n [collection]=\"sourceWarehouses\"\n [(model)]=\"searchService.searchRequest.sourceWarehouse\"\n [mode]=\"modes.SingleSelectList\">\n </co-transaction-filter-item>\n </div>\n\n <!--Serienummer -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'SERIAL_NUMBER'\"\n [(model)]=\"searchService.searchRequest.serialNumber\"\n [mode]=\"modes.TextField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Batchnummer -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BATCH_NUMBER'\"\n [(model)]=\"searchService.searchRequest.batchNumber\"\n [mode]=\"modes.TextField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Inclusief retouren-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'INCLUDING_RETURNS'\"\n [collection]=\"includingReturns\"\n [(model)]=\"searchService.searchRequest.includingReturns\"\n [mode]=\"modes.Filterlist\">\n ></co-transaction-filter-item>\n </div>\n <!--Deellevering-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TO_ORDER'\"\n [collection]=\"toBeOrdered\"\n [(model)]=\"searchService.searchRequest.toBeOrdered\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Levermethode op (regel/header): todo: nog uitzoeken welke filter dit is-->\n </div>\n "
42174
+ },] }
42175
+ ];
42176
+ TransactionCashDeskFilterContentLogisticsComponent.propDecorators = {
42177
+ showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-search-filter-content",] }]
42178
+ };
42179
+
42180
+ var TransactionCashDeskFilterContentLogisticsModule = /** @class */ (function () {
42181
+ function TransactionCashDeskFilterContentLogisticsModule() {
42182
+ }
42183
+ return TransactionCashDeskFilterContentLogisticsModule;
42184
+ }());
42185
+ TransactionCashDeskFilterContentLogisticsModule.decorators = [
42186
+ { type: i0.NgModule, args: [{
42187
+ imports: [
42188
+ common.CommonModule,
42189
+ corecomponents_v12.FilterItemModule,
42190
+ corecomponents_v12.InputDateRangePickerModule,
42191
+ corecomponents_v12.InputTextModule,
42192
+ PipeModule,
42193
+ corecomponents_v12.InputDatePickerModule,
42194
+ corecomponents_v12.ButtonModule,
42195
+ corecomponents_v12.InputCheckboxModule,
42196
+ corecomponents_v12.InputRadioButtonModule,
42197
+ TransactionFilterHistoricStateModule,
42198
+ CoreModule,
42199
+ TransactionFilterItemModule
42200
+ ],
42201
+ declarations: [
42202
+ TransactionCashDeskFilterContentLogisticsComponent
42203
+ ],
42204
+ exports: [
42205
+ TransactionCashDeskFilterContentLogisticsComponent
42206
+ ]
42207
+ },] }
42208
+ ];
42209
+
42210
+ var TransactionCashDeskFilterContentOrderComponent = /** @class */ (function (_super) {
42211
+ __extends(TransactionCashDeskFilterContentOrderComponent, _super);
42212
+ function TransactionCashDeskFilterContentOrderComponent() {
42213
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
42214
+ _this.modes = corecomponents_v12.FilterItemMode;
42215
+ _this.salesPersonsFields = { text: "name", value: "relationId" };
42216
+ _this.tagsFields = { text: "description", value: "tagValueId" };
42217
+ _this.branchFields = { text: "familyName", value: "relationId" };
42218
+ _this.paymentConditionsFields = { text: "description", value: "code" };
42219
+ _this.onHoldCodeFields = { text: "description", value: "onHoldCode" };
42220
+ _this.commissionCodeFields = { text: "description", value: "code" };
42221
+ _this.orderDefiniteFields = { text: "description", value: "code" };
42222
+ _this.orderFullyPaidFields = { text: "description", value: "code" };
42223
+ _this.orderDepositFullyPaidFields = { text: "description", value: "code" };
42224
+ _this.orderActiveFields = { text: "description", value: "code" };
42225
+ _this.customerGroupFields = { text: "naam", value: "groepsnummer" };
42226
+ _this.workflowStatusFields = { text: "name", value: "name" };
42227
+ _this.loadCustomers = function (nameFilter) { return __awaiter(_this, void 0, void 0, function () {
42228
+ var request;
42229
+ return __generator(this, function (_a) {
42230
+ request = new relationRequest.RelationRequest();
42231
+ request.familyName = nameFilter;
42232
+ return [2 /*return*/, this.relationService.getRelationListObjects(request).then(function (relations) {
42233
+ return new corecomponents_v12.FilterViewmodel(relations, { text: 'familyName', value: 'familyName' }).filterItems;
42234
+ })];
42235
+ });
42236
+ }); };
42237
+ return _this;
42238
+ }
42239
+ TransactionCashDeskFilterContentOrderComponent.prototype.showClass = function () {
42240
+ return true;
42241
+ };
42242
+ TransactionCashDeskFilterContentOrderComponent.prototype.handleCollectionChange = function () {
42243
+ this.changeDetector.detectChanges();
42244
+ };
42245
+ TransactionCashDeskFilterContentOrderComponent.prototype.loadCollections = function () {
42246
+ this._setSalesPersons();
42247
+ this._setTags();
42248
+ this._setBranches();
42249
+ this._setPaymentConditions();
42250
+ this._setOnHoldCodes();
42251
+ this._setCommissionCodes();
42252
+ this._setOrderDefinitive();
42253
+ this._setOrderFullyPaid();
42254
+ this._setOrderDepositFullyPaid();
42255
+ this._setOrderActive();
42256
+ this._setCustomerGroups();
42257
+ this._setWorkFlowStatuses();
42258
+ };
42259
+ //Verkoper
42260
+ TransactionCashDeskFilterContentOrderComponent.prototype._setSalesPersons = function () {
42261
+ var _this = this;
42262
+ this.transactionService.getSalesPersons().then(function (salesPersons) {
42263
+ _this.salesPersons = new corecomponents_v12.FilterViewmodel(salesPersons, _this.salesPersonsFields).filterItems;
42264
+ });
42265
+ };
42266
+ // Tags
42267
+ TransactionCashDeskFilterContentOrderComponent.prototype._setTags = function () {
42268
+ var _this = this;
42269
+ this.transactionService.getTags(1).then(function (tags) {
42270
+ _this.tags = new corecomponents_v12.FilterViewmodel(tags, _this.tagsFields).filterItems;
42271
+ });
42272
+ };
42273
+ //Branches
42274
+ TransactionCashDeskFilterContentOrderComponent.prototype._setBranches = function () {
42275
+ var _this = this;
42276
+ var request = new relationRequest.RelationRequest();
42277
+ request.relationType = relationKind_enum.RelationKind.Branch;
42278
+ this.relationService.getRelationListObjects(request).then(function (branches) {
42279
+ _this.branches = new corecomponents_v12.FilterViewmodel(branches, _this.branchFields).filterItems;
42280
+ });
42281
+ };
42282
+ TransactionCashDeskFilterContentOrderComponent.prototype._setPaymentConditions = function () {
42283
+ var _this = this;
42284
+ this.transactionService.getPaymentConditions().then(function (conditions) {
42285
+ _this.paymentConditions = new corecomponents_v12.FilterViewmodel(conditions, _this.paymentConditionsFields).filterItems;
42286
+ });
42287
+ };
42288
+ //OnHoldCodes
42289
+ TransactionCashDeskFilterContentOrderComponent.prototype._setOnHoldCodes = function () {
42290
+ var _this = this;
42291
+ this.transactionService.getOnHoldCodes().then(function (onHoldCodes) {
42292
+ _this.onHoldCodes = new corecomponents_v12.FilterViewmodel(onHoldCodes, _this.onHoldCodeFields).filterItems;
42293
+ });
42294
+ };
42295
+ //CommissionCodes
42296
+ TransactionCashDeskFilterContentOrderComponent.prototype._setCommissionCodes = function () {
42297
+ var _this = this;
42298
+ this.transactionService.getCommissionCodes("NL").then(function (commissionCodes) {
42299
+ _this.commissionCodes = new corecomponents_v12.FilterViewmodel(commissionCodes, _this.commissionCodeFields).filterItems;
42300
+ });
42301
+ };
42302
+ TransactionCashDeskFilterContentOrderComponent.prototype._setOrderDefinitive = function () {
42303
+ var _this = this;
42304
+ this.transactionService.getYesNo("NL").then(function (orderDefinite) {
42305
+ _this.orderDefinite = new corecomponents_v12.FilterViewmodel(orderDefinite, _this.orderDefiniteFields).filterItems;
42306
+ });
42307
+ };
42308
+ TransactionCashDeskFilterContentOrderComponent.prototype._setOrderFullyPaid = function () {
42309
+ var _this = this;
42310
+ this.transactionService.getYesNo("NL").then(function (orderFullyPaid) {
42311
+ _this.orderFullyPaid = new corecomponents_v12.FilterViewmodel(orderFullyPaid, _this.orderFullyPaidFields).filterItems;
42312
+ });
42313
+ };
42314
+ TransactionCashDeskFilterContentOrderComponent.prototype._setOrderDepositFullyPaid = function () {
42315
+ var _this = this;
42316
+ this.transactionService.getYesNo("NL").then(function (orderDepositFullyPaid) {
42317
+ _this.orderDepositFullyPaid = new corecomponents_v12.FilterViewmodel(orderDepositFullyPaid, _this.orderDepositFullyPaidFields).filterItems;
42318
+ });
42319
+ };
42320
+ TransactionCashDeskFilterContentOrderComponent.prototype._setOrderActive = function () {
42321
+ var _this = this;
42322
+ this.transactionService.getYesNo("NL").then(function (orderActive) {
42323
+ _this.orderActive = new corecomponents_v12.FilterViewmodel(orderActive, _this.orderActiveFields).filterItems;
42324
+ });
42325
+ };
42326
+ //CustomerGroups
42327
+ TransactionCashDeskFilterContentOrderComponent.prototype._setCustomerGroups = function () {
42328
+ var _this = this;
42329
+ this.transactionService.getCustomerGroups().then(function (customerGroups) {
42330
+ _this.customerGroups = new corecomponents_v12.FilterViewmodel(customerGroups, _this.customerGroupFields).filterItems;
42331
+ });
42332
+ };
42333
+ TransactionCashDeskFilterContentOrderComponent.prototype._setWorkFlowStatuses = function () {
42334
+ var _this = this;
42335
+ this.transactionService.getWorkFlowStatuses(transactionKind_enum.TransactionKind.SalesOrder).then(function (workflowStatuses) {
42336
+ _this.workflowStatuses = new corecomponents_v12.FilterViewmodel(workflowStatuses, _this.workflowStatusFields).filterItems;
42337
+ });
42338
+ };
42339
+ return TransactionCashDeskFilterContentOrderComponent;
42340
+ }(TransactionFilterContentBaseComponent));
42341
+ TransactionCashDeskFilterContentOrderComponent.decorators = [
42342
+ { type: i0.Component, args: [{
42343
+ selector: 'co-transaction-cash-desk-filter-content-order',
42344
+ template: "\n <div class=\"transaction-filter-content-order-wrapper transaction-filter-content-wrapper\">\n\n <!--Orderdatum-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DATE'\"\n [(model)]=\"searchService.searchRequest.rangeTransDate\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'DELIVERY_DATE'\"\n [(model)]=\"searchService.searchRequest.deliveryDateRange\"\n [mode]=\"modes.DateRangeField\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'WORKFLOW_STATUS'\"\n [collection]=\"workflowStatuses\"\n [(model)]=\"searchService.searchRequest.rangeWorkflowStatusNames\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'BRANCH'\"\n [collection]=\"branches\"\n [(model)]=\"searchService.searchRequest.rangeBranchId\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Betaalconditie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'PAYMENT_CONDITION'\"\n [collection]=\"paymentConditions\"\n [(model)]=\"searchService.searchRequest.rangePaymentCondition\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Verkoper-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'HANDLED_BY'\"\n [collection]=\"salesPersons\"\n [(model)]=\"searchService.searchRequest.rangeHandledBy\"\n [mode]=\"modes.Filterlist\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Eigen referentie-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'OWN_REFERENCE'\"\n [(model)]=\"searchService.searchRequest.ownReference\"\n [mode]=\"modes.TextField\"\n >\n </co-transaction-filter-item>\n </div>\n\n <!--Tags-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'TAGS'\"\n [collection]=\"tags\"\n [(model)]=\"searchService.searchRequest.tagRange\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--On hold codes-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ON_HOLD'\"\n [collection]=\"onHoldCodes\"\n [(model)]=\"searchService.searchRequest.rangeOnHoldCodes\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Order definitief-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEFINITIVE'\"\n [collection]=\"orderDefinite\"\n [(model)]=\"searchService.searchRequest.transactionDefinitive\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Order fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_FULLY_PAID'\"\n [collection]=\"orderFullyPaid\"\n [(model)]=\"searchService.searchRequest.fullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n\n <!--Order deposit fully paid -->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ORDER_DEPOSIT_FULLY_PAID'\"\n [collection]=\"orderDepositFullyPaid\"\n [(model)]=\"searchService.searchRequest.depositFullyPaid\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n\n <!--Commissiecode-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'COMMISSION_CODE'\"\n [collection]=\"commissionCodes\"\n [(model)]=\"searchService.searchRequest.commissionCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\">\n >\n </co-transaction-filter-item>\n </div>\n\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'ACTIVE'\"\n [collection]=\"orderActive\"\n [(model)]=\"searchService.searchRequest.active\"\n [mode]=\"modes.Filterlist\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantnaam-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_NAME'\"\n [searchCollectionPlaceholder]=\"searchPlaceholder.CustomerName\"\n [mode]=\"modes.SingleSelectList\"\n [(model)]=\"searchService.searchRequest.relationName\"\n [minSearchCharsToLoadCollection]=\"3\"\n [collectionLoadFn]=\"loadCustomers\">\n </co-transaction-filter-item>\n </div>\n\n <!--Klantgroep-->\n <div class=\"filter-item-wrapper\">\n <co-transaction-filter-item [placeholder]=\"'CUSTOMER_GROUP'\"\n [(model)]=\"searchService.searchRequest.customerGroupId\"\n [mode]=\"modes.SingleSelectList\"\n [collection]=\"customerGroups\">\n </co-transaction-filter-item>\n </div>\n </div>\n "
42345
+ },] }
42346
+ ];
42347
+ TransactionCashDeskFilterContentOrderComponent.propDecorators = {
42348
+ showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-search-filter-content",] }]
42349
+ };
42350
+
42351
+ var TransactionCashDeskFilterContentOrderModule = /** @class */ (function () {
42352
+ function TransactionCashDeskFilterContentOrderModule() {
42353
+ }
42354
+ return TransactionCashDeskFilterContentOrderModule;
42355
+ }());
42356
+ TransactionCashDeskFilterContentOrderModule.decorators = [
42357
+ { type: i0.NgModule, args: [{
42358
+ imports: [
42359
+ common.CommonModule,
42360
+ corecomponents_v12.InputDatePickerModule,
42361
+ PipeModule,
42362
+ corecomponents_v12.InputTextModule,
42363
+ corecomponents_v12.FilterItemModule,
42364
+ corecomponents_v12.InputDateRangePickerModule,
42365
+ corecomponents_v12.ButtonModule,
42366
+ corecomponents_v12.InputCheckboxModule,
42367
+ CoreModule,
42368
+ TransactionFilterItemModule
42369
+ ],
42370
+ declarations: [
42371
+ TransactionCashDeskFilterContentOrderComponent
42372
+ ],
42373
+ exports: [
42374
+ TransactionCashDeskFilterContentOrderComponent
42375
+ ]
42376
+ },] }
42377
+ ];
42378
+
42379
+ var TransactionCashDeskFilterModule = /** @class */ (function () {
42380
+ function TransactionCashDeskFilterModule() {
42381
+ }
42382
+ return TransactionCashDeskFilterModule;
42383
+ }());
42384
+ TransactionCashDeskFilterModule.decorators = [
42385
+ { type: i0.NgModule, args: [{
42386
+ imports: [
42387
+ common.CommonModule,
42388
+ corecomponents_v12.ButtonModule,
42389
+ corecomponents_v12.IconModule,
42390
+ TransactionFilterCategoriesModule,
42391
+ corecomponents_v12.InputTextModule,
42392
+ PipeModule,
42393
+ corecomponents_v12.InputDatePickerModule,
42394
+ TransactionSalesOrderFilterContentOrderModule,
42395
+ TransactionSalesOrderFilterContentLogisticsModule,
42396
+ TransactionSalesOrderFilterContentArticleModule,
42397
+ TransactionCashDeskFilterContentArticleModule,
42398
+ TransactionCashDeskFilterContentLogisticsModule,
42399
+ TransactionCashDeskFilterContentOrderModule
42400
+ ],
42401
+ declarations: [
42402
+ TransactionCashDeskFilterComponent
42403
+ ],
42404
+ exports: [
42405
+ TransactionCashDeskFilterComponent
42406
+ ]
42407
+ },] }
42408
+ ];
42409
+
41943
42410
  var TransactionSearchModule = /** @class */ (function () {
41944
42411
  function TransactionSearchModule() {
41945
42412
  }
@@ -41954,6 +42421,7 @@
41954
42421
  TransactionSalesOrderFilterModule,
41955
42422
  TransactionPurchaseOrderFilterModule,
41956
42423
  TransactionSalesQuotationFilterModule,
42424
+ TransactionCashDeskFilterModule,
41957
42425
  TransactionFilterModule,
41958
42426
  corecomponents_v12.IconCollapseHandleModule,
41959
42427
  TransactionStatusbarModule,
@@ -42138,7 +42606,7 @@
42138
42606
  };
42139
42607
  TransactionQuickAccessPlanningPopupComponent.prototype.ngOnInit = function () {
42140
42608
  if (this.deliveryMethods.length) {
42141
- this.selectedDeliveryMethod = this.deliveryMethods[1];
42609
+ this.selectedDeliveryMethod = this.deliveryMethods[0];
42142
42610
  }
42143
42611
  };
42144
42612
  Object.defineProperty(TransactionQuickAccessPlanningPopupComponent.prototype, "transactionInfo", {
@@ -42174,11 +42642,11 @@
42174
42642
  request.lines.push(lspLine);
42175
42643
  });
42176
42644
  this._transaction.sendPackageInformationToLSP(request).then(function (result) {
42177
- if (result.length > 0) {
42645
+ _this._transactionService.rememberCurrentTransaction(result).then(function (result) {
42178
42646
  _this._transaction.getPackageInformation(_this.transactionInfo.transactionInfo.uuid, _this.selectedLines[0].uuid).then(function (result) {
42179
- _this.packageLSP = result;
42647
+ _this.packageLSP = result ? result : undefined;
42180
42648
  });
42181
- }
42649
+ });
42182
42650
  });
42183
42651
  };
42184
42652
  TransactionQuickAccessPlanningPopupComponent.prototype.openTrackAndTraceURL = function (packageLsp) {
@@ -42192,7 +42660,7 @@
42192
42660
  TransactionQuickAccessPlanningPopupComponent.decorators = [
42193
42661
  { type: i0.Component, args: [{
42194
42662
  selector: "co-transaction-quick-access-planning-popup",
42195
- template: "\n <div class=\"wrapper\">\n <div class=\"delivery-method-wrapper\" *ngIf=\"!packageLSP\">\n <span [textContent]=\"'LOGISTICS_SERVICE_PROVIDER_CHOICE' | localize\"></span>\n <div class=\"methods-wrapper narrow-scrollbar\">\n <div class=\"method\" [class.selected]=\"selectedDeliveryMethod === method\"\n (click)=\"deliveryMethodChange(method)\"\n *ngFor=\"let method of deliveryMethods\">\n <div class=\"radio-wrapper\">\n <co-input-radio-button (click)=\"deliveryMethodChange(method)\" [model]=\"selectedDeliveryMethod === method\"\n ></co-input-radio-button>\n </div>\n <div class=\"body-wrapper\">\n <co-image\n [source]=\"method.image?.documentBody\"></co-image>\n <span class=\"body-text\" [textContent]=\"method.description\"></span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"header-info-wrapper\">\n <div class=\"block\">\n <span class=\"header\" [textContent]=\"'LINES_AMOUNT' | localize\"></span>\n <span class=\"text\" [textContent]=\"selectedLines?.length\"></span>\n </div>\n\n <div class=\"block\">\n <span class=\"header\" [textContent]=\"'ARTICLE_AMOUNT' | localize\"></span>\n <span class=\"text\" [textContent]=\"'?'\"></span>\n </div>\n\n <div class=\"block\">\n <span class=\"header\" [textContent]=\"'TOTAL_WEIGHT' | localize\"></span>\n <span class=\"text\" [textContent]=\"'?'\"></span>\n </div>\n\n <div class=\"block\">\n <span class=\"header\" [textContent]=\"'PACKAGE_CODE2' | localize\"></span>\n <span class=\"text\" [textContent]=\"'?'\"></span>\n </div>\n </div>\n\n <div class=\"send-button-wrapper\" *ngIf=\"!packageLSP\">\n <co-button (click)=\"createTrackAndTrace()\" [label]=\"'SEND' | localize\"></co-button>\n </div>\n\n <div class=\"track-and-trace-wrapper\" *ngIf=\"packageLSP\">\n <span class=\"track-and-trace-header\" [textContent]=\"'INFORMATION_LOGISTIC_SERVICE_PROVIDER' | localize\"></span>\n <div class=\"track-and-trace-body-wrapper\" *ngFor=\"let packageLsp of packageLSP\">\n <div class=\"code-wrapper\">\n <span [textContent]=\"'TRACK_AND_TRACE' | localize\"></span>\n <span [textContent]=\"packageLsp ? packageLsp.trackAndTraceCode : '--'\"></span>\n </div>\n <a (click)=\"openTrackAndTraceURL(packageLsp)\"\n [textContent]=\"packageLsp ? packageLsp.trackAndTraceUrl : '--'\"></a>\n </div>\n </div>\n </div>\n\n ",
42663
+ template: "\n <div class=\"wrapper\">\n <div class=\"delivery-method-wrapper\" *ngIf=\"!packageLSP\">\n <span [textContent]=\"'LOGISTICS_SERVICE_PROVIDER_CHOICE' | localize\"></span>\n <div class=\"methods-wrapper narrow-scrollbar\">\n <div class=\"method\" [class.selected]=\"selectedDeliveryMethod === method\"\n (click)=\"deliveryMethodChange(method)\"\n *ngFor=\"let method of deliveryMethods\">\n <div class=\"radio-wrapper\">\n <co-input-radio-button (click)=\"deliveryMethodChange(method)\" [model]=\"selectedDeliveryMethod === method\"\n ></co-input-radio-button>\n </div>\n <div class=\"body-wrapper\">\n <co-image\n [source]=\"method.image?.documentBody\"></co-image>\n <span class=\"body-text\" [textContent]=\"method.description\"></span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"header-info-wrapper\" *ngFor=\"let lsp of packageLSP\">\n <div class=\"block\">\n <span class=\"header\" [textContent]=\"'LINES_AMOUNT' | localize\"></span>\n <span class=\"text\" [textContent]=\"lsp.lineCount\"></span>\n </div>\n\n <div class=\"block\">\n <span class=\"header\" [textContent]=\"'ARTICLE_AMOUNT' | localize\"></span>\n <span class=\"text\" [textContent]=\"lsp.productCount\"></span>\n </div>\n\n <div class=\"block\">\n <span class=\"header\" [textContent]=\"'TOTAL_WEIGHT' | localize\"></span>\n <span class=\"text\" [textContent]=\"lsp.totalWeight + ' kg'\"></span>\n </div>\n\n <div class=\"block\">\n <span class=\"header\" [textContent]=\"'PACKAGE_CODE2' | localize\"></span>\n <span class=\"text\" [textContent]=\"'?'\"></span>\n </div>\n </div>\n\n <div class=\"send-button-wrapper\" *ngIf=\"!packageLSP\">\n <co-button (click)=\"createTrackAndTrace()\" [label]=\"'SEND' | localize\"></co-button>\n </div>\n\n <div class=\"track-and-trace-wrapper\" *ngIf=\"packageLSP\">\n <span class=\"track-and-trace-header\" [textContent]=\"'INFORMATION_LOGISTIC_SERVICE_PROVIDER' | localize\"></span>\n <div class=\"track-and-trace-body-wrapper\" *ngFor=\"let packageLsp of packageLSP\">\n <div class=\"code-wrapper\">\n <span [textContent]=\"'TRACK_AND_TRACE' | localize\"></span>\n <span [textContent]=\"packageLsp ? packageLsp.trackAndTraceCode : '--'\"></span>\n </div>\n <a (click)=\"openTrackAndTraceURL(packageLsp)\"\n [textContent]=\"packageLsp ? packageLsp.trackAndTraceUrl : '--'\"></a>\n </div>\n </div>\n </div>\n\n ",
42196
42664
  encapsulation: i0.ViewEncapsulation.None
42197
42665
  },] }
42198
42666
  ];
@@ -47482,126 +47950,134 @@
47482
47950
  exports["ɵrl"] = TransactionSalesQuotationFilterContentArticleModule;
47483
47951
  exports["ɵrm"] = TransactionSalesQuotationFilterContentArticleComponent;
47484
47952
  exports["ɵrn"] = TransactionSalesQuotationFilterComponent;
47485
- exports["ɵro"] = SearchFeatureModule;
47486
- exports["ɵrp"] = SearchHeaderButtonsModule;
47487
- exports["ɵrq"] = SearchHeaderButtonsComponent;
47488
- exports["ɵrr"] = SearchViewModeService;
47489
- exports["ɵrs"] = SearchFilterPanelModule;
47490
- exports["ɵrt"] = SearchFilterPanelComponent;
47491
- exports["ɵru"] = SearchComponent;
47492
- exports["ɵrv"] = DeliveryPlanningMainComponent;
47493
- exports["ɵrw"] = DeliveryPlanningPlanOrderListComponent;
47494
- exports["ɵrx"] = DeliveryPlanningPlanOrderListTileComponent;
47495
- exports["ɵry"] = TransactionLineSidePanelPlanningComponent;
47496
- exports["ɵrz"] = TransactionQuickAccessPlanningComponent;
47953
+ exports["ɵro"] = TransactionCashDeskFilterModule;
47954
+ exports["ɵrp"] = TransactionCashDeskFilterContentArticleModule;
47955
+ exports["ɵrq"] = TransactionCashDeskFilterContentArticleComponent;
47956
+ exports["ɵrr"] = TransactionCashDeskFilterContentLogisticsModule;
47957
+ exports["ɵrs"] = TransactionCashDeskFilterContentLogisticsComponent;
47958
+ exports["ɵrt"] = TransactionCashDeskFilterContentOrderModule;
47959
+ exports["ɵru"] = TransactionCashDeskFilterContentOrderComponent;
47960
+ exports["ɵrv"] = TransactionCashDeskFilterComponent;
47961
+ exports["ɵrw"] = SearchFeatureModule;
47962
+ exports["ɵrx"] = SearchHeaderButtonsModule;
47963
+ exports["ɵry"] = SearchHeaderButtonsComponent;
47964
+ exports["ɵrz"] = SearchViewModeService;
47497
47965
  exports["ɵs"] = SafeStylePipe;
47498
- exports["ɵsa"] = TransactionQuickAccessPlanningPopupComponent;
47499
- exports["ɵsb"] = TransactionCardModule;
47500
- exports["ɵsc"] = TransactionCardPurchaseOverviewModule;
47501
- exports["ɵsd"] = TransactionCardHeaderModule;
47502
- exports["ɵse"] = TransactionCardHeaderComponent;
47503
- exports["ɵsf"] = TransactionCardFooterModule;
47504
- exports["ɵsg"] = TransactionCardFooterComponent;
47505
- exports["ɵsh"] = TransactionCardPurchaseOverviewComponent;
47506
- exports["ɵsi"] = TransactionCardSalesOverviewModule;
47507
- exports["ɵsj"] = TransactionCardSalesOverviewComponent;
47508
- exports["ɵsk"] = TransactionCardReceiveGoodsModule;
47509
- exports["ɵsl"] = TransactionCardReceiveGoodsComponent;
47510
- exports["ɵsm"] = TransactionCardInvoiceModule;
47511
- exports["ɵsn"] = TransactionCardInvoiceComponent;
47512
- exports["ɵso"] = TransactionCardOrderDeliveryModule;
47513
- exports["ɵsp"] = TransactionCardOrderDeliveryComponent;
47514
- exports["ɵsq"] = TransactionCardPurchaseModule;
47515
- exports["ɵsr"] = TransactionCardPurchaseComponent;
47516
- exports["ɵss"] = TransactionCardGoodsAllocationModule;
47517
- exports["ɵst"] = TransactionCardGoodsAllocationComponent;
47518
- exports["ɵsu"] = TransactionCardToBePickedModule;
47519
- exports["ɵsv"] = TransactionCardToBePickedComponent;
47520
- exports["ɵsw"] = TransactionCardPickedModule;
47521
- exports["ɵsx"] = TransactionCardPickedComponent;
47522
- exports["ɵsy"] = TransactionCardPurchaseConfirmationModule;
47523
- exports["ɵsz"] = TransactionBaseCardModule;
47966
+ exports["ɵsa"] = SearchFilterPanelModule;
47967
+ exports["ɵsb"] = SearchFilterPanelComponent;
47968
+ exports["ɵsc"] = SearchComponent;
47969
+ exports["ɵsd"] = DeliveryPlanningMainComponent;
47970
+ exports["ɵse"] = DeliveryPlanningPlanOrderListComponent;
47971
+ exports["ɵsf"] = DeliveryPlanningPlanOrderListTileComponent;
47972
+ exports["ɵsg"] = TransactionLineSidePanelPlanningComponent;
47973
+ exports["ɵsh"] = TransactionQuickAccessPlanningComponent;
47974
+ exports["ɵsi"] = TransactionQuickAccessPlanningPopupComponent;
47975
+ exports["ɵsj"] = TransactionCardModule;
47976
+ exports["ɵsk"] = TransactionCardPurchaseOverviewModule;
47977
+ exports["ɵsl"] = TransactionCardHeaderModule;
47978
+ exports["ɵsm"] = TransactionCardHeaderComponent;
47979
+ exports["ɵsn"] = TransactionCardFooterModule;
47980
+ exports["ɵso"] = TransactionCardFooterComponent;
47981
+ exports["ɵsp"] = TransactionCardPurchaseOverviewComponent;
47982
+ exports["ɵsq"] = TransactionCardSalesOverviewModule;
47983
+ exports["ɵsr"] = TransactionCardSalesOverviewComponent;
47984
+ exports["ɵss"] = TransactionCardReceiveGoodsModule;
47985
+ exports["ɵst"] = TransactionCardReceiveGoodsComponent;
47986
+ exports["ɵsu"] = TransactionCardInvoiceModule;
47987
+ exports["ɵsv"] = TransactionCardInvoiceComponent;
47988
+ exports["ɵsw"] = TransactionCardOrderDeliveryModule;
47989
+ exports["ɵsx"] = TransactionCardOrderDeliveryComponent;
47990
+ exports["ɵsy"] = TransactionCardPurchaseModule;
47991
+ exports["ɵsz"] = TransactionCardPurchaseComponent;
47524
47992
  exports["ɵt"] = SafeHtmlPipe;
47525
- exports["ɵta"] = TransactionBaseCardComponent;
47526
- exports["ɵtb"] = TransactionCardPurchaseConfirmationComponent;
47527
- exports["ɵtc"] = TransactionCardComponent;
47528
- exports["ɵtd"] = TransactionLineSidePanelModule;
47529
- exports["ɵte"] = TransactionLineSidePanelPurchaseModule;
47530
- exports["ɵtf"] = TransactionLineSidePanelPurchaseComponent;
47531
- exports["ɵtg"] = TransactionLineSidePanelSalesModule;
47532
- exports["ɵth"] = TransactionAllocateGoodsHistoryModule;
47533
- exports["ɵti"] = TransactionAllocateGoodsHistoryComponent;
47534
- exports["ɵtj"] = TransactionLineSalesAllocationModule;
47535
- exports["ɵtk"] = TransactionLineSalesAllocationComponent;
47536
- exports["ɵtl"] = TransactionLineSalesDeliveryModule;
47537
- exports["ɵtm"] = TransactionLineDeliveryHistoryModule;
47538
- exports["ɵtn"] = TransactionLineDeliveryHistoryComponent;
47539
- exports["ɵto"] = TransactionLineSalesDeliveryComponent;
47540
- exports["ɵtp"] = TransactionLineSalesInvoiceModule;
47541
- exports["ɵtq"] = TransactionLineInvoiceHistoryModule;
47542
- exports["ɵtr"] = TransactionLineInvoiceHistoryComponent;
47543
- exports["ɵts"] = TransactionLineSalesInvoiceComponent;
47544
- exports["ɵtt"] = TransactionLineSidePanelToBePickedModule;
47545
- exports["ɵtu"] = TransactionPickingHistoryModule;
47546
- exports["ɵtv"] = TransactionPickingHistoryComponent;
47547
- exports["ɵtw"] = TransactionLineSidePanelToBePickedComponent;
47548
- exports["ɵtx"] = TransactionLineSidePanelPickedModule;
47549
- exports["ɵty"] = TransactionLineSidePanelPickedComponent;
47550
- exports["ɵtz"] = TransactionLineSidePanelSalesComponent;
47993
+ exports["ɵta"] = TransactionCardGoodsAllocationModule;
47994
+ exports["ɵtb"] = TransactionCardGoodsAllocationComponent;
47995
+ exports["ɵtc"] = TransactionCardToBePickedModule;
47996
+ exports["ɵtd"] = TransactionCardToBePickedComponent;
47997
+ exports["ɵte"] = TransactionCardPickedModule;
47998
+ exports["ɵtf"] = TransactionCardPickedComponent;
47999
+ exports["ɵtg"] = TransactionCardPurchaseConfirmationModule;
48000
+ exports["ɵth"] = TransactionBaseCardModule;
48001
+ exports["ɵti"] = TransactionBaseCardComponent;
48002
+ exports["ɵtj"] = TransactionCardPurchaseConfirmationComponent;
48003
+ exports["ɵtk"] = TransactionCardComponent;
48004
+ exports["ɵtl"] = TransactionLineSidePanelModule;
48005
+ exports["ɵtm"] = TransactionLineSidePanelPurchaseModule;
48006
+ exports["ɵtn"] = TransactionLineSidePanelPurchaseComponent;
48007
+ exports["ɵto"] = TransactionLineSidePanelSalesModule;
48008
+ exports["ɵtp"] = TransactionAllocateGoodsHistoryModule;
48009
+ exports["ɵtq"] = TransactionAllocateGoodsHistoryComponent;
48010
+ exports["ɵtr"] = TransactionLineSalesAllocationModule;
48011
+ exports["ɵts"] = TransactionLineSalesAllocationComponent;
48012
+ exports["ɵtt"] = TransactionLineSalesDeliveryModule;
48013
+ exports["ɵtu"] = TransactionLineDeliveryHistoryModule;
48014
+ exports["ɵtv"] = TransactionLineDeliveryHistoryComponent;
48015
+ exports["ɵtw"] = TransactionLineSalesDeliveryComponent;
48016
+ exports["ɵtx"] = TransactionLineSalesInvoiceModule;
48017
+ exports["ɵty"] = TransactionLineInvoiceHistoryModule;
48018
+ exports["ɵtz"] = TransactionLineInvoiceHistoryComponent;
47551
48019
  exports["ɵu"] = PrependPipe;
47552
- exports["ɵua"] = TransactionLineSidePanelComponent;
47553
- exports["ɵub"] = TransactionCopyOrderModule;
47554
- exports["ɵuc"] = DefaultConfirmCancelButtonsModule;
47555
- exports["ɵud"] = DefaultConfirmCancelButtonsComponent;
47556
- exports["ɵue"] = TransactionCopyOrderComponent;
47557
- exports["ɵuf"] = TransactionLinesSidePanelModule;
47558
- exports["ɵug"] = TransactionLinesSidePanelCashDeskModule;
47559
- exports["ɵuh"] = TransactionCashRegisterPaymentDialogModule;
47560
- exports["ɵui"] = TransactionCashRegisterPaymentPinModule;
47561
- exports["ɵuj"] = TransactionCashRegisterPaymentButtonsModule;
47562
- exports["ɵuk"] = TransactionCashRegisterPaymentButtonsComponent;
47563
- exports["ɵul"] = TransactionCashRegisterPaymentPinComponent;
47564
- exports["ɵum"] = TransactionCashRegisterPaymentCashModule;
47565
- exports["ɵun"] = RegisteredPaymentModule;
47566
- exports["ɵuo"] = RegisteredPaymentComponent;
47567
- exports["ɵup"] = TransactionCashRegisterPaymentCashComponent;
47568
- exports["ɵuq"] = TransactionCashRegisterPaymentDoneModule;
47569
- exports["ɵur"] = TransactionCashRegisterPaymentDoneComponent;
47570
- exports["ɵus"] = TransactionCashRegisterPaymentMethodModule;
47571
- exports["ɵut"] = TransactionCashRegisterPaymentMethodComponent;
47572
- exports["ɵuu"] = TransactionCashRegisterPaymentQrCodeModule;
47573
- exports["ɵuv"] = TransactionCashRegisterPaymentQrCodeComponent;
47574
- exports["ɵuw"] = TransactionCashRegisterPaymentDialogComponent;
47575
- exports["ɵux"] = TransactionCashRegisterOrderExpenseDialogModule;
47576
- exports["ɵuy"] = TransactionCashRegisterOrderExpenseDialogComponent;
47577
- exports["ɵuz"] = TransactionLinesSidePanelCashDeskComponent;
48020
+ exports["ɵua"] = TransactionLineSalesInvoiceComponent;
48021
+ exports["ɵub"] = TransactionLineSidePanelToBePickedModule;
48022
+ exports["ɵuc"] = TransactionPickingHistoryModule;
48023
+ exports["ɵud"] = TransactionPickingHistoryComponent;
48024
+ exports["ɵue"] = TransactionLineSidePanelToBePickedComponent;
48025
+ exports["ɵuf"] = TransactionLineSidePanelPickedModule;
48026
+ exports["ɵug"] = TransactionLineSidePanelPickedComponent;
48027
+ exports["ɵuh"] = TransactionLineSidePanelSalesComponent;
48028
+ exports["ɵui"] = TransactionLineSidePanelComponent;
48029
+ exports["ɵuj"] = TransactionCopyOrderModule;
48030
+ exports["ɵuk"] = DefaultConfirmCancelButtonsModule;
48031
+ exports["ɵul"] = DefaultConfirmCancelButtonsComponent;
48032
+ exports["ɵum"] = TransactionCopyOrderComponent;
48033
+ exports["ɵun"] = TransactionLinesSidePanelModule;
48034
+ exports["ɵuo"] = TransactionLinesSidePanelCashDeskModule;
48035
+ exports["ɵup"] = TransactionCashRegisterPaymentDialogModule;
48036
+ exports["ɵuq"] = TransactionCashRegisterPaymentPinModule;
48037
+ exports["ɵur"] = TransactionCashRegisterPaymentButtonsModule;
48038
+ exports["ɵus"] = TransactionCashRegisterPaymentButtonsComponent;
48039
+ exports["ɵut"] = TransactionCashRegisterPaymentPinComponent;
48040
+ exports["ɵuu"] = TransactionCashRegisterPaymentCashModule;
48041
+ exports["ɵuv"] = RegisteredPaymentModule;
48042
+ exports["ɵuw"] = RegisteredPaymentComponent;
48043
+ exports["ɵux"] = TransactionCashRegisterPaymentCashComponent;
48044
+ exports["ɵuy"] = TransactionCashRegisterPaymentDoneModule;
48045
+ exports["ɵuz"] = TransactionCashRegisterPaymentDoneComponent;
47578
48046
  exports["ɵv"] = ConfirmationDialogComponent;
47579
- exports["ɵva"] = TransactionLinesSidePanelServiceOrderModule;
47580
- exports["ɵvb"] = TransactionLinesSidePanelServiceOrderComponent;
47581
- exports["ɵvc"] = TransactionLinesSidePanelComponent;
47582
- exports["ɵvd"] = TransactionServiceOverviewModule;
47583
- exports["ɵve"] = TransactionServiceOverviewComponent;
47584
- exports["ɵvf"] = TransactionCardsModule;
47585
- exports["ɵvg"] = TransactionCardsComponent;
47586
- exports["ɵvh"] = TransactionMarginModule;
47587
- exports["ɵvi"] = TransactionMarginComponent;
47588
- exports["ɵvj"] = TransactionMarginBlockComponent;
47589
- exports["ɵvk"] = TransactionInternalComponent;
47590
- exports["ɵvl"] = TransactionGridModule;
47591
- exports["ɵvm"] = TransactionLinesGridModule;
47592
- exports["ɵvn"] = TransactionBaseGridModule;
47593
- exports["ɵvo"] = TransactionBaseGridComponent;
47594
- exports["ɵvp"] = TransactionGridBaseComponent;
47595
- exports["ɵvq"] = DialogTransactionLineWarehouseCcModule;
47596
- exports["ɵvr"] = DialogTransactionLineWarehouseCcComponent;
47597
- exports["ɵvs"] = DialogTransactionHeaderBranchModule;
47598
- exports["ɵvt"] = DialogTransactionHeaderBranchComponent;
47599
- exports["ɵvu"] = TransactionLinesGridComponent;
47600
- exports["ɵvv"] = TransactionOrderConfirmationGridModule;
47601
- exports["ɵvw"] = TransactionOrderConfirmationGridComponent;
47602
- exports["ɵvx"] = TransactionGridComponent;
47603
- exports["ɵvy"] = TransactionTagComponent;
48047
+ exports["ɵva"] = TransactionCashRegisterPaymentMethodModule;
48048
+ exports["ɵvb"] = TransactionCashRegisterPaymentMethodComponent;
48049
+ exports["ɵvc"] = TransactionCashRegisterPaymentQrCodeModule;
48050
+ exports["ɵvd"] = TransactionCashRegisterPaymentQrCodeComponent;
48051
+ exports["ɵve"] = TransactionCashRegisterPaymentDialogComponent;
48052
+ exports["ɵvf"] = TransactionCashRegisterOrderExpenseDialogModule;
48053
+ exports["ɵvg"] = TransactionCashRegisterOrderExpenseDialogComponent;
48054
+ exports["ɵvh"] = TransactionLinesSidePanelCashDeskComponent;
48055
+ exports["ɵvi"] = TransactionLinesSidePanelServiceOrderModule;
48056
+ exports["ɵvj"] = TransactionLinesSidePanelServiceOrderComponent;
48057
+ exports["ɵvk"] = TransactionLinesSidePanelComponent;
48058
+ exports["ɵvl"] = TransactionServiceOverviewModule;
48059
+ exports["ɵvm"] = TransactionServiceOverviewComponent;
48060
+ exports["ɵvn"] = TransactionCardsModule;
48061
+ exports["ɵvo"] = TransactionCardsComponent;
48062
+ exports["ɵvp"] = TransactionMarginModule;
48063
+ exports["ɵvq"] = TransactionMarginComponent;
48064
+ exports["ɵvr"] = TransactionMarginBlockComponent;
48065
+ exports["ɵvs"] = TransactionInternalComponent;
48066
+ exports["ɵvt"] = TransactionGridModule;
48067
+ exports["ɵvu"] = TransactionLinesGridModule;
48068
+ exports["ɵvv"] = TransactionBaseGridModule;
48069
+ exports["ɵvw"] = TransactionBaseGridComponent;
48070
+ exports["ɵvx"] = TransactionGridBaseComponent;
48071
+ exports["ɵvy"] = DialogTransactionLineWarehouseCcModule;
48072
+ exports["ɵvz"] = DialogTransactionLineWarehouseCcComponent;
47604
48073
  exports["ɵw"] = DialogBaseComponent;
48074
+ exports["ɵwa"] = DialogTransactionHeaderBranchModule;
48075
+ exports["ɵwb"] = DialogTransactionHeaderBranchComponent;
48076
+ exports["ɵwc"] = TransactionLinesGridComponent;
48077
+ exports["ɵwd"] = TransactionOrderConfirmationGridModule;
48078
+ exports["ɵwe"] = TransactionOrderConfirmationGridComponent;
48079
+ exports["ɵwf"] = TransactionGridComponent;
48080
+ exports["ɵwg"] = TransactionTagComponent;
47605
48081
  exports["ɵx"] = IconCacheService;
47606
48082
  exports["ɵy"] = CharacteristicAnswerModule;
47607
48083
  exports["ɵz"] = CharacteristicAnswerComponent;