@colijnit/transaction 12.1.29 → 12.1.31

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 (138) hide show
  1. package/bundles/colijnit-transaction.umd.js +1082 -467
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +224 -214
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +225 -215
  6. package/esm2015/lib/assets/dictionary/text.properties.js +12 -4
  7. package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +6 -4
  8. package/esm2015/lib/component/checkout/checkout.component.js +14 -23
  9. package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.js +83 -0
  10. package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.module.js +26 -0
  11. package/esm2015/lib/component/core/base/components/warehouse/warehouse.component.js +64 -0
  12. package/esm2015/lib/component/core/base/components/warehouse/warehouse.module.js +26 -0
  13. package/esm2015/lib/component/core/base/dialog-transaction-line-base.component.js +25 -0
  14. package/esm2015/lib/component/core/base/transaction-line-base.component.js +77 -0
  15. package/esm2015/lib/component/core/core.module.js +9 -3
  16. package/esm2015/lib/component/dialog/dialog-header-search/dialog-header-search.component.js +37 -0
  17. package/esm2015/lib/component/dialog/dialog-header-search/dialog-header-search.module.js +23 -0
  18. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/dialog-transaction-line-commission-code.component.js +13 -10
  19. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/dialog-transaction-line-commission-code.module.js +6 -3
  20. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/dialog-transaction-line-delivery-method.component.js +34 -0
  21. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/dialog-transaction-line-delivery-method.module.js +28 -0
  22. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.component.js +35 -0
  23. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.module.js +28 -0
  24. package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +8 -1
  25. package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.module.js +6 -2
  26. package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.js +8 -6
  27. package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.module.js +3 -3
  28. package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.component.js +39 -12
  29. package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.module.js +4 -3
  30. package/esm2015/lib/component/transaction-header-fields/transaction-header-marketing.component.js +25 -11
  31. package/esm2015/lib/component/transaction-header-fields/transaction-header-marketing.module.js +4 -3
  32. package/esm2015/lib/component/transaction-line/transaction-line.component.js +59 -1
  33. package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +26 -26
  34. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +3 -3
  35. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +42 -4
  36. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.module.js +4 -3
  37. package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +3 -3
  38. package/esm2015/lib/component/transaction-line-fields/transaction-line-discount-amount.component.js +3 -3
  39. package/esm2015/lib/component/transaction-line-fields/transaction-line-line-discount.component.js +3 -3
  40. package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +3 -3
  41. package/esm2015/lib/component/transaction-line-fields/transaction-line-price.component.js +3 -3
  42. package/esm2015/lib/component/transaction-line-fields/transaction-line-quantity.component.js +3 -3
  43. package/esm2015/lib/component/transaction-line-fields/transaction-line-quantum-discount.component.js +3 -3
  44. package/esm2015/lib/component/transaction-line-fields/transaction-line-reference.component.js +3 -3
  45. package/esm2015/lib/component/transaction-line-fields/transaction-line-special-discount.component.js +3 -3
  46. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.component.js +3 -3
  47. package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +3 -3
  48. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +43 -17
  49. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.module.js +4 -3
  50. package/esm2015/lib/pipe/append.pipe.js +3 -3
  51. package/esm2015/lib/service/dialog.service.js +26 -3
  52. package/esm2015/lib/service/pending-reason.service.js +51 -21
  53. package/esm2015/lib/service/transaction-connector.service.js +12 -12
  54. package/esm2015/lib/service/transaction.service.js +11 -6
  55. package/fesm2015/colijnit-transaction.js +890 -280
  56. package/fesm2015/colijnit-transaction.js.map +1 -1
  57. package/lib/component/checkout/checkout.component.d.ts +2 -1
  58. package/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.d.ts +21 -0
  59. package/lib/component/core/base/components/characteristic-answer/characteristic-answer.module.d.ts +2 -0
  60. package/lib/component/core/base/components/characteristic-answer/style/_layout.scss +15 -0
  61. package/lib/component/core/base/components/characteristic-answer/style/_material-definition.scss +0 -0
  62. package/lib/component/core/base/components/characteristic-answer/style/_theme.scss +7 -0
  63. package/lib/component/core/base/components/characteristic-answer/style/material.scss +4 -0
  64. package/lib/component/core/base/components/default-ok-cancel-buttons/style/_layout.scss +0 -2
  65. package/lib/component/core/base/components/default-ok-cancel-buttons/style/_theme.scss +0 -2
  66. package/lib/component/core/base/components/default-ok-cancel-buttons/style/material.scss +1 -0
  67. package/lib/component/core/base/components/transaction-header-block/style/_layout.scss +0 -2
  68. package/lib/component/core/base/components/transaction-header-block/style/_theme.scss +0 -2
  69. package/lib/component/core/base/components/warehouse/style/_layout.scss +15 -0
  70. package/lib/component/core/base/components/warehouse/style/_material-definition.scss +0 -0
  71. package/lib/component/core/base/components/warehouse/style/_theme.scss +7 -0
  72. package/lib/component/core/base/components/warehouse/style/material.scss +4 -0
  73. package/lib/component/core/base/components/warehouse/warehouse.component.d.ts +20 -0
  74. package/lib/component/core/base/components/warehouse/warehouse.module.d.ts +2 -0
  75. package/lib/component/core/base/dialog-transaction-line-base.component.d.ts +10 -0
  76. package/lib/component/core/base/transaction-line-base.component.d.ts +36 -0
  77. package/lib/component/dialog/dialog-header-search/dialog-header-search.component.d.ts +10 -0
  78. package/lib/component/dialog/dialog-header-search/dialog-header-search.module.d.ts +2 -0
  79. package/lib/component/dialog/dialog-header-search/style/_layout.scss +7 -0
  80. package/lib/component/dialog/dialog-header-search/style/_material-definition.scss +1 -0
  81. package/lib/component/dialog/dialog-header-search/style/_theme.scss +4 -0
  82. package/lib/component/dialog/dialog-header-search/style/material.scss +4 -0
  83. package/lib/component/dialog/transaction-header/dialog-transaction-header-branch/style/_layout.scss +4 -0
  84. package/lib/component/dialog/transaction-header/dialog-transaction-header-branch/style/_material-definition.scss +0 -0
  85. package/lib/component/dialog/transaction-header/dialog-transaction-header-branch/style/_theme.scss +4 -0
  86. package/lib/component/dialog/transaction-header/dialog-transaction-header-branch/style/material.scss +4 -0
  87. package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/dialog-transaction-line-commission-code.component.d.ts +1 -3
  88. package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_layout.scss +13 -9
  89. package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/dialog-transaction-line-delivery-method.component.d.ts +4 -0
  90. package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/dialog-transaction-line-delivery-method.module.d.ts +2 -0
  91. package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_layout.scss +19 -0
  92. package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_material-definition.scss +0 -0
  93. package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_theme.scss +4 -0
  94. package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/material.scss +4 -0
  95. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.component.d.ts +4 -0
  96. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.module.d.ts +2 -0
  97. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_layout.scss +19 -0
  98. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_material-definition.scss +0 -0
  99. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_theme.scss +4 -0
  100. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/material.scss +5 -0
  101. package/lib/component/relation/relation-general/style/_layout.scss +1 -1
  102. package/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.d.ts +1 -0
  103. package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +1 -1
  104. package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +1 -1
  105. package/lib/component/transaction-header-fields/transaction-header-branch.component.d.ts +11 -0
  106. package/lib/component/transaction-header-fields/transaction-header-marketing.component.d.ts +11 -1
  107. package/lib/component/transaction-line/style/_layout.scss +15 -0
  108. package/lib/component/transaction-line/style/_material-definition.scss +1 -1
  109. package/lib/component/transaction-line/style/_theme.scss +3 -0
  110. package/lib/component/transaction-line/style/material.scss +2 -0
  111. package/lib/component/transaction-line/transaction-line.component.d.ts +6 -0
  112. package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +3 -9
  113. package/lib/component/transaction-line-fields/transaction-line-delivery-date.component.d.ts +2 -2
  114. package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts +8 -3
  115. package/lib/component/transaction-line-fields/transaction-line-description.component.d.ts +2 -2
  116. package/lib/component/transaction-line-fields/transaction-line-discount-amount.component.d.ts +2 -2
  117. package/lib/component/transaction-line-fields/transaction-line-line-discount.component.d.ts +2 -2
  118. package/lib/component/transaction-line-fields/transaction-line-price-list.component.d.ts +2 -2
  119. package/lib/component/transaction-line-fields/transaction-line-price.component.d.ts +2 -2
  120. package/lib/component/transaction-line-fields/transaction-line-quantity.component.d.ts +2 -2
  121. package/lib/component/transaction-line-fields/transaction-line-quantum-discount.component.d.ts +2 -2
  122. package/lib/component/transaction-line-fields/transaction-line-reference.component.d.ts +2 -2
  123. package/lib/component/transaction-line-fields/transaction-line-special-discount.component.d.ts +2 -2
  124. package/lib/component/transaction-line-fields/transaction-line-supplier.component.d.ts +2 -2
  125. package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +2 -2
  126. package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +10 -5
  127. package/lib/component/transaction-tile/style/_layout.scss +1 -1
  128. package/lib/pipe/append.pipe.d.ts +1 -1
  129. package/lib/service/dialog.service.d.ts +4 -0
  130. package/lib/service/pending-reason.service.d.ts +4 -1
  131. package/lib/style/_variables.scss +3 -0
  132. package/lib/style/transaction-globals.scss +10 -0
  133. package/package.json +1 -1
  134. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-base.component.js +0 -30
  135. package/esm2015/lib/component/transaction-line-fields/transaction-line-fields-base.component.js +0 -45
  136. package/lib/component/core/characteristic-answer/characteristic-answer.component.scss +0 -19
  137. package/lib/component/dialog/transaction-line/dialog-transaction-line-base.component.d.ts +0 -9
  138. package/lib/component/transaction-line-fields/transaction-line-fields-base.component.d.ts +0 -14
@@ -1,6 +1,6 @@
1
1
  import { __awaiter } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, Component, ViewEncapsulation, Input, HostBinding, ComponentFactoryResolver, ApplicationRef, Injector, EventEmitter, ViewChild, Output, Pipe, NgModule, Directive, ElementRef, ContentChildren, HostListener } from '@angular/core';
3
+ import { Injectable, Component, ViewEncapsulation, Input, HostBinding, EventEmitter, ChangeDetectorRef, Output, Directive, ComponentFactoryResolver, ApplicationRef, Injector, ViewChild, Pipe, NgModule, ElementRef, ContentChildren, HostListener } from '@angular/core';
4
4
  import { PendingReasonType } from '@colijnit/transactionapi/build/enum/pending-reason-type.enum';
5
5
  import { SequenceName } from '@colijnit/transactionapi/build/enum/sequence-name.enum';
6
6
  import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
@@ -50,6 +50,7 @@ import { PurchasePortalLine } from '@colijnit/transactionapi/build/model/purchas
50
50
  import { CreatePaymentLinkResult } from '@colijnit/transactionapi/build/model/create-payment-link-result.bo';
51
51
  import { PaymentLinkStatus } from '@colijnit/transactionapi/build/model/payment-link-status.bo';
52
52
  import { RelationStatus } from '@colijnit/transactionapi/build/enum/relation-status.enum';
53
+ import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
53
54
  import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
54
55
  import { Articles } from '@colijnit/articleapi/build/articles';
55
56
  import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.bo';
@@ -57,7 +58,7 @@ import { ArticleLight } from '@colijnit/articleapi/build/model/article-light.bo'
57
58
  import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
58
59
  import { MainArticle } from '@colijnit/articleapi/build/model/main-article.bo';
59
60
  import { ResolveHeaderPendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo';
60
- import { FormMasterService, CoDialogModule, ButtonModule, InputComboBoxModule, InputTextModule, FormModule, InputRadioButtonModule, IconModule, InputCheckboxModule, InputListboxModule, DropDownModule, ClickoutsideModule, InputTextComponent, InputNumberPickerModule, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, CollapsibleModule, ColumnAlign, SimpleGridColumnDirective, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, InputSearchModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
61
+ import { FormMasterService, CoDialogModule, ButtonModule, InputCheckboxModule, InputTextModule, InputComboBoxModule, FormModule, InputRadioButtonModule, IconModule, InputListboxModule, DropDownModule, ClickoutsideModule, InputTextComponent, InputNumberPickerModule, PriceDisplayPipeModule, InputDatePickerModule, Carousel3dModule, InputDatePickerComponent, InputTextareaComponent, InputTextareaModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, CollapsibleModule, ColumnAlign, SimpleGridColumnDirective, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, InputSearchModule, CoOrientation, CoDirection, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
61
62
  import { FlexModule } from '@angular/flex-layout';
62
63
  import { AddressType } from '@colijnit/transactionapi/build/enum/address-type.enum';
63
64
  import { trigger, state, style, transition, animate } from '@angular/animations';
@@ -69,7 +70,6 @@ import { Address } from '@colijnit/transactionapi/build/model/address.bo';
69
70
  import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
70
71
  import { TransactionAddTextLineRequest } from '@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo';
71
72
  import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-status.enum';
72
- import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
73
73
  import { RelationRequest } from '@colijnit/transactionapi/build/model/relation-request';
74
74
  import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
75
75
  import { CoDocument } from '@colijnit/sharedapi/build/model/co-document.bo';
@@ -326,6 +326,7 @@ class Dictionary {
326
326
  "MAIN_ARTICLE": "Hoofd artikel",
327
327
  "MALE": "Man",
328
328
  "MARKETING": "Marketing",
329
+ "MARKETING_CODE": "Marketingcode",
329
330
  "MENU": "Menu",
330
331
  "MODIFICATION_TIME": "Bewerkingstijd",
331
332
  "MORE_FILTERS": "Meer filters",
@@ -360,6 +361,7 @@ class Dictionary {
360
361
  "ORDER_LINES": "Orderregels",
361
362
  "ORDER_NET": "Ordertotaal netto",
362
363
  "ORDER_NUMBER": "Ordernummer",
364
+ "ORDER_PARAMETERS": "Orderparameters",
363
365
  "ORDER_RULE": "Orderregel",
364
366
  "ORDER_RULESET": "Orderregelset",
365
367
  "ORDER_TOTAL": "Ordertotaal",
@@ -427,9 +429,11 @@ class Dictionary {
427
429
  "SAME_AS_DELIVERY": "Hetzelfde als bezorgadres",
428
430
  "SAVE": "Opslaan",
429
431
  "SEARCH": "Zoeken",
430
- "SEARCH_NUMBER_CUSTOMER_OR_DATE": "Zoeken op nummer, klant of datum",
431
- "SEARCH_IN_COLLECTION": "Zoek binnen collectie...",
432
432
  "SEARCH_ADD_ARTICLE": "Zoeken en toevoegen artikel",
433
+ "SEARCH_DELIVERY_METHOD": "Zoek levermethode",
434
+ "SEARCH_IN_COLLECTION": "Zoek binnen collectie...",
435
+ "SEARCH_NUMBER_CUSTOMER_OR_DATE": "Zoeken op nummer, klant of datum",
436
+ "SEARCH_WAREHOUSE": "Zoek magazijn",
433
437
  "SELECT": "Selecteren",
434
438
  "SELECT_A": "Selecteer een",
435
439
  "SELECT_CASH_REGISTER": "Selecteer kassa",
@@ -643,6 +647,7 @@ class Dictionary {
643
647
  "MAIN_ARTICLE": "Main article",
644
648
  "MALE": "Male",
645
649
  "MARKETING": "Marketing",
650
+ "MARKETING_CODE": "Marketingcode",
646
651
  "MENU": "Menu",
647
652
  "MODIFICATION_TIME": "Modification time",
648
653
  "MORE_FILTERS": "More filters",
@@ -677,6 +682,7 @@ class Dictionary {
677
682
  "ORDER_LINES": "Orderlines",
678
683
  "ORDER_NET": "Total net amount",
679
684
  "ORDER_NUMBER": "Order number",
685
+ "ORDER_PARAMETERS": "Order parameters",
680
686
  "ORDER_RULE": "Order rule",
681
687
  "ORDER_RULESET": "Orderruleset",
682
688
  "ORDER_TOTAAL": "Order total",
@@ -735,9 +741,11 @@ class Dictionary {
735
741
  "SAME_AS_DELIVERY": "Same as delivery address",
736
742
  "SAVE": "Save",
737
743
  "SEARCH": "Search",
738
- "SEARCH_NUMBER_CUSTOMER_OR_DATE": "Search for number, customer or date",
739
744
  "SEARCH_ADD_ARTICLE": "Search and add article",
745
+ "SEARCH_DELIVERY_METHOD": "Search deliverymethod",
740
746
  "SEARCH_IN_COLLECTION": "Search in collection...",
747
+ "SEARCH_NUMBER_CUSTOMER_OR_DATE": "Search for number, customer or date",
748
+ "SEARCH_WAREHOUSE": "Search warehouse",
741
749
  "SELECT": "Select",
742
750
  "SELECT_A": "Select a",
743
751
  "SELECT_CASH_REGISTER": "Select cash register",
@@ -1845,7 +1853,7 @@ class TransactionConnectorService {
1845
1853
  resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
1846
1854
  }
1847
1855
  else {
1848
- reject(result.validationMessagesAsString);
1856
+ reject(result.validationResult.messages && result.validationResult.messages.length > 0 ? result.validationResult.messages[0] : '');
1849
1857
  }
1850
1858
  });
1851
1859
  });
@@ -1992,14 +2000,14 @@ class TransactionConnectorService {
1992
2000
  getDeliveryMethods() {
1993
2001
  return __awaiter(this, void 0, void 0, function* () {
1994
2002
  return new Promise((resolve, reject) => {
1995
- const collection = this._collectionService.getCollection(DeliveryMethod.name);
1996
- if (collection) {
1997
- return resolve(collection);
1998
- }
2003
+ // const collection = this._collectionService.getCollection(DeliveryMethod.name);
2004
+ // if (collection) {
2005
+ // return resolve(collection);
2006
+ // }
1999
2007
  return this.connector.getDeliveryMethods().then((result) => {
2000
2008
  if (result.validationResult && result.validationResult.success) {
2001
2009
  const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(DeliveryMethod, result.resultObjects);
2002
- this._collectionService.cacheCollection(DeliveryMethod.name, collection);
2010
+ // this._collectionService.cacheCollection(DeliveryMethod.name, collection);
2003
2011
  resolve(collection);
2004
2012
  }
2005
2013
  else {
@@ -2370,14 +2378,14 @@ class TransactionConnectorService {
2370
2378
  getWarehouses(branchNr) {
2371
2379
  return __awaiter(this, void 0, void 0, function* () {
2372
2380
  return new Promise((resolve, reject) => {
2373
- const collection = this._collectionService.getCollection(Warehouse.name);
2374
- if (collection) {
2375
- return resolve(collection);
2376
- }
2381
+ // const collection = this._collectionService.getCollection(Warehouse.name);
2382
+ // if (collection) {
2383
+ // return resolve(collection);
2384
+ // }
2377
2385
  return this.connector.getWarehouses(branchNr).then((result) => {
2378
2386
  if (result.validationResult && result.validationResult.success) {
2379
2387
  const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(Warehouse, result.resultObjects);
2380
- this._collectionService.cacheCollection(Warehouse.name, collection);
2388
+ // this._collectionService.cacheCollection(Warehouse.name, collection);
2381
2389
  resolve(collection);
2382
2390
  }
2383
2391
  else {
@@ -3110,6 +3118,246 @@ ConfirmationDialogComponent.propDecorators = {
3110
3118
  showClass: [{ type: HostBinding, args: ["class.co-confirmation-dialog",] }]
3111
3119
  };
3112
3120
 
3121
+ class CharacteristicAnswerComponent extends DialogBaseComponent {
3122
+ constructor(_changeDetector) {
3123
+ super();
3124
+ this._changeDetector = _changeDetector;
3125
+ this.title = "";
3126
+ this.value = "";
3127
+ this.okClick = new EventEmitter();
3128
+ this.viewModels = [];
3129
+ this._choices = [];
3130
+ }
3131
+ set choices(value) {
3132
+ this._choices = value;
3133
+ this._prepareViewModels();
3134
+ }
3135
+ get choices() {
3136
+ return this._choices;
3137
+ }
3138
+ showClass() {
3139
+ return true;
3140
+ }
3141
+ handleChecked(event, choice) {
3142
+ event.preventDefault();
3143
+ event.stopImmediatePropagation();
3144
+ this.value = choice;
3145
+ this.viewModels.forEach(v => {
3146
+ v.checked = v.value === choice;
3147
+ });
3148
+ this._changeDetector.markForCheck();
3149
+ }
3150
+ handleOkClick() {
3151
+ this.onClose(AppPopupButtonType.Ok, this.value);
3152
+ }
3153
+ _prepareViewModels() {
3154
+ if (this._choices && this._choices.length > 0) {
3155
+ for (let i = 0; i < this._choices.length; i++) {
3156
+ this.viewModels.push({ value: this._choices[i].value, checked: i === 0 });
3157
+ }
3158
+ }
3159
+ }
3160
+ }
3161
+ CharacteristicAnswerComponent.decorators = [
3162
+ { type: Component, args: [{
3163
+ selector: "co-characteristic-answer",
3164
+ template: `
3165
+ <co-dialog [showCloseIcon]="false" [modal]="true" [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate">
3166
+ <ng-container *ngIf="choices && choices.length > 0">
3167
+ <div class="co-transaction-default-flex-row" *ngFor="let choice of viewModels">
3168
+ <co-input-checkbox [model]="choice.checked" [label]="choice.value" (click)="handleChecked($event, choice.value)"></co-input-checkbox>
3169
+ </div>
3170
+ </ng-container>
3171
+ <ng-container *ngIf="!choices || choices.length === 0">
3172
+ <co-input-text
3173
+ [(model)]="value"
3174
+ (enter)="handleOkClick()"
3175
+ ></co-input-text>
3176
+ </ng-container>
3177
+ </co-dialog>
3178
+ <ng-template #headerTemplate>
3179
+ <div class="title" [textContent]="title"></div>
3180
+ </ng-template>
3181
+ <ng-template #footerTemplate>
3182
+ <div class="dialog-footer-button-wrapper">
3183
+ <co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
3184
+ </div>
3185
+ </ng-template>
3186
+ `,
3187
+ encapsulation: ViewEncapsulation.None
3188
+ },] }
3189
+ ];
3190
+ CharacteristicAnswerComponent.ctorParameters = () => [
3191
+ { type: ChangeDetectorRef }
3192
+ ];
3193
+ CharacteristicAnswerComponent.propDecorators = {
3194
+ title: [{ type: Input }],
3195
+ choices: [{ type: Input }],
3196
+ value: [{ type: Input }],
3197
+ okClick: [{ type: Output }],
3198
+ showClass: [{ type: HostBinding, args: ['class.co-characteristic-answer',] }]
3199
+ };
3200
+
3201
+ class TransactionLineBaseComponent {
3202
+ constructor() {
3203
+ /**
3204
+ * Defaults to true
3205
+ */
3206
+ this.useTransactionLine = true;
3207
+ this.valueChange = new EventEmitter();
3208
+ this.readonly = false;
3209
+ this.viewModels = [];
3210
+ this.viewModelsFiltered = [];
3211
+ this._transactionLine = new TransactionLineInfo();
3212
+ this._transactionInfo = new TransactionInfo();
3213
+ }
3214
+ set searchText(value) {
3215
+ this._searchText = value;
3216
+ this._doSearch();
3217
+ }
3218
+ get searchText() {
3219
+ return this._searchText;
3220
+ }
3221
+ set transactionLine(value) {
3222
+ if (value) {
3223
+ this._transactionLine = value;
3224
+ this.readonly = this._transactionLine.hasInvoices;
3225
+ this.transactionLineSet();
3226
+ }
3227
+ }
3228
+ get transactionLine() {
3229
+ return this._transactionLine;
3230
+ }
3231
+ set transactionInfo(value) {
3232
+ if (value) {
3233
+ this._transactionInfo = value;
3234
+ this.transactionInfoSet();
3235
+ }
3236
+ }
3237
+ get transactionInfo() {
3238
+ return this._transactionInfo;
3239
+ }
3240
+ ngOnInit() {
3241
+ this.viewModelsFiltered = this.viewModels.slice();
3242
+ }
3243
+ // overridden by descendents
3244
+ transactionLineSet() {
3245
+ }
3246
+ // overridden by descendents
3247
+ transactionInfoSet() {
3248
+ }
3249
+ _doSearch() {
3250
+ if (!this.searchText) {
3251
+ this.viewModelsFiltered = this.viewModels.slice();
3252
+ }
3253
+ else {
3254
+ this.viewModelsFiltered = this.viewModels.filter(v => {
3255
+ const textFound = v.text ? v.text.indexOf(this.searchText) > -1 : false;
3256
+ // const codeFound: boolean = (v.value && typeof v.value === 'string') ? v.value.indexOf(this.searchText) > -1 :
3257
+ // (typeof v.value === 'number' ? v.value + "".indexOf(this.searchText) > -1 : false);
3258
+ const codeFound = (v.value && typeof v.value === 'string') ? v.value.indexOf(this.searchText) > -1 : false;
3259
+ return codeFound || textFound;
3260
+ });
3261
+ }
3262
+ }
3263
+ }
3264
+ TransactionLineBaseComponent.decorators = [
3265
+ { type: Directive }
3266
+ ];
3267
+ TransactionLineBaseComponent.propDecorators = {
3268
+ useTransactionLine: [{ type: Input }],
3269
+ searchText: [{ type: Input }],
3270
+ transactionLine: [{ type: Input }],
3271
+ transactionInfo: [{ type: Input }],
3272
+ valueChange: [{ type: Output }]
3273
+ };
3274
+
3275
+ class DialogTransactionLineBaseComponent extends TransactionLineBaseComponent {
3276
+ constructor() {
3277
+ super(...arguments);
3278
+ this.buttonType = AppPopupButtonType;
3279
+ }
3280
+ onClose(eventType, output) {
3281
+ return;
3282
+ }
3283
+ handleValueChange(value) {
3284
+ this.value = value;
3285
+ }
3286
+ handleOkClick() {
3287
+ this.onClose(AppPopupButtonType.Ok, this.value);
3288
+ }
3289
+ handleSearch(text) {
3290
+ this.searchText = text;
3291
+ }
3292
+ }
3293
+ DialogTransactionLineBaseComponent.decorators = [
3294
+ { type: Directive }
3295
+ ];
3296
+
3297
+ class DialogTransactionLineWarehouseComponent extends DialogTransactionLineBaseComponent {
3298
+ showClass() {
3299
+ return true;
3300
+ }
3301
+ }
3302
+ DialogTransactionLineWarehouseComponent.decorators = [
3303
+ { type: Component, args: [{
3304
+ selector: "co-dialog-transaction-line-warehouse",
3305
+ template: `
3306
+ <co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useTransactionLine" (closeClick)="onClose(buttonType.Ok)">
3307
+ <co-transaction-line-warehouse
3308
+ [useTransactionLine]="useTransactionLine"
3309
+ [transactionLine]="transactionLine"
3310
+ [searchText]="searchText"
3311
+ (valueChange)="handleValueChange($event)"
3312
+ ></co-transaction-line-warehouse>
3313
+ </co-dialog>
3314
+ <ng-template #dialogHeader>
3315
+ <co-dialog-header-search [title]="'WAREHOUSE'" (search)="handleSearch($event)"></co-dialog-header-search>
3316
+ </ng-template>
3317
+ <ng-template #footerTemplate>
3318
+ <div class="dialog-footer-button-wrapper" *ngIf="!useTransactionLine">
3319
+ <co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
3320
+ </div>
3321
+ </ng-template>
3322
+ `,
3323
+ encapsulation: ViewEncapsulation.None
3324
+ },] }
3325
+ ];
3326
+ DialogTransactionLineWarehouseComponent.propDecorators = {
3327
+ showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-warehouse",] }]
3328
+ };
3329
+
3330
+ class DialogTransactionLineCommissionCodeComponent extends DialogTransactionLineBaseComponent {
3331
+ showClass() {
3332
+ return true;
3333
+ }
3334
+ }
3335
+ DialogTransactionLineCommissionCodeComponent.decorators = [
3336
+ { type: Component, args: [{
3337
+ selector: "co-dialog-transaction-line-commission-code",
3338
+ template: `
3339
+ <co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useTransactionLine" (closeClick)="onClose(buttonType.Ok)">
3340
+ <co-transaction-line-commission-code
3341
+ [useTransactionLine]="useTransactionLine"
3342
+ [transactionLine]="transactionLine"
3343
+ (valueChange)="handleValueChange($event)"></co-transaction-line-commission-code>
3344
+ </co-dialog>
3345
+ <ng-template #dialogHeader>
3346
+ <div class="dialog-header-title" [textContent]="'COMMISSION_CODE' | localize"></div>
3347
+ </ng-template>
3348
+ <ng-template #footerTemplate>
3349
+ <div class="dialog-footer-button-wrapper" *ngIf="!useTransactionLine">
3350
+ <co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
3351
+ </div>
3352
+ </ng-template>
3353
+ `,
3354
+ encapsulation: ViewEncapsulation.None
3355
+ },] }
3356
+ ];
3357
+ DialogTransactionLineCommissionCodeComponent.propDecorators = {
3358
+ showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-commission-code",] }]
3359
+ };
3360
+
3113
3361
  class DialogService {
3114
3362
  constructor(_compFactoryResolver, appRef, injector) {
3115
3363
  this._compFactoryResolver = _compFactoryResolver;
@@ -3149,6 +3397,26 @@ class DialogService {
3149
3397
  };
3150
3398
  return this._createComponent(comp, data);
3151
3399
  }
3400
+ showCharacteristics(title, choices, value) {
3401
+ const data = {
3402
+ title: title,
3403
+ choices: choices,
3404
+ value: value
3405
+ };
3406
+ return this._createComponent(CharacteristicAnswerComponent, data);
3407
+ }
3408
+ showWarehouse() {
3409
+ const data = {
3410
+ useTransactionLine: false
3411
+ };
3412
+ return this._createComponent(DialogTransactionLineWarehouseComponent, data);
3413
+ }
3414
+ showCommissionCode() {
3415
+ const data = {
3416
+ useTransactionLine: false
3417
+ };
3418
+ return this._createComponent(DialogTransactionLineCommissionCodeComponent, data);
3419
+ }
3152
3420
  _createComponent(componentClass, data) {
3153
3421
  return new Promise((resolve) => {
3154
3422
  this._componentRef = this._compFactoryResolver
@@ -3166,10 +3434,10 @@ class DialogService {
3166
3434
  this._componentRef.onDestroy(() => {
3167
3435
  this.appRef.detachView(this._componentRef.hostView);
3168
3436
  });
3169
- this._componentRef.instance.onClose = (output) => {
3437
+ this._componentRef.instance.onClose = (button, output) => {
3170
3438
  this.appRef.detachView(this._componentRef.hostView);
3171
3439
  this._componentRef = undefined;
3172
- resolve(output);
3440
+ resolve(output ? output : button);
3173
3441
  };
3174
3442
  });
3175
3443
  }
@@ -3343,10 +3611,21 @@ class PendingReasonService {
3343
3611
  return __awaiter(this, void 0, void 0, function* () {
3344
3612
  this.currentTransaction = value;
3345
3613
  this._setAmount();
3346
- this._initializeTransaction();
3347
3614
  this.transactionUpdated.next(this.currentTransaction);
3348
3615
  });
3349
3616
  }
3617
+ initializeTransaction() {
3618
+ if (!this.relation) {
3619
+ this.relation = new CustomerFullObject();
3620
+ }
3621
+ if (!this.relation.relationId) {
3622
+ this.relation.relationStatus = RelationStatus.RegularCustomer;
3623
+ this.relation.startDate = new Date();
3624
+ }
3625
+ if (this.currentTransaction.transactionInfo.preferredDeliveryDate2 === undefined) {
3626
+ this.currentTransaction.transactionInfo.preferredDeliveryDate2 = "=";
3627
+ }
3628
+ }
3350
3629
  handleLineOperationStatuses(response) {
3351
3630
  return __awaiter(this, void 0, void 0, function* () {
3352
3631
  if (!response.lineOperationStatuses || response.lineOperationStatuses.length === 0) {
@@ -3376,15 +3655,22 @@ class PendingReasonService {
3376
3655
  case PendingReasonType.CONFIRMATION_NEEDED:
3377
3656
  yield this._confirmAction(transactionLine.uuid, operationStatus.pendingReason, operationStatus.pendingReasonType);
3378
3657
  return false;
3379
- // case PendingReasonType.INVALID_LOGISTICS:
3380
- // await this.showStockManager(this.currentPendingLine);
3381
- // break;
3382
- // case PendingReasonType.NON_CRITICAL_DISCONTINUATION:
3383
- // await this._showInformation();
3384
- // break;
3385
- // case PendingReasonType.CHARACTERISTICS_ANSWER_NEEDED:
3386
- // this.CharacteristicsAnswerNeeded();
3387
- // break;
3658
+ case PendingReasonType.INVALID_LOGISTICS:
3659
+ switch (operationStatus.pendingReason) {
3660
+ case "LINE_NEEDS_COMMISSION_CODE":
3661
+ this._showCommissionCodeDialog(operationStatus.uuid, operationStatus.pendingReason, operationStatus.pendingReasonType);
3662
+ break;
3663
+ default:
3664
+ this._showWarehouseDialog(operationStatus.uuid, operationStatus.pendingReason, operationStatus.pendingReasonType);
3665
+ break;
3666
+ }
3667
+ break;
3668
+ case PendingReasonType.NON_CRITICAL_DISCONTINUATION:
3669
+ this._showReasonDialog(operationStatus.pendingReason);
3670
+ break;
3671
+ case PendingReasonType.CHARACTERISTICS_ANSWER_NEEDED:
3672
+ this._showCharacteristicDialog(operationStatus.uuid, operationStatus.characteristic, operationStatus.pendingReason, operationStatus.pendingReasonType);
3673
+ break;
3388
3674
  case PendingReasonType.NONE:
3389
3675
  default:
3390
3676
  return true;
@@ -3429,6 +3715,28 @@ class PendingReasonService {
3429
3715
  // this._handleLineOperationStatus()
3430
3716
  });
3431
3717
  }
3718
+ _showCharacteristicDialog(uuid, characteristics, reason, type) {
3719
+ return __awaiter(this, void 0, void 0, function* () {
3720
+ const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
3721
+ reasonRequest.textualUserInput =
3722
+ yield this.dialogService.showCharacteristics(characteristics.question, characteristics.transactionLineCharacteristicChoices, characteristics.value);
3723
+ yield this.resolvePendingLineReason(reasonRequest);
3724
+ });
3725
+ }
3726
+ _showWarehouseDialog(uuid, reason, type) {
3727
+ return __awaiter(this, void 0, void 0, function* () {
3728
+ const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
3729
+ reasonRequest.warehouseNr = yield this.dialogService.showWarehouse();
3730
+ yield this.resolvePendingLineReason(reasonRequest);
3731
+ });
3732
+ }
3733
+ _showCommissionCodeDialog(uuid, reason, type) {
3734
+ return __awaiter(this, void 0, void 0, function* () {
3735
+ const reasonRequest = new ResolveLinePendingReasonRequest(uuid, reason, type);
3736
+ reasonRequest.commissionCode = yield this.dialogService.showCommissionCode();
3737
+ yield this.resolvePendingLineReason(reasonRequest);
3738
+ });
3739
+ }
3432
3740
  _confirmHeaderAction(uuid, reason, type) {
3433
3741
  return __awaiter(this, void 0, void 0, function* () {
3434
3742
  const reasonRequest = new ResolveHeaderPendingReasonRequest(uuid, reason, type);
@@ -3447,16 +3755,6 @@ class PendingReasonService {
3447
3755
  this.articleAmount = this.currentTransaction.transactionLines.filter(t => t.lineType === TransactionLineType.ArticleLine).length;
3448
3756
  }
3449
3757
  }
3450
- _initializeTransaction() {
3451
- if (!this.relation) {
3452
- this.relation = new CustomerFullObject();
3453
- this.relation.relationStatus = RelationStatus.RegularCustomer;
3454
- this.relation.startDate = new Date();
3455
- }
3456
- if (this.currentTransaction.transactionInfo.preferredDeliveryDate2 === undefined) {
3457
- this.currentTransaction.transactionInfo.preferredDeliveryDate2 = "=";
3458
- }
3459
- }
3460
3758
  _cancelArticle(uuid) {
3461
3759
  return __awaiter(this, void 0, void 0, function* () {
3462
3760
  yield this.cancelAddTransactionLine(uuid, false)
@@ -3887,6 +4185,7 @@ class TransactionService extends PendingReasonService {
3887
4185
  saveRelation() {
3888
4186
  return __awaiter(this, void 0, void 0, function* () {
3889
4187
  // this._cleanRelationBeforeSave();
4188
+ this.initializeTransaction();
3890
4189
  if (!this.relation.relationId) {
3891
4190
  this.relation = yield this.connector.insertCustomer(this.relation);
3892
4191
  }
@@ -3962,8 +4261,12 @@ class TransactionService extends PendingReasonService {
3962
4261
  }
3963
4262
  saveTransaction(close = false) {
3964
4263
  return __awaiter(this, void 0, void 0, function* () {
3965
- const response = yield this.connector.saveTransaction(this.currentTransaction.transactionInfo.uuid);
3966
- if (response.isSuccess) {
4264
+ const response = yield this.connector.saveTransaction(this.currentTransaction.transactionInfo.uuid)
4265
+ .catch((error) => {
4266
+ this.dialogService.showError(error);
4267
+ return null;
4268
+ });
4269
+ if (response && response.isSuccess) {
3967
4270
  this.rememberCurrentTransaction(response);
3968
4271
  }
3969
4272
  return response;
@@ -3982,9 +4285,9 @@ class TransactionService extends PendingReasonService {
3982
4285
  reject(false);
3983
4286
  }
3984
4287
  }))
3985
- .catch((reason) => {
3986
- if (reason) {
3987
- this.dialogService.showError(reason.getFullErrorString());
4288
+ .catch((error) => {
4289
+ if (error) {
4290
+ this.dialogService.showError(error);
3988
4291
  }
3989
4292
  reject(false);
3990
4293
  });
@@ -4326,7 +4629,7 @@ class CheckoutComponent {
4326
4629
  if (this.checkoutRelation && this.stepRelation) {
4327
4630
  const valid = this.checkoutRelation.submit();
4328
4631
  if (valid) {
4329
- this.stepRelation.completed = true; // await this.saveRelation();
4632
+ this.stepRelation.completed = yield this.saveRelation();
4330
4633
  }
4331
4634
  }
4332
4635
  });
@@ -4336,23 +4639,10 @@ class CheckoutComponent {
4336
4639
  if (this.checkoutDelivery && this.stepDelivery) {
4337
4640
  const valid = this.checkoutDelivery.submit();
4338
4641
  if (valid) {
4339
- this.stepDelivery.completed = yield this.handleSaveDelivery();
4340
- }
4341
- }
4342
- });
4343
- }
4344
- handleOverviewValidation() {
4345
- return __awaiter(this, void 0, void 0, function* () {
4346
- if ( /*this.checkoutDelivery && */this.stepOverview) {
4347
- const response = yield this.service.saveTransaction();
4348
- if (response && response.isSuccess) {
4349
- // const commitResponse: DataServiceResponseData = await this.service.commit();
4350
- // if (commitResponse && commitResponse.validationResult && commitResponse.validationResult.success) {
4351
- this.stepOverview.completed = true;
4352
- // }
4353
- }
4354
- else {
4355
- yield this._dialogService.showError("Opslag bezorging mislukt");
4642
+ const response = yield this.service.saveTransaction();
4643
+ if (response && response.isSuccess) {
4644
+ this.stepDelivery.completed = yield this.handleSaveDelivery();
4645
+ }
4356
4646
  }
4357
4647
  }
4358
4648
  });
@@ -4389,7 +4679,7 @@ CheckoutComponent.decorators = [
4389
4679
  { type: Component, args: [{
4390
4680
  selector: "co-checkout",
4391
4681
  template: `
4392
- <co-stepper [finishButtonLabel]="'CHECKOUT_FINISH' | localize" (finishStep)="handleFinishStep()">
4682
+ <co-stepper #stepper [finishButtonLabel]="'CHECKOUT_FINISH' | localize" (finishStep)="handleFinishStep()">
4393
4683
  <co-stepper-step #stepRelation [index]="1" [label]="'YOUR_DATA' | localize" (validateStep)="handleRelationValidation()">
4394
4684
  <co-checkout-overview-relation-edit #checkoutRelation *ngIf="stepRelation.show" [(relation)]="service.relation"
4395
4685
  [deliveryAddressNawNr]="deliveryAddressNawNr"
@@ -4406,13 +4696,16 @@ CheckoutComponent.decorators = [
4406
4696
  </co-stepper-step>
4407
4697
  <co-stepper-step #stepOverview [index]="3" [label]="'OVERVIEW_AND_PAYMENT' | localize">
4408
4698
  <co-checkout-overview-payment *ngIf="stepOverview.show"
4409
- [relation]="service.relation"
4410
- [transaction]="service.currentTransaction"
4699
+ [relation]="service.relation"
4700
+ [transaction]="service.currentTransaction"
4701
+ (changeYourDataClick)="stepper.goto(0)"
4702
+ (changeDeliveryClick)="stepper.goto(1)"
4703
+ (payed)="transactionFinished.emit(transaction.transactionInfo)"
4411
4704
  ></co-checkout-overview-payment>
4412
4705
  </co-stepper-step>
4413
4706
  <div class="co-checkout-right-panel">
4414
4707
  <div class="co-checkout-right-panel-relation">
4415
- <co-avatar [relationId]="sellerId"></co-avatar>
4708
+ <co-avatar [relationId]="sellerId"></co-avatar>
4416
4709
  </div>
4417
4710
  <co-shopping-cart-preview [showCheckoutButton]="false" [withoutBorder]="true"></co-shopping-cart-preview>
4418
4711
  </div>
@@ -4427,6 +4720,7 @@ CheckoutComponent.ctorParameters = () => [
4427
4720
  { type: DialogService }
4428
4721
  ];
4429
4722
  CheckoutComponent.propDecorators = {
4723
+ stepper: [{ type: ViewChild, args: ["stepper",] }],
4430
4724
  stepRelation: [{ type: ViewChild, args: ["stepRelation",] }],
4431
4725
  stepDelivery: [{ type: ViewChild, args: ["stepDelivery",] }],
4432
4726
  stepOverview: [{ type: ViewChild, args: ["stepOverview",] }],
@@ -5045,8 +5339,6 @@ CheckoutOverviewDeliveryEditComponent.decorators = [
5045
5339
  <co-transaction-header-delivery-date class="header-delivery-deliverydate"
5046
5340
  [transactionInfo]="transaction.transactionInfo"
5047
5341
  ></co-transaction-header-delivery-date>
5048
- </div>
5049
- <div class="checkout-data-row">
5050
5342
  <co-transaction-header-preferred-delivery-date class="header-delivery-deliverydate"
5051
5343
  [transactionInfo]="transaction.transactionInfo"
5052
5344
  ></co-transaction-header-preferred-delivery-date>
@@ -5111,16 +5403,20 @@ CheckoutOverviewDeliveryEditComponent.decorators = [
5111
5403
  </div>
5112
5404
  <div class="checkout-data-column">
5113
5405
  <div class="checkout-data-row">
5114
- <co-transaction-header-definitive [transactionInfo]="transaction.transactionInfo"></co-transaction-header-definitive>
5115
5406
  <co-transaction-header-branch [transactionInfo]="transaction.transactionInfo"></co-transaction-header-branch>
5116
5407
  <co-transaction-header-administrative-relation [transactionInfo]="transaction.transactionInfo"></co-transaction-header-administrative-relation>
5117
5408
  </div>
5409
+ <div class="checkout-data-row">
5410
+ <span class="label" [textContent]="'MARKETING_CODE' | localize"></span>
5411
+ </div>
5118
5412
  <div class="checkout-data-row">
5119
5413
  <co-transaction-header-marketing [transactionInfo]="transaction.transactionInfo"></co-transaction-header-marketing>
5120
5414
  </div>
5121
5415
  <div class="checkout-data-row">
5416
+ <span class="label" [textContent]="'ORDER_PARAMETERS' | localize"></span>
5122
5417
  </div>
5123
5418
  <div class="checkout-data-row">
5419
+ <co-transaction-header-definitive [transactionInfo]="transaction.transactionInfo"></co-transaction-header-definitive>
5124
5420
  </div>
5125
5421
  </div>
5126
5422
  </div>
@@ -5427,10 +5723,10 @@ StockStatusIndicatorComponent.propDecorators = {
5427
5723
  // A pipe for appending strings to other strings in view templates.
5428
5724
  class AppendPipe {
5429
5725
  transform(value, append) {
5430
- if (!value) {
5726
+ if (!value && typeof value !== 'number') {
5431
5727
  return "";
5432
5728
  }
5433
- if (!append) {
5729
+ if (!append && typeof append !== 'number') {
5434
5730
  return value;
5435
5731
  }
5436
5732
  return value + append;
@@ -5729,48 +6025,154 @@ LoaderComponent.decorators = [
5729
6025
  },] }
5730
6026
  ];
5731
6027
 
5732
- class CoreModule {
6028
+ class CharacteristicAnswerModule {
5733
6029
  }
5734
- CoreModule.decorators = [
6030
+ CharacteristicAnswerModule.decorators = [
5735
6031
  { type: NgModule, args: [{
5736
6032
  imports: [
5737
6033
  CommonModule,
5738
- InputComboBoxModule,
5739
- CoDialogModule,
5740
6034
  ButtonModule,
5741
- ConfirmationDialogModule,
6035
+ CoDialogModule,
6036
+ InputCheckboxModule,
6037
+ InputTextModule,
5742
6038
  PipeModule
5743
6039
  ],
5744
6040
  declarations: [
5745
- ImageDisplayComponent,
5746
- IconComponent,
5747
- CustomerGroupsComponent,
5748
- StockStatusIndicatorComponent,
5749
- LoaderComponent
6041
+ CharacteristicAnswerComponent
5750
6042
  ],
5751
6043
  exports: [
5752
- ImageDisplayComponent,
5753
- IconComponent,
5754
- CustomerGroupsComponent,
5755
- StockStatusIndicatorComponent,
5756
- LoaderComponent
6044
+ CharacteristicAnswerComponent
5757
6045
  ]
5758
6046
  },] }
5759
6047
  ];
5760
6048
 
5761
- class RelationBaseComponent {
5762
- constructor() {
5763
- this.relationChange = new EventEmitter();
5764
- this._relation = NULL_RELATION_OBJECT;
6049
+ class WarehouseComponent extends DialogBaseComponent {
6050
+ constructor(_transactionService) {
6051
+ super();
6052
+ this._transactionService = _transactionService;
6053
+ this.okClick = new EventEmitter();
6054
+ this.collection = [];
6055
+ this.viewModels = [];
5765
6056
  }
5766
- set relation(value) {
5767
- if (value) {
5768
- this._relation = value;
5769
- this.relationSet();
5770
- }
6057
+ showClass() {
6058
+ return true;
5771
6059
  }
5772
- get relation() {
5773
- return this._relation;
6060
+ ngOnInit() {
6061
+ this._transactionService.getWarehouses().then((warehouses) => {
6062
+ this.collection = warehouses.slice();
6063
+ this.collection.forEach((d, index) => {
6064
+ this.viewModels.push({ value: d.warehouseNo, text: d.description, checked: index === 0 });
6065
+ });
6066
+ });
6067
+ }
6068
+ handleChecked(event, choice) {
6069
+ event.preventDefault();
6070
+ event.stopImmediatePropagation();
6071
+ this._value = choice;
6072
+ this.viewModels.forEach(v => {
6073
+ v.checked = v.value === choice;
6074
+ });
6075
+ }
6076
+ handleOkClick() {
6077
+ this.onClose(AppPopupButtonType.Ok, this._value);
6078
+ }
6079
+ }
6080
+ WarehouseComponent.decorators = [
6081
+ { type: Component, args: [{
6082
+ selector: "co-warehouse",
6083
+ template: `
6084
+ <co-dialog [showCloseIcon]="false" [modal]="true" [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate">
6085
+ <div class="co-transaction-default-flex-row" *ngFor="let model of viewModels">
6086
+ <co-input-checkbox [model]="model.checked" [label]="model.text" (click)="handleChecked($event, model.value)"></co-input-checkbox>
6087
+ </div>
6088
+ </co-dialog>
6089
+ <ng-template #headerTemplate>
6090
+ <div class="title" [textContent]="'WAREHOUSE' | localize"></div>
6091
+ </ng-template>
6092
+ <ng-template #footerTemplate>
6093
+ <div class="dialog-footer-button-wrapper">
6094
+ <co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
6095
+ </div>
6096
+ </ng-template>
6097
+ `,
6098
+ encapsulation: ViewEncapsulation.None
6099
+ },] }
6100
+ ];
6101
+ WarehouseComponent.ctorParameters = () => [
6102
+ { type: TransactionService }
6103
+ ];
6104
+ WarehouseComponent.propDecorators = {
6105
+ okClick: [{ type: Output }],
6106
+ showClass: [{ type: HostBinding, args: ["class.co-warehouse",] }]
6107
+ };
6108
+
6109
+ class WarehouseModule {
6110
+ }
6111
+ WarehouseModule.decorators = [
6112
+ { type: NgModule, args: [{
6113
+ imports: [
6114
+ CommonModule,
6115
+ CoDialogModule,
6116
+ InputCheckboxModule,
6117
+ InputTextModule,
6118
+ ButtonModule,
6119
+ PipeModule
6120
+ ],
6121
+ declarations: [
6122
+ WarehouseComponent
6123
+ ],
6124
+ exports: [
6125
+ WarehouseComponent
6126
+ ]
6127
+ },] }
6128
+ ];
6129
+
6130
+ class CoreModule {
6131
+ }
6132
+ CoreModule.decorators = [
6133
+ { type: NgModule, args: [{
6134
+ imports: [
6135
+ CommonModule,
6136
+ InputComboBoxModule,
6137
+ CoDialogModule,
6138
+ ButtonModule,
6139
+ ConfirmationDialogModule,
6140
+ PipeModule,
6141
+ InputTextModule,
6142
+ InputCheckboxModule,
6143
+ CharacteristicAnswerModule,
6144
+ WarehouseModule
6145
+ ],
6146
+ declarations: [
6147
+ ImageDisplayComponent,
6148
+ IconComponent,
6149
+ CustomerGroupsComponent,
6150
+ StockStatusIndicatorComponent,
6151
+ LoaderComponent
6152
+ ],
6153
+ exports: [
6154
+ ImageDisplayComponent,
6155
+ IconComponent,
6156
+ CustomerGroupsComponent,
6157
+ StockStatusIndicatorComponent,
6158
+ LoaderComponent
6159
+ ]
6160
+ },] }
6161
+ ];
6162
+
6163
+ class RelationBaseComponent {
6164
+ constructor() {
6165
+ this.relationChange = new EventEmitter();
6166
+ this._relation = NULL_RELATION_OBJECT;
6167
+ }
6168
+ set relation(value) {
6169
+ if (value) {
6170
+ this._relation = value;
6171
+ this.relationSet();
6172
+ }
6173
+ }
6174
+ get relation() {
6175
+ return this._relation;
5774
6176
  }
5775
6177
  get relationAsCustomer() {
5776
6178
  return this._relation && this._relation;
@@ -6824,6 +7226,38 @@ TransactionLineActionButtonsComponent.propDecorators = {
6824
7226
  showClass: [{ type: HostBinding, args: ["class.co-transaction-line-action-buttons",] }]
6825
7227
  };
6826
7228
 
7229
+ class DialogTransactionLineDeliveryMethodComponent extends DialogTransactionLineBaseComponent {
7230
+ showClass() {
7231
+ return true;
7232
+ }
7233
+ }
7234
+ DialogTransactionLineDeliveryMethodComponent.decorators = [
7235
+ { type: Component, args: [{
7236
+ selector: "co-dialog-transaction-line-delivery-method",
7237
+ template: `
7238
+ <co-dialog [headerTemplate]="dialogHeader" [footerTemplate]="footerTemplate" [showCloseIcon]="useTransactionLine" (closeClick)="onClose(buttonType.Ok)">
7239
+ <co-transaction-line-delivery-method
7240
+ [useTransactionLine]="useTransactionLine"
7241
+ [transactionLine]="transactionLine"
7242
+ [searchText]="searchText"
7243
+ (valueChange)="handleValueChange($event)"></co-transaction-line-delivery-method>
7244
+ </co-dialog>
7245
+ <ng-template #dialogHeader>
7246
+ <co-dialog-header-search [title]="'DELIVERY_METHOD'" (search)="handleSearch($event)"></co-dialog-header-search>
7247
+ </ng-template>
7248
+ <ng-template #footerTemplate>
7249
+ <div class="dialog-footer-button-wrapper" *ngIf="!useTransactionLine">
7250
+ <co-button [label]="'OK' | localize" (click)="handleOkClick()"></co-button>
7251
+ </div>
7252
+ </ng-template>
7253
+ `,
7254
+ encapsulation: ViewEncapsulation.None
7255
+ },] }
7256
+ ];
7257
+ DialogTransactionLineDeliveryMethodComponent.propDecorators = {
7258
+ showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-delivery-method",] }]
7259
+ };
7260
+
6827
7261
  class TransactionLineComponent {
6828
7262
  constructor(service, iconCacheService, _dialogService, _dictionaryService, _imageService) {
6829
7263
  this.service = service;
@@ -6847,6 +7281,9 @@ class TransactionLineComponent {
6847
7281
  this.isSelected = this._line.isSelected;
6848
7282
  this.readonly = this._line.hasInvoices;
6849
7283
  this._loadLineImage();
7284
+ this._loadLineCommissionCode();
7285
+ this._loadLineWarehouse();
7286
+ this._loadLineDeliveryMethod();
6850
7287
  }
6851
7288
  get line() {
6852
7289
  return this._line;
@@ -6887,6 +7324,15 @@ class TransactionLineComponent {
6887
7324
  this.sidePanelButtonClicked.next();
6888
7325
  this.waitingForUserAction.next(true);
6889
7326
  }
7327
+ openCommissionCodeDialog() {
7328
+ this._dialogService.showTransactionLineComponent(DialogTransactionLineCommissionCodeComponent, this.line);
7329
+ }
7330
+ openWarehouseDialog() {
7331
+ this._dialogService.showTransactionLineComponent(DialogTransactionLineWarehouseComponent, this.line);
7332
+ }
7333
+ openDeliveryMethodDialog() {
7334
+ this._dialogService.showTransactionLineComponent(DialogTransactionLineDeliveryMethodComponent, this.line);
7335
+ }
6890
7336
  _loadLineImage() {
6891
7337
  return __awaiter(this, void 0, void 0, function* () {
6892
7338
  if (this.line && this.line.isArticle) {
@@ -6896,6 +7342,36 @@ class TransactionLineComponent {
6896
7342
  }
6897
7343
  });
6898
7344
  }
7345
+ _loadLineCommissionCode() {
7346
+ return __awaiter(this, void 0, void 0, function* () {
7347
+ if (this.line && this.line.isArticle) {
7348
+ this.service.getCommissionCodes('NL').then((codes) => {
7349
+ const commissionCode = codes.find(c => c.code === this.line.commissionCode);
7350
+ this.line.commissionDescription = commissionCode ? commissionCode.description : "";
7351
+ });
7352
+ }
7353
+ });
7354
+ }
7355
+ _loadLineWarehouse() {
7356
+ return __awaiter(this, void 0, void 0, function* () {
7357
+ if (this.line && this.line.isArticle) {
7358
+ this.service.getWarehouses().then((warehouses) => {
7359
+ const warehouse = warehouses.find(w => w.warehouseNo === this.line.warehouseNumber);
7360
+ this.line.warehouseDescription = warehouse ? warehouse.description : "";
7361
+ });
7362
+ }
7363
+ });
7364
+ }
7365
+ _loadLineDeliveryMethod() {
7366
+ return __awaiter(this, void 0, void 0, function* () {
7367
+ if (this.line && this.line.isArticle) {
7368
+ this.service.getDeliveryMethods().then((methods) => {
7369
+ const method = methods.find(m => m.code === this.line.deliveryMethodCode);
7370
+ this.line.deliveryMethodDescription = method ? method.description : "";
7371
+ });
7372
+ }
7373
+ });
7374
+ }
6899
7375
  }
6900
7376
  TransactionLineComponent.decorators = [
6901
7377
  { type: Component, args: [{
@@ -6937,6 +7413,19 @@ TransactionLineComponent.decorators = [
6937
7413
  <span [textContent]="line.deliveryDate | date:'dd MMM YYYY'"></span>
6938
7414
  </div>
6939
7415
  </div>
7416
+ <div *ngIf=!preview class="transaction-line-extended-wrapper">
7417
+ <div class="transaction-line-extended-row-wrapper" (click)="openCommissionCodeDialog()">
7418
+ <div [textContent]="line.commissionDescription | append:' | ' | append:line.commissionCode"></div>
7419
+ </div>
7420
+ <div class="transaction-line-extended-row-wrapper" (click)="openWarehouseDialog()">
7421
+ <co-icon class="header-warehouse-icon" [iconData]="iconCacheService.getIcon(icons.Warehouse)"></co-icon>
7422
+ <div [textContent]="line.warehouseDescription"></div>
7423
+ </div>
7424
+ <div class="transaction-line-extended-row-wrapper" (click)="openDeliveryMethodDialog()">
7425
+ <co-icon class="header-delivery-truck-icon" [iconData]="iconCacheService.getIcon(icons.DeliveryTruck)"></co-icon>
7426
+ <span [textContent]="line.deliveryMethodDescription"></span>
7427
+ </div>
7428
+ </div>
6940
7429
  <div class="transaction-line-totals">
6941
7430
  <co-transaction-line-price class="transaction-line-totals-price price"
6942
7431
  [transactionLine]="line"
@@ -7252,49 +7741,7 @@ EditableLabelModule.decorators = [
7252
7741
  },] }
7253
7742
  ];
7254
7743
 
7255
- class TransactionLineFieldsBaseComponent {
7256
- constructor() {
7257
- this.showExtended = false;
7258
- this.readonly = false;
7259
- this._transactionLine = new TransactionLineInfo();
7260
- this._transactionInfo = new TransactionInfo();
7261
- }
7262
- set transactionLine(value) {
7263
- if (value) {
7264
- this._transactionLine = value;
7265
- this.readonly = this._transactionLine.hasInvoices;
7266
- this.transactionLineSet();
7267
- }
7268
- }
7269
- get transactionLine() {
7270
- return this._transactionLine;
7271
- }
7272
- set transactionInfo(value) {
7273
- if (value) {
7274
- this._transactionInfo = value;
7275
- this.transactionInfoSet();
7276
- }
7277
- }
7278
- get transactionInfo() {
7279
- return this._transactionInfo;
7280
- }
7281
- // overridden by descendents
7282
- transactionLineSet() {
7283
- }
7284
- // overridden by descendents
7285
- transactionInfoSet() {
7286
- }
7287
- }
7288
- TransactionLineFieldsBaseComponent.decorators = [
7289
- { type: Directive }
7290
- ];
7291
- TransactionLineFieldsBaseComponent.propDecorators = {
7292
- showExtended: [{ type: Input }],
7293
- transactionLine: [{ type: Input }],
7294
- transactionInfo: [{ type: Input }]
7295
- };
7296
-
7297
- class TransactionLinePriceComponent extends TransactionLineFieldsBaseComponent {
7744
+ class TransactionLinePriceComponent extends TransactionLineBaseComponent {
7298
7745
  constructor(_transactionService) {
7299
7746
  super();
7300
7747
  this._transactionService = _transactionService;
@@ -7388,7 +7835,7 @@ TransactionLinePriceModule.decorators = [
7388
7835
  },] }
7389
7836
  ];
7390
7837
 
7391
- class TransactionLineDescriptionComponent extends TransactionLineFieldsBaseComponent {
7838
+ class TransactionLineDescriptionComponent extends TransactionLineBaseComponent {
7392
7839
  constructor(_transactionService) {
7393
7840
  super();
7394
7841
  this._transactionService = _transactionService;
@@ -10319,12 +10766,18 @@ class TransactionHeaderBranchComponent extends TransactionHeaderFieldsBaseCompon
10319
10766
  constructor(_transactionService) {
10320
10767
  super();
10321
10768
  this._transactionService = _transactionService;
10769
+ this.showExtended = false;
10322
10770
  this.collection = [];
10323
10771
  this.fields = { text: "description", value: "relationId" };
10772
+ this.viewModels = [];
10324
10773
  }
10325
10774
  ngOnInit() {
10775
+ this.viewModels.length = 0;
10326
10776
  this._transactionService.getBranches().then((branches) => {
10327
10777
  this.collection = branches;
10778
+ this.collection.forEach(c => {
10779
+ this.viewModels.push({ value: c.relationId, text: c.description, checked: this.transactionInfo.branch && this.transactionInfo.branch.relationId === c.relationId });
10780
+ });
10328
10781
  });
10329
10782
  }
10330
10783
  commitTransactionBranch(branch) {
@@ -10345,6 +10798,15 @@ class TransactionHeaderBranchComponent extends TransactionHeaderFieldsBaseCompon
10345
10798
  return true;
10346
10799
  });
10347
10800
  }
10801
+ handleChecked(row) {
10802
+ row.checked = true;
10803
+ for (let i = 0; i < this.viewModels.length; i++) {
10804
+ if (this.viewModels[i].value !== row.value) {
10805
+ this.viewModels[i].checked = false;
10806
+ }
10807
+ }
10808
+ this.commitTransactionBranch(this.viewModels.find(v => v.checked).value);
10809
+ }
10348
10810
  transactionInfoSet() {
10349
10811
  this.readonly = this.readonly || this.transactionInfo.deliveryDateDefinitive;
10350
10812
  }
@@ -10353,23 +10815,35 @@ TransactionHeaderBranchComponent.decorators = [
10353
10815
  { type: Component, args: [{
10354
10816
  selector: "co-transaction-header-branch",
10355
10817
  template: `
10356
- <co-drop-down-list
10357
- [readonly]="readonly"
10358
- [label]="'BRANCH' | localize"
10359
- [allowFiltering]="true"
10360
- [filterType]="'Contains'"
10361
- [collection]="collection"
10362
- [fields]="fields"
10363
- [model]="transactionInfo.branch"
10364
- (modelChange)="commitTransactionBranch($event)">
10365
- </co-drop-down-list>
10818
+ <ng-container *ngIf="!showExtended">
10819
+ <co-drop-down-list
10820
+ [readonly]="readonly"
10821
+ [placeholder]="'BRANCH' | localize"
10822
+ [allowFiltering]="true"
10823
+ [filterType]="'Contains'"
10824
+ [collection]="collection"
10825
+ [fields]="fields"
10826
+ [model]="transactionInfo.branch"
10827
+ (modelChange)="commitTransactionBranch($event)">
10828
+ </co-drop-down-list>
10829
+ </ng-container>
10830
+ <ng-container *ngIf="showExtended">
10831
+ <div class="co-transaction-default-flex-row" *ngFor="let row of viewModels">
10832
+ <co-input-checkbox [model]="row.checked" (modelChange)="handleChecked(row)"></co-input-checkbox>
10833
+ <span class="extended-row-code" [textContent]="row.value"></span>
10834
+ <span class="extended-row-description" [textContent]="row.text"></span>
10835
+ </div>
10836
+ </ng-container>
10366
10837
  `,
10367
10838
  encapsulation: ViewEncapsulation.None
10368
10839
  },] }
10369
10840
  ];
10370
10841
  TransactionHeaderBranchComponent.ctorParameters = () => [
10371
10842
  { type: TransactionService }
10372
- ];
10843
+ ];
10844
+ TransactionHeaderBranchComponent.propDecorators = {
10845
+ showExtended: [{ type: Input }]
10846
+ };
10373
10847
 
10374
10848
  class TransactionHeaderBranchModule {
10375
10849
  }
@@ -10378,7 +10852,8 @@ TransactionHeaderBranchModule.decorators = [
10378
10852
  imports: [
10379
10853
  CommonModule,
10380
10854
  PipeModule,
10381
- DropDownModule
10855
+ DropDownModule,
10856
+ InputCheckboxModule
10382
10857
  ],
10383
10858
  declarations: [
10384
10859
  TransactionHeaderBranchComponent
@@ -10425,14 +10900,16 @@ TransactionHeaderAdministrativeRelationComponent.decorators = [
10425
10900
  { type: Component, args: [{
10426
10901
  selector: "co-transaction-header-administrative-relation",
10427
10902
  template: `
10428
- <co-input-listbox
10429
- [placeholder]="'ADMINISTRATIVE_MANAGER' | localize"
10903
+ <co-drop-down-list
10430
10904
  [readonly]="readonly"
10905
+ [placeholder]="'ADMINISTRATIVE_MANAGER' | localize"
10906
+ [allowFiltering]="true"
10907
+ [filterType]="'Contains'"
10431
10908
  [collection]="collection"
10432
10909
  [fields]="fields"
10433
- [singleSelect]="true"
10434
- (modelChange)="commitTransactionAdministrative($event)"
10435
- ></co-input-listbox>
10910
+ [model]="transactionInfo.admCoordinator"
10911
+ (modelChange)="commitTransactionAdministrative($event)">
10912
+ </co-drop-down-list>
10436
10913
  `,
10437
10914
  encapsulation: ViewEncapsulation.None
10438
10915
  },] }
@@ -10448,7 +10925,7 @@ TransactionHeaderAdministrativeRelationModule.decorators = [
10448
10925
  imports: [
10449
10926
  CommonModule,
10450
10927
  PipeModule,
10451
- InputListboxModule
10928
+ DropDownModule
10452
10929
  ],
10453
10930
  declarations: [
10454
10931
  TransactionHeaderAdministrativeRelationComponent
@@ -10465,15 +10942,19 @@ class TransactionHeaderMarketingComponent extends TransactionHeaderFieldsBaseCom
10465
10942
  this._transactionService = _transactionService;
10466
10943
  this.collection = [];
10467
10944
  this.fields = { text: "description", value: "code" };
10945
+ this.viewModels = [];
10468
10946
  }
10469
10947
  ngOnInit() {
10948
+ this.viewModels.length = 0;
10470
10949
  this._transactionService.getMarketingCodes().then((marketingCodes) => {
10471
10950
  this.collection = marketingCodes;
10951
+ this.collection.forEach(c => {
10952
+ this.viewModels.push({ value: c.code, text: c.description, checked: this.transactionInfo.marketingCode && this.transactionInfo.marketingCode === c.code });
10953
+ });
10472
10954
  });
10473
10955
  }
10474
- commitTransactionMarketing(codes) {
10956
+ commitTransactionMarketing(code) {
10475
10957
  return __awaiter(this, void 0, void 0, function* () {
10476
- const code = codes.length > 0 ? codes[0] : null;
10477
10958
  if (this.transactionInfo.marketingCode !== code) {
10478
10959
  const oldCode = this.transactionInfo.marketingCode;
10479
10960
  const success = yield this._transactionService.updateHeaderTransactionMarketing(this.transactionInfo.uuid, code);
@@ -10485,6 +10966,17 @@ class TransactionHeaderMarketingComponent extends TransactionHeaderFieldsBaseCom
10485
10966
  return true;
10486
10967
  });
10487
10968
  }
10969
+ handleChecked(event, row) {
10970
+ event.preventDefault();
10971
+ event.stopPropagation();
10972
+ row.checked = true;
10973
+ for (let i = 0; i < this.viewModels.length; i++) {
10974
+ if (this.viewModels[i].value !== row.value) {
10975
+ this.viewModels[i].checked = false;
10976
+ }
10977
+ }
10978
+ this.commitTransactionMarketing(this.viewModels.find(v => v.checked).value);
10979
+ }
10488
10980
  transactionInfoSet() {
10489
10981
  this.readonly = this.readonly || this.transactionInfo.deliveryDateDefinitive;
10490
10982
  }
@@ -10493,14 +10985,13 @@ TransactionHeaderMarketingComponent.decorators = [
10493
10985
  { type: Component, args: [{
10494
10986
  selector: "co-transaction-header-marketing",
10495
10987
  template: `
10496
- <co-input-listbox
10497
- [placeholder]="'MARKETING' | localize"
10498
- [readonly]="readonly"
10499
- [collection]="collection"
10500
- [fields]="fields"
10501
- [singleSelect]="true"
10502
- (modelChange)="commitTransactionMarketing($event)"
10503
- ></co-input-listbox>
10988
+ <div class="co-transaction-default-flex-row" *ngFor="let row of viewModels">
10989
+ <co-input-checkbox
10990
+ [model]="row.checked"
10991
+ [label]="row.value + ' ' + row.text"
10992
+ (click)="handleChecked($event, row)"
10993
+ ></co-input-checkbox>
10994
+ </div>
10504
10995
  `,
10505
10996
  encapsulation: ViewEncapsulation.None
10506
10997
  },] }
@@ -10516,7 +11007,8 @@ TransactionHeaderMarketingModule.decorators = [
10516
11007
  imports: [
10517
11008
  CommonModule,
10518
11009
  PipeModule,
10519
- InputListboxModule
11010
+ InputListboxModule,
11011
+ InputCheckboxModule
10520
11012
  ],
10521
11013
  declarations: [
10522
11014
  TransactionHeaderMarketingComponent
@@ -11324,60 +11816,6 @@ TransactionGridBaseComponent.propDecorators = {
11324
11816
  rowVisible: [{ type: Output }]
11325
11817
  };
11326
11818
 
11327
- class DialogTransactionLineBaseComponent extends DialogBaseComponent {
11328
- constructor() {
11329
- super(...arguments);
11330
- this.readonly = false;
11331
- this._transactionLine = new TransactionLineInfo();
11332
- }
11333
- set transactionLine(value) {
11334
- if (value) {
11335
- this._transactionLine = value;
11336
- this.readonly = this._transactionLine.hasInvoices;
11337
- this.transactionLineSet();
11338
- }
11339
- }
11340
- get transactionLine() {
11341
- return this._transactionLine;
11342
- }
11343
- // overridden by descendents
11344
- transactionLineSet() {
11345
- }
11346
- }
11347
- DialogTransactionLineBaseComponent.decorators = [
11348
- { type: Directive }
11349
- ];
11350
- DialogTransactionLineBaseComponent.propDecorators = {
11351
- transactionLine: [{ type: Input }]
11352
- };
11353
-
11354
- class DialogTransactionLineCommissionCodeComponent extends DialogTransactionLineBaseComponent {
11355
- constructor() {
11356
- super(...arguments);
11357
- this.buttonType = AppPopupButtonType;
11358
- }
11359
- showClass() {
11360
- return true;
11361
- }
11362
- }
11363
- DialogTransactionLineCommissionCodeComponent.decorators = [
11364
- { type: Component, args: [{
11365
- selector: "co-dialog-transaction-line-commission-code",
11366
- template: `
11367
- <co-dialog [headerTemplate]="dialogHeader" (closeClick)="onClose(buttonType.Ok)">
11368
- <co-transaction-line-commission-code [transactionLine]="transactionLine" [showExtended]="true"></co-transaction-line-commission-code>
11369
- </co-dialog>
11370
- <ng-template #dialogHeader>
11371
- <span class="dialog-header" [textContent]="'COMMISSION_CODE' | localize"></span>
11372
- </ng-template>
11373
- `,
11374
- encapsulation: ViewEncapsulation.None
11375
- },] }
11376
- ];
11377
- DialogTransactionLineCommissionCodeComponent.propDecorators = {
11378
- showClass: [{ type: HostBinding, args: ["class.co-dialog-transaction-line-commission-code",] }]
11379
- };
11380
-
11381
11819
  class TransactionLinesGridComponent extends TransactionGridBaseComponent {
11382
11820
  constructor(imageService, _service, _dialogService) {
11383
11821
  super(imageService);
@@ -11401,6 +11839,9 @@ class TransactionLinesGridComponent extends TransactionGridBaseComponent {
11401
11839
  openCommissionCodeDialog(row) {
11402
11840
  this._dialogService.showTransactionLineComponent(DialogTransactionLineCommissionCodeComponent, row);
11403
11841
  }
11842
+ openWarehouseDialog(row) {
11843
+ this._dialogService.showTransactionLineComponent(DialogTransactionLineWarehouseComponent, row);
11844
+ }
11404
11845
  }
11405
11846
  TransactionLinesGridComponent.decorators = [
11406
11847
  { type: Component, args: [{
@@ -11411,6 +11852,9 @@ TransactionLinesGridComponent.decorators = [
11411
11852
  <ng-template #headerTemplate>
11412
11853
  <icon class="transaction-grid-header-icon" [icon]="icons.Warehouse"></icon>
11413
11854
  </ng-template>
11855
+ <ng-template #template let-row = "row">
11856
+ <div [textContent]="row.warehouseNumber" (click)="openWarehouseDialog(row)"></div>
11857
+ </ng-template>
11414
11858
  </co-simple-grid-column>
11415
11859
  <co-simple-grid-column [field]="''" [width]="50" [order]="45" [textAlign]="align.Right">
11416
11860
  <ng-template #headerTemplate>
@@ -11788,7 +12232,7 @@ TransactionLineSidePanelDefaultComponent.propDecorators = {
11788
12232
  showClass: [{ type: HostBinding, args: ["class.co-transaction-line-side-panel-default",] }]
11789
12233
  };
11790
12234
 
11791
- class TransactionLineQuantityComponent extends TransactionLineFieldsBaseComponent {
12235
+ class TransactionLineQuantityComponent extends TransactionLineBaseComponent {
11792
12236
  constructor(_transactionService) {
11793
12237
  super();
11794
12238
  this._transactionService = _transactionService;
@@ -11838,7 +12282,7 @@ TransactionLineQuantityModule.decorators = [
11838
12282
  },] }
11839
12283
  ];
11840
12284
 
11841
- class TransactionLineLineDiscountComponent extends TransactionLineFieldsBaseComponent {
12285
+ class TransactionLineLineDiscountComponent extends TransactionLineBaseComponent {
11842
12286
  constructor(_transactionService) {
11843
12287
  super();
11844
12288
  this._transactionService = _transactionService;
@@ -11903,7 +12347,7 @@ TransactionLineLineDiscountModule.decorators = [
11903
12347
  },] }
11904
12348
  ];
11905
12349
 
11906
- class TransactionLineVatComponent extends TransactionLineFieldsBaseComponent {
12350
+ class TransactionLineVatComponent extends TransactionLineBaseComponent {
11907
12351
  constructor(_transactionService) {
11908
12352
  super();
11909
12353
  this._transactionService = _transactionService;
@@ -11967,7 +12411,7 @@ TransactionLineVatModule.decorators = [
11967
12411
  },] }
11968
12412
  ];
11969
12413
 
11970
- class TransactionLinePriceListComponent extends TransactionLineFieldsBaseComponent {
12414
+ class TransactionLinePriceListComponent extends TransactionLineBaseComponent {
11971
12415
  constructor(_transactionService) {
11972
12416
  super();
11973
12417
  this._transactionService = _transactionService;
@@ -12031,16 +12475,25 @@ TransactionLinePriceListModule.decorators = [
12031
12475
  },] }
12032
12476
  ];
12033
12477
 
12034
- class TransactionLineDeliveryMethodComponent extends TransactionLineFieldsBaseComponent {
12478
+ class TransactionLineDeliveryMethodComponent extends TransactionLineBaseComponent {
12035
12479
  constructor(_transactionService) {
12036
12480
  super();
12037
12481
  this._transactionService = _transactionService;
12038
12482
  this.data = [];
12039
- this.fields = { text: "description", value: "code" };
12040
12483
  }
12041
12484
  ngOnInit() {
12485
+ this.viewModels.length = 0;
12042
12486
  this._transactionService.getDeliveryMethods().then((methods) => {
12043
12487
  this.data = methods.slice();
12488
+ this.data.forEach((d, index) => {
12489
+ this.viewModels.push({
12490
+ value: d.code,
12491
+ text: d.description,
12492
+ label: ((d.code !== null && d.code !== undefined) ? d.code + ' ' : '') + ((d.description !== null && d.description !== undefined) ? d.description : ''),
12493
+ checked: this.useTransactionLine ? this.transactionLine.deliveryMethodCode === d.code : index === 0
12494
+ });
12495
+ });
12496
+ super.ngOnInit();
12044
12497
  });
12045
12498
  }
12046
12499
  commitDeliveryMethod(method) {
@@ -12056,11 +12509,39 @@ class TransactionLineDeliveryMethodComponent extends TransactionLineFieldsBaseCo
12056
12509
  return true;
12057
12510
  });
12058
12511
  }
12512
+ handleChecked(event, row) {
12513
+ event.preventDefault();
12514
+ event.stopPropagation();
12515
+ row.checked = true;
12516
+ for (let i = 0; i < this.viewModels.length; i++) {
12517
+ if (this.viewModels[i].value !== row.value) {
12518
+ this.viewModels[i].checked = false;
12519
+ }
12520
+ }
12521
+ if (this.useTransactionLine) {
12522
+ this.commitDeliveryMethod(this.viewModels.find(v => v.checked).value);
12523
+ }
12524
+ else {
12525
+ this.valueChange.emit(row.value);
12526
+ }
12527
+ }
12528
+ transactionLineSet() {
12529
+ this.readonly = this.readonly || !this.transactionInfo.transactionDefinitive;
12530
+ }
12059
12531
  }
12060
12532
  TransactionLineDeliveryMethodComponent.decorators = [
12061
12533
  { type: Component, args: [{
12062
12534
  selector: "co-transaction-line-delivery-method",
12063
12535
  template: `
12536
+ <div class="co-transaction-default-flex-row" *ngFor="let row of viewModelsFiltered">
12537
+ <co-input-checkbox
12538
+ [model]="row.checked"
12539
+ [label]="row.label"
12540
+ (click)="handleChecked($event, row)"
12541
+ ></co-input-checkbox>
12542
+ </div>
12543
+ <!--
12544
+
12064
12545
  <co-input-combo-box
12065
12546
  [collection]="data"
12066
12547
  [placeholder]="'DELIVERY_METHOD' | localize"
@@ -12068,6 +12549,7 @@ TransactionLineDeliveryMethodComponent.decorators = [
12068
12549
  [readonly]="readonly"
12069
12550
  (modelChange)="commitDeliveryMethod($event)"
12070
12551
  ></co-input-combo-box>
12552
+ -->
12071
12553
  `,
12072
12554
  encapsulation: ViewEncapsulation.None
12073
12555
  },] }
@@ -12083,7 +12565,8 @@ TransactionLineDeliveryMethodModule.decorators = [
12083
12565
  imports: [
12084
12566
  CommonModule,
12085
12567
  PipeModule,
12086
- InputComboBoxModule
12568
+ InputComboBoxModule,
12569
+ InputCheckboxModule
12087
12570
  ],
12088
12571
  declarations: [
12089
12572
  TransactionLineDeliveryMethodComponent
@@ -12094,7 +12577,7 @@ TransactionLineDeliveryMethodModule.decorators = [
12094
12577
  },] }
12095
12578
  ];
12096
12579
 
12097
- class TransactionLineDeliveryDateComponent extends TransactionLineFieldsBaseComponent {
12580
+ class TransactionLineDeliveryDateComponent extends TransactionLineBaseComponent {
12098
12581
  constructor(_transactionService) {
12099
12582
  super();
12100
12583
  this._transactionService = _transactionService;
@@ -12152,7 +12635,7 @@ TransactionLineDeliveryDateModule.decorators = [
12152
12635
  },] }
12153
12636
  ];
12154
12637
 
12155
- class TransactionLineReferenceComponent extends TransactionLineFieldsBaseComponent {
12638
+ class TransactionLineReferenceComponent extends TransactionLineBaseComponent {
12156
12639
  constructor(_transactionService) {
12157
12640
  super();
12158
12641
  this._transactionService = _transactionService;
@@ -12216,20 +12699,23 @@ TransactionLineReferenceModule.decorators = [
12216
12699
  },] }
12217
12700
  ];
12218
12701
 
12219
- class TransactionLineCommissionCodeComponent extends TransactionLineFieldsBaseComponent {
12702
+ class TransactionLineCommissionCodeComponent extends TransactionLineBaseComponent {
12220
12703
  constructor(_transactionService) {
12221
12704
  super();
12222
12705
  this._transactionService = _transactionService;
12223
12706
  this.data = [];
12224
- this.fields = { text: "description", value: "code" };
12225
- this.viewModels = [];
12226
12707
  }
12227
12708
  ngOnInit() {
12228
12709
  this.viewModels.length = 0;
12229
12710
  this._transactionService.getCommissionCodes("NL").then((codes) => {
12230
12711
  this.data = codes.slice();
12231
- this.data.forEach(d => {
12232
- this.viewModels.push({ value: d.code, text: d.description, checked: this.transactionLine.commissionCode === d.code });
12712
+ this.data.forEach((d, index) => {
12713
+ this.viewModels.push({
12714
+ value: d.code,
12715
+ text: d.description,
12716
+ label: ((d.code !== null && d.code !== undefined) ? d.code + ' ' : '') + ((d.description !== null && d.description !== undefined) ? d.description : ''),
12717
+ checked: this.useTransactionLine ? this.transactionLine.commissionCode === d.code : index === 0
12718
+ });
12233
12719
  });
12234
12720
  });
12235
12721
  }
@@ -12246,14 +12732,21 @@ class TransactionLineCommissionCodeComponent extends TransactionLineFieldsBaseCo
12246
12732
  return true;
12247
12733
  });
12248
12734
  }
12249
- handleChecked(row) {
12735
+ handleChecked(event, row) {
12736
+ event.preventDefault();
12737
+ event.stopPropagation();
12250
12738
  row.checked = true;
12251
12739
  for (let i = 0; i < this.viewModels.length; i++) {
12252
12740
  if (this.viewModels[i].value !== row.value) {
12253
12741
  this.viewModels[i].checked = false;
12254
12742
  }
12255
12743
  }
12256
- this.commitCommissionCode(this.viewModels.find(v => v.checked).value);
12744
+ if (this.useTransactionLine) {
12745
+ this.commitCommissionCode(this.viewModels.find(v => v.checked).value);
12746
+ }
12747
+ else {
12748
+ this.valueChange.emit(row.value);
12749
+ }
12257
12750
  }
12258
12751
  transactionLineSet() {
12259
12752
  this.readonly = this.readonly || !this.transactionLine.articleFreeCommissionCode;
@@ -12263,23 +12756,13 @@ TransactionLineCommissionCodeComponent.decorators = [
12263
12756
  { type: Component, args: [{
12264
12757
  selector: "co-transaction-line-commission-code",
12265
12758
  template: `
12266
- <ng-container *ngIf="!showExtended">
12267
- <co-input-combo-box
12268
- [collection]="data"
12269
- [placeholder]="'COMMISSION_CODE' | localize"
12270
- [fields]="fields"
12271
- [readonly]="readonly"
12272
- [model]="transactionLine.commissionCode"
12273
- (modelChange)="commitCommissionCode($event)"
12274
- ></co-input-combo-box>
12275
- </ng-container>
12276
- <ng-container *ngIf="showExtended">
12277
- <div class="extended-row-wrapper" *ngFor="let row of viewModels">
12278
- <co-input-checkbox [model]="row.checked" (modelChange)="handleChecked(row)"></co-input-checkbox>
12279
- <span class="extended-row-code" [textContent]="row.value"></span>
12280
- <span class="extended-row-description" [textContent]="row.text"></span>
12281
- </div>
12282
- </ng-container>
12759
+ <div class="co-transaction-default-flex-row" *ngFor="let row of viewModels">
12760
+ <co-input-checkbox
12761
+ [model]="row.checked"
12762
+ [label]="row.label"
12763
+ (click)="handleChecked($event, row)"
12764
+ ></co-input-checkbox>
12765
+ </div>
12283
12766
  `,
12284
12767
  encapsulation: ViewEncapsulation.None
12285
12768
  },] }
@@ -12307,17 +12790,26 @@ TransactionLineCommissionCodeModule.decorators = [
12307
12790
  },] }
12308
12791
  ];
12309
12792
 
12310
- class TransactionLineWarehouseComponent extends TransactionLineFieldsBaseComponent {
12793
+ class TransactionLineWarehouseComponent extends TransactionLineBaseComponent {
12311
12794
  constructor(_transactionService) {
12312
12795
  super();
12313
12796
  this._transactionService = _transactionService;
12314
- this.data = [];
12315
- this.fields = { text: "description", value: "code" };
12797
+ this.collection = [];
12316
12798
  }
12317
12799
  ngOnInit() {
12318
- // this._transactionService.getWCommissionCodes("NL").then((codes: CoDomainValue[]) => {
12319
- // this.data = codes.slice();
12320
- // })
12800
+ this.viewModels.length = 0;
12801
+ this._transactionService.getWarehouses(this.branch).then((warehouses) => {
12802
+ this.collection = warehouses.slice();
12803
+ this.collection.forEach((d, index) => {
12804
+ this.viewModels.push({
12805
+ value: d.warehouseNo,
12806
+ text: d.description,
12807
+ label: ((d.warehouseNo !== null && d.warehouseNo !== undefined) ? d.warehouseNo + ' ' : '') + ((d.description !== null && d.description !== undefined) ? d.description : ''),
12808
+ checked: this.useTransactionLine ? this.transactionLine.warehouseNumber === d.warehouseNo : index === 0
12809
+ });
12810
+ });
12811
+ super.ngOnInit();
12812
+ });
12321
12813
  }
12322
12814
  commitWarehouse(warehouse) {
12323
12815
  return __awaiter(this, void 0, void 0, function* () {
@@ -12332,26 +12824,43 @@ class TransactionLineWarehouseComponent extends TransactionLineFieldsBaseCompone
12332
12824
  return true;
12333
12825
  });
12334
12826
  }
12827
+ handleChecked(event, row) {
12828
+ event.preventDefault();
12829
+ event.stopPropagation();
12830
+ row.checked = true;
12831
+ for (let i = 0; i < this.viewModels.length; i++) {
12832
+ if (this.viewModels[i].value !== row.value) {
12833
+ this.viewModels[i].checked = false;
12834
+ }
12835
+ }
12836
+ if (this.useTransactionLine) {
12837
+ this.commitWarehouse(this.viewModels.find(v => v.checked).value);
12838
+ }
12839
+ else {
12840
+ this.valueChange.emit(row.value);
12841
+ }
12842
+ }
12335
12843
  }
12336
12844
  TransactionLineWarehouseComponent.decorators = [
12337
12845
  { type: Component, args: [{
12338
12846
  selector: "co-transaction-line-warehouse",
12339
12847
  template: `
12340
- <co-input-combo-box
12341
- [collection]="data"
12342
- [placeholder]="'WAREHOUSE' | localize"
12343
- [fields]="fields"
12344
- [readonly]="readonly"
12345
- [model]="transactionLine.warehouseNumber"
12346
- (modelChange)="commitWarehouse($event)"
12347
- ></co-input-combo-box>
12848
+ <div class="co-transaction-default-flex-row" *ngFor="let row of viewModelsFiltered">
12849
+ <co-input-checkbox
12850
+ [model]="row.checked"
12851
+ [label]="row.label"
12852
+ (click)="handleChecked($event, row)"></co-input-checkbox>
12853
+ </div>
12348
12854
  `,
12349
12855
  encapsulation: ViewEncapsulation.None
12350
12856
  },] }
12351
12857
  ];
12352
12858
  TransactionLineWarehouseComponent.ctorParameters = () => [
12353
12859
  { type: TransactionService }
12354
- ];
12860
+ ];
12861
+ TransactionLineWarehouseComponent.propDecorators = {
12862
+ branch: [{ type: Input }]
12863
+ };
12355
12864
 
12356
12865
  class TransactionLineWarehouseModule {
12357
12866
  }
@@ -12361,7 +12870,8 @@ TransactionLineWarehouseModule.decorators = [
12361
12870
  CommonModule,
12362
12871
  InputTextModule,
12363
12872
  PipeModule,
12364
- InputComboBoxModule
12873
+ InputComboBoxModule,
12874
+ InputCheckboxModule
12365
12875
  ],
12366
12876
  declarations: [
12367
12877
  TransactionLineWarehouseComponent
@@ -12372,7 +12882,7 @@ TransactionLineWarehouseModule.decorators = [
12372
12882
  },] }
12373
12883
  ];
12374
12884
 
12375
- class TransactionLineDiscountAmountComponent extends TransactionLineFieldsBaseComponent {
12885
+ class TransactionLineDiscountAmountComponent extends TransactionLineBaseComponent {
12376
12886
  constructor(_transactionService) {
12377
12887
  super();
12378
12888
  this._transactionService = _transactionService;
@@ -12437,7 +12947,7 @@ TransactionLineDiscountAmountModule.decorators = [
12437
12947
  },] }
12438
12948
  ];
12439
12949
 
12440
- class TransactionLineQuantumDiscountComponent extends TransactionLineFieldsBaseComponent {
12950
+ class TransactionLineQuantumDiscountComponent extends TransactionLineBaseComponent {
12441
12951
  constructor(_transactionService) {
12442
12952
  super();
12443
12953
  this._transactionService = _transactionService;
@@ -12502,7 +13012,7 @@ TransactionLineQuantumDiscountModule.decorators = [
12502
13012
  },] }
12503
13013
  ];
12504
13014
 
12505
- class TransactionLineSpecialDiscountComponent extends TransactionLineFieldsBaseComponent {
13015
+ class TransactionLineSpecialDiscountComponent extends TransactionLineBaseComponent {
12506
13016
  constructor(_transactionService) {
12507
13017
  super();
12508
13018
  this._transactionService = _transactionService;
@@ -12567,7 +13077,7 @@ TransactionLineSpecialDiscountModule.decorators = [
12567
13077
  },] }
12568
13078
  ];
12569
13079
 
12570
- class TransactionLineSupplierComponent extends TransactionLineFieldsBaseComponent {
13080
+ class TransactionLineSupplierComponent extends TransactionLineBaseComponent {
12571
13081
  constructor(_transactionService) {
12572
13082
  super();
12573
13083
  this._transactionService = _transactionService;
@@ -14698,6 +15208,60 @@ TransactionBaseGridModule.decorators = [
14698
15208
  },] }
14699
15209
  ];
14700
15210
 
15211
+ class DialogHeaderSearchComponent {
15212
+ constructor() {
15213
+ this.search = new EventEmitter();
15214
+ }
15215
+ set title(value) {
15216
+ this._title = value;
15217
+ this.searchPlaceholder = `SEARCH_${this._title}`;
15218
+ }
15219
+ get title() {
15220
+ return this._title;
15221
+ }
15222
+ showClass() {
15223
+ return true;
15224
+ }
15225
+ handleSearch(text) {
15226
+ this.search.emit(text);
15227
+ }
15228
+ }
15229
+ DialogHeaderSearchComponent.decorators = [
15230
+ { type: Component, args: [{
15231
+ selector: "co-dialog-header-search",
15232
+ template: `
15233
+ <div class="dialog-header-search-wrapper">
15234
+ <div class="dialog-header-search-title" [textContent]="title | localize"></div>
15235
+ <co-input-search [placeholder]="searchPlaceholder | localize" [noIcon]="true" (modelChange)="handleSearch($event)"></co-input-search>
15236
+ </div>
15237
+ `,
15238
+ encapsulation: ViewEncapsulation.None
15239
+ },] }
15240
+ ];
15241
+ DialogHeaderSearchComponent.propDecorators = {
15242
+ title: [{ type: Input }],
15243
+ search: [{ type: Output }],
15244
+ showClass: [{ type: HostBinding, args: ["class.co-dialog-header-search",] }]
15245
+ };
15246
+
15247
+ class DialogHeaderSearchModule {
15248
+ }
15249
+ DialogHeaderSearchModule.decorators = [
15250
+ { type: NgModule, args: [{
15251
+ imports: [
15252
+ CommonModule,
15253
+ PipeModule,
15254
+ InputSearchModule
15255
+ ],
15256
+ declarations: [
15257
+ DialogHeaderSearchComponent
15258
+ ],
15259
+ exports: [
15260
+ DialogHeaderSearchComponent
15261
+ ]
15262
+ },] }
15263
+ ];
15264
+
14701
15265
  class DialogTransactionLineCommissionCodeModule {
14702
15266
  }
14703
15267
  DialogTransactionLineCommissionCodeModule.decorators = [
@@ -14706,7 +15270,9 @@ DialogTransactionLineCommissionCodeModule.decorators = [
14706
15270
  CommonModule,
14707
15271
  TransactionLineCommissionCodeModule,
14708
15272
  CoDialogModule,
14709
- PipeModule
15273
+ PipeModule,
15274
+ ButtonModule,
15275
+ DialogHeaderSearchModule
14710
15276
  ],
14711
15277
  declarations: [
14712
15278
  DialogTransactionLineCommissionCodeComponent
@@ -14717,6 +15283,48 @@ DialogTransactionLineCommissionCodeModule.decorators = [
14717
15283
  },] }
14718
15284
  ];
14719
15285
 
15286
+ class DialogTransactionLineWarehouseModule {
15287
+ }
15288
+ DialogTransactionLineWarehouseModule.decorators = [
15289
+ { type: NgModule, args: [{
15290
+ imports: [
15291
+ CommonModule,
15292
+ CoDialogModule,
15293
+ TransactionLineWarehouseModule,
15294
+ DialogHeaderSearchModule,
15295
+ ButtonModule,
15296
+ PipeModule
15297
+ ],
15298
+ declarations: [
15299
+ DialogTransactionLineWarehouseComponent
15300
+ ],
15301
+ exports: [
15302
+ DialogTransactionLineWarehouseComponent
15303
+ ]
15304
+ },] }
15305
+ ];
15306
+
15307
+ class DialogTransactionLineDeliveryMethodModule {
15308
+ }
15309
+ DialogTransactionLineDeliveryMethodModule.decorators = [
15310
+ { type: NgModule, args: [{
15311
+ imports: [
15312
+ CommonModule,
15313
+ CoDialogModule,
15314
+ TransactionLineDeliveryMethodModule,
15315
+ DialogHeaderSearchModule,
15316
+ ButtonModule,
15317
+ PipeModule
15318
+ ],
15319
+ declarations: [
15320
+ DialogTransactionLineDeliveryMethodComponent
15321
+ ],
15322
+ exports: [
15323
+ DialogTransactionLineDeliveryMethodComponent
15324
+ ]
15325
+ },] }
15326
+ ];
15327
+
14720
15328
  class TransactionLinesGridModule {
14721
15329
  }
14722
15330
  TransactionLinesGridModule.decorators = [
@@ -14730,7 +15338,9 @@ TransactionLinesGridModule.decorators = [
14730
15338
  ButtonModule,
14731
15339
  PriceDisplayPipeModule,
14732
15340
  TransactionBaseGridModule,
14733
- DialogTransactionLineCommissionCodeModule
15341
+ DialogTransactionLineCommissionCodeModule,
15342
+ DialogTransactionLineWarehouseModule,
15343
+ DialogTransactionLineDeliveryMethodModule
14734
15344
  ],
14735
15345
  declarations: [
14736
15346
  TransactionLinesGridComponent
@@ -18033,5 +18643,5 @@ TransactionLineGridModule.decorators = [
18033
18643
  * Generated bundle index. Do not edit.
18034
18644
  */
18035
18645
 
18036
- 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, RelationAddressComponent as ɵba, RelationBaseComponent as ɵbb, RelationAddressSelectModule as ɵbc, RelationAddressTileModule as ɵbd, TileModule as ɵbe, TileComponent as ɵbf, RelationAddressTileComponent as ɵbg, RelationAddressSelectComponent as ɵbh, BusinessObjectFactory as ɵbi, StepperModule as ɵbj, StepperComponent as ɵbk, StepperStepComponent as ɵbl, TransactionArticleTextModule as ɵbm, TransactionArticleTextComponent as ɵbn, TransactionArticleTextOverviewModule as ɵbo, TransactionArticleTextOverviewComponent as ɵbp, TransactionLineActionButtonsModule as ɵbq, TransactionLineActionButtonsComponent as ɵbr, EditableLabelModule as ɵbs, EditableLabelComponent as ɵbt, TransactionLinePriceModule as ɵbu, TransactionLinePriceComponent as ɵbv, TransactionLineFieldsBaseComponent as ɵbw, TransactionLineDescriptionModule as ɵbx, TransactionLineDescriptionComponent as ɵby, TransactionImageService as ɵbz, OptionsService as ɵc, AvatarModule as ɵca, AvatarComponent as ɵcb, SharedService as ɵcc, SharedConnectorService as ɵcd, DeliveryTypeTileModule as ɵce, DeliveryTypeTileComponent as ɵcf, PaymentModule as ɵcg, PaymentTileModule as ɵch, PaymentTileComponent as ɵci, PaymentQrCodeModule as ɵcj, PaymentQrCodeComponent as ɵck, PaymentComponent as ɵcl, PaymentService as ɵcm, RelationTypeModule as ɵcn, RelationTypeComponent as ɵco, RelationGeneralModule as ɵcp, RelationSuggestionsListModule as ɵcq, RelationSuggestionsListItemModule as ɵcr, RelationSuggestionsListItemComponent as ɵcs, RelationSuggestionsListComponent as ɵct, RelationGeneralComponent as ɵcu, RelationAddressesModule as ɵcv, RelationAddressesComponent as ɵcw, RelationContactDetailsModule as ɵcx, RelationContactDetailsComponent as ɵcy, RelationPreferencesModule as ɵcz, DictionaryService as ɵd, RelationPreferencesComponent as ɵda, TransactionHeaderBlockModule as ɵdb, TransactionHeaderBlockComponent as ɵdc, TransactionHeaderDeliveryDateModule as ɵdd, TransactionHeaderDeliveryDateComponent as ɵde, TransactionHeaderFieldsBaseComponent as ɵdf, TransactionHeaderDeliveryOptionsModule as ɵdg, TransactionHeaderDeliveryOptionsComponent as ɵdh, TransactionHeaderRemarksModule as ɵdi, TransactionHeaderRemarksComponent as ɵdj, TransactionHeaderReferenceModule as ɵdk, TransactionHeaderReferenceComponent as ɵdl, TransactionHeaderRelationReferenceModule as ɵdm, TransactionHeaderRelationReferenceComponent as ɵdn, TransactionHeaderDeliveryMethodModule as ɵdo, TransactionHeaderDeliveryMethodComponent as ɵdp, TransactionHeaderPreferredDeliveryDateModule as ɵdq, TransactionHeaderPreferredDeliveryDateComponent as ɵdr, TransactionBaseComponent as ɵds, TransactionHeaderPartialDeliveryModule as ɵdt, TransactionHeaderPartialDeliveryComponent as ɵdu, TransactionHeaderDownpaymentPercentageModule as ɵdv, TransactionHeaderDownpaymentPercentageComponent as ɵdw, TransactionHeaderDownpaymentAmountModule as ɵdx, TransactionHeaderDownpaymentAmountComponent as ɵdy, TransactionHeaderDefinitiveModule as ɵdz, TransactionConnectorService as ɵe, TransactionHeaderDefinitiveComponent as ɵea, TransactionHeaderBranchModule as ɵeb, TransactionHeaderBranchComponent as ɵec, TransactionHeaderAdministrativeRelationModule as ɵed, TransactionHeaderAdministrativeRelationComponent as ɵee, TransactionHeaderMarketingModule as ɵef, TransactionHeaderMarketingComponent as ɵeg, CheckoutOverviewRelationEditComponent as ɵeh, CheckoutOverviewDeliveryEditComponent as ɵei, CheckoutOverviewDeliveryAddressComponent as ɵej, CheckoutOverviewPaymentComponent as ɵek, CheckoutLoginComponent as ɵel, TransactionFilterCategoriesModule as ɵem, TransactionFilterCategoriesComponent as ɵen, TransactionHeaderPaymentModule as ɵeo, TransactionHeaderPaymentComponent as ɵep, TransactionLinesGridModule as ɵeq, TransactionBaseGridModule as ɵer, TransactionLineSidePanelModule as ɵes, TransactionLineSidePanelDefaultModule as ɵet, TransactionLinePriceListModule as ɵeu, TransactionLinePriceListComponent as ɵev, TransactionLineVatModule as ɵew, TransactionLineVatComponent as ɵex, TransactionLineQuantityModule as ɵey, TransactionLineQuantityComponent as ɵez, CollectionCacheService as ɵf, TransactionLineLineDiscountModule as ɵfa, TransactionLineLineDiscountComponent as ɵfb, TransactionLineDeliveryMethodModule as ɵfc, TransactionLineDeliveryMethodComponent as ɵfd, TransactionLineDeliveryDateModule as ɵfe, TransactionLineDeliveryDateComponent as ɵff, TransactionLineReferenceModule as ɵfg, TransactionLineReferenceComponent as ɵfh, TransactionLineCommissionCodeModule as ɵfi, TransactionLineCommissionCodeComponent as ɵfj, TransactionLineWarehouseModule as ɵfk, TransactionLineWarehouseComponent as ɵfl, TransactionLineDiscountAmountModule as ɵfm, TransactionLineDiscountAmountComponent as ɵfn, TransactionLineQuantumDiscountModule as ɵfo, TransactionLineQuantumDiscountComponent as ɵfp, TransactionLineSpecialDiscountModule as ɵfq, TransactionLineSpecialDiscountComponent as ɵfr, TransactionLineSupplierModule as ɵfs, TransactionLineSupplierComponent as ɵft, TransactionLineSidePanelDefaultComponent as ɵfu, TransactionReceivingGoodsHistoryModule as ɵfv, TransactionHistoryGridModule as ɵfw, TransactionHistoryGridStatusModule as ɵfx, TransactionHistoryGridStatusComponent as ɵfy, TransactionHistoryGridComponent as ɵfz, ArticleConnectorService as ɵg, TransactionReceivingGoodsHistoryComponent as ɵga, TransactionReceivingGoodsDetailsModule as ɵgb, TransactionReceivingGoodsDetailsComponent as ɵgc, ArticleService as ɵgd, TransactionButtonBarModule as ɵge, TransactionButtonBarComponent as ɵgf, TransactionMappingService as ɵgg, TransactionButtonBarButtonComponent as ɵgh, TransactionLineSidePanelPurchaseModule as ɵgi, DefaultOkCancelButtonsModule as ɵgj, DefaultOkCancelButtonsComponent as ɵgk, TransactionLineSidePanelPurchaseComponent as ɵgl, TransactionEventService as ɵgm, TransactionLineSidePanelComponent as ɵgn, TransactionBaseGridComponent as ɵgo, TransactionGridBaseComponent as ɵgp, DialogTransactionLineCommissionCodeModule as ɵgq, DialogTransactionLineCommissionCodeComponent as ɵgr, DialogTransactionLineBaseComponent as ɵgs, TransactionLinesGridComponent as ɵgt, DiscountModule as ɵgu, DiscountComponent as ɵgv, TransactionQuickAccessOverviewModule as ɵgw, TransactionQuickAccessOverviewComponent as ɵgx, TransactionOrderConfirmationGridModule as ɵgy, TransactionOrderConfirmationGridComponent as ɵgz, CoreModule as ɵh, TransactionReceivedGoodsGridModule as ɵha, TransactionReceivedGoodsGridComponent as ɵhb, ViewModeButtonsModule as ɵhc, ViewModeButtonsComponent as ɵhd, TransactionGridModule as ɵhe, TransactionGridComponent as ɵhf, TransactionTileModule as ɵhg, TransactionTileComponent as ɵhh, TransactionSearchResultModule as ɵhi, TransactionSearchSalesOrderTileModule as ɵhj, StatusBarModule as ɵhk, StatusBarComponent as ɵhl, TransactionSearchSalesOrderTileComponent as ɵhm, TransactionSearchTileBaseComponent as ɵhn, TransactionSearchPurchaseOrderTileModule as ɵho, TransactionSearchPurchaseOrderTileComponent as ɵhp, TransactionSearchSalesOrderGridModule as ɵhq, TransactionSearchSalesOrderGridComponent as ɵhr, TransactionSearchGridBaseComponent as ɵhs, TransactionSearchPurchaseOrderGridModule as ɵht, TransactionSearchPurchaseOrderGridComponent as ɵhu, TransactionSearchHeaderModule as ɵhv, TransactionSearchHeaderComponent as ɵhw, TransactionSearchGridModule as ɵhx, TransactionSearchGridComponent as ɵhy, TransactionSearchTileModule as ɵhz, ConfirmationDialogModule as ɵi, TransactionSearchTileComponent as ɵia, TransactionSearchResultComponent as ɵib, TransactionSalesOrderFilterModule as ɵic, TransactionSalesOrderFilterContentOrderModule as ɵid, TransactionSalesOrderFilterContentOrderComponent as ɵie, TransactionFilterContentBaseComponent as ɵif, FilterRequestService as ɵig, TransactionSalesOrderFilterContentLogisticsModule as ɵih, TransactionFilterHistoricStateModule as ɵii, TransactionFilterHistoricStateComponent as ɵij, TransactionSalesOrderFilterContentLogisticsComponent as ɵik, TransactionSalesOrderFilterContentArticleModule as ɵil, TransactionSalesOrderFilterContentArticleComponent as ɵim, TransactionSalesOrderFilterComponent as ɵin, TransactionFilterBaseComponent as ɵio, TransactionPurchaseOrderFilterModule as ɵip, TransactionPurchaseOrderFilterContentOrderModule as ɵiq, TransactionPurchaseOrderFilterContentOrderComponent as ɵir, TransactionPurchaseOrderFilterContentLogisticsModule as ɵis, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵit, TransactionPurchaseOrderFilterContentArticleModule as ɵiu, TransactionPurchaseOrderFilterContentArticleComponent as ɵiv, TransactionPurchaseOrderFilterComponent as ɵiw, TransactionFilterModule as ɵix, TransactionFilterComponent as ɵiy, PipeModule as ɵj, AppendPipe as ɵk, DeliveryTimePipe as ɵl, DateDurationPipe as ɵm, LocalizePipe as ɵn, CoCurrencyPipe as ɵo, SafeStylePipe as ɵp, SafeHtmlPipe as ɵq, ConfirmationDialogComponent as ɵr, DialogBaseComponent as ɵs, ImageDisplayComponent as ɵt, IconComponent as ɵu, IconCacheService as ɵv, CustomerGroupsComponent as ɵw, StockStatusIndicatorComponent as ɵx, LoaderComponent as ɵy, RelationAddressModule as ɵz };
18646
+ 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, CustomerGroupsComponent as ɵba, StockStatusIndicatorComponent as ɵbb, LoaderComponent as ɵbc, RelationAddressModule as ɵbd, RelationAddressComponent as ɵbe, RelationBaseComponent as ɵbf, RelationAddressSelectModule as ɵbg, RelationAddressTileModule as ɵbh, TileModule as ɵbi, TileComponent as ɵbj, RelationAddressTileComponent as ɵbk, RelationAddressSelectComponent as ɵbl, BusinessObjectFactory as ɵbm, StepperModule as ɵbn, StepperComponent as ɵbo, StepperStepComponent as ɵbp, TransactionArticleTextModule as ɵbq, TransactionArticleTextComponent as ɵbr, TransactionArticleTextOverviewModule as ɵbs, TransactionArticleTextOverviewComponent as ɵbt, TransactionLineActionButtonsModule as ɵbu, TransactionLineActionButtonsComponent as ɵbv, EditableLabelModule as ɵbw, EditableLabelComponent as ɵbx, TransactionLinePriceModule as ɵby, TransactionLinePriceComponent as ɵbz, OptionsService as ɵc, TransactionLineBaseComponent as ɵca, TransactionLineDescriptionModule as ɵcb, TransactionLineDescriptionComponent as ɵcc, TransactionImageService as ɵcd, AvatarModule as ɵce, AvatarComponent as ɵcf, SharedService as ɵcg, SharedConnectorService as ɵch, DeliveryTypeTileModule as ɵci, DeliveryTypeTileComponent as ɵcj, PaymentModule as ɵck, PaymentTileModule as ɵcl, PaymentTileComponent as ɵcm, PaymentQrCodeModule as ɵcn, PaymentQrCodeComponent as ɵco, PaymentComponent as ɵcp, PaymentService as ɵcq, RelationTypeModule as ɵcr, RelationTypeComponent as ɵcs, RelationGeneralModule as ɵct, RelationSuggestionsListModule as ɵcu, RelationSuggestionsListItemModule as ɵcv, RelationSuggestionsListItemComponent as ɵcw, RelationSuggestionsListComponent as ɵcx, RelationGeneralComponent as ɵcy, RelationAddressesModule as ɵcz, DictionaryService as ɵd, RelationAddressesComponent as ɵda, RelationContactDetailsModule as ɵdb, RelationContactDetailsComponent as ɵdc, RelationPreferencesModule as ɵdd, RelationPreferencesComponent as ɵde, TransactionHeaderBlockModule as ɵdf, TransactionHeaderBlockComponent as ɵdg, TransactionHeaderDeliveryDateModule as ɵdh, TransactionHeaderDeliveryDateComponent as ɵdi, TransactionHeaderFieldsBaseComponent as ɵdj, TransactionHeaderDeliveryOptionsModule as ɵdk, TransactionHeaderDeliveryOptionsComponent as ɵdl, TransactionHeaderRemarksModule as ɵdm, TransactionHeaderRemarksComponent as ɵdn, TransactionHeaderReferenceModule as ɵdo, TransactionHeaderReferenceComponent as ɵdp, TransactionHeaderRelationReferenceModule as ɵdq, TransactionHeaderRelationReferenceComponent as ɵdr, TransactionHeaderDeliveryMethodModule as ɵds, TransactionHeaderDeliveryMethodComponent as ɵdt, TransactionHeaderPreferredDeliveryDateModule as ɵdu, TransactionHeaderPreferredDeliveryDateComponent as ɵdv, TransactionBaseComponent as ɵdw, TransactionHeaderPartialDeliveryModule as ɵdx, TransactionHeaderPartialDeliveryComponent as ɵdy, TransactionHeaderDownpaymentPercentageModule as ɵdz, TransactionConnectorService as ɵe, TransactionHeaderDownpaymentPercentageComponent as ɵea, TransactionHeaderDownpaymentAmountModule as ɵeb, TransactionHeaderDownpaymentAmountComponent as ɵec, TransactionHeaderDefinitiveModule as ɵed, TransactionHeaderDefinitiveComponent as ɵee, TransactionHeaderBranchModule as ɵef, TransactionHeaderBranchComponent as ɵeg, TransactionHeaderAdministrativeRelationModule as ɵeh, TransactionHeaderAdministrativeRelationComponent as ɵei, TransactionHeaderMarketingModule as ɵej, TransactionHeaderMarketingComponent as ɵek, CheckoutOverviewRelationEditComponent as ɵel, CheckoutOverviewDeliveryEditComponent as ɵem, CheckoutOverviewDeliveryAddressComponent as ɵen, CheckoutOverviewPaymentComponent as ɵeo, CheckoutLoginComponent as ɵep, TransactionFilterCategoriesModule as ɵeq, TransactionFilterCategoriesComponent as ɵer, TransactionHeaderPaymentModule as ɵes, TransactionHeaderPaymentComponent as ɵet, TransactionLinesGridModule as ɵeu, TransactionBaseGridModule as ɵev, TransactionLineSidePanelModule as ɵew, TransactionLineSidePanelDefaultModule as ɵex, TransactionLinePriceListModule as ɵey, TransactionLinePriceListComponent as ɵez, CollectionCacheService as ɵf, TransactionLineVatModule as ɵfa, TransactionLineVatComponent as ɵfb, TransactionLineQuantityModule as ɵfc, TransactionLineQuantityComponent as ɵfd, TransactionLineLineDiscountModule as ɵfe, TransactionLineLineDiscountComponent as ɵff, TransactionLineDeliveryMethodModule as ɵfg, TransactionLineDeliveryMethodComponent as ɵfh, TransactionLineDeliveryDateModule as ɵfi, TransactionLineDeliveryDateComponent as ɵfj, TransactionLineReferenceModule as ɵfk, TransactionLineReferenceComponent as ɵfl, TransactionLineCommissionCodeModule as ɵfm, TransactionLineCommissionCodeComponent as ɵfn, TransactionLineWarehouseModule as ɵfo, TransactionLineWarehouseComponent as ɵfp, TransactionLineDiscountAmountModule as ɵfq, TransactionLineDiscountAmountComponent as ɵfr, TransactionLineQuantumDiscountModule as ɵfs, TransactionLineQuantumDiscountComponent as ɵft, TransactionLineSpecialDiscountModule as ɵfu, TransactionLineSpecialDiscountComponent as ɵfv, TransactionLineSupplierModule as ɵfw, TransactionLineSupplierComponent as ɵfx, TransactionLineSidePanelDefaultComponent as ɵfy, TransactionReceivingGoodsHistoryModule as ɵfz, ArticleConnectorService as ɵg, TransactionHistoryGridModule as ɵga, TransactionHistoryGridStatusModule as ɵgb, TransactionHistoryGridStatusComponent as ɵgc, TransactionHistoryGridComponent as ɵgd, TransactionReceivingGoodsHistoryComponent as ɵge, TransactionReceivingGoodsDetailsModule as ɵgf, TransactionReceivingGoodsDetailsComponent as ɵgg, ArticleService as ɵgh, TransactionButtonBarModule as ɵgi, TransactionButtonBarComponent as ɵgj, TransactionMappingService as ɵgk, TransactionButtonBarButtonComponent as ɵgl, TransactionLineSidePanelPurchaseModule as ɵgm, DefaultOkCancelButtonsModule as ɵgn, DefaultOkCancelButtonsComponent as ɵgo, TransactionLineSidePanelPurchaseComponent as ɵgp, TransactionEventService as ɵgq, TransactionLineSidePanelComponent as ɵgr, TransactionBaseGridComponent as ɵgs, TransactionGridBaseComponent as ɵgt, DialogTransactionLineCommissionCodeModule as ɵgu, DialogHeaderSearchModule as ɵgv, DialogHeaderSearchComponent as ɵgw, DialogTransactionLineCommissionCodeComponent as ɵgx, DialogTransactionLineBaseComponent as ɵgy, DialogTransactionLineWarehouseModule as ɵgz, CoreModule as ɵh, DialogTransactionLineWarehouseComponent as ɵha, DialogTransactionLineDeliveryMethodModule as ɵhb, DialogTransactionLineDeliveryMethodComponent as ɵhc, TransactionLinesGridComponent as ɵhd, DiscountModule as ɵhe, DiscountComponent as ɵhf, TransactionQuickAccessOverviewModule as ɵhg, TransactionQuickAccessOverviewComponent as ɵhh, TransactionOrderConfirmationGridModule as ɵhi, TransactionOrderConfirmationGridComponent as ɵhj, TransactionReceivedGoodsGridModule as ɵhk, TransactionReceivedGoodsGridComponent as ɵhl, ViewModeButtonsModule as ɵhm, ViewModeButtonsComponent as ɵhn, TransactionGridModule as ɵho, TransactionGridComponent as ɵhp, TransactionTileModule as ɵhq, TransactionTileComponent as ɵhr, TransactionSearchResultModule as ɵhs, TransactionSearchSalesOrderTileModule as ɵht, StatusBarModule as ɵhu, StatusBarComponent as ɵhv, TransactionSearchSalesOrderTileComponent as ɵhw, TransactionSearchTileBaseComponent as ɵhx, TransactionSearchPurchaseOrderTileModule as ɵhy, TransactionSearchPurchaseOrderTileComponent as ɵhz, ConfirmationDialogModule as ɵi, TransactionSearchSalesOrderGridModule as ɵia, TransactionSearchSalesOrderGridComponent as ɵib, TransactionSearchGridBaseComponent as ɵic, TransactionSearchPurchaseOrderGridModule as ɵid, TransactionSearchPurchaseOrderGridComponent as ɵie, TransactionSearchHeaderModule as ɵif, TransactionSearchHeaderComponent as ɵig, TransactionSearchGridModule as ɵih, TransactionSearchGridComponent as ɵii, TransactionSearchTileModule as ɵij, TransactionSearchTileComponent as ɵik, TransactionSearchResultComponent as ɵil, TransactionSalesOrderFilterModule as ɵim, TransactionSalesOrderFilterContentOrderModule as ɵin, TransactionSalesOrderFilterContentOrderComponent as ɵio, TransactionFilterContentBaseComponent as ɵip, FilterRequestService as ɵiq, TransactionSalesOrderFilterContentLogisticsModule as ɵir, TransactionFilterHistoricStateModule as ɵis, TransactionFilterHistoricStateComponent as ɵit, TransactionSalesOrderFilterContentLogisticsComponent as ɵiu, TransactionSalesOrderFilterContentArticleModule as ɵiv, TransactionSalesOrderFilterContentArticleComponent as ɵiw, TransactionSalesOrderFilterComponent as ɵix, TransactionFilterBaseComponent as ɵiy, TransactionPurchaseOrderFilterModule as ɵiz, PipeModule as ɵj, TransactionPurchaseOrderFilterContentOrderModule as ɵja, TransactionPurchaseOrderFilterContentOrderComponent as ɵjb, TransactionPurchaseOrderFilterContentLogisticsModule as ɵjc, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵjd, TransactionPurchaseOrderFilterContentArticleModule as ɵje, TransactionPurchaseOrderFilterContentArticleComponent as ɵjf, TransactionPurchaseOrderFilterComponent as ɵjg, TransactionFilterModule as ɵjh, TransactionFilterComponent as ɵji, AppendPipe as ɵk, DeliveryTimePipe as ɵl, DateDurationPipe as ɵm, LocalizePipe as ɵn, CoCurrencyPipe as ɵo, SafeStylePipe as ɵp, SafeHtmlPipe as ɵq, ConfirmationDialogComponent as ɵr, DialogBaseComponent as ɵs, CharacteristicAnswerModule as ɵt, CharacteristicAnswerComponent as ɵu, WarehouseModule as ɵv, WarehouseComponent as ɵw, ImageDisplayComponent as ɵx, IconComponent as ɵy, IconCacheService as ɵz };
18037
18647
  //# sourceMappingURL=colijnit-transaction.js.map