@colijnit/transaction 12.1.35 → 12.1.36

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 (54) hide show
  1. package/bundles/colijnit-transaction.umd.js +656 -437
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +267 -261
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +268 -262
  6. package/esm2015/lib/component/checkout/checkout.component.js +1 -1
  7. package/esm2015/lib/component/core/base/dynamic-base-component.js +8 -0
  8. package/esm2015/lib/component/core/base/transaction-header-base.component.js +1 -1
  9. package/esm2015/lib/component/core/base/transaction-line-base.component.js +1 -1
  10. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +35 -0
  11. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.module.js +28 -0
  12. package/esm2015/lib/component/transaction/transaction.component.js +12 -23
  13. package/esm2015/lib/component/transaction/transaction.module.js +1 -1
  14. package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.js +2 -2
  15. package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.component.js +3 -3
  16. package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +1 -1
  17. package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +39 -22
  18. package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.js +4 -2
  19. package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +1 -1
  20. package/esm2015/lib/component/transaction-line/transaction-line.component.js +1 -1
  21. package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +3 -3
  22. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +1 -1
  23. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +45 -0
  24. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.module.js +23 -0
  25. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +64 -52
  26. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +2 -4
  27. package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +23 -18
  28. package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +4 -10
  29. package/esm2015/lib/service/article-connector.service.js +2 -8
  30. package/esm2015/lib/service/article.service.js +6 -2
  31. package/esm2015/lib/service/dialog.service.js +32 -41
  32. package/esm2015/lib/service/dynamic-component.service.js +68 -0
  33. package/fesm2015/colijnit-transaction.js +440 -255
  34. package/fesm2015/colijnit-transaction.js.map +1 -1
  35. package/lib/component/core/base/dynamic-base-component.d.ts +3 -0
  36. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.d.ts +4 -0
  37. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.module.d.ts +2 -0
  38. package/lib/component/transaction/transaction.component.d.ts +3 -3
  39. package/lib/component/transaction-grid/transaction-received-goods-grid/style/_layout.scss +11 -0
  40. package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.d.ts +7 -2
  41. package/lib/component/transaction-line/style/material.scss +1 -1
  42. package/lib/component/transaction-line-checkbox-list/style/_layout.scss +13 -0
  43. package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts +13 -0
  44. package/lib/component/transaction-line-fields/transaction-line-warehouse-location.module.d.ts +2 -0
  45. package/lib/component/transaction-line-side-panel/style/_layout.scss +16 -13
  46. package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +4 -2
  47. package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +1 -1
  48. package/lib/component/transaction-receiving-goods-details/style/_layout.scss +16 -0
  49. package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +4 -1
  50. package/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.d.ts +5 -7
  51. package/lib/component/transaction-search/style/material.scss +1 -1
  52. package/lib/service/dialog.service.d.ts +10 -3
  53. package/lib/service/dynamic-component.service.d.ts +9 -0
  54. package/package.json +3 -3
@@ -2522,12 +2522,111 @@ DialogTransactionLineCommissionCodeComponent.propDecorators = {
2522
2522
  showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-commission-code",] }]
2523
2523
  };
2524
2524
 
2525
- class DialogService {
2525
+ class DynamicComponentService {
2526
2526
  constructor(_compFactoryResolver, appRef, injector) {
2527
2527
  this._compFactoryResolver = _compFactoryResolver;
2528
2528
  this.appRef = appRef;
2529
2529
  this.injector = injector;
2530
- // private _componentRef: any;
2530
+ this._componentRefs = [];
2531
+ }
2532
+ createComponent(componentClass, inputs, outputs, providers) {
2533
+ return new Promise((resolve) => {
2534
+ if (providers) {
2535
+ Injector.create(providers, this.injector);
2536
+ }
2537
+ const componentRef = this._compFactoryResolver
2538
+ .resolveComponentFactory(componentClass)
2539
+ .create(this.injector);
2540
+ this._componentRefs.push(componentRef);
2541
+ if (inputs) {
2542
+ for (let property in inputs) {
2543
+ if (inputs.hasOwnProperty(property)) {
2544
+ componentRef.instance[property] = inputs[property];
2545
+ }
2546
+ }
2547
+ }
2548
+ if (outputs) {
2549
+ for (let event in outputs) {
2550
+ if (outputs.hasOwnProperty(event)) {
2551
+ componentRef.instance[event].subscribe(() => outputs[event]());
2552
+ }
2553
+ }
2554
+ }
2555
+ this.appRef.attachView(componentRef.hostView);
2556
+ const domElem = componentRef.hostView
2557
+ .rootNodes[0];
2558
+ document.body.appendChild(domElem);
2559
+ componentRef.onDestroy(() => {
2560
+ this.appRef.detachView(componentRef.hostView);
2561
+ });
2562
+ componentRef.instance.onClose = (button, output) => {
2563
+ const idx = this._componentRefs.indexOf(componentRef);
2564
+ this.appRef.detachView(componentRef.hostView);
2565
+ this._componentRefs[idx] = undefined;
2566
+ this._componentRefs.splice(idx, 1);
2567
+ if (outputs) {
2568
+ for (let event in outputs) {
2569
+ if (outputs.hasOwnProperty(event)) {
2570
+ componentRef.instance[event].unsubscribe();
2571
+ }
2572
+ }
2573
+ }
2574
+ resolve(output ? output : button);
2575
+ };
2576
+ });
2577
+ }
2578
+ }
2579
+ DynamicComponentService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DynamicComponentService_Factory() { return new DynamicComponentService(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.INJECTOR)); }, token: DynamicComponentService, providedIn: "root" });
2580
+ DynamicComponentService.decorators = [
2581
+ { type: Injectable, args: [{
2582
+ providedIn: "root"
2583
+ },] }
2584
+ ];
2585
+ DynamicComponentService.ctorParameters = () => [
2586
+ { type: ComponentFactoryResolver },
2587
+ { type: ApplicationRef },
2588
+ { type: Injector }
2589
+ ];
2590
+
2591
+ class DialogTransactionLineWarehouseLocationComponent extends DialogTransactionLineBaseComponent {
2592
+ showClass() {
2593
+ return true;
2594
+ }
2595
+ }
2596
+ DialogTransactionLineWarehouseLocationComponent.decorators = [
2597
+ { type: Component, args: [{
2598
+ selector: "co-dialog-transaction-line-warehouse-location",
2599
+ template: `
2600
+ <co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useModel" (closeClick)="onClose(buttonType.Ok)">
2601
+ <co-transaction-line-warehouse-location
2602
+ [useModel]="useModel"
2603
+ [transactionLine]="transactionLine"
2604
+ [searchText]="searchText"
2605
+ (valueChange)="handleValueChange($event)"
2606
+ ></co-transaction-line-warehouse-location>
2607
+ </co-dialog>
2608
+ <ng-template #dialogHeader>
2609
+ <co-dialog-header-search [title]="'LOCATION'" (search)="handleSearch($event)"></co-dialog-header-search>
2610
+ </ng-template>
2611
+ <ng-template #footerTemplate>
2612
+ <div class="dialog-footer-button-wrapper" *ngIf="!useModel">
2613
+ <co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
2614
+ </div>
2615
+ </ng-template>
2616
+ `,
2617
+ encapsulation: ViewEncapsulation.None
2618
+ },] }
2619
+ ];
2620
+ DialogTransactionLineWarehouseLocationComponent.propDecorators = {
2621
+ showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-warehouse-location",] }]
2622
+ };
2623
+
2624
+ class DialogService {
2625
+ constructor(_compFactoryResolver, appRef, injector, dynamicComponentService) {
2626
+ this._compFactoryResolver = _compFactoryResolver;
2627
+ this.appRef = appRef;
2628
+ this.injector = injector;
2629
+ this.dynamicComponentService = dynamicComponentService;
2531
2630
  this._componentRefs = [];
2532
2631
  }
2533
2632
  showYesNo(title, text) {
@@ -2537,7 +2636,7 @@ class DialogService {
2537
2636
  text: text,
2538
2637
  type: AppPopupType.Confirmation
2539
2638
  };
2540
- const response = yield this._createComponent(ConfirmationDialogComponent, data);
2639
+ const response = yield this.dynamicComponentService.createComponent(ConfirmationDialogComponent, data);
2541
2640
  return response === AppPopupButtonType.Yes;
2542
2641
  });
2543
2642
  }
@@ -2550,7 +2649,7 @@ class DialogService {
2550
2649
  if (details) {
2551
2650
  data.details = details;
2552
2651
  }
2553
- return this._createComponent(ConfirmationDialogComponent, data);
2652
+ return this.dynamicComponentService.createComponent(ConfirmationDialogComponent, data);
2554
2653
  }
2555
2654
  showInformation(message) {
2556
2655
  const data = {
@@ -2558,7 +2657,19 @@ class DialogService {
2558
2657
  text: message,
2559
2658
  type: AppPopupType.Information
2560
2659
  };
2561
- return this._createComponent(ConfirmationDialogComponent, data);
2660
+ return this.dynamicComponentService.createComponent(ConfirmationDialogComponent, data);
2661
+ }
2662
+ showTransactionLineComponent(comp, transLine) {
2663
+ const data = {
2664
+ transactionLine: transLine
2665
+ };
2666
+ return this.dynamicComponentService.createComponent(comp, data);
2667
+ }
2668
+ showTransactionHeaderComponent(comp, transactionInfo) {
2669
+ const data = {
2670
+ transactionInfo: transactionInfo
2671
+ };
2672
+ return this.dynamicComponentService.createComponent(comp, data);
2562
2673
  }
2563
2674
  showCharacteristics(title, choices, value) {
2564
2675
  const data = {
@@ -2566,53 +2677,28 @@ class DialogService {
2566
2677
  choices: choices,
2567
2678
  value: value
2568
2679
  };
2569
- return this._createComponent(CharacteristicAnswerComponent, data);
2680
+ return this.dynamicComponentService.createComponent(CharacteristicAnswerComponent, data);
2570
2681
  }
2571
2682
  showWarehouse() {
2572
2683
  const data = {
2573
2684
  useModel: false
2574
2685
  };
2575
- return this._createComponent(DialogTransactionLineWarehouseComponent, data);
2686
+ return this.dynamicComponentService.createComponent(DialogTransactionLineWarehouseComponent, data);
2576
2687
  }
2577
2688
  showCommissionCode() {
2578
2689
  const data = {
2579
2690
  useModel: false
2580
2691
  };
2581
- return this._createComponent(DialogTransactionLineCommissionCodeComponent, data);
2692
+ return this.dynamicComponentService.createComponent(DialogTransactionLineCommissionCodeComponent, data);
2582
2693
  }
2583
- _createComponent(componentClass, data, providers) {
2584
- return new Promise((resolve) => {
2585
- if (providers) {
2586
- Injector.create(providers, this.injector);
2587
- }
2588
- const componentRef = this._compFactoryResolver
2589
- .resolveComponentFactory(componentClass)
2590
- .create(this.injector);
2591
- this._componentRefs.push(componentRef);
2592
- for (let key in data) {
2593
- if (data.hasOwnProperty(key)) {
2594
- componentRef.instance[key] = data[key];
2595
- }
2596
- }
2597
- this.appRef.attachView(componentRef.hostView);
2598
- const domElem = componentRef.hostView
2599
- .rootNodes[0];
2600
- document.body.appendChild(domElem);
2601
- componentRef.onDestroy(() => {
2602
- this.appRef.detachView(componentRef.hostView);
2603
- });
2604
- // @ts-ignore
2605
- componentRef.instance.onClose = (button, output) => {
2606
- const idx = this._componentRefs.indexOf(componentRef);
2607
- this.appRef.detachView(componentRef.hostView);
2608
- this._componentRefs[idx] = undefined;
2609
- this._componentRefs.splice(idx, 1);
2610
- resolve(output ? output : button);
2611
- };
2612
- });
2694
+ showWarehouseLocation() {
2695
+ const data = {
2696
+ useModel: false
2697
+ };
2698
+ return this.dynamicComponentService.createComponent(DialogTransactionLineWarehouseLocationComponent, data);
2613
2699
  }
2614
2700
  }
2615
- DialogService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.INJECTOR)); }, token: DialogService, providedIn: "root" });
2701
+ DialogService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(DynamicComponentService)); }, token: DialogService, providedIn: "root" });
2616
2702
  DialogService.decorators = [
2617
2703
  { type: Injectable, args: [{
2618
2704
  providedIn: "root"
@@ -2621,7 +2707,8 @@ DialogService.decorators = [
2621
2707
  DialogService.ctorParameters = () => [
2622
2708
  { type: ComponentFactoryResolver },
2623
2709
  { type: ApplicationRef },
2624
- { type: Injector }
2710
+ { type: Injector },
2711
+ { type: DynamicComponentService }
2625
2712
  ];
2626
2713
 
2627
2714
  class ErrorService {
@@ -4592,21 +4679,15 @@ class ArticleConnectorService {
4592
4679
  getWarehouseLocations(warehouseNr) {
4593
4680
  return __awaiter(this, void 0, void 0, function* () {
4594
4681
  return new Promise((resolve, reject) => {
4595
- // const collection = this._collectionService.getCollection(StockLocation.name, [warehouseNr]);
4596
- // if (collection) {
4597
- // resolve(collection);
4598
- // } else {
4599
4682
  return this.connector.getStockManagementLocations(warehouseNr).then((response) => {
4600
4683
  if (response && response.validationResult && response.validationResult.success) {
4601
4684
  const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(StockLocation, response.resultObjects);
4602
- // this._collectionService.cacheCollection(StockLocation.name, collection, [warehouseNr]);
4603
- resolve(collection);
4685
+ resolve(collection.slice(0, 50));
4604
4686
  }
4605
4687
  else {
4606
4688
  reject(response.validationMessagesAsString);
4607
4689
  }
4608
4690
  });
4609
- // }
4610
4691
  });
4611
4692
  });
4612
4693
  }
@@ -8966,9 +9047,9 @@ TransactionLineCheckboxListComponent.decorators = [
8966
9047
  selector: "co-transaction-line-checkbox-list",
8967
9048
  template: `
8968
9049
  <table lazyRenderMaster>
8969
- <tr *ngFor="let row of collection" lazyRender #lazyRender="lazyRender">
9050
+ <tr *ngFor="let row of collection" lazyRender #lazyRender="lazyRender" [class.visible]="lazyRender.isShowing">
8970
9051
  <td>
8971
- <co-input-checkbox *ngIf="lazyRender.isShowing"
9052
+ <co-input-checkbox
8972
9053
  [model]="row.checked"
8973
9054
  [readonly]="readonly"
8974
9055
  (click)="handleChecked($event, row)"
@@ -13242,10 +13323,161 @@ var ContentViewMode;
13242
13323
  ContentViewMode[ContentViewMode["Tiles"] = 5] = "Tiles";
13243
13324
  })(ContentViewMode || (ContentViewMode = {}));
13244
13325
 
13326
+ var TransactionTypeCategory;
13327
+ (function (TransactionTypeCategory) {
13328
+ TransactionTypeCategory["PurchaseOrderOverview"] = "purchaseOrderOverview";
13329
+ TransactionTypeCategory["PurchaseOrderOrderConfirmation"] = "purchaseOrderOrderConfirmation";
13330
+ TransactionTypeCategory["PurchaseOrderTransport"] = "purchaseOrderTransport";
13331
+ TransactionTypeCategory["PurchaseOrderReceivedGoods"] = "purchaseOrderReceivedGoods";
13332
+ TransactionTypeCategory["PurchaseOrderInvoiceCheck"] = "purchaseOrderInvoiceCheck";
13333
+ TransactionTypeCategory["PurchaseOrderMenu"] = "purchaseOrderMenu";
13334
+ TransactionTypeCategory["SalesOrderOverview"] = "salesOrderOverview";
13335
+ TransactionTypeCategory["SalesOrderPurchase"] = "salesOrderPurchase";
13336
+ TransactionTypeCategory["SalesOrderLogistics"] = "salesOrderLogistics";
13337
+ TransactionTypeCategory["SalesOrderPlanning"] = "salesOrderPlanning";
13338
+ TransactionTypeCategory["SalesOrderDeliveryNote"] = "salesOrderDeliveryNote";
13339
+ TransactionTypeCategory["SalesOrderInvoice"] = "salesOrderInvoice";
13340
+ })(TransactionTypeCategory || (TransactionTypeCategory = {}));
13341
+
13342
+ class TransactionEventService {
13343
+ constructor() {
13344
+ this.addToCartBySku = new Subject();
13345
+ this.addToCartBySelectorResult = new Subject();
13346
+ this.openShoppingCartModule = new Subject();
13347
+ this.loggedIn = new Subject();
13348
+ this.addNewUserToShoppingCartModule = new Subject();
13349
+ this.addUserRelationShoppingCartModule = new Subject();
13350
+ this.addArticleLine = new Subject();
13351
+ this.addTextLine = new Subject();
13352
+ this.addArticleLineAt = new Subject();
13353
+ this.addTextLineAt = new Subject();
13354
+ this.changeLineSequence = new Subject();
13355
+ this.transactionLineClicked = new Subject();
13356
+ this.rightSidebarClose = new Subject();
13357
+ this.scrollContent = new Subject();
13358
+ this.receivedPurchaseOrderCommit = new Subject();
13359
+ this.commitReceivePurchaseOrders = new Subject();
13360
+ this.transactionLineChanged = new Subject();
13361
+ }
13362
+ }
13363
+ TransactionEventService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
13364
+ TransactionEventService.decorators = [
13365
+ { type: Injectable, args: [{ providedIn: "root" },] }
13366
+ ];
13367
+
13368
+ class DynamicBaseComponent {
13369
+ onClose() { }
13370
+ }
13371
+ DynamicBaseComponent.decorators = [
13372
+ { type: Directive }
13373
+ ];
13374
+
13375
+ class TransactionLineSidePanelComponent extends DynamicBaseComponent {
13376
+ constructor(iconService, _service, _transactionEventService) {
13377
+ super();
13378
+ this.iconService = iconService;
13379
+ this._service = _service;
13380
+ this._transactionEventService = _transactionEventService;
13381
+ this.icons = Icon;
13382
+ this.categories = TransactionTypeCategory;
13383
+ this.transactionTypes = TransactionKind;
13384
+ this.cancelClick = new EventEmitter();
13385
+ this.show = true;
13386
+ }
13387
+ showClass() {
13388
+ return true;
13389
+ }
13390
+ handleCancelClick() {
13391
+ this.show = false;
13392
+ setTimeout(() => {
13393
+ this.onClose();
13394
+ }, 200);
13395
+ }
13396
+ }
13397
+ TransactionLineSidePanelComponent.decorators = [
13398
+ { type: Component, args: [{
13399
+ selector: "co-transaction-line-side-panel",
13400
+ template: `
13401
+ <div class="transaction-line-side-panel-wrapper" *ngIf="show" @showHideSidePanel>
13402
+ <icon (click)="handleCancelClick()" [icon]="icons.Cancel" class="close-button"></icon>
13403
+ <div class="transaction-line-side-panel-header">
13404
+ <div class="transaction-line-side-panel-header-item">
13405
+ <span class="side-panel-header-label" [textContent]="'ARTICLE_NR'| localize"></span>
13406
+ <span class="side-panel-header-field" [textContent]="transactionLine.articleNumber"></span>
13407
+ </div>
13408
+ <div class="side-panel-header-divider"></div>
13409
+ <div class="transaction-line-side-panel-header-item">
13410
+ <span class="side-panel-header-label" [textContent]="'DESCRIPTION'| localize"></span>
13411
+ <span class="side-panel-header-field" [textContent]="transactionLine.goodDescription"></span>
13412
+ </div>
13413
+ <div class="side-panel-header-divider"></div>
13414
+ <div class="transaction-line-side-panel-header-item">
13415
+ <span class="side-panel-header-label" [textContent]="'AMOUNT'| localize"></span>
13416
+ <span class="side-panel-header-field" [textContent]="transactionLine.amount"></span>
13417
+ </div>
13418
+ <div class="side-panel-header-divider"></div>
13419
+ <div class="transaction-line-side-panel-header-item">
13420
+ <span class="side-panel-header-label"
13421
+ [textContent]="activeCategory === categories.PurchaseOrderReceivedGoods ? ('TO_REPORT_IN' | localize) : ('PRICE' | localize)"></span>
13422
+ <span class="side-panel-header-field"
13423
+ [textContent]="activeCategory === categories.PurchaseOrderReceivedGoods ? quantityToReceive : (transactionLine.price | priceDisplay)"></span>
13424
+ </div>
13425
+ </div>
13426
+ <div class="transaction-line-side-panel-nav-bar">
13427
+ <co-transaction-button-bar
13428
+ [transactionType]="transactionInfo.transactionKind"
13429
+ (buttonClicked)="activeCategory = $event.category"
13430
+ ></co-transaction-button-bar>
13431
+ </div>
13432
+ <div class="transaction-line-side-panel-content">
13433
+ <ng-container [ngSwitch]="transactionInfo.transactionKind">
13434
+ <ng-container *ngSwitchCase="transactionTypes.PurchaseOrder">
13435
+ <co-transaction-line-side-panel-purchase
13436
+ [transactionLine]="transactionLine"
13437
+ [transactionInfo]="transactionInfo"
13438
+ [category]="activeCategory"
13439
+ (quantityToReceiveChange)="quantityToReceive = $event"
13440
+ ></co-transaction-line-side-panel-purchase>
13441
+ </ng-container>
13442
+ <ng-container *ngSwitchDefault>
13443
+ <co-transaction-line-side-panel-purchase
13444
+ [transactionLine]="transactionLine"
13445
+ [transactionInfo]="transactionInfo"
13446
+ [category]="activeCategory"
13447
+ ></co-transaction-line-side-panel-purchase>
13448
+ </ng-container>
13449
+ </ng-container>
13450
+ </div>
13451
+ </div>
13452
+ `,
13453
+ animations: [
13454
+ trigger("showHideSidePanel", [
13455
+ state("void", style({ transform: 'translateX(100%)' })),
13456
+ state("*", style({ transform: 'translateX(0)' })),
13457
+ transition("void <=> *", animate("200ms ease-in-out"))
13458
+ ])
13459
+ ],
13460
+ encapsulation: ViewEncapsulation.None
13461
+ },] }
13462
+ ];
13463
+ TransactionLineSidePanelComponent.ctorParameters = () => [
13464
+ { type: IconCacheService },
13465
+ { type: TransactionService },
13466
+ { type: TransactionEventService }
13467
+ ];
13468
+ TransactionLineSidePanelComponent.propDecorators = {
13469
+ transactionLine: [{ type: Input }],
13470
+ transactionInfo: [{ type: Input }],
13471
+ activeCategory: [{ type: Input }],
13472
+ cancelClick: [{ type: Output }],
13473
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-line-side-panel",] }]
13474
+ };
13475
+
13245
13476
  class TransactionComponent {
13246
- constructor(iconCacheService, _service) {
13477
+ constructor(iconCacheService, _service, dynamicComponentService) {
13247
13478
  this.iconCacheService = iconCacheService;
13248
13479
  this._service = _service;
13480
+ this.dynamicComponentService = dynamicComponentService;
13249
13481
  this.viewModes = ContentViewMode;
13250
13482
  this.icons = Icon;
13251
13483
  this.showHeader = true;
@@ -13253,7 +13485,6 @@ class TransactionComponent {
13253
13485
  this.showButtonBar = true;
13254
13486
  this.activeViewMode = ContentViewMode.List;
13255
13487
  this.showDiscountsSidebar = false;
13256
- this.showSidePanel = false;
13257
13488
  this._subs = [];
13258
13489
  this._transaction = new TransactionInfoResponse();
13259
13490
  this._subs.push(this._service.transactionUpdated.subscribe((transaction) => __awaiter(this, void 0, void 0, function* () {
@@ -13304,10 +13535,11 @@ class TransactionComponent {
13304
13535
  }
13305
13536
  handleShowSidePanel(line) {
13306
13537
  this.sidePanelTransactionLine = line;
13307
- this.showSidePanel = true;
13308
- }
13309
- handleCloseSidePanel(event) {
13310
- this.showSidePanel = false;
13538
+ this.dynamicComponentService.createComponent(TransactionLineSidePanelComponent, {
13539
+ transactionInfo: this.transaction.transactionInfo,
13540
+ transactionLine: this.sidePanelTransactionLine,
13541
+ activeCategory: this.activeCategory
13542
+ });
13311
13543
  }
13312
13544
  }
13313
13545
  TransactionComponent.decorators = [
@@ -13367,27 +13599,14 @@ TransactionComponent.decorators = [
13367
13599
  </div>
13368
13600
  <co-discount *ngIf="showDiscountsSidebar">
13369
13601
  </co-discount>
13370
-
13371
- <co-transaction-line-side-panel *ngIf="showSidePanel" @showHideSidePanel
13372
- [transactionInfo]="transaction.transactionInfo"
13373
- [transactionLine]="sidePanelTransactionLine"
13374
- [activeCategory]="activeCategory"
13375
- (cancelClick)="handleCloseSidePanel($event)"
13376
- ></co-transaction-line-side-panel>
13377
13602
  `,
13378
- animations: [
13379
- trigger("showHideSidePanel", [
13380
- state("void", style({ transform: 'translateX(100%)' })),
13381
- state("*", style({ transform: 'translateX(0)' })),
13382
- transition("void <=> *", animate("200ms ease-in-out"))
13383
- ])
13384
- ],
13385
13603
  encapsulation: ViewEncapsulation.None
13386
13604
  },] }
13387
13605
  ];
13388
13606
  TransactionComponent.ctorParameters = () => [
13389
13607
  { type: IconCacheService },
13390
- { type: TransactionService }
13608
+ { type: TransactionService },
13609
+ { type: DynamicComponentService }
13391
13610
  ];
13392
13611
  TransactionComponent.propDecorators = {
13393
13612
  transaction: [{ type: Input }],
@@ -14052,7 +14271,7 @@ TransactionBaseGridComponent.decorators = [
14052
14271
  </co-simple-grid-column>
14053
14272
  <co-simple-grid-column [headerText]="''" [width]="40" [field]="'sideMenuButton'" [order]="400">
14054
14273
  <ng-template #template let-row = "row">
14055
- <co-transaction-line-action-buttons class="transaction-line-action-buttons"
14274
+ <co-transaction-line-action-buttons *ngIf="row.isArticle" class="transaction-line-action-buttons"
14056
14275
  [transactionLine]="row"
14057
14276
  (sidePanelButtonClicked)="openSidePanel(row)"
14058
14277
  ></co-transaction-line-action-buttons>
@@ -14067,137 +14286,6 @@ TransactionBaseGridComponent.propDecorators = {
14067
14286
  showClass: [{ type: HostBinding, args: ['class.co-transaction-base-grid',] }]
14068
14287
  };
14069
14288
 
14070
- var TransactionTypeCategory;
14071
- (function (TransactionTypeCategory) {
14072
- TransactionTypeCategory["PurchaseOrderOverview"] = "purchaseOrderOverview";
14073
- TransactionTypeCategory["PurchaseOrderOrderConfirmation"] = "purchaseOrderOrderConfirmation";
14074
- TransactionTypeCategory["PurchaseOrderTransport"] = "purchaseOrderTransport";
14075
- TransactionTypeCategory["PurchaseOrderReceivedGoods"] = "purchaseOrderReceivedGoods";
14076
- TransactionTypeCategory["PurchaseOrderInvoiceCheck"] = "purchaseOrderInvoiceCheck";
14077
- TransactionTypeCategory["PurchaseOrderMenu"] = "purchaseOrderMenu";
14078
- TransactionTypeCategory["SalesOrderOverview"] = "salesOrderOverview";
14079
- TransactionTypeCategory["SalesOrderPurchase"] = "salesOrderPurchase";
14080
- TransactionTypeCategory["SalesOrderLogistics"] = "salesOrderLogistics";
14081
- TransactionTypeCategory["SalesOrderPlanning"] = "salesOrderPlanning";
14082
- TransactionTypeCategory["SalesOrderDeliveryNote"] = "salesOrderDeliveryNote";
14083
- TransactionTypeCategory["SalesOrderInvoice"] = "salesOrderInvoice";
14084
- })(TransactionTypeCategory || (TransactionTypeCategory = {}));
14085
-
14086
- class TransactionEventService {
14087
- constructor() {
14088
- this.addToCartBySku = new Subject();
14089
- this.addToCartBySelectorResult = new Subject();
14090
- this.openShoppingCartModule = new Subject();
14091
- this.loggedIn = new Subject();
14092
- this.addNewUserToShoppingCartModule = new Subject();
14093
- this.addUserRelationShoppingCartModule = new Subject();
14094
- this.addArticleLine = new Subject();
14095
- this.addTextLine = new Subject();
14096
- this.addArticleLineAt = new Subject();
14097
- this.addTextLineAt = new Subject();
14098
- this.changeLineSequence = new Subject();
14099
- this.transactionLineClicked = new Subject();
14100
- this.rightSidebarClose = new Subject();
14101
- this.scrollContent = new Subject();
14102
- this.receivedPurchaseOrderCommit = new Subject();
14103
- this.commitReceivePurchaseOrders = new Subject();
14104
- this.transactionLineChanged = new Subject();
14105
- }
14106
- }
14107
- TransactionEventService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
14108
- TransactionEventService.decorators = [
14109
- { type: Injectable, args: [{ providedIn: "root" },] }
14110
- ];
14111
-
14112
- class TransactionLineSidePanelComponent {
14113
- constructor(iconService, _service, _transactionEventService) {
14114
- this.iconService = iconService;
14115
- this._service = _service;
14116
- this._transactionEventService = _transactionEventService;
14117
- this.icons = Icon;
14118
- this.categories = TransactionTypeCategory;
14119
- this.transactionTypes = TransactionKind;
14120
- this.transactionLine = new TransactionLineInfo();
14121
- this.transactionInfo = new TransactionInfo();
14122
- this.cancelClick = new EventEmitter();
14123
- }
14124
- showClass() {
14125
- return true;
14126
- }
14127
- handleCancelClick(event) {
14128
- this.cancelClick.next(event);
14129
- }
14130
- }
14131
- TransactionLineSidePanelComponent.decorators = [
14132
- { type: Component, args: [{
14133
- selector: "co-transaction-line-side-panel",
14134
- template: `
14135
- <icon (click)="handleCancelClick($event)" [icon]="icons.Cancel" class="close-button"></icon>
14136
- <div class="transaction-line-side-panel-header">
14137
- <div class="transaction-line-side-panel-header-item">
14138
- <span class="side-panel-header-label" [textContent]="'ARTICLE_NR'| localize"></span>
14139
- <span class="side-panel-header-field" [textContent]="transactionLine.articleNumber"></span>
14140
- </div>
14141
- <div class="side-panel-header-divider"></div>
14142
- <div class="transaction-line-side-panel-header-item">
14143
- <span class="side-panel-header-label" [textContent]="'DESCRIPTION'| localize"></span>
14144
- <span class="side-panel-header-field" [textContent]="transactionLine.goodDescription"></span>
14145
- </div>
14146
- <div class="side-panel-header-divider"></div>
14147
- <div class="transaction-line-side-panel-header-item">
14148
- <span class="side-panel-header-label" [textContent]="'AMOUNT'| localize"></span>
14149
- <span class="side-panel-header-field" [textContent]="transactionLine.amount"></span>
14150
- </div>
14151
- <div class="side-panel-header-divider"></div>
14152
- <div class="transaction-line-side-panel-header-item">
14153
- <span class="side-panel-header-label"
14154
- [textContent]="activeCategory === categories.PurchaseOrderReceivedGoods ? ('TO_REPORT_IN' | localize) : ('PRICE' | localize)"></span>
14155
- <span class="side-panel-header-field"
14156
- [textContent]="activeCategory === categories.PurchaseOrderReceivedGoods ? quantityToReceive : (transactionLine.price | priceDisplay)"></span>
14157
- </div>
14158
- </div>
14159
- <div class="transaction-line-side-panel-nav-bar">
14160
- <co-transaction-button-bar
14161
- [transactionType]="transactionInfo.transactionKind"
14162
- (buttonClicked)="activeCategory = $event.category"
14163
- ></co-transaction-button-bar>
14164
- </div>
14165
- <div class="transaction-line-side-panel-content">
14166
- <ng-container [ngSwitch]="transactionInfo.transactionKind">
14167
- <ng-container *ngSwitchCase="transactionTypes.PurchaseOrder">
14168
- <co-transaction-line-side-panel-purchase
14169
- [transactionInfo]="transactionInfo"
14170
- [transactionLine]="transactionLine"
14171
- [category]="activeCategory"
14172
- (quantityToReceiveChange)="quantityToReceive = $event"
14173
- ></co-transaction-line-side-panel-purchase>
14174
- </ng-container>
14175
- <ng-container *ngSwitchDefault>
14176
- <co-transaction-line-side-panel-purchase
14177
- [transactionInfo]="transactionInfo"
14178
- [transactionLine]="transactionLine"
14179
- [category]="activeCategory"
14180
- ></co-transaction-line-side-panel-purchase>
14181
- </ng-container>
14182
- </ng-container>
14183
- </div>
14184
- `,
14185
- encapsulation: ViewEncapsulation.None
14186
- },] }
14187
- ];
14188
- TransactionLineSidePanelComponent.ctorParameters = () => [
14189
- { type: IconCacheService },
14190
- { type: TransactionService },
14191
- { type: TransactionEventService }
14192
- ];
14193
- TransactionLineSidePanelComponent.propDecorators = {
14194
- transactionLine: [{ type: Input }],
14195
- transactionInfo: [{ type: Input }],
14196
- activeCategory: [{ type: Input }],
14197
- cancelClick: [{ type: Output }],
14198
- showClass: [{ type: HostBinding, args: ["class.co-transaction-line-side-panel",] }]
14199
- };
14200
-
14201
14289
  class TransactionLineSidePanelDefaultComponent {
14202
14290
  constructor(iconService, _transactionService) {
14203
14291
  this.iconService = iconService;
@@ -14631,8 +14719,8 @@ TransactionHistoryGridComponent.decorators = [
14631
14719
  <co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize" [order]="20" [width]="100">
14632
14720
  <ng-template #template let-row="row">
14633
14721
  <div class="row-container">
14634
- <span class="row" [textContent]="row.receiptDate | date"></span>
14635
- <span class="correction" *ngFor="let correction of row.corrections" [textContent]="correction.receiptDate | date"></span>
14722
+ <span class="row" [textContent]="row.date | date"></span>
14723
+ <span class="correction" *ngFor="let correction of row.corrections" [textContent]="correction.date | date"></span>
14636
14724
  </div>
14637
14725
  </ng-template>
14638
14726
  </co-simple-grid-column>
@@ -14766,9 +14854,8 @@ TransactionHistoryGridModule.decorators = [
14766
14854
  ];
14767
14855
 
14768
14856
  class TransactionReceivingGoodsHistoryComponent {
14769
- constructor(_service, _datePipe) {
14857
+ constructor(_service) {
14770
14858
  this._service = _service;
14771
- this._datePipe = _datePipe;
14772
14859
  this.reloadReceivingGoodsHistory = new EventEmitter();
14773
14860
  }
14774
14861
  set goodsReceiptHistory(value) {
@@ -14777,10 +14864,7 @@ class TransactionReceivingGoodsHistoryComponent {
14777
14864
  }
14778
14865
  }
14779
14866
  get goodsReceiptHistory() {
14780
- return this._goodsReceiptHistory.map((receipt) => {
14781
- receipt.receiptDate = this._datePipe.transform(receipt.receiptDate);
14782
- return receipt;
14783
- });
14867
+ return this._goodsReceiptHistory;
14784
14868
  }
14785
14869
  showClass() {
14786
14870
  return true;
@@ -14835,8 +14919,7 @@ TransactionReceivingGoodsHistoryComponent.decorators = [
14835
14919
  },] }
14836
14920
  ];
14837
14921
  TransactionReceivingGoodsHistoryComponent.ctorParameters = () => [
14838
- { type: TransactionService },
14839
- { type: DatePipe }
14922
+ { type: TransactionService }
14840
14923
  ];
14841
14924
  TransactionReceivingGoodsHistoryComponent.propDecorators = {
14842
14925
  goodsReceiptHistory: [{ type: Input }],
@@ -14876,7 +14959,10 @@ class ArticleService {
14876
14959
  }
14877
14960
  getWarehouseLocations(warehouseNr) {
14878
14961
  return __awaiter(this, void 0, void 0, function* () {
14879
- return yield this._articleConnectorService.getWarehouseLocations(warehouseNr);
14962
+ // @ts-ignore
14963
+ return this._selectMultipleCacheService.requestCache(StockLocation, () => {
14964
+ return this._articleConnectorService.getWarehouseLocations(warehouseNr);
14965
+ }).getValue();
14880
14966
  });
14881
14967
  }
14882
14968
  }
@@ -14892,10 +14978,11 @@ ArticleService.ctorParameters = () => [
14892
14978
  ];
14893
14979
 
14894
14980
  class TransactionReceivingGoodsDetailsComponent {
14895
- constructor(_formMaster, _service, _articleService) {
14981
+ constructor(_formMaster, _service, _articleService, _dialogService) {
14896
14982
  this._formMaster = _formMaster;
14897
14983
  this._service = _service;
14898
14984
  this._articleService = _articleService;
14985
+ this._dialogService = _dialogService;
14899
14986
  this.reloadReceivingGoodsHistory = new EventEmitter();
14900
14987
  this.receiptDetails = new PurchaseOrderLineReceiptDetails();
14901
14988
  this.request = new ReceiveGoodsForPurchaseOrderRequest();
@@ -14961,6 +15048,13 @@ class TransactionReceivingGoodsDetailsComponent {
14961
15048
  }
14962
15049
  });
14963
15050
  }
15051
+ openWarehouseLocationDialog() {
15052
+ return __awaiter(this, void 0, void 0, function* () {
15053
+ yield this._dialogService.showWarehouseLocation().then((result) => {
15054
+ this.receiptDetails.locationNr = result;
15055
+ });
15056
+ });
15057
+ }
14964
15058
  }
14965
15059
  TransactionReceivingGoodsDetailsComponent.decorators = [
14966
15060
  { type: Component, args: [{
@@ -14987,17 +15081,9 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
14987
15081
  [disabled]="transactionLine.warehouseNumber !== undefined"
14988
15082
  [required]="transactionLine.isWarehouseRequired"
14989
15083
  [placeholder]="'WAREHOUSE' | localize"></co-input-text>
14990
- <co-drop-down-list class="details-input"
14991
- noTriangleGraphic
14992
- (focus)="handleDropDownSelected(receiptDetails.warehouseNr)"
14993
- [collection]="locations"
14994
- [fields]="locationDropdownFields"
14995
- [(model)]="receiptDetails.locationNr"
14996
- [required]="locationRequired()"
14997
- [readonly]="receiptDetails.quantityToReceive === 0 || readonly"
14998
- [disabled]="receiptDetails.quantityToReceive === 0"
14999
- [placeholder]="'LOCATION' | localize"
15000
- ></co-drop-down-list>
15084
+ <div class="location-wrapper" (click)="openWarehouseLocationDialog()">
15085
+ <div [textContent]="receiptDetails.locationNr ? receiptDetails.locationNr : ('LOCATION' | localize)"></div>
15086
+ </div>
15001
15087
  <co-input-text class="details-input"
15002
15088
  [(model)]="request.packingSlipNr"
15003
15089
  [placeholder]="'PACKING_SLIP' | localize"
@@ -15015,13 +15101,13 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
15015
15101
  <co-input-text class="details-input" [(model)]="receiptDetails.batchNr"
15016
15102
  [type]="'number'"
15017
15103
  [hideArrowButtons]="true"
15018
- [readonly]="readonly"
15104
+ [readonly]="readonly || !transactionLine.isBatchNrRequired"
15019
15105
  [required]="transactionLine.isBatchNrRequired"
15020
15106
  [placeholder]="'BATCH_NUMBER' | localize"></co-input-text>
15021
15107
  <co-input-text class="details-input" [(model)]="receiptDetails.serialNr"
15022
15108
  [type]="'number'"
15023
15109
  [hideArrowButtons]="true"
15024
- [readonly]="readonly"
15110
+ [readonly]="readonly || !transactionLine.isSerialNrRequired"
15025
15111
  [required]="transactionLine.isSerialNrRequired"
15026
15112
  [placeholder]="'SERIAL_NUMBER' | localize"></co-input-text>
15027
15113
  <!-- <co-input-text class="details-input" [(model)]="receiptDetails.refLineNr"-->
@@ -15031,18 +15117,22 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
15031
15117
  </co-form>
15032
15118
 
15033
15119
  <div class="save-cancel-wrapper" *ngIf="!readonly">
15034
- <co-button class="button-wrapper" [label]="'SAVE' | localize" (click)="handleSaveDetailsEdit()"></co-button>
15035
- <co-button class="button-wrapper" [label]="'CANCEL' | localize" (click)="handleCancelDetailsEdit()"></co-button>
15120
+ <co-button class="button-wrapper clickable" [disabled]="saveButtonDisabled || amountLeftToReceive === 0" [label]="'SAVE' | localize" (click)="handleSaveDetailsEdit()"></co-button>
15121
+ <co-button class="button-wrapper clickable" [label]="'CANCEL' | localize" (click)="handleCancelDetailsEdit()"></co-button>
15036
15122
  </div>
15037
15123
  </div>
15038
15124
  `,
15125
+ providers: [
15126
+ FormMasterService
15127
+ ],
15039
15128
  encapsulation: ViewEncapsulation.None
15040
15129
  },] }
15041
15130
  ];
15042
15131
  TransactionReceivingGoodsDetailsComponent.ctorParameters = () => [
15043
15132
  { type: FormMasterService },
15044
15133
  { type: TransactionService },
15045
- { type: ArticleService }
15134
+ { type: ArticleService },
15135
+ { type: DialogService }
15046
15136
  ];
15047
15137
  TransactionReceivingGoodsDetailsComponent.propDecorators = {
15048
15138
  amountLeftToReceive: [{ type: Input }],
@@ -15829,12 +15919,14 @@ class ReceiveGoodsViewModel {
15829
15919
  }
15830
15920
 
15831
15921
  class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent {
15832
- constructor(_imageService, _transactionService, _transactionEventService, _articleService) {
15922
+ constructor(_imageService, _transactionService, _transactionEventService, _articleService, _dialogService) {
15833
15923
  super(_imageService);
15834
15924
  this._imageService = _imageService;
15835
15925
  this._transactionService = _transactionService;
15836
15926
  this._transactionEventService = _transactionEventService;
15837
15927
  this._articleService = _articleService;
15928
+ this._dialogService = _dialogService;
15929
+ this.columnAlign = ColumnAlign;
15838
15930
  this.locationDropdownFields = { text: "locationNo", value: "locationNo" };
15839
15931
  this.rowViewModels = new Map();
15840
15932
  this._subscriptions = [];
@@ -15857,10 +15949,12 @@ class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent
15857
15949
  }
15858
15950
  handleRowVisible(row) {
15859
15951
  return __awaiter(this, void 0, void 0, function* () {
15860
- yield this._transactionService.getGoodsReceiptStatus(this.transactionId, row.lineNr)
15861
- .then((result) => {
15862
- this.rowViewModels.set(row, new ReceiveGoodsViewModel(row, result, result.quantityToReceive === 0, result.quantityToReceive));
15863
- });
15952
+ if (row.isArticle) {
15953
+ yield this._transactionService.getGoodsReceiptStatus(this.transactionId, row.lineNr)
15954
+ .then((result) => {
15955
+ this.rowViewModels.set(row, new ReceiveGoodsViewModel(row, result, result.quantityToReceive === 0, result.quantityToReceive));
15956
+ });
15957
+ }
15864
15958
  });
15865
15959
  }
15866
15960
  locationRequired(row) {
@@ -15917,30 +16011,40 @@ class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent
15917
16011
  receiveGoodsViewModel.goodsReceiptStatus.quantityToReceive = change.goodsReceiptStatus.quantityToReceive;
15918
16012
  receiveGoodsViewModel.toReceive = change.goodsReceiptStatus.quantityToReceive;
15919
16013
  }
16014
+ openWarehouseLocationDialog(line) {
16015
+ return __awaiter(this, void 0, void 0, function* () {
16016
+ yield this._dialogService.showWarehouseLocation().then((result) => {
16017
+ this.getRowViewModel(line).location = result;
16018
+ });
16019
+ });
16020
+ }
15920
16021
  }
15921
16022
  TransactionReceivedGoodsGridComponent.decorators = [
15922
16023
  { type: Component, args: [{
15923
16024
  selector: "co-transaction-received-goods-grid",
15924
16025
  template: `
15925
16026
  <co-transaction-base-grid [transactionLines]="transactionLines" (sidePanelClicked)="openSidePanel($event)" (rowVisible)="handleRowVisible($event)">
15926
- <co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNumber'" [order]="40"></co-simple-grid-column>
16027
+ <co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNumber'" [order]="40"></co-simple-grid-column>
15927
16028
  <co-simple-grid-column [headerText]="'LOCATION' | localize" [order]="45">
15928
16029
  <ng-template #template let-row = "row">
15929
- <co-drop-down-list
15930
- noTriangleGraphic
15931
- (focus)="handleDropDownSelected(row.warehouseNumber)"
15932
- [required]="locationRequired(row) && getRowViewModel(row).goodsReceiptStatus.quantityToReceive > 0"
15933
- [collection]="locations"
15934
- [fields]="locationDropdownFields"
15935
- [(model)]="getRowViewModel(row).location"
15936
- [disabled]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"
15937
- ></co-drop-down-list>
16030
+ <div *ngIf="row.isArticle" class="location-wrapper" (click)="openWarehouseLocationDialog(row)">
16031
+ <div [textContent]="getRowViewModel(row).location ? getRowViewModel(row).location : '-'"></div>
16032
+ </div>
16033
+ <!-- <co-drop-down-list-->
16034
+ <!-- noTriangleGraphic-->
16035
+ <!-- (focus)="handleDropDownSelected(row.warehouseNumber)"-->
16036
+ <!-- [required]="locationRequired(row) && getRowViewModel(row).goodsReceiptStatus.quantityToReceive > 0"-->
16037
+ <!-- [collection]="locations"-->
16038
+ <!-- [fields]="locationDropdownFields"-->
16039
+ <!-- [(model)]="getRowViewModel(row).location"-->
16040
+ <!-- [disabled]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"-->
16041
+ <!-- ></co-drop-down-list>-->
15938
16042
  </ng-template>
15939
16043
  </co-simple-grid-column>
15940
- <co-simple-grid-column [headerText]="'IN_ORDER' | localize" [field]="'amount'" [order]="50"></co-simple-grid-column>
16044
+ <co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'IN_ORDER' | localize" [field]="'amount'" [order]="50"></co-simple-grid-column>
15941
16045
  <co-simple-grid-column [headerText]="'RECEIVED' | localize" [order]="51">
15942
16046
  <ng-template #template let-row = "row">
15943
- <co-input-number-picker
16047
+ <co-input-number-picker *ngIf="row.isArticle"
15944
16048
  [min]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive > 0 ? 1 : 0"
15945
16049
  [max]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive"
15946
16050
  [(model)]="getRowViewModel(row).toReceive"
@@ -15949,10 +16053,10 @@ TransactionReceivedGoodsGridComponent.decorators = [
15949
16053
  ></co-input-number-picker>
15950
16054
  </ng-template>
15951
16055
  </co-simple-grid-column>
15952
- <co-simple-grid-column [headerText]="'BATCH' | localize" [field]="'inOrder'" [order]="52"></co-simple-grid-column>
15953
- <co-simple-grid-column [headerText]="'Commit button'" [field]="'commitButton'" [order]="55">
16056
+ <co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'BATCH' | localize" [field]="'inOrder'" [order]="52"></co-simple-grid-column>
16057
+ <co-simple-grid-column [textAlign]="columnAlign.Center" [headerText]="'Commit button'" [field]="'commitButton'" [order]="55">
15954
16058
  <ng-template #template let-row = "row">
15955
- <co-input-checkbox
16059
+ <co-input-checkbox *ngIf="row.isArticle"
15956
16060
  [(model)]="getRowViewModel(row).selected"
15957
16061
  [disabled]="getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0"
15958
16062
  ></co-input-checkbox>
@@ -15967,7 +16071,8 @@ TransactionReceivedGoodsGridComponent.ctorParameters = () => [
15967
16071
  { type: TransactionImageService },
15968
16072
  { type: TransactionService },
15969
16073
  { type: TransactionEventService },
15970
- { type: ArticleService }
16074
+ { type: ArticleService },
16075
+ { type: DialogService }
15971
16076
  ];
15972
16077
  TransactionReceivedGoodsGridComponent.propDecorators = {
15973
16078
  showClass: [{ type: HostBinding, args: ["class.co-transaction-received-goods-grid",] }]
@@ -16481,7 +16586,6 @@ class TransactionLineSidePanelPurchaseComponent {
16481
16586
  this._service = _service;
16482
16587
  this._transactionEventService = _transactionEventService;
16483
16588
  this.categories = TransactionTypeCategory;
16484
- this.transactionLine = new TransactionLineInfo();
16485
16589
  this.quantityToReceiveChange = new EventEmitter();
16486
16590
  this.goodsReceiptStatus = new GoodsReceiptStatusWithHistory();
16487
16591
  this._transactionInfo = new TransactionInfo();
@@ -16557,8 +16661,8 @@ TransactionLineSidePanelPurchaseComponent.ctorParameters = () => [
16557
16661
  { type: TransactionEventService }
16558
16662
  ];
16559
16663
  TransactionLineSidePanelPurchaseComponent.propDecorators = {
16560
- transactionInfo: [{ type: Input }],
16561
16664
  transactionLine: [{ type: Input }],
16665
+ transactionInfo: [{ type: Input }],
16562
16666
  category: [{ type: Input }],
16563
16667
  quantityToReceiveChange: [{ type: Output }],
16564
16668
  showClass: [{ type: HostBinding, args: ["class.co-transaction-line-side-panel-purchase",] }]
@@ -17151,6 +17255,86 @@ TransactionGridModule.decorators = [
17151
17255
  },] }
17152
17256
  ];
17153
17257
 
17258
+ // @ts-ignore
17259
+ class TransactionLineWarehouseLocationComponent extends TransactionLineBaseComponent {
17260
+ constructor(_articleService) {
17261
+ super();
17262
+ this._articleService = _articleService;
17263
+ this.codeField = 'locationNo';
17264
+ this.propsForLabel = ['locationNo', 'description'];
17265
+ }
17266
+ ngOnInit() {
17267
+ this.viewModels.length = 0;
17268
+ this._articleService.getWarehouseLocations(this.warehouseNr).then((locations) => {
17269
+ this.collection = locations.slice();
17270
+ });
17271
+ }
17272
+ commit(locationNr) {
17273
+ return __awaiter(this, void 0, void 0, function* () {
17274
+ // not now
17275
+ return true;
17276
+ });
17277
+ }
17278
+ }
17279
+ TransactionLineWarehouseLocationComponent.decorators = [
17280
+ { type: Component, args: [{
17281
+ selector: "co-transaction-line-warehouse-location",
17282
+ template: `
17283
+ <co-transaction-line-checkbox-list
17284
+ [collection]="viewModelsFiltered"
17285
+ [readonly]="readonly"
17286
+ (checked)="handleChecked($event)"
17287
+ ></co-transaction-line-checkbox-list>
17288
+ `,
17289
+ encapsulation: ViewEncapsulation.None
17290
+ },] }
17291
+ ];
17292
+ TransactionLineWarehouseLocationComponent.ctorParameters = () => [
17293
+ { type: ArticleService }
17294
+ ];
17295
+ TransactionLineWarehouseLocationComponent.propDecorators = {
17296
+ warehouseNr: [{ type: Input }]
17297
+ };
17298
+
17299
+ class TransactionLineWarehouseLocationModule {
17300
+ }
17301
+ TransactionLineWarehouseLocationModule.decorators = [
17302
+ { type: NgModule, args: [{
17303
+ imports: [
17304
+ CommonModule,
17305
+ InputCheckboxModule,
17306
+ TransactionLineCheckboxModule
17307
+ ],
17308
+ declarations: [
17309
+ TransactionLineWarehouseLocationComponent
17310
+ ],
17311
+ exports: [
17312
+ TransactionLineWarehouseLocationComponent
17313
+ ]
17314
+ },] }
17315
+ ];
17316
+
17317
+ class DialogTransactionLineWarehouseLocationModule {
17318
+ }
17319
+ DialogTransactionLineWarehouseLocationModule.decorators = [
17320
+ { type: NgModule, args: [{
17321
+ imports: [
17322
+ CommonModule,
17323
+ CoDialogModule,
17324
+ DialogHeaderSearchModule,
17325
+ ButtonModule,
17326
+ PipeModule,
17327
+ TransactionLineWarehouseLocationModule
17328
+ ],
17329
+ declarations: [
17330
+ DialogTransactionLineWarehouseLocationComponent
17331
+ ],
17332
+ exports: [
17333
+ DialogTransactionLineWarehouseLocationComponent
17334
+ ]
17335
+ },] }
17336
+ ];
17337
+
17154
17338
  class TransactionReceivedGoodsGridModule {
17155
17339
  }
17156
17340
  TransactionReceivedGoodsGridModule.decorators = [
@@ -17163,7 +17347,8 @@ TransactionReceivedGoodsGridModule.decorators = [
17163
17347
  PipeModule,
17164
17348
  InputCheckboxModule,
17165
17349
  DropDownModule,
17166
- InputNumberPickerModule
17350
+ InputNumberPickerModule,
17351
+ DialogTransactionLineWarehouseLocationModule
17167
17352
  ],
17168
17353
  declarations: [
17169
17354
  TransactionReceivedGoodsGridComponent
@@ -19962,5 +20147,5 @@ TransactionLineGridModule.decorators = [
19962
20147
  * Generated bundle index. Do not edit.
19963
20148
  */
19964
20149
 
19965
- export { CheckoutComponent, CheckoutModule, SearchBarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, CharacteristicAnswerModule as ɵba, CharacteristicAnswerComponent as ɵbb, WarehouseModule as ɵbc, WarehouseComponent as ɵbd, ImageDisplayComponent as ɵbe, IconComponent as ɵbf, CustomerGroupsComponent as ɵbg, StockStatusIndicatorComponent as ɵbh, LoaderComponent as ɵbi, LazyRenderMasterDirective as ɵbj, LazyRenderDirective as ɵbk, RelationAddressModule as ɵbl, RelationAddressComponent as ɵbm, RelationBaseComponent as ɵbn, RelationAddressSelectModule as ɵbo, RelationAddressTileModule as ɵbp, TileModule as ɵbq, TileComponent as ɵbr, RelationAddressTileComponent as ɵbs, RelationAddressSelectComponent as ɵbt, BusinessObjectFactory as ɵbu, StepperModule as ɵbv, StepperComponent as ɵbw, StepperStepComponent as ɵbx, TransactionArticleTextModule as ɵby, TransactionArticleTextComponent as ɵbz, OptionsService as ɵc, TransactionArticleTextOverviewModule as ɵca, TransactionArticleTextOverviewComponent as ɵcb, TransactionLineActionButtonsModule as ɵcc, TransactionLineActionButtonsComponent as ɵcd, EditableLabelModule as ɵce, EditableLabelComponent as ɵcf, TransactionLinePriceModule as ɵcg, TransactionLinePriceComponent as ɵch, TransactionLineBaseComponent as ɵci, TransactionFilterPopupBaseComponent as ɵcj, TransactionLineDescriptionModule as ɵck, TransactionLineDescriptionComponent as ɵcl, DialogTransactionLineDeliveryMethodModule as ɵcm, TransactionLineDeliveryMethodModule as ɵcn, TransactionLineCheckboxModule as ɵco, TransactionLineCheckboxListComponent as ɵcp, TransactionLineDeliveryMethodComponent as ɵcq, DialogHeaderSearchModule as ɵcr, DialogHeaderSearchComponent as ɵcs, DialogTransactionLineDeliveryMethodComponent as ɵct, DialogTransactionLineBaseComponent as ɵcu, DialogTransactionLineCommissionCodeModule as ɵcv, TransactionLineCommissionCodeModule as ɵcw, TransactionLineCommissionCodeComponent as ɵcx, DialogTransactionLineCommissionCodeComponent as ɵcy, DialogTransactionLineVatModule as ɵcz, DictionaryService as ɵd, TransactionLineVatModule as ɵda, TransactionLineVatComponent as ɵdb, DialogTransactionLineVatComponent as ɵdc, DialogTransactionLineWarehouseModule as ɵdd, TransactionLineWarehouseModule as ɵde, TransactionLineWarehouseComponent as ɵdf, DialogTransactionLineWarehouseComponent as ɵdg, DialogTransactionLineDiscountModule as ɵdh, TransactionLinePriceListModule as ɵdi, TransactionLinePriceListComponent as ɵdj, TransactionLineLineDiscountModule as ɵdk, TransactionLineLineDiscountComponent as ɵdl, TransactionLineDiscountAmountModule as ɵdm, TransactionLineDiscountAmountComponent as ɵdn, TransactionLineQuantumDiscountModule as ɵdo, TransactionLineQuantumDiscountComponent as ɵdp, TransactionLineSpecialDiscountModule as ɵdq, TransactionLineSpecialDiscountComponent as ɵdr, DialogTransactionLinePriceListModule as ɵds, DialogTransactionLinePriceListComponent as ɵdt, DialogTransactionLineDiscountComponent as ɵdu, TransactionImageService as ɵdv, AvatarModule as ɵdw, AvatarComponent as ɵdx, SharedService as ɵdy, SharedConnectorService as ɵdz, TransactionConnectorService as ɵe, DeliveryTypeTileModule as ɵea, DeliveryTypeTileComponent as ɵeb, PaymentModule as ɵec, PaymentTileModule as ɵed, PaymentTileComponent as ɵee, PaymentQrCodeModule as ɵef, PaymentQrCodeComponent as ɵeg, PaymentComponent as ɵeh, PaymentService as ɵei, RelationTypeModule as ɵej, RelationTypeComponent as ɵek, RelationGeneralModule as ɵel, RelationSuggestionsListModule as ɵem, RelationSuggestionsListItemModule as ɵen, RelationSuggestionsListItemComponent as ɵeo, RelationSuggestionsListComponent as ɵep, RelationGeneralComponent as ɵeq, RelationAddressesModule as ɵer, RelationAddressesComponent as ɵes, RelationContactDetailsModule as ɵet, RelationContactDetailsComponent as ɵeu, RelationPreferencesModule as ɵev, RelationPreferencesComponent as ɵew, TransactionHeaderBlockModule as ɵex, TransactionHeaderBlockComponent as ɵey, TransactionHeaderDeliveryDateModule as ɵez, TransactionConnectorAdapterService as ɵf, TransactionHeaderDeliveryDateComponent as ɵfa, TransactionHeaderBaseComponent as ɵfb, TransactionHeaderDeliveryOptionsModule as ɵfc, TransactionHeaderDeliveryOptionsComponent as ɵfd, TransactionHeaderRemarksModule as ɵfe, TransactionHeaderRemarksComponent as ɵff, TransactionHeaderReferenceModule as ɵfg, TransactionHeaderReferenceComponent as ɵfh, TransactionHeaderRelationReferenceModule as ɵfi, TransactionHeaderRelationReferenceComponent as ɵfj, TransactionHeaderDeliveryMethodModule as ɵfk, TransactionHeaderDeliveryMethodComponent as ɵfl, TransactionHeaderPreferredDeliveryDateModule as ɵfm, TransactionHeaderPreferredDeliveryDateComponent as ɵfn, DialogTransactionHeaderDeliveryMethodModule as ɵfo, DialogTransactionHeaderDeliveryMethodComponent as ɵfp, DialogTransactionHeaderBaseComponent as ɵfq, TransactionBaseComponent as ɵfr, TransactionHeaderPartialDeliveryModule as ɵfs, TransactionHeaderPartialDeliveryComponent as ɵft, TransactionHeaderDownpaymentPercentageModule as ɵfu, TransactionHeaderDownpaymentPercentageComponent as ɵfv, TransactionHeaderDownpaymentAmountModule as ɵfw, TransactionHeaderDownpaymentAmountComponent as ɵfx, TransactionHeaderDefinitiveModule as ɵfy, TransactionHeaderDefinitiveComponent as ɵfz, SelectMultipleCacheService as ɵg, TransactionHeaderBranchModule as ɵga, TransactionHeaderBranchComponent as ɵgb, TransactionHeaderAdministrativeRelationModule as ɵgc, TransactionHeaderAdministrativeRelationComponent as ɵgd, TransactionHeaderMarketingModule as ɵge, TransactionHeaderMarketingComponent as ɵgf, CheckoutOverviewRelationEditComponent as ɵgg, CheckoutOverviewDeliveryEditComponent as ɵgh, CheckoutOverviewDeliveryAddressComponent as ɵgi, CheckoutOverviewPaymentComponent as ɵgj, CheckoutLoginComponent as ɵgk, TransactionFilterCategoriesModule as ɵgl, TransactionFilterCategoriesComponent as ɵgm, TransactionHeaderPaymentModule as ɵgn, TransactionHeaderPaymentComponent as ɵgo, TransactionLinesGridModule as ɵgp, TransactionBaseGridModule as ɵgq, TransactionLineSidePanelModule as ɵgr, TransactionLineSidePanelDefaultModule as ɵgs, TransactionLineQuantityModule as ɵgt, TransactionLineQuantityComponent as ɵgu, TransactionLineDeliveryDateModule as ɵgv, TransactionLineDeliveryDateComponent as ɵgw, TransactionLineReferenceModule as ɵgx, TransactionLineReferenceComponent as ɵgy, TransactionLineSupplierModule as ɵgz, BusinessObjectCacheManagerService as ɵh, TransactionLineSupplierComponent as ɵha, TransactionLineSidePanelDefaultComponent as ɵhb, TransactionReceivingGoodsHistoryModule as ɵhc, TransactionHistoryGridModule as ɵhd, TransactionHistoryGridStatusModule as ɵhe, TransactionHistoryGridStatusComponent as ɵhf, TransactionHistoryGridComponent as ɵhg, TransactionReceivingGoodsHistoryComponent as ɵhh, TransactionReceivingGoodsDetailsModule as ɵhi, TransactionReceivingGoodsDetailsComponent as ɵhj, ArticleService as ɵhk, TransactionButtonBarModule as ɵhl, TransactionButtonBarComponent as ɵhm, TransactionMappingService as ɵhn, TransactionButtonBarButtonComponent as ɵho, TransactionLineSidePanelPurchaseModule as ɵhp, DefaultOkCancelButtonsModule as ɵhq, DefaultOkCancelButtonsComponent as ɵhr, TransactionLineSidePanelPurchaseComponent as ɵhs, TransactionEventService as ɵht, TransactionLineSidePanelComponent as ɵhu, TransactionBaseGridComponent as ɵhv, TransactionGridBaseComponent as ɵhw, TransactionLinesGridComponent as ɵhx, DiscountModule as ɵhy, DiscountComponent as ɵhz, CacheField as ɵi, TransactionQuickAccessOverviewModule as ɵia, TransactionQuickAccessOverviewComponent as ɵib, TransactionOrderConfirmationGridModule as ɵic, TransactionOrderConfirmationGridComponent as ɵid, TransactionReceivedGoodsGridModule as ɵie, TransactionReceivedGoodsGridComponent as ɵif, ViewModeButtonsModule as ɵig, ViewModeButtonsComponent as ɵih, TransactionGridModule as ɵii, TransactionGridComponent as ɵij, TransactionTileModule as ɵik, TransactionTileComponent as ɵil, TransactionSearchResultModule as ɵim, TransactionSearchSalesOrderTileModule as ɵin, StatusBarModule as ɵio, StatusBarComponent as ɵip, TransactionSearchSalesOrderTileComponent as ɵiq, TransactionSearchTileBaseComponent as ɵir, TransactionSearchPurchaseOrderTileModule as ɵis, TransactionSearchPurchaseOrderTileComponent as ɵit, TransactionSearchSalesOrderGridModule as ɵiu, TransactionSearchSalesOrderGridComponent as ɵiv, TransactionSearchGridBaseComponent as ɵiw, TransactionSearchPurchaseOrderGridModule as ɵix, TransactionSearchPurchaseOrderGridComponent as ɵiy, TransactionSearchHeaderModule as ɵiz, SelectMultipleParameterizedCacheService as ɵj, TransactionSearchHeaderComponent as ɵja, TransactionSearchGridModule as ɵjb, TransactionSearchGridComponent as ɵjc, TransactionSearchTileModule as ɵjd, TransactionSearchTileComponent as ɵje, TransactionSearchResultComponent as ɵjf, TransactionSalesOrderFilterModule as ɵjg, TransactionSalesOrderFilterContentOrderModule as ɵjh, TransactionSalesOrderFilterContentOrderComponent as ɵji, TransactionFilterContentBaseComponent as ɵjj, FilterRequestService as ɵjk, TransactionSalesOrderFilterContentLogisticsModule as ɵjl, TransactionFilterHistoricStateModule as ɵjm, TransactionFilterHistoricStateComponent as ɵjn, TransactionSalesOrderFilterContentLogisticsComponent as ɵjo, TransactionSalesOrderFilterContentArticleModule as ɵjp, TransactionSalesOrderFilterContentArticleComponent as ɵjq, TransactionSalesOrderFilterComponent as ɵjr, TransactionFilterBaseComponent as ɵjs, TransactionPurchaseOrderFilterModule as ɵjt, TransactionPurchaseOrderFilterContentOrderModule as ɵju, TransactionPurchaseOrderFilterContentOrderComponent as ɵjv, TransactionPurchaseOrderFilterContentLogisticsModule as ɵjw, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵjx, TransactionPurchaseOrderFilterContentArticleModule as ɵjy, TransactionPurchaseOrderFilterContentArticleComponent as ɵjz, ErrorService as ɵk, TransactionPurchaseOrderFilterComponent as ɵka, TransactionFilterModule as ɵkb, TransactionFilterComponent as ɵkc, SelectSingleCacheService as ɵl, ArticleConnectorService as ɵm, CoreModule as ɵn, ConfirmationDialogModule as ɵo, PipeModule as ɵp, AppendPipe as ɵq, DeliveryTimePipe as ɵr, DateDurationPipe as ɵs, LocalizePipe as ɵt, CoCurrencyPipe as ɵu, SafeStylePipe as ɵv, SafeHtmlPipe as ɵw, ConfirmationDialogComponent as ɵx, DialogBaseComponent as ɵy, IconCacheService as ɵz };
20150
+ export { CheckoutComponent, CheckoutModule, SearchBarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, IconCacheService as ɵba, CharacteristicAnswerModule as ɵbb, CharacteristicAnswerComponent as ɵbc, WarehouseModule as ɵbd, WarehouseComponent as ɵbe, ImageDisplayComponent as ɵbf, IconComponent as ɵbg, CustomerGroupsComponent as ɵbh, StockStatusIndicatorComponent as ɵbi, LoaderComponent as ɵbj, LazyRenderMasterDirective as ɵbk, LazyRenderDirective as ɵbl, RelationAddressModule as ɵbm, RelationAddressComponent as ɵbn, RelationBaseComponent as ɵbo, RelationAddressSelectModule as ɵbp, RelationAddressTileModule as ɵbq, TileModule as ɵbr, TileComponent as ɵbs, RelationAddressTileComponent as ɵbt, RelationAddressSelectComponent as ɵbu, BusinessObjectFactory as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionArticleTextModule as ɵbz, DynamicComponentService as ɵc, TransactionArticleTextComponent as ɵca, TransactionArticleTextOverviewModule as ɵcb, TransactionArticleTextOverviewComponent as ɵcc, TransactionLineActionButtonsModule as ɵcd, TransactionLineActionButtonsComponent as ɵce, EditableLabelModule as ɵcf, EditableLabelComponent as ɵcg, TransactionLinePriceModule as ɵch, TransactionLinePriceComponent as ɵci, TransactionLineBaseComponent as ɵcj, TransactionFilterPopupBaseComponent as ɵck, TransactionLineDescriptionModule as ɵcl, TransactionLineDescriptionComponent as ɵcm, DialogTransactionLineDeliveryMethodModule as ɵcn, TransactionLineDeliveryMethodModule as ɵco, TransactionLineCheckboxModule as ɵcp, TransactionLineCheckboxListComponent as ɵcq, TransactionLineDeliveryMethodComponent as ɵcr, DialogHeaderSearchModule as ɵcs, DialogHeaderSearchComponent as ɵct, DialogTransactionLineDeliveryMethodComponent as ɵcu, DialogTransactionLineBaseComponent as ɵcv, DialogTransactionLineCommissionCodeModule as ɵcw, TransactionLineCommissionCodeModule as ɵcx, TransactionLineCommissionCodeComponent as ɵcy, DialogTransactionLineCommissionCodeComponent as ɵcz, OptionsService as ɵd, DialogTransactionLineVatModule as ɵda, TransactionLineVatModule as ɵdb, TransactionLineVatComponent as ɵdc, DialogTransactionLineVatComponent as ɵdd, DialogTransactionLineWarehouseModule as ɵde, TransactionLineWarehouseModule as ɵdf, TransactionLineWarehouseComponent as ɵdg, DialogTransactionLineWarehouseComponent as ɵdh, DialogTransactionLineDiscountModule as ɵdi, TransactionLinePriceListModule as ɵdj, TransactionLinePriceListComponent as ɵdk, TransactionLineLineDiscountModule as ɵdl, TransactionLineLineDiscountComponent as ɵdm, TransactionLineDiscountAmountModule as ɵdn, TransactionLineDiscountAmountComponent as ɵdo, TransactionLineQuantumDiscountModule as ɵdp, TransactionLineQuantumDiscountComponent as ɵdq, TransactionLineSpecialDiscountModule as ɵdr, TransactionLineSpecialDiscountComponent as ɵds, DialogTransactionLinePriceListModule as ɵdt, DialogTransactionLinePriceListComponent as ɵdu, DialogTransactionLineDiscountComponent as ɵdv, TransactionImageService as ɵdw, AvatarModule as ɵdx, AvatarComponent as ɵdy, SharedService as ɵdz, DictionaryService as ɵe, SharedConnectorService as ɵea, DeliveryTypeTileModule as ɵeb, DeliveryTypeTileComponent as ɵec, PaymentModule as ɵed, PaymentTileModule as ɵee, PaymentTileComponent as ɵef, PaymentQrCodeModule as ɵeg, PaymentQrCodeComponent as ɵeh, PaymentComponent as ɵei, PaymentService as ɵej, RelationTypeModule as ɵek, RelationTypeComponent as ɵel, RelationGeneralModule as ɵem, RelationSuggestionsListModule as ɵen, RelationSuggestionsListItemModule as ɵeo, RelationSuggestionsListItemComponent as ɵep, RelationSuggestionsListComponent as ɵeq, RelationGeneralComponent as ɵer, RelationAddressesModule as ɵes, RelationAddressesComponent as ɵet, RelationContactDetailsModule as ɵeu, RelationContactDetailsComponent as ɵev, RelationPreferencesModule as ɵew, RelationPreferencesComponent as ɵex, TransactionHeaderBlockModule as ɵey, TransactionHeaderBlockComponent as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDeliveryDateModule as ɵfa, TransactionHeaderDeliveryDateComponent as ɵfb, TransactionHeaderBaseComponent as ɵfc, TransactionHeaderDeliveryOptionsModule as ɵfd, TransactionHeaderDeliveryOptionsComponent as ɵfe, TransactionHeaderRemarksModule as ɵff, TransactionHeaderRemarksComponent as ɵfg, TransactionHeaderReferenceModule as ɵfh, TransactionHeaderReferenceComponent as ɵfi, TransactionHeaderRelationReferenceModule as ɵfj, TransactionHeaderRelationReferenceComponent as ɵfk, TransactionHeaderDeliveryMethodModule as ɵfl, TransactionHeaderDeliveryMethodComponent as ɵfm, TransactionHeaderPreferredDeliveryDateModule as ɵfn, TransactionHeaderPreferredDeliveryDateComponent as ɵfo, DialogTransactionHeaderDeliveryMethodModule as ɵfp, DialogTransactionHeaderDeliveryMethodComponent as ɵfq, DialogTransactionHeaderBaseComponent as ɵfr, TransactionBaseComponent as ɵfs, TransactionHeaderPartialDeliveryModule as ɵft, TransactionHeaderPartialDeliveryComponent as ɵfu, TransactionHeaderDownpaymentPercentageModule as ɵfv, TransactionHeaderDownpaymentPercentageComponent as ɵfw, TransactionHeaderDownpaymentAmountModule as ɵfx, TransactionHeaderDownpaymentAmountComponent as ɵfy, TransactionHeaderDefinitiveModule as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionHeaderDefinitiveComponent as ɵga, TransactionHeaderBranchModule as ɵgb, TransactionHeaderBranchComponent as ɵgc, TransactionHeaderAdministrativeRelationModule as ɵgd, TransactionHeaderAdministrativeRelationComponent as ɵge, TransactionHeaderMarketingModule as ɵgf, TransactionHeaderMarketingComponent as ɵgg, CheckoutOverviewRelationEditComponent as ɵgh, CheckoutOverviewDeliveryEditComponent as ɵgi, CheckoutOverviewDeliveryAddressComponent as ɵgj, CheckoutOverviewPaymentComponent as ɵgk, CheckoutLoginComponent as ɵgl, TransactionFilterCategoriesModule as ɵgm, TransactionFilterCategoriesComponent as ɵgn, TransactionHeaderPaymentModule as ɵgo, TransactionHeaderPaymentComponent as ɵgp, TransactionLinesGridModule as ɵgq, TransactionBaseGridModule as ɵgr, TransactionLineSidePanelModule as ɵgs, TransactionLineSidePanelDefaultModule as ɵgt, TransactionLineQuantityModule as ɵgu, TransactionLineQuantityComponent as ɵgv, TransactionLineDeliveryDateModule as ɵgw, TransactionLineDeliveryDateComponent as ɵgx, TransactionLineReferenceModule as ɵgy, TransactionLineReferenceComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineSupplierModule as ɵha, TransactionLineSupplierComponent as ɵhb, TransactionLineSidePanelDefaultComponent as ɵhc, TransactionReceivingGoodsHistoryModule as ɵhd, TransactionHistoryGridModule as ɵhe, TransactionHistoryGridStatusModule as ɵhf, TransactionHistoryGridStatusComponent as ɵhg, TransactionHistoryGridComponent as ɵhh, TransactionReceivingGoodsHistoryComponent as ɵhi, TransactionReceivingGoodsDetailsModule as ɵhj, TransactionReceivingGoodsDetailsComponent as ɵhk, ArticleService as ɵhl, TransactionButtonBarModule as ɵhm, TransactionButtonBarComponent as ɵhn, TransactionMappingService as ɵho, TransactionButtonBarButtonComponent as ɵhp, TransactionLineSidePanelPurchaseModule as ɵhq, DefaultOkCancelButtonsModule as ɵhr, DefaultOkCancelButtonsComponent as ɵhs, TransactionLineSidePanelPurchaseComponent as ɵht, TransactionEventService as ɵhu, TransactionLineSidePanelComponent as ɵhv, DynamicBaseComponent as ɵhw, TransactionBaseGridComponent as ɵhx, TransactionGridBaseComponent as ɵhy, TransactionLinesGridComponent as ɵhz, BusinessObjectCacheManagerService as ɵi, DiscountModule as ɵia, DiscountComponent as ɵib, TransactionQuickAccessOverviewModule as ɵic, TransactionQuickAccessOverviewComponent as ɵid, TransactionOrderConfirmationGridModule as ɵie, TransactionOrderConfirmationGridComponent as ɵif, TransactionReceivedGoodsGridModule as ɵig, DialogTransactionLineWarehouseLocationModule as ɵih, TransactionLineWarehouseLocationModule as ɵii, TransactionLineWarehouseLocationComponent as ɵij, DialogTransactionLineWarehouseLocationComponent as ɵik, TransactionReceivedGoodsGridComponent as ɵil, ViewModeButtonsModule as ɵim, ViewModeButtonsComponent as ɵin, TransactionGridModule as ɵio, TransactionGridComponent as ɵip, TransactionTileModule as ɵiq, TransactionTileComponent as ɵir, TransactionSearchResultModule as ɵis, TransactionSearchSalesOrderTileModule as ɵit, StatusBarModule as ɵiu, StatusBarComponent as ɵiv, TransactionSearchSalesOrderTileComponent as ɵiw, TransactionSearchTileBaseComponent as ɵix, TransactionSearchPurchaseOrderTileModule as ɵiy, TransactionSearchPurchaseOrderTileComponent as ɵiz, CacheField as ɵj, TransactionSearchSalesOrderGridModule as ɵja, TransactionSearchSalesOrderGridComponent as ɵjb, TransactionSearchGridBaseComponent as ɵjc, TransactionSearchPurchaseOrderGridModule as ɵjd, TransactionSearchPurchaseOrderGridComponent as ɵje, TransactionSearchHeaderModule as ɵjf, TransactionSearchHeaderComponent as ɵjg, TransactionSearchGridModule as ɵjh, TransactionSearchGridComponent as ɵji, TransactionSearchTileModule as ɵjj, TransactionSearchTileComponent as ɵjk, TransactionSearchResultComponent as ɵjl, TransactionSalesOrderFilterModule as ɵjm, TransactionSalesOrderFilterContentOrderModule as ɵjn, TransactionSalesOrderFilterContentOrderComponent as ɵjo, TransactionFilterContentBaseComponent as ɵjp, FilterRequestService as ɵjq, TransactionSalesOrderFilterContentLogisticsModule as ɵjr, TransactionFilterHistoricStateModule as ɵjs, TransactionFilterHistoricStateComponent as ɵjt, TransactionSalesOrderFilterContentLogisticsComponent as ɵju, TransactionSalesOrderFilterContentArticleModule as ɵjv, TransactionSalesOrderFilterContentArticleComponent as ɵjw, TransactionSalesOrderFilterComponent as ɵjx, TransactionFilterBaseComponent as ɵjy, TransactionPurchaseOrderFilterModule as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionPurchaseOrderFilterContentOrderModule as ɵka, TransactionPurchaseOrderFilterContentOrderComponent as ɵkb, TransactionPurchaseOrderFilterContentLogisticsModule as ɵkc, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵkd, TransactionPurchaseOrderFilterContentArticleModule as ɵke, TransactionPurchaseOrderFilterContentArticleComponent as ɵkf, TransactionPurchaseOrderFilterComponent as ɵkg, TransactionFilterModule as ɵkh, TransactionFilterComponent as ɵki, ErrorService as ɵl, SelectSingleCacheService as ɵm, ArticleConnectorService as ɵn, CoreModule as ɵo, ConfirmationDialogModule as ɵp, PipeModule as ɵq, AppendPipe as ɵr, DeliveryTimePipe as ɵs, DateDurationPipe as ɵt, LocalizePipe as ɵu, CoCurrencyPipe as ɵv, SafeStylePipe as ɵw, SafeHtmlPipe as ɵx, ConfirmationDialogComponent as ɵy, DialogBaseComponent as ɵz };
19966
20151
  //# sourceMappingURL=colijnit-transaction.js.map