@colijnit/transaction 12.1.62 → 12.1.64

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 (77) hide show
  1. package/bundles/colijnit-transaction.umd.js +701 -549
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +250 -249
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +251 -250
  6. package/esm2015/lib/assets/dictionary/text.properties.js +9 -1
  7. package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +8 -4
  8. package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +5 -5
  9. package/esm2015/lib/component/relation/relation-general/relation-general.component.js +3 -1
  10. package/esm2015/lib/component/transaction-grid/transaction-available-stock-grid/transaction-available-stock-grid.component.js +94 -0
  11. package/esm2015/lib/component/transaction-grid/transaction-available-stock-grid/transaction-available-stock-grid.module.js +24 -0
  12. package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.component.js +6 -5
  13. package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +3 -3
  14. package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +31 -30
  15. package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +2 -2
  16. package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +13 -7
  17. package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.module.js +5 -4
  18. package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.js +4 -1
  19. package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +4 -4
  20. package/esm2015/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.component.js +90 -0
  21. package/esm2015/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.module.js +23 -0
  22. package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.module.js +4 -4
  23. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +8 -2
  24. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +4 -2
  25. package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +49 -13
  26. package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +9 -1
  27. package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +25 -18
  28. package/esm2015/lib/service/pending-reason.service.js +20 -12
  29. package/esm2015/lib/service/transaction-connector-adapter.service.js +14 -1
  30. package/esm2015/lib/service/transaction-connector.service.js +6 -1
  31. package/esm2015/lib/service/transaction.service.js +28 -56
  32. package/esm2015/public_api.js +2 -1
  33. package/fesm2015/colijnit-transaction.js +442 -249
  34. package/fesm2015/colijnit-transaction.js.map +1 -1
  35. package/lib/component/checkout/style/_layout.scss +1 -4
  36. package/lib/component/checkout/style/_material-definition.scss +3 -3
  37. package/lib/component/quick-send-button/style/_layout.scss +13 -9
  38. package/lib/component/quick-send-button/style/_material-definition.scss +5 -4
  39. package/lib/component/transaction-confirmation-details/style/_layout.scss +8 -9
  40. package/lib/component/transaction-grid/transaction-available-stock-grid/style/_layout.scss +4 -0
  41. package/lib/component/transaction-grid/transaction-available-stock-grid/style/_material-definition.scss +0 -0
  42. package/lib/component/transaction-grid/transaction-available-stock-grid/style/_theme.scss +4 -0
  43. package/lib/component/transaction-grid/transaction-available-stock-grid/style/material.scss +4 -0
  44. package/lib/component/transaction-grid/transaction-available-stock-grid/transaction-available-stock-grid.component.d.ts +25 -0
  45. package/lib/component/transaction-grid/transaction-available-stock-grid/transaction-available-stock-grid.module.d.ts +2 -0
  46. package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +1 -1
  47. package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +1 -0
  48. package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +5 -0
  49. package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +1 -0
  50. package/lib/component/transaction-header-fields/transaction-header-branch.component.d.ts +1 -0
  51. package/lib/component/transaction-line/transaction-line/style/_layout.scss +32 -11
  52. package/lib/component/transaction-line/transaction-overview-line/style/_layout.scss +8 -0
  53. package/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.d.ts +4 -0
  54. package/lib/component/transaction-line-fields/transaction-line-price/style/_layout.scss +14 -0
  55. package/lib/component/transaction-line-fields/transaction-line-price/style/_material-definition.scss +0 -0
  56. package/lib/component/transaction-line-fields/transaction-line-price/style/_theme.scss +4 -0
  57. package/lib/component/transaction-line-fields/transaction-line-price/style/material.scss +4 -0
  58. package/lib/component/transaction-line-fields/{transaction-line-price.component.d.ts → transaction-line-price/transaction-line-price.component.d.ts} +3 -2
  59. package/lib/component/transaction-line-fields/{transaction-line-price.module.d.ts → transaction-line-price/transaction-line-price.module.d.ts} +0 -0
  60. package/lib/component/transaction-lines/style/material.scss +1 -0
  61. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_layout.scss +3 -3
  62. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_material-definition.scss +1 -1
  63. package/lib/component/transaction-receiving-goods-details/style/_layout.scss +0 -1
  64. package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +11 -3
  65. package/lib/component/transaction-search/service/transaction-search.service.d.ts +2 -0
  66. package/lib/component/transaction-search/style/_material-definition.scss +12 -5
  67. package/lib/component/transaction-search/transaction-filter-content/style/_layout.scss +1 -6
  68. package/lib/component/transaction-search/transaction-search-header/style/_layout.scss +37 -26
  69. package/lib/component/transaction-search/transaction-search-header/style/_theme.scss +4 -1
  70. package/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.d.ts +1 -0
  71. package/lib/service/transaction-connector-adapter.service.d.ts +2 -0
  72. package/lib/service/transaction-connector.service.d.ts +2 -0
  73. package/lib/service/transaction.service.d.ts +2 -0
  74. package/package.json +6 -3
  75. package/public_api.d.ts +1 -0
  76. package/esm2015/lib/component/transaction-line-fields/transaction-line-price.component.js +0 -83
  77. package/esm2015/lib/component/transaction-line-fields/transaction-line-price.module.js +0 -23
@@ -45,6 +45,7 @@ import { DeliveryOrderStatus } from '@colijnit/transactionapi/build/model/delive
45
45
  import { SalesPerson } from '@colijnit/relationapi/build/model/sales-person.bo';
46
46
  import { StockStickersPrintLayouts } from '@colijnit/sharedapi/build/model/report/stock-stickers-print-layouts.bo';
47
47
  import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
48
+ import { AvailableStock } from '@colijnit/transactionapi/build/model/available-stock.bo';
48
49
  import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
49
50
  import { Articles } from '@colijnit/articleapi/build/articles';
50
51
  import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.bo';
@@ -138,6 +139,7 @@ class Dictionary {
138
139
  "ADDRESS_CHANGE": "Adres wijzigen",
139
140
  "ADMINISTRATIVE_MANAGER": "Administratief verantwoordelijke",
140
141
  "ALLOCATED": "Toegewezen",
142
+ "ALLOCATION": "Toewijzen",
141
143
  "ALWAYS_SHOW_LOGISTICS_POPUP": "Controleer magazijn en commissiecode",
142
144
  "ARRIVAL_DATE": "Aankomstdatum",
143
145
  "ARTICLE": "Artikel",
@@ -393,6 +395,8 @@ class Dictionary {
393
395
  "RELATION_NUMBER": "Relatienummer",
394
396
  "REMARKS": "Opmerkingen",
395
397
  "REQUESTED_DELIVERY": "Gevraagde leverdatum",
398
+ "RETURN_DETAILS": "Retour details",
399
+ "RETURN_STOCK": "Retourneren",
396
400
  "SALUTATION": "Aanhef",
397
401
  "SALESORDERS": "Verkooporders",
398
402
  "SAME_AS_DELIVERY": "Hetzelfde als bezorgadres",
@@ -403,6 +407,7 @@ class Dictionary {
403
407
  "SEARCH_DELIVERY_METHOD": "Zoek levermethode",
404
408
  "SEARCH_IN_COLLECTION": "Zoek binnen collectie...",
405
409
  "SEARCH_NUMBER_CUSTOMER_OR_DATE": "Zoeken op nummer, klant of datum",
410
+ "SEARCH_NUMBER_SUPPLIER_OR_DATE": "Zoeken op nummer, leverancier of datum",
406
411
  "SEARCH_PRICE_LIST": "Zoek prijslijst",
407
412
  "SEARCH_VAT": "Zoek btw",
408
413
  "SEARCH_WAREHOUSE": "Zoek magazijn",
@@ -495,6 +500,7 @@ class Dictionary {
495
500
  "ADDRESS_CHANGE": "Change address",
496
501
  "ADMINISTRATIVE_MANAGER": "Administrative manager",
497
502
  "ALLOCATED": "Allocated",
503
+ "ALLOCATION": "Allocation",
498
504
  "ALWAYS_SHOW_LOGISTICS_POPUP": "Check warehouse and commissioncode",
499
505
  "ARRIVAL_DATE": "Arrival date",
500
506
  "ARTICLE": "Article",
@@ -735,6 +741,8 @@ class Dictionary {
735
741
  "RELATION_NUMBER": "Relation number",
736
742
  "REMARKS": "Remarks",
737
743
  "REQUESTED_DELIVERY": "Requested delivery",
744
+ "RETURN_DETAILS": "Return details",
745
+ "RETURN_STOCK": "Return stock",
738
746
  "SALESORDERS": "Sales orders",
739
747
  "SALUTATION": "Salutation",
740
748
  "SAME_AS_DELIVERY": "Same as delivery address",
@@ -745,6 +753,7 @@ class Dictionary {
745
753
  "SEARCH_DELIVERY_METHOD": "Search deliverymethod",
746
754
  "SEARCH_IN_COLLECTION": "Search in collection...",
747
755
  "SEARCH_NUMBER_CUSTOMER_OR_DATE": "Search for number, customer or date",
756
+ "SEARCH_NUMBER_SUPPLIER_OR_DATE": "Search for number, supplier or date",
748
757
  "SEARCH_PRICE_LIST": "Search pricelist",
749
758
  "SEARCH_VAT": "Search vat",
750
759
  "SEARCH_WAREHOUSE": "Search warehouse",
@@ -3576,6 +3585,18 @@ class TransactionConnectorAdapterService {
3576
3585
  }
3577
3586
  });
3578
3587
  }
3588
+ getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr) {
3589
+ return __awaiter(this, void 0, void 0, function* () {
3590
+ const response = yield this.connector.getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr);
3591
+ if (response && response.validationResult && response.validationResult.success) {
3592
+ return this._boFactory.makeBOArrayFromRawBackendDataArray(AvailableStock, response.resultObject);
3593
+ }
3594
+ else {
3595
+ this._handleExceptionFromResponse(response);
3596
+ return null;
3597
+ }
3598
+ });
3599
+ }
3579
3600
  _handleExceptionFromResponse(result) {
3580
3601
  this._errorService.showValidationError(result);
3581
3602
  }
@@ -4122,6 +4143,11 @@ class TransactionConnectorService {
4122
4143
  return yield this._adapterService.getStockStickerTemplates(data);
4123
4144
  });
4124
4145
  }
4146
+ getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr) {
4147
+ return __awaiter(this, void 0, void 0, function* () {
4148
+ return yield this._adapterService.getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr);
4149
+ });
4150
+ }
4125
4151
  }
4126
4152
  TransactionConnectorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionConnectorService_Factory() { return new TransactionConnectorService(i0.ɵɵinject(TransactionConnectorAdapterService), i0.ɵɵinject(SelectSingleCacheService), i0.ɵɵinject(SelectMultipleCacheService), i0.ɵɵinject(SelectMultipleParameterizedCacheService)); }, token: TransactionConnectorService, providedIn: "root" });
4127
4153
  TransactionConnectorService.decorators = [
@@ -4506,6 +4532,10 @@ class PendingReasonService {
4506
4532
  const status = response.headerOperationStatuses[i];
4507
4533
  success = success && (yield this._handleHeaderOperationStatus(status, response.transactionInfo));
4508
4534
  }
4535
+ const hasPendingReasons = response.headerOperationStatuses.filter(los => los.pendingReason !== "NONE").length > 0;
4536
+ if (!hasPendingReasons) {
4537
+ this.rememberCurrentTransaction(response);
4538
+ }
4509
4539
  return success;
4510
4540
  });
4511
4541
  }
@@ -4544,6 +4574,10 @@ class PendingReasonService {
4544
4574
  const transLine = response.transactionLines.find(t => t.lineNr === status.lineNr);
4545
4575
  success = success && (yield this._handleLineOperationStatus(status, transLine));
4546
4576
  }
4577
+ const hasPendingReasons = response.lineOperationStatuses.filter(los => los.pendingReason !== "NONE").length > 0;
4578
+ if (!hasPendingReasons) {
4579
+ this.rememberCurrentTransaction(response);
4580
+ }
4547
4581
  return success;
4548
4582
  });
4549
4583
  }
@@ -4594,14 +4628,14 @@ class PendingReasonService {
4594
4628
  resolvePendingLineReason(pendingLineValues) {
4595
4629
  return __awaiter(this, void 0, void 0, function* () {
4596
4630
  const response = yield this.connector.resolvePendingLineReason(pendingLineValues);
4597
- this.rememberCurrentTransaction(response);
4631
+ // this.rememberCurrentTransaction(response);
4598
4632
  this.handleLineOperationStatuses(response);
4599
4633
  });
4600
4634
  }
4601
4635
  resolvePendingHeaderReason(pendingHeaderValues) {
4602
4636
  return __awaiter(this, void 0, void 0, function* () {
4603
4637
  const response = yield this.connector.resolvePendingHeaderReason(pendingHeaderValues);
4604
- this.rememberCurrentTransaction(response);
4638
+ // this.rememberCurrentTransaction(response);
4605
4639
  return this.handleHeaderOperationStatuses(response);
4606
4640
  });
4607
4641
  }
@@ -4669,18 +4703,18 @@ class PendingReasonService {
4669
4703
  }
4670
4704
  _getRelation(relation) {
4671
4705
  if (relation) {
4672
- if (relation.relationType === RelationKind.Customer) {
4673
- this.relationConnector.getRelationNumber(relation.relationId).then((relationNr) => {
4706
+ this.relationConnector.getRelationNumber(relation.relationId).then((relationNr) => {
4707
+ if (relation.relationType === RelationKind.Customer) {
4674
4708
  this.relationConnector.getCustomerFullObject(parseInt(relationNr, 0)).then((customer) => {
4675
4709
  this.relation = customer;
4676
4710
  });
4677
- });
4678
- }
4679
- else if (relation.relationType === RelationKind.Supplier) {
4680
- this.relationConnector.getSupplierFullObject(relation.relationId).then((supplier) => {
4681
- this.relation = supplier;
4682
- });
4683
- }
4711
+ }
4712
+ else if (relation.relationType === RelationKind.Supplier) {
4713
+ this.relationConnector.getSupplierFullObject(parseInt(relationNr, 0)).then((supplier) => {
4714
+ this.relation = supplier;
4715
+ });
4716
+ }
4717
+ });
4684
4718
  }
4685
4719
  }
4686
4720
  }
@@ -4738,9 +4772,7 @@ class TransactionService extends PendingReasonService {
4738
4772
  return __awaiter(this, void 0, void 0, function* () {
4739
4773
  const response = yield this.connector.changeHeaderTransactionDefinitive(uuid, definitive);
4740
4774
  if (response) {
4741
- const success = yield this.handleHeaderOperationStatuses(response);
4742
- this.rememberCurrentTransaction(response);
4743
- return success;
4775
+ return this.handleHeaderOperationStatuses(response);
4744
4776
  }
4745
4777
  return false;
4746
4778
  });
@@ -4749,9 +4781,7 @@ class TransactionService extends PendingReasonService {
4749
4781
  return __awaiter(this, void 0, void 0, function* () {
4750
4782
  const response = yield this.connector.changeHeaderDeliveryAddress(uuid, newNawNr);
4751
4783
  if (response) {
4752
- const success = yield this.handleHeaderOperationStatuses(response);
4753
- this.rememberCurrentTransaction(response);
4754
- return success;
4784
+ return this.handleHeaderOperationStatuses(response);
4755
4785
  }
4756
4786
  return false;
4757
4787
  });
@@ -4760,9 +4790,7 @@ class TransactionService extends PendingReasonService {
4760
4790
  return __awaiter(this, void 0, void 0, function* () {
4761
4791
  const response = yield this.connector.changeHeaderInvoiceAddress(uuid, newNawNr);
4762
4792
  if (response) {
4763
- const success = yield this.handleHeaderOperationStatuses(response);
4764
- this.rememberCurrentTransaction(response);
4765
- return success;
4793
+ return this.handleHeaderOperationStatuses(response);
4766
4794
  }
4767
4795
  return false;
4768
4796
  });
@@ -4771,9 +4799,7 @@ class TransactionService extends PendingReasonService {
4771
4799
  return __awaiter(this, void 0, void 0, function* () {
4772
4800
  const response = yield this.connector.changeHeaderTransactionDeliveryDate(uuid, date);
4773
4801
  if (response) {
4774
- const success = yield this.handleHeaderOperationStatuses(response);
4775
- this.rememberCurrentTransaction(response);
4776
- return success;
4802
+ return this.handleHeaderOperationStatuses(response);
4777
4803
  }
4778
4804
  return false;
4779
4805
  });
@@ -4782,9 +4808,7 @@ class TransactionService extends PendingReasonService {
4782
4808
  return __awaiter(this, void 0, void 0, function* () {
4783
4809
  const response = yield this.connector.changeHeaderTransactionRemark(uuid, remark);
4784
4810
  if (response) {
4785
- const success = yield this.handleHeaderOperationStatuses(response);
4786
- this.rememberCurrentTransaction(response);
4787
- return success;
4811
+ return this.handleHeaderOperationStatuses(response);
4788
4812
  }
4789
4813
  return false;
4790
4814
  });
@@ -4793,9 +4817,7 @@ class TransactionService extends PendingReasonService {
4793
4817
  return __awaiter(this, void 0, void 0, function* () {
4794
4818
  const response = yield this.connector.changeHeaderTransactionReference(uuid, reference);
4795
4819
  if (response) {
4796
- const success = yield this.handleHeaderOperationStatuses(response);
4797
- this.rememberCurrentTransaction(response);
4798
- return success;
4820
+ return this.handleHeaderOperationStatuses(response);
4799
4821
  }
4800
4822
  return false;
4801
4823
  });
@@ -4804,9 +4826,7 @@ class TransactionService extends PendingReasonService {
4804
4826
  return __awaiter(this, void 0, void 0, function* () {
4805
4827
  const response = yield this.connector.changeHeaderTransactionRelationReference(uuid, reference);
4806
4828
  if (response) {
4807
- const success = yield this.handleHeaderOperationStatuses(response);
4808
- this.rememberCurrentTransaction(response);
4809
- return success;
4829
+ return this.handleHeaderOperationStatuses(response);
4810
4830
  }
4811
4831
  return false;
4812
4832
  });
@@ -4815,9 +4835,7 @@ class TransactionService extends PendingReasonService {
4815
4835
  return __awaiter(this, void 0, void 0, function* () {
4816
4836
  const response = yield this.connector.changeHeaderToDownPayAmount(uuid, amount);
4817
4837
  if (response) {
4818
- const success = yield this.handleHeaderOperationStatuses(response);
4819
- this.rememberCurrentTransaction(response);
4820
- return success;
4838
+ return this.handleHeaderOperationStatuses(response);
4821
4839
  }
4822
4840
  return false;
4823
4841
  });
@@ -4826,9 +4844,7 @@ class TransactionService extends PendingReasonService {
4826
4844
  return __awaiter(this, void 0, void 0, function* () {
4827
4845
  const response = yield this.connector.changeHeaderToDownPayPercentage(uuid, amount);
4828
4846
  if (response) {
4829
- const success = yield this.handleHeaderOperationStatuses(response);
4830
- this.rememberCurrentTransaction(response);
4831
- return success;
4847
+ return this.handleHeaderOperationStatuses(response);
4832
4848
  }
4833
4849
  return false;
4834
4850
  });
@@ -4837,9 +4853,7 @@ class TransactionService extends PendingReasonService {
4837
4853
  return __awaiter(this, void 0, void 0, function* () {
4838
4854
  const response = yield this.connector.changeHeaderTransactionPreferredDeliveryDate(uuid, date);
4839
4855
  if (response) {
4840
- const success = yield this.handleHeaderOperationStatuses(response);
4841
- this.rememberCurrentTransaction(response);
4842
- return success;
4856
+ return this.handleHeaderOperationStatuses(response);
4843
4857
  }
4844
4858
  return false;
4845
4859
  });
@@ -4848,9 +4862,7 @@ class TransactionService extends PendingReasonService {
4848
4862
  return __awaiter(this, void 0, void 0, function* () {
4849
4863
  const response = yield this.connector.changeHeaderTransactionDeliveryMethod(uuid, method);
4850
4864
  if (response) {
4851
- const success = yield this.handleHeaderOperationStatuses(response);
4852
- this.rememberCurrentTransaction(response);
4853
- return success;
4865
+ return this.handleHeaderOperationStatuses(response);
4854
4866
  }
4855
4867
  return false;
4856
4868
  });
@@ -4859,9 +4871,7 @@ class TransactionService extends PendingReasonService {
4859
4871
  return __awaiter(this, void 0, void 0, function* () {
4860
4872
  const response = yield this.connector.changeHeaderTransactionDeliveryOptions(uuid, options);
4861
4873
  if (response) {
4862
- const success = yield this.handleHeaderOperationStatuses(response);
4863
- this.rememberCurrentTransaction(response);
4864
- return success;
4874
+ return this.handleHeaderOperationStatuses(response);
4865
4875
  }
4866
4876
  return false;
4867
4877
  });
@@ -4870,9 +4880,7 @@ class TransactionService extends PendingReasonService {
4870
4880
  return __awaiter(this, void 0, void 0, function* () {
4871
4881
  const response = yield this.connector.changeHeaderTransactionPartialDelivery(uuid, allowPartial);
4872
4882
  if (response) {
4873
- const success = yield this.handleHeaderOperationStatuses(response);
4874
- this.rememberCurrentTransaction(response);
4875
- return success;
4883
+ return this.handleHeaderOperationStatuses(response);
4876
4884
  }
4877
4885
  return false;
4878
4886
  });
@@ -4881,9 +4889,7 @@ class TransactionService extends PendingReasonService {
4881
4889
  return __awaiter(this, void 0, void 0, function* () {
4882
4890
  const response = yield this.connector.changeHeaderTransactionBranch(uuid, branch);
4883
4891
  if (response) {
4884
- const success = yield this.handleHeaderOperationStatuses(response);
4885
- this.rememberCurrentTransaction(response);
4886
- return success;
4892
+ return this.handleHeaderOperationStatuses(response);
4887
4893
  }
4888
4894
  return false;
4889
4895
  });
@@ -4892,9 +4898,7 @@ class TransactionService extends PendingReasonService {
4892
4898
  return __awaiter(this, void 0, void 0, function* () {
4893
4899
  const response = yield this.connector.changeHeaderTransactionAdmCoordinator(uuid, relation);
4894
4900
  if (response) {
4895
- const success = yield this.handleHeaderOperationStatuses(response);
4896
- this.rememberCurrentTransaction(response);
4897
- return success;
4901
+ return this.handleHeaderOperationStatuses(response);
4898
4902
  }
4899
4903
  return false;
4900
4904
  });
@@ -4903,9 +4907,7 @@ class TransactionService extends PendingReasonService {
4903
4907
  return __awaiter(this, void 0, void 0, function* () {
4904
4908
  const response = yield this.connector.changeHeaderTransactionMarketing(uuid, code);
4905
4909
  if (response) {
4906
- const success = yield this.handleHeaderOperationStatuses(response);
4907
- this.rememberCurrentTransaction(response);
4908
- return success;
4910
+ return this.handleHeaderOperationStatuses(response);
4909
4911
  }
4910
4912
  return false;
4911
4913
  });
@@ -4914,9 +4916,7 @@ class TransactionService extends PendingReasonService {
4914
4916
  return __awaiter(this, void 0, void 0, function* () {
4915
4917
  const response = yield this.connector.changeHeaderTransactionDiscount(uuid, type, amount);
4916
4918
  if (response) {
4917
- const success = yield this.handleHeaderOperationStatuses(response);
4918
- this.rememberCurrentTransaction(response);
4919
- return success;
4919
+ return this.handleHeaderOperationStatuses(response);
4920
4920
  }
4921
4921
  return false;
4922
4922
  });
@@ -5095,7 +5095,10 @@ class TransactionService extends PendingReasonService {
5095
5095
  return __awaiter(this, void 0, void 0, function* () {
5096
5096
  const response = yield this.connector.saveTransaction(this.currentTransaction.transactionInfo.uuid);
5097
5097
  if (response && response.isSuccess) {
5098
- this.rememberCurrentTransaction(response);
5098
+ const lockSuccess = yield this.tryToLockTransaction(response.transactionInfo.id, response.transactionInfo.version);
5099
+ if (lockSuccess) {
5100
+ this.rememberCurrentTransaction(response);
5101
+ }
5099
5102
  }
5100
5103
  return response;
5101
5104
  });
@@ -5105,9 +5108,7 @@ class TransactionService extends PendingReasonService {
5105
5108
  yield this._checkAndCreateTransaction();
5106
5109
  const response = yield this.connector.addRelationToTransaction(this.currentTransaction.transactionInfo.uuid, relationId);
5107
5110
  if (response) {
5108
- const success = yield this.handleHeaderOperationStatuses(response);
5109
- this.rememberCurrentTransaction(response);
5110
- return success;
5111
+ return this.handleHeaderOperationStatuses(response);
5111
5112
  }
5112
5113
  return false;
5113
5114
  });
@@ -5365,6 +5366,11 @@ class TransactionService extends PendingReasonService {
5365
5366
  return yield this.connector.getDeliveryOrderStatus(transId, lineId);
5366
5367
  });
5367
5368
  }
5369
+ getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr) {
5370
+ return __awaiter(this, void 0, void 0, function* () {
5371
+ return yield this.connector.getAvailableStockGroupedByWLBSByTransIdLineNr(transId, lineNr);
5372
+ });
5373
+ }
5368
5374
  // private _cleanRelationBeforeSave(): void {
5369
5375
  // ArrayUtils.RemoveElementsByFilter(this.currentTransaction.transactionInfo.relation.contactOptions, ((item: ContactOption) => {
5370
5376
  // return isNill(item.value);
@@ -5606,7 +5612,7 @@ CheckoutOverviewRelationEditComponent.decorators = [
5606
5612
  <div class="checkout-form-wrapper">
5607
5613
  <div class="checkout-label-column">
5608
5614
  <span>01</span>
5609
- <span class="label" [textContent]="'PERSONAL_DATA' | localize"></span>
5615
+ <span class="label-description" [textContent]="'PERSONAL_DATA' | localize"></span>
5610
5616
  </div>
5611
5617
  <div class="checkout-data-column">
5612
5618
  <div class="checkout-data-row">
@@ -5638,7 +5644,7 @@ CheckoutOverviewRelationEditComponent.decorators = [
5638
5644
  </div>
5639
5645
  <div class="checkout-label-column">
5640
5646
  <span>02</span>
5641
- <span class="label" [textContent]="'INVOICE_ADDRESS' | localize"></span>
5647
+ <span class="label-description" [textContent]="'INVOICE_ADDRESS' | localize"></span>
5642
5648
  </div>
5643
5649
  <div class="checkout-data-column">
5644
5650
  <div class="checkout-data-row">
@@ -5658,7 +5664,7 @@ CheckoutOverviewRelationEditComponent.decorators = [
5658
5664
  </div>
5659
5665
  <div class="checkout-label-column">
5660
5666
  <span>03</span>
5661
- <span class="label" [textContent]="'CONTACT_DETAILS' | localize"></span>
5667
+ <span class="label-description" [textContent]="'CONTACT_DETAILS' | localize"></span>
5662
5668
  </div>
5663
5669
  <div class="checkout-data-column">
5664
5670
  <div class="checkout-data-row">
@@ -5667,7 +5673,7 @@ CheckoutOverviewRelationEditComponent.decorators = [
5667
5673
  </div>
5668
5674
  <div class="checkout-label-column">
5669
5675
  <span>04</span>
5670
- <span class="label" [textContent]="'PRIVACY_PREFERENCES' | localize"></span>
5676
+ <span class="label-description" [textContent]="'PRIVACY_PREFERENCES' | localize"></span>
5671
5677
  </div>
5672
5678
  <div class="checkout-data-column">
5673
5679
  <div class="checkout-data-row">
@@ -5859,7 +5865,7 @@ CheckoutOverviewDeliveryEditComponent.decorators = [
5859
5865
  <div class="checkout-form-wrapper">
5860
5866
  <div class="checkout-label-column">
5861
5867
  <span>01</span>
5862
- <span class="label" [textContent]="'DELIVERY_DATA' | localize"></span>
5868
+ <span class="label-description" [textContent]="'DELIVERY_DATA' | localize"></span>
5863
5869
  </div>
5864
5870
  <div class="checkout-data-column">
5865
5871
  <div class="checkout-data-row">
@@ -5907,29 +5913,33 @@ CheckoutOverviewDeliveryEditComponent.decorators = [
5907
5913
  </div>
5908
5914
  </co-collapsible>
5909
5915
  </div>
5916
+ <!--
5910
5917
  <div class="checkout-data-row">
5911
5918
  <co-input-date [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'ASSEMBLY_DATE' | localize"></co-input-date>
5912
5919
  </div>
5920
+ -->
5913
5921
  </div>
5914
5922
  <div class="checkout-label-column">
5915
5923
  <span>02</span>
5916
- <span class="label" [textContent]="'DOWNPAYMENT' | localize"></span>
5924
+ <span class="label-description" [textContent]="'DOWNPAYMENT' | localize"></span>
5917
5925
  </div>
5918
5926
  <div class="checkout-data-column">
5919
5927
  <div class="checkout-data-row">
5920
5928
  <co-transaction-header-downpayment-percentage [transactionInfo]="transaction.transactionInfo"></co-transaction-header-downpayment-percentage>
5921
5929
  <co-transaction-header-downpayment-amount [transactionInfo]="transaction.transactionInfo"></co-transaction-header-downpayment-amount>
5922
5930
  </div>
5931
+ <!--
5923
5932
  <div class="checkout-data-row">
5924
5933
  <co-input-text [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'DOWNPAYMENT_BY_BR' | localize"></co-input-text>
5925
5934
  </div>
5926
5935
  <div class="checkout-data-row">
5927
5936
  <co-input-text [model]="'NOG_NIET_GEIMPLEMENTEERD'" [placeholder]="'DOWNPAYMENT_ON_DELIVERY' | localize"></co-input-text>
5928
5937
  </div>
5938
+ -->
5929
5939
  </div>
5930
5940
  <div class="checkout-label-column">
5931
5941
  <span>03</span>
5932
- <span class="label" [textContent]="'ORDER_DATA' | localize"></span>
5942
+ <span class="label-description" [textContent]="'ORDER_DATA' | localize"></span>
5933
5943
  </div>
5934
5944
  <div class="checkout-data-column">
5935
5945
  <div class="checkout-data-row">
@@ -8458,6 +8468,11 @@ class TransactionSearchService {
8458
8468
  [TransactionKind.PurchaseOrder, "PURCHASEORDERS"],
8459
8469
  [TransactionKind.ServiceOrder, "SERVICEORDERS"]
8460
8470
  ]);
8471
+ this.placeholderBasedOnTransactionType = new Map([
8472
+ [TransactionKind.SalesOrder, "SEARCH_NUMBER_CUSTOMER_OR_DATE"],
8473
+ [TransactionKind.PurchaseOrder, "SEARCH_NUMBER_SUPPLIER_OR_DATE"],
8474
+ [TransactionKind.ServiceOrder, "SEARCH_NUMBER_CUSTOMER_OR_DATE"]
8475
+ ]);
8461
8476
  this.transactionsPerPage = 20;
8462
8477
  this._currentPage = 1;
8463
8478
  this._transactionType = TransactionKind.SalesOrder;
@@ -8496,6 +8511,9 @@ class TransactionSearchService {
8496
8511
  getLabelBasedOnTransactionType() {
8497
8512
  return this.labelBasedOnTransactionType.get(this._transactionType);
8498
8513
  }
8514
+ getSearchPlaceholderBasedOnTransactionType() {
8515
+ return this.placeholderBasedOnTransactionType.get(this._transactionType);
8516
+ }
8499
8517
  resetFilters() {
8500
8518
  this.setPreviousSearchRequest();
8501
8519
  this._resetRequest();
@@ -9203,6 +9221,8 @@ class TransactionReceiveGoodsService {
9203
9221
  this._transactionService = _transactionService;
9204
9222
  this._transactionEventService = _transactionEventService;
9205
9223
  this.lines = [];
9224
+ this.returnArticleSelected = new Subject();
9225
+ this.reloadAvailableStockData = new Subject();
9206
9226
  this._subscriptions = [];
9207
9227
  this._subscriptions.push(this._transactionEventService.commitReceivePurchaseOrders.subscribe((value => {
9208
9228
  this.handleReceiveSelectedPurchaseOrders(value);
@@ -9844,40 +9864,41 @@ TransactionOverviewLineComponent.decorators = [
9844
9864
  <co-transaction-base-line [line]="line" [preview]="preview">
9845
9865
  <ng-container *ngIf="line.isArticle">
9846
9866
  <div class="transaction-line-wrapper">
9847
- <div *ngIf=!preview class="transaction-line-stock">
9848
- <div class="transaction-line-stock-wrapper">
9849
- <stock-status-indicator [model]="stock"></stock-status-indicator>
9850
- </div>
9851
- </div>
9852
9867
  <div *ngIf=!preview class="transaction-line-extended-wrapper">
9853
- <co-transaction-line-commission-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-commission-button>
9854
- <co-transaction-line-warehouse-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
9855
- <co-transaction-line-delivery-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-delivery-button>
9856
- <co-transaction-line-delivery-date-button [transactionLine]="line" class="two-column"></co-transaction-line-delivery-date-button>
9857
- <co-transaction-line-statusbar [transaction]="line" [transactionKind]="transactionKind"></co-transaction-line-statusbar>
9858
- </div>
9859
- <div *ngIf="!preview" class="transaction-line-button" (click)="showDialogVat = true">
9860
- <span class="co-transaction-overflow-ellipsis" [textContent]="line.vatDescription"></span>
9868
+ <div class="column1">
9869
+ <co-transaction-line-commission-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-commission-button>
9870
+ <co-transaction-line-warehouse-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
9871
+ <co-transaction-line-delivery-date-button [transactionLine]="line" class="two-column"></co-transaction-line-delivery-date-button>
9872
+ </div>
9873
+ <div class="column2">
9874
+ <co-transaction-line-delivery-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-delivery-button>
9875
+ <co-transaction-line-statusbar [transaction]="line" [transactionKind]="transactionKind"></co-transaction-line-statusbar>
9876
+ </div>
9861
9877
  </div>
9862
- <div class="transaction-line-totals">
9863
- <co-transaction-line-price class="transaction-line-totals-price price"
9864
- [transactionLine]="line"
9865
- [showLabel]="false"
9866
- [defaultEditMode]="false"
9867
- ></co-transaction-line-price>
9868
- <div class="transaction-line-button custom-width transaction-line-totals-discount" (click)="showDialogDiscount = true">
9878
+ <div class="transaction-line-section">
9879
+ <div *ngIf="!preview" class="transaction-line-button vat-button" (click)="showDialogVat = true">
9880
+ <span class="co-transaction-overflow-ellipsis" [textContent]="line.vatDescription"></span>
9881
+ </div>
9882
+ <div class="transaction-line-totals">
9883
+ <co-transaction-line-price class="transaction-line-totals-price price"
9884
+ [transactionLine]="line"
9885
+ [showLabel]="false"
9886
+ [defaultEditMode]="false"
9887
+ ></co-transaction-line-price>
9888
+ <div class="transaction-line-button custom-width transaction-line-totals-discount" (click)="showDialogDiscount = true">
9869
9889
  <span class="co-transaction-overflow-ellipsis" [class.transaction-negative-value]="line.lineTotalDiscountAmount < 0"
9870
9890
  [textContent]="(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)"></span>
9891
+ </div>
9892
+ <div *ngIf=!preview class="transaction-line-totals-amount">
9893
+ <co-transaction-line-amount class="amount-number-picker" [transactionLine]="line"></co-transaction-line-amount>
9894
+ </div>
9895
+ <co-editable-label class="transaction-line-totals-total price"
9896
+ [model]="line.displayNetLineTotal | coCurrency"
9897
+ [editModel]="line.displayNetLineTotal"
9898
+ [readonly]="true"
9899
+ [commit]="!readonly"
9900
+ ></co-editable-label>
9871
9901
  </div>
9872
- <div *ngIf=!preview class="transaction-line-totals-amount">
9873
- <co-transaction-line-amount class="amount-number-picker" [transactionLine]="line"></co-transaction-line-amount>
9874
- </div>
9875
- <co-editable-label class="transaction-line-totals-total price"
9876
- [model]="line.displayNetLineTotal | coCurrency"
9877
- [editModel]="line.displayNetLineTotal"
9878
- [readonly]="readonly"
9879
- [commit]="!readonly"
9880
- ></co-editable-label>
9881
9902
  </div>
9882
9903
  </div>
9883
9904
  </ng-container>
@@ -10118,7 +10139,7 @@ class TransactionReceiveGoodsLineComponent extends TransactionLinesLineBaseCompo
10118
10139
  this.allowPartialDelivery = this.service.currentTransaction.transactionInfo.allowPartialDelivery;
10119
10140
  this._initViewModel();
10120
10141
  this._subscriptions.push(this._transactionEventService.selectAllLines.subscribe((value) => {
10121
- this.viewModel.selected = this.viewModel.quantityReceived === this.viewModel.amount ? false : value;
10142
+ this.viewModel.selected = this.viewModel.quantityReceived === this.viewModel.amount || this.viewModel.quantityToReceive < 0 ? false : value;
10122
10143
  }), this.lineVisible.subscribe(() => this.handleRowVisible()));
10123
10144
  }
10124
10145
  ngOnDestroy() {
@@ -10138,7 +10159,7 @@ class TransactionReceiveGoodsLineComponent extends TransactionLinesLineBaseCompo
10138
10159
  const goodsReceiptStatus = yield this._transactionService.getGoodsReceiptStatus(this.transactionId, this.line.lineNr);
10139
10160
  this.viewModel.quantityToReceive = goodsReceiptStatus.quantityToReceive;
10140
10161
  this.viewModel.quantityReceived = goodsReceiptStatus.quantityReceived;
10141
- this.viewModel.selected = this.viewModel.quantityReceived !== this.viewModel.amount && !this.viewModel.isSerialNrRequired && !this.viewModel.isBatchNrRequired;
10162
+ this.viewModel.selected = this.viewModel.quantityReceived !== this.viewModel.amount && !this.viewModel.isSerialNrRequired && !this.viewModel.isBatchNrRequired && this.viewModel.quantityToReceive > 0;
10142
10163
  this._transactionReceiveGoodsService.lines.push(this.viewModel);
10143
10164
  }
10144
10165
  });
@@ -10177,7 +10198,7 @@ TransactionReceiveGoodsLineComponent.decorators = [
10177
10198
  </div>
10178
10199
  <co-input-checkbox class="transaction-line-checkbox"
10179
10200
  [(model)]="viewModel.selected"
10180
- [disabled]="viewModel.quantityReceived === viewModel.amount"
10201
+ [disabled]="viewModel.quantityReceived === viewModel.amount || viewModel.quantityToReceive < 0"
10181
10202
  ></co-input-checkbox>
10182
10203
  <div class="print-button">
10183
10204
  <co-icon [iconData]="iconCacheService.getIcon(icons.PrintSolid)"></co-icon>
@@ -10234,12 +10255,18 @@ TransactionPurchaseLineComponent.decorators = [
10234
10255
  <ng-container *ngIf="line.isArticle">
10235
10256
  <div class="transaction-line-wrapper">
10236
10257
  <div *ngIf=!preview class="transaction-line-extended-wrapper">
10237
- <co-transaction-line-supplier-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-supplier-button>
10238
- <co-transaction-line-commission-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-commission-button>
10239
- <co-transaction-line-warehouse-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
10240
- <co-transaction-line-delivery-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-delivery-button>
10241
- <co-transaction-line-delivery-date-button [transactionLine]="line" class="two-column"></co-transaction-line-delivery-date-button>
10242
- <co-transaction-line-statusbar [transaction]="line" [transactionKind]="service.currentTransaction.transactionInfo.transactionKind"></co-transaction-line-statusbar>
10258
+ <div class="column1">
10259
+ <co-transaction-line-commission-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-commission-button>
10260
+ <co-transaction-line-warehouse-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-warehouse-button>
10261
+ <co-transaction-line-delivery-date-button [transactionLine]="line" class="two-column"></co-transaction-line-delivery-date-button>
10262
+ </div>
10263
+ <div class="column2">
10264
+ <co-transaction-line-delivery-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-delivery-button>
10265
+ <co-transaction-line-statusbar [transaction]="line" [transactionKind]="service.currentTransaction.transactionInfo.transactionKind"></co-transaction-line-statusbar>
10266
+ </div>
10267
+ <div class="column3">
10268
+ <co-transaction-line-supplier-button [transactionLine]="line" [transactionInfo]="service.currentTransaction.transactionInfo"></co-transaction-line-supplier-button>
10269
+ </div>
10243
10270
  </div>
10244
10271
  <div class="transaction-line-totals">
10245
10272
  <co-transaction-line-price class="transaction-line-totals-price price"
@@ -12109,9 +12136,11 @@ RelationGeneralComponent.decorators = [
12109
12136
  (modelChange)="changeGenderType(genderType.Unspecified)"
12110
12137
  ></co-input-radio-button>
12111
12138
  </div>
12139
+ <!--
12112
12140
  <div class="default-data-row">
12113
12141
  <co-input-date [readonly]="readonly" [placeholder]="'DATE_OF_BIRTH' | localize " [(model)]="dateOfBirth"></co-input-date>
12114
12142
  </div>
12143
+ -->
12115
12144
  </div>
12116
12145
  <div *ngIf="relation?.type === relType.Company" class="default-data-row collapseable" @showHideCompanyRelationFields>
12117
12146
  <co-input-text [readonly]="readonly" [(model)]="relation.familyName" [placeholder]="'COMPANY_NAME' | localize" [required]="true"></co-input-text>
@@ -14065,9 +14094,6 @@ class TransactionHeaderBranchComponent extends TransactionHeaderBaseComponent {
14065
14094
  this.fields = { text: "description", value: "relationId" };
14066
14095
  }
14067
14096
  ngOnInit() {
14068
- this._relationService.getBranches().then((branches) => {
14069
- this.collection = branches;
14070
- });
14071
14097
  }
14072
14098
  commit(branch) {
14073
14099
  return __awaiter(this, void 0, void 0, function* () {
@@ -14090,6 +14116,10 @@ class TransactionHeaderBranchComponent extends TransactionHeaderBaseComponent {
14090
14116
  }
14091
14117
  transactionInfoSet() {
14092
14118
  this.readonly = this.readonly || this.transactionInfo.deliveryDateDefinitive;
14119
+ this._relationService.getBranches().then((branches) => {
14120
+ this.collection = branches;
14121
+ this.branchModel = this.transactionInfo.branch.relationId;
14122
+ });
14093
14123
  }
14094
14124
  }
14095
14125
  TransactionHeaderBranchComponent.decorators = [
@@ -14104,7 +14134,7 @@ TransactionHeaderBranchComponent.decorators = [
14104
14134
  [filterType]="'Contains'"
14105
14135
  [collection]="collection"
14106
14136
  [fields]="fields"
14107
- [model]="transactionInfo.branch"
14137
+ [model]="branchModel"
14108
14138
  (modelChange)="commit($event)">
14109
14139
  </co-drop-down-list>
14110
14140
  </ng-container>
@@ -15689,102 +15719,6 @@ TransactionLineLineDiscountModule.decorators = [
15689
15719
  },] }
15690
15720
  ];
15691
15721
 
15692
- class TransactionLinePriceComponent extends TransactionLineBaseComponent {
15693
- constructor(_transactionService) {
15694
- super();
15695
- this._transactionService = _transactionService;
15696
- this.showLabel = true;
15697
- this.defaultEditMode = true;
15698
- this._editMode = false;
15699
- }
15700
- set child(content) {
15701
- if (content) {
15702
- this.input = content;
15703
- this.input.commit = (price) => this.commit(price);
15704
- if (this._editMode) {
15705
- this.input.requestFocus();
15706
- }
15707
- }
15708
- }
15709
- set editMode(value) {
15710
- this._editMode = value;
15711
- if (this._editMode && this.input) {
15712
- this.input.doFocus();
15713
- }
15714
- }
15715
- get editMode() {
15716
- return this._editMode;
15717
- }
15718
- handleClick(event) {
15719
- event.preventDefault();
15720
- event.stopPropagation();
15721
- if (!this.readonly) {
15722
- this.editMode = true;
15723
- }
15724
- }
15725
- commit(price) {
15726
- return __awaiter(this, void 0, void 0, function* () {
15727
- if (this.transactionLine.price !== price) {
15728
- const oldPrice = this.transactionLine.price;
15729
- const success = yield this._transactionService.updatePriceTransactionLine(this._transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, price);
15730
- if (!success) {
15731
- this.input.model = oldPrice;
15732
- }
15733
- return success;
15734
- }
15735
- return true;
15736
- });
15737
- }
15738
- transactionLineSet() {
15739
- this.readonly = this.readonly || !this.transactionLine.articleFreePrice;
15740
- }
15741
- }
15742
- TransactionLinePriceComponent.decorators = [
15743
- { type: Component, args: [{
15744
- selector: "co-transaction-line-price",
15745
- template: `
15746
- <span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionLine.price | coCurrency"></span>
15747
- <co-input-text #input *ngIf="editMode || defaultEditMode"
15748
- [placeholder]="showLabel ? ('PRICE' | localize) : ''"
15749
- [type]="'number'"
15750
- [showSaveCancel]="!readonly"
15751
- [readonly]="readonly"
15752
- [model]="transactionLine.price"
15753
- (blur)="editMode = false"
15754
- ></co-input-text>
15755
- `,
15756
- encapsulation: ViewEncapsulation.None
15757
- },] }
15758
- ];
15759
- TransactionLinePriceComponent.ctorParameters = () => [
15760
- { type: TransactionService }
15761
- ];
15762
- TransactionLinePriceComponent.propDecorators = {
15763
- child: [{ type: ViewChild, args: ['input', { read: InputTextComponent },] }],
15764
- showLabel: [{ type: Input }],
15765
- defaultEditMode: [{ type: Input }],
15766
- editMode: [{ type: Input }],
15767
- handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
15768
- };
15769
-
15770
- class TransactionLinePriceModule {
15771
- }
15772
- TransactionLinePriceModule.decorators = [
15773
- { type: NgModule, args: [{
15774
- imports: [
15775
- CommonModule,
15776
- InputTextModule,
15777
- PipeModule
15778
- ],
15779
- declarations: [
15780
- TransactionLinePriceComponent
15781
- ],
15782
- exports: [
15783
- TransactionLinePriceComponent
15784
- ]
15785
- },] }
15786
- ];
15787
-
15788
15722
  class TransactionFilterPopupBaseComponent extends TransactionLineBaseComponent {
15789
15723
  constructor() {
15790
15724
  super(...arguments);
@@ -16661,6 +16595,109 @@ TransactionLineSupplierModule.decorators = [
16661
16595
  },] }
16662
16596
  ];
16663
16597
 
16598
+ class TransactionLinePriceComponent extends TransactionLineBaseComponent {
16599
+ constructor(_transactionService) {
16600
+ super();
16601
+ this._transactionService = _transactionService;
16602
+ this.showLabel = true;
16603
+ this.defaultEditMode = true;
16604
+ this.showClass = true;
16605
+ this._editMode = false;
16606
+ }
16607
+ set child(content) {
16608
+ if (content) {
16609
+ this.input = content;
16610
+ this.input.commit = (price) => this.commit(price);
16611
+ if (this._editMode) {
16612
+ this.input.requestFocus();
16613
+ setTimeout(() => {
16614
+ this.input.input.select();
16615
+ });
16616
+ }
16617
+ }
16618
+ }
16619
+ set editMode(value) {
16620
+ this._editMode = value;
16621
+ if (this._editMode && this.input) {
16622
+ this.input.doFocus();
16623
+ }
16624
+ }
16625
+ get editMode() {
16626
+ return this._editMode;
16627
+ }
16628
+ handleClick(event) {
16629
+ event.preventDefault();
16630
+ event.stopPropagation();
16631
+ if (!this.readonly) {
16632
+ this.editMode = true;
16633
+ }
16634
+ }
16635
+ commit(price) {
16636
+ return __awaiter(this, void 0, void 0, function* () {
16637
+ if (this.transactionLine.price !== price) {
16638
+ const oldPrice = this.transactionLine.price;
16639
+ const success = yield this._transactionService.updatePriceTransactionLine(this._transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, price);
16640
+ if (!success) {
16641
+ this.input.model = oldPrice;
16642
+ }
16643
+ return success;
16644
+ }
16645
+ return true;
16646
+ });
16647
+ }
16648
+ transactionLineSet() {
16649
+ this.readonly = this.readonly || !this.transactionLine.articleFreePrice;
16650
+ }
16651
+ }
16652
+ TransactionLinePriceComponent.decorators = [
16653
+ { type: Component, args: [{
16654
+ selector: "co-transaction-line-price",
16655
+ template: `
16656
+ <span *ngIf="(!editMode || readonly) && !defaultEditMode" [textContent]="transactionLine.price | coCurrency"></span>
16657
+ <co-input-text #input *ngIf="editMode || defaultEditMode"
16658
+ [noStyle]="true"
16659
+ [hideArrowButtons]="true"
16660
+ [placeholder]="showLabel ? ('PRICE' | localize) : ''"
16661
+ [type]="'number'"
16662
+ [showSaveCancel]="!readonly"
16663
+ [readonly]="readonly"
16664
+ [model]="transactionLine.price"
16665
+ (blur)="editMode = false"
16666
+ ></co-input-text>
16667
+ `,
16668
+ encapsulation: ViewEncapsulation.None
16669
+ },] }
16670
+ ];
16671
+ TransactionLinePriceComponent.ctorParameters = () => [
16672
+ { type: TransactionService }
16673
+ ];
16674
+ TransactionLinePriceComponent.propDecorators = {
16675
+ child: [{ type: ViewChild, args: ['input', { read: InputTextComponent },] }],
16676
+ showLabel: [{ type: Input }],
16677
+ defaultEditMode: [{ type: Input }],
16678
+ editMode: [{ type: Input }],
16679
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-line-price",] }],
16680
+ handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
16681
+ };
16682
+
16683
+ class TransactionLinePriceModule {
16684
+ }
16685
+ TransactionLinePriceModule.decorators = [
16686
+ { type: NgModule, args: [{
16687
+ imports: [
16688
+ CommonModule,
16689
+ InputTextModule,
16690
+ PipeModule
16691
+ ],
16692
+ declarations: [
16693
+ TransactionLinePriceComponent
16694
+ ],
16695
+ exports: [
16696
+ TransactionLinePriceComponent
16697
+ ]
16698
+ },] }
16699
+ ];
16700
+
16664
16701
  class TransactionLineSidePanelDefaultModule {
16665
16702
  }
16666
16703
  TransactionLineSidePanelDefaultModule.decorators = [
@@ -16675,7 +16712,6 @@ TransactionLineSidePanelDefaultModule.decorators = [
16675
16712
  InputComboBoxModule,
16676
16713
  InputDatePickerModule,
16677
16714
  InputNumberPickerModule,
16678
- TransactionLinePriceModule,
16679
16715
  TransactionLinePriceListModule,
16680
16716
  TransactionLineVatModule,
16681
16717
  TransactionLineQuantityModule,
@@ -16689,7 +16725,8 @@ TransactionLineSidePanelDefaultModule.decorators = [
16689
16725
  TransactionLineQuantumDiscountModule,
16690
16726
  TransactionLineSpecialDiscountModule,
16691
16727
  TransactionLineSupplierModule,
16692
- TransactionLineDescriptionModule
16728
+ TransactionLineDescriptionModule,
16729
+ TransactionLinePriceModule
16693
16730
  ],
16694
16731
  declarations: [
16695
16732
  TransactionLineSidePanelDefaultComponent
@@ -17001,12 +17038,13 @@ ArticleService.ctorParameters = () => [
17001
17038
  ];
17002
17039
 
17003
17040
  class TransactionReceivingGoodsDetailsComponent {
17004
- constructor(iconCacheService, _formMaster, _service, _articleService, _dialogService) {
17041
+ constructor(iconCacheService, _formMaster, _service, _articleService, _dialogService, _receiveGoodsService) {
17005
17042
  this.iconCacheService = iconCacheService;
17006
17043
  this._formMaster = _formMaster;
17007
17044
  this._service = _service;
17008
17045
  this._articleService = _articleService;
17009
17046
  this._dialogService = _dialogService;
17047
+ this._receiveGoodsService = _receiveGoodsService;
17010
17048
  this.icons = Icon;
17011
17049
  this.reloadReceivingGoodsHistory = new EventEmitter();
17012
17050
  this.receiptDetails = new PurchaseOrderLineReceiptDetails();
@@ -17014,6 +17052,7 @@ class TransactionReceivingGoodsDetailsComponent {
17014
17052
  this.saveButtonDisabled = false;
17015
17053
  this.locationDropdownFields = { text: "locationNo", value: "locationNo" };
17016
17054
  this.readonly = false;
17055
+ this._subscriptions = [];
17017
17056
  this.request.purchaseOrderLineReceiptDetailsDTOS = [this.receiptDetails];
17018
17057
  const timeElapsed = Date.now();
17019
17058
  this.request.receivedDate = new Date(timeElapsed);
@@ -17037,6 +17076,14 @@ class TransactionReceivingGoodsDetailsComponent {
17037
17076
  get transactionLine() {
17038
17077
  return this._transactionLine;
17039
17078
  }
17079
+ ngOnInit() {
17080
+ this._subscriptions.push(this._receiveGoodsService.returnArticleSelected.subscribe((availableStock) => {
17081
+ this._handleReturnStock(availableStock);
17082
+ }));
17083
+ }
17084
+ ngOnDestroy() {
17085
+ this._subscriptions.forEach((subscription) => subscription.unsubscribe());
17086
+ }
17040
17087
  submit() {
17041
17088
  return this._formMaster.submitSlaves();
17042
17089
  }
@@ -17050,8 +17097,14 @@ class TransactionReceivingGoodsDetailsComponent {
17050
17097
  if (valid) {
17051
17098
  this.saveButtonDisabled = true;
17052
17099
  const request = this.request;
17100
+ this.receiptDetails.quantityToReceive = this.returnStockMode() ?
17101
+ -this.receiptDetails.quantityToReceive : this.receiptDetails.quantityToReceive;
17053
17102
  request.transId = this.transactionId;
17054
17103
  this._service.receiveGoodsForPurchaseOrder(request).then(() => {
17104
+ if (this.returnStockMode()) {
17105
+ this._receiveGoodsService.reloadAvailableStockData.next();
17106
+ this.receiptDetails.locationNr = undefined;
17107
+ }
17055
17108
  this.reloadReceivingGoodsHistory.next();
17056
17109
  }).catch((e) => {
17057
17110
  this.saveButtonDisabled = false;
@@ -17070,8 +17123,23 @@ class TransactionReceivingGoodsDetailsComponent {
17070
17123
  });
17071
17124
  }
17072
17125
  openWarehouseLocationDialog() {
17073
- this._dialogService.showWarehouseLocation(this.receiptDetails.warehouseNr, true, true, true, this.transactionLine)
17074
- .then(() => this.receiptDetails.locationNr = this.transactionLine.locationNr);
17126
+ if (!this.returnStockMode()) {
17127
+ this._dialogService.showWarehouseLocation(this.receiptDetails.warehouseNr, true, true, true, this.transactionLine)
17128
+ .then(() => this.receiptDetails.locationNr = this.transactionLine.locationNr);
17129
+ }
17130
+ }
17131
+ returnStockMode() {
17132
+ return this.transactionLine.amount < 0;
17133
+ }
17134
+ _handleReturnStock(availableStock) {
17135
+ const maxToReturn = this.amountLeftToReceive < 0 ? Math.abs(this.amountLeftToReceive) : this.amountLeftToReceive;
17136
+ this.returnMaxToReceive = maxToReturn > availableStock.availableQuantity ? availableStock.availableQuantity : maxToReturn;
17137
+ this.receiptDetails.quantityToReceive = this.returnMaxToReceive;
17138
+ this.receiptDetails.warehouseNr = availableStock.warehouseNumber;
17139
+ this.receiptDetails.locationNr = availableStock.locationNumber;
17140
+ this.receiptDetails.serialNr = availableStock.serialNumber;
17141
+ this.receiptDetails.batchNr = availableStock.batchNumber;
17142
+ this.receiptDetails.lineNr = this.transactionLine.lineNr;
17075
17143
  }
17076
17144
  }
17077
17145
  TransactionReceivingGoodsDetailsComponent.decorators = [
@@ -17080,11 +17148,11 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
17080
17148
  template: `
17081
17149
  <div class="receipt-details-wrapper">
17082
17150
  <co-form>
17083
- <div class="details-header" [textContent]="'RECEIPT_DETAILS' | localize | uppercase"></div>
17151
+ <div class="details-header" [textContent]="returnStockMode() ? ('RETURN_DETAILS' | localize | uppercase) : ('RECEIPT_DETAILS' | localize | uppercase)"></div>
17084
17152
  <div class="columns-wrapper">
17085
17153
  <div class="details-column">
17086
17154
  <co-input-text class="details-input"
17087
- [max]="amountLeftToReceive"
17155
+ [max]="returnStockMode() ? returnMaxToReceive : amountLeftToReceive"
17088
17156
  [(model)]="receiptDetails.serialNr ? 1 : receiptDetails.quantityToReceive"
17089
17157
  [disabled]="!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0"
17090
17158
  [readonly]="!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0 || readonly"
@@ -17095,16 +17163,17 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
17095
17163
  <co-input-text class="details-input" [(model)]="receiptDetails.warehouseNr"
17096
17164
  [type]="'number'"
17097
17165
  [hideArrowButtons]="true"
17098
- [readonly]="transactionLine.warehouseNumber !== undefined || readonly"
17099
- [disabled]="transactionLine.warehouseNumber !== undefined"
17166
+ [readonly]="transactionLine.warehouseNumber !== undefined || readonly || returnStockMode()"
17167
+ [disabled]="transactionLine.warehouseNumber !== undefined || returnStockMode()"
17100
17168
  [required]="transactionLine.isWarehouseRequired"
17101
17169
  [placeholder]="'WAREHOUSE' | localize"></co-input-text>
17102
- <div class="location-wrapper" (click)="openWarehouseLocationDialog()">
17170
+ <div class="location-wrapper" [class.clickable]="!returnStockMode()" (click)="openWarehouseLocationDialog()">
17103
17171
  <span *ngIf="!receiptDetails.locationNr && transactionLine.isLocationRequired" class="required" [textContent]="'*'"></span>
17104
17172
  <co-icon *ngIf="receiptDetails.locationNr" [iconData]="iconCacheService.getIcon(icons.ShelvesLight)"></co-icon>
17105
17173
  <div [textContent]="receiptDetails.locationNr ? receiptDetails.locationNr : ('LOCATION' | localize)"></div>
17106
17174
  </div>
17107
17175
  <co-input-text class="details-input"
17176
+ *ngIf="!returnStockMode()"
17108
17177
  [(model)]="request.packingSlipNr"
17109
17178
  [placeholder]="'PACKING_SLIP' | localize"
17110
17179
  [required]="true"
@@ -17122,13 +17191,15 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
17122
17191
  <co-input-text *ngIf="transactionLine.isBatchNrRequired" class="details-input" [(model)]="receiptDetails.batchNr"
17123
17192
  [type]="'number'"
17124
17193
  [hideArrowButtons]="true"
17125
- [readonly]="readonly"
17194
+ [readonly]="readonly || returnStockMode()"
17195
+ [disabled]="returnStockMode()"
17126
17196
  [required]="transactionLine.isBatchNrRequired"
17127
17197
  [placeholder]="'BATCH_NUMBER' | localize"></co-input-text>
17128
17198
  <co-input-text *ngIf="transactionLine.isSerialNrRequired" class="details-input" [(model)]="receiptDetails.serialNr"
17129
17199
  [type]="'number'"
17130
17200
  [hideArrowButtons]="true"
17131
- [readonly]="readonly"
17201
+ [readonly]="readonly || returnStockMode()"
17202
+ [disabled]="returnStockMode()"
17132
17203
  [required]="transactionLine.isSerialNrRequired"
17133
17204
  [placeholder]="'SERIAL_NUMBER' | localize"></co-input-text>
17134
17205
  <!-- <co-input-text class="details-input" [(model)]="receiptDetails.refLineNr"-->
@@ -17139,7 +17210,7 @@ TransactionReceivingGoodsDetailsComponent.decorators = [
17139
17210
 
17140
17211
  <div class="receive-button-wrapper">
17141
17212
  <div class="receive-button clickable" *ngIf="!readonly" (click)="handleSaveDetailsEdit()" [class.disabled]="saveButtonDisabled || amountLeftToReceive === 0">
17142
- <span class="receive-text" [textContent]="'RECEIVE' | localize"></span>
17213
+ <span class="receive-text" [textContent]="returnStockMode() ? ('RETURN_STOCK' | localize) : ('RECEIVE' | localize)"></span>
17143
17214
  </div>
17144
17215
  </div>
17145
17216
  </div>
@@ -17155,7 +17226,8 @@ TransactionReceivingGoodsDetailsComponent.ctorParameters = () => [
17155
17226
  { type: FormMasterService },
17156
17227
  { type: TransactionService },
17157
17228
  { type: ArticleService },
17158
- { type: DialogService }
17229
+ { type: DialogService },
17230
+ { type: TransactionReceiveGoodsService }
17159
17231
  ];
17160
17232
  TransactionReceivingGoodsDetailsComponent.propDecorators = {
17161
17233
  amountLeftToReceive: [{ type: Input }],
@@ -17774,11 +17846,17 @@ TransactionLineSidePanelPurchaseComponent.decorators = [
17774
17846
  (reloadReceivingGoodsHistory)="getGoodsReceiptStatusWithHistory()"
17775
17847
  ></co-transaction-receiving-goods-details>
17776
17848
  <co-transaction-receiving-goods-history
17849
+ *ngIf="transactionLine.amount >= 0"
17777
17850
  [transactionId]="transactionInfo.id"
17778
17851
  [transactionLine]="transactionLine"
17779
17852
  [goodsReceiptHistory]="goodsReceiptStatus.goodsReceiptHistory"
17780
17853
  (reloadReceivingGoodsHistory)="getGoodsReceiptStatusWithHistory()"
17781
17854
  ></co-transaction-receiving-goods-history>
17855
+ <co-transaction-available-stock-grid
17856
+ *ngIf="transactionLine.amount < 0"
17857
+ [transactionId]="transactionInfo.id"
17858
+ [transactionLine]="transactionLine"
17859
+ ></co-transaction-available-stock-grid>
17782
17860
  </ng-container>
17783
17861
 
17784
17862
  <ng-container *ngSwitchDefault>
@@ -17788,7 +17866,7 @@ TransactionLineSidePanelPurchaseComponent.decorators = [
17788
17866
  ></co-transaction-line-side-panel-default>
17789
17867
  </ng-container>
17790
17868
  </ng-container>
17791
- `,
17869
+ `,
17792
17870
  encapsulation: ViewEncapsulation.None
17793
17871
  },] }
17794
17872
  ];
@@ -17804,6 +17882,113 @@ TransactionLineSidePanelPurchaseComponent.propDecorators = {
17804
17882
  showClass: [{ type: HostBinding, args: ["class.co-transaction-line-side-panel-purchase",] }]
17805
17883
  };
17806
17884
 
17885
+ class TransactionAvailableStockGridComponent {
17886
+ constructor(iconsService, _transactionService, _transactionReceiveGoodsService) {
17887
+ this.iconsService = iconsService;
17888
+ this._transactionService = _transactionService;
17889
+ this._transactionReceiveGoodsService = _transactionReceiveGoodsService;
17890
+ this.icons = Icon;
17891
+ this._subscriptions = [];
17892
+ }
17893
+ showClass() {
17894
+ return true;
17895
+ }
17896
+ ngOnInit() {
17897
+ this._subscriptions.push(this._transactionReceiveGoodsService.reloadAvailableStockData.subscribe(() => this._getAvailableStock()));
17898
+ this._getAvailableStock();
17899
+ }
17900
+ ngOnDestroy() {
17901
+ this._subscriptions.forEach((subscription) => subscription.unsubscribe());
17902
+ }
17903
+ handleSelectRow(availableStock) {
17904
+ this.selectedStock = availableStock;
17905
+ this._transactionReceiveGoodsService.returnArticleSelected.next(availableStock);
17906
+ }
17907
+ handleDeleteClick() {
17908
+ }
17909
+ _getAvailableStock() {
17910
+ return __awaiter(this, void 0, void 0, function* () {
17911
+ this.collection = yield this._transactionService.getAvailableStockGroupedByWLBSByTransIdLineNr(this.transactionId, this.transactionLine.lineNr);
17912
+ });
17913
+ }
17914
+ }
17915
+ TransactionAvailableStockGridComponent.decorators = [
17916
+ { type: Component, args: [{
17917
+ selector: "co-transaction-available-stock-grid",
17918
+ template: `
17919
+ <div class="history-grid-wrapper">
17920
+ <co-simple-grid [data]="collection" (selectRow)="handleSelectRow($event)">
17921
+ <co-simple-grid-column [headerText]="'ARTICLE' | localize">
17922
+ <ng-template #template let-row="row">
17923
+ <span [textContent]="row.articleNumber"></span>
17924
+ </ng-template>
17925
+ </co-simple-grid-column>
17926
+
17927
+ <co-simple-grid-column [headerText]="'WAREHOUSE' | localize">
17928
+ <ng-template #template let-row="row">
17929
+ <span [textContent]="row.warehouseNumber"></span>
17930
+ </ng-template>
17931
+ </co-simple-grid-column>
17932
+
17933
+ <co-simple-grid-column [headerText]="'LOCATION' | localize">
17934
+ <ng-template #template let-row="row">
17935
+ <span [textContent]="row.locationNumber"></span>
17936
+ </ng-template>
17937
+ </co-simple-grid-column>
17938
+
17939
+ <co-simple-grid-column [headerText]="'BATCH' | localize">
17940
+ <ng-template #template let-row="row">
17941
+ <span [textContent]="row.batchNumber"></span>
17942
+ </ng-template>
17943
+ </co-simple-grid-column>
17944
+
17945
+ <co-simple-grid-column [headerText]="'SERIAL_NUMBER' | localize">
17946
+ <ng-template #template let-row="row">
17947
+ <span [textContent]="row.serialNumber"></span>
17948
+ </ng-template>
17949
+ </co-simple-grid-column>
17950
+
17951
+ <co-simple-grid-column [headerText]="'AMOUNT' | localize">
17952
+ <ng-template #template let-row="row">
17953
+ <span [textContent]="row.availableQuantity"></span>
17954
+ </ng-template>
17955
+ </co-simple-grid-column>
17956
+ </co-simple-grid>
17957
+ </div>
17958
+ `,
17959
+ encapsulation: ViewEncapsulation.None
17960
+ },] }
17961
+ ];
17962
+ TransactionAvailableStockGridComponent.ctorParameters = () => [
17963
+ { type: IconCacheService },
17964
+ { type: TransactionService },
17965
+ { type: TransactionReceiveGoodsService }
17966
+ ];
17967
+ TransactionAvailableStockGridComponent.propDecorators = {
17968
+ transactionLine: [{ type: Input }],
17969
+ transactionId: [{ type: Input }],
17970
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-available-stock-grid",] }]
17971
+ };
17972
+
17973
+ class TransactionAvailableStockGridModule {
17974
+ }
17975
+ TransactionAvailableStockGridModule.decorators = [
17976
+ { type: NgModule, args: [{
17977
+ imports: [
17978
+ CommonModule,
17979
+ SimpleGridModule,
17980
+ GridToolbarButtonModule,
17981
+ PipeModule
17982
+ ],
17983
+ declarations: [
17984
+ TransactionAvailableStockGridComponent
17985
+ ],
17986
+ exports: [
17987
+ TransactionAvailableStockGridComponent
17988
+ ]
17989
+ },] }
17990
+ ];
17991
+
17807
17992
  class TransactionLineSidePanelPurchaseModule {
17808
17993
  }
17809
17994
  TransactionLineSidePanelPurchaseModule.decorators = [
@@ -17816,7 +18001,8 @@ TransactionLineSidePanelPurchaseModule.decorators = [
17816
18001
  ButtonModule,
17817
18002
  PipeModule,
17818
18003
  TransactionLineSidePanelDefaultModule,
17819
- TransactionConfirmationDetailsModule
18004
+ TransactionConfirmationDetailsModule,
18005
+ TransactionAvailableStockGridModule
17820
18006
  ],
17821
18007
  declarations: [
17822
18008
  TransactionLineSidePanelPurchaseComponent
@@ -19611,7 +19797,7 @@ TransactionBaseLineComponent.decorators = [
19611
19797
  template: `
19612
19798
  <div class="transaction-base-line-wrapper" data-action="openSidePanel">
19613
19799
  <ng-container *ngIf="line.isArticle">
19614
- <div class="transaction-base-line-section">
19800
+ <div class="transaction-base-line-section" [class.line-start]="!preview">
19615
19801
  <co-input-checkbox *ngIf="checkbox" class="transaction-line-checkbox" [class.hidden]="hideCheckbox"
19616
19802
  [model]="checkboxValue"
19617
19803
  (modelChange)="checkboxValueChanged.emit($event)"
@@ -19623,7 +19809,7 @@ TransactionBaseLineComponent.decorators = [
19623
19809
  (handleDeleteLine)="deleteTransactionLineClick()"
19624
19810
  ></co-transaction-line-image-and-description>
19625
19811
  </div>
19626
- <div class="transaction-base-line-section">
19812
+ <div class="transaction-base-line-section" [class.preview-margin]="preview">
19627
19813
  <ng-content></ng-content>
19628
19814
  <div *ngIf="!preview && actionButtons" class="transaction-line-buttons">
19629
19815
  <co-transaction-line-action-buttons
@@ -20207,14 +20393,15 @@ TransactionPurchaseLineModule.decorators = [
20207
20393
  TransactionLineDeliveryButtonModule,
20208
20394
  TransactionLineDeliveryDateButtonModule,
20209
20395
  TransactionLineStatusbarModule,
20210
- TransactionLinePriceModule,
20211
20396
  PipeModule,
20212
20397
  InputNumberPickerModule,
20213
20398
  EditableLabelModule,
20214
20399
  DialogTransactionLineDiscountModule,
20215
20400
  TransactionLineAmountModule,
20216
20401
  TransactionLineCommissionButtonModule,
20217
- TransactionLineSupplierButtonModule
20402
+ TransactionLineSupplierButtonModule,
20403
+ TransactionLinePriceModule,
20404
+ TransactionLinePriceModule
20218
20405
  ],
20219
20406
  declarations: [
20220
20407
  TransactionPurchaseLineComponent
@@ -21847,6 +22034,7 @@ class TransactionSearchHeaderComponent {
21847
22034
  }
21848
22035
  set transactionType(value) {
21849
22036
  this.label = this._dictionary.get(this.searchService.getLabelBasedOnTransactionType());
22037
+ this.searchPlaceholder = this._dictionary.get(this.searchService.getSearchPlaceholderBasedOnTransactionType());
21850
22038
  }
21851
22039
  showClass() {
21852
22040
  return true;
@@ -21871,35 +22059,33 @@ TransactionSearchHeaderComponent.decorators = [
21871
22059
  <div class="transaction-search-header-wrapper">
21872
22060
  <div class="upper-header">
21873
22061
  <div class="header-buttons-wrapper">
21874
- <div class="toggle-sidebar-button-wrapper button-wrapper" [ngClass]="fullscreen ? 'fullscreen' : 'sidebar'">
21875
- <co-button [iconData]="fullscreen ? iconSlideIn : iconResize"
21876
- [ngClass]="!fullscreen ? 'small' : ''"
21877
- class="toggle-sidebar-button circle transparent"
21878
- (click)="onResizeClick()"></co-button>
21879
- </div>
21880
22062
  <div class="close-search-button-wrapper button-wrapper" *ngIf="!fullscreen" [ngClass]="fullscreen ? 'fullscreen' : 'sidebar'" >
21881
22063
  <co-button [iconData]="iconCancel"
21882
- class="toggle-sidebar-button circle small transparent"
22064
+ class="toggle-sidebar-button small transparent"
21883
22065
  (click)="onCloseClick()">
21884
22066
  </co-button>
21885
22067
  </div>
21886
22068
  </div>
21887
22069
  </div>
21888
22070
  <div class="header-searchbar-wrapper">
21889
- <div>
21890
- <co-input-search class="transaction-search-general"
21891
- [ngClass]="fullscreen ? 'fullscreen' : 'sidebar'"
21892
- [centerLabel]="true"
21893
- [(model)]="searchService.searchRequest.general"
21894
- [placeholder]="'SEARCH_NUMBER_CUSTOMER_OR_DATE' | localize"
21895
- [initFocus]="true"
21896
- (search)="searchService.searchTransactions()"></co-input-search>
21897
- </div>
21898
- <div>
22071
+ <div class="header-searchbar-title" [textContent]="label | localize" *ngIf="fullscreen" @showHideLabel></div>
22072
+ <co-input-search class="transaction-search-general"
22073
+ [ngClass]="fullscreen ? 'fullscreen' : 'sidebar'"
22074
+ [centerLabel]="true"
22075
+ [(model)]="searchService.searchRequest.general"
22076
+ [placeholder]="searchPlaceholder | localize"
22077
+ [initFocus]="true"
22078
+ [customHeight]="true"
22079
+ (search)="searchService.searchTransactions()"></co-input-search>
22080
+ <div class="header-search-bar-button-wrapper">
21899
22081
  <co-button class="transaction-search-filter-button"
21900
22082
  [iconData]="iconCacheService.getIcon(icon.BarsFilter)"
21901
22083
  (click)="filterButtonClick.emit()">
21902
22084
  </co-button>
22085
+ <co-button [iconData]="fullscreen ? iconSlideIn : iconResize"
22086
+ [ngClass]="!fullscreen ? 'small' : ''"
22087
+ class="toggle-sidebar-button transparent"
22088
+ (click)="onResizeClick()"></co-button>
21903
22089
  </div>
21904
22090
  </div>
21905
22091
  <div class="view-mode-buttons-wrapper">
@@ -21911,6 +22097,13 @@ TransactionSearchHeaderComponent.decorators = [
21911
22097
  </div>
21912
22098
  </div>
21913
22099
  `,
22100
+ animations: [
22101
+ trigger("showHideLabel", [
22102
+ state("void", style({ opacity: 0 })),
22103
+ state("*", style({ opacity: 1 })),
22104
+ transition("void <=> *", animate("200ms ease-in-out"))
22105
+ ])
22106
+ ],
21914
22107
  encapsulation: ViewEncapsulation.None
21915
22108
  },] }
21916
22109
  ];
@@ -23075,5 +23268,5 @@ TransactionLineGridModule.decorators = [
23075
23268
  * Generated bundle index. Do not edit.
23076
23269
  */
23077
23270
 
23078
- export { CheckoutComponent, CheckoutModule, LoaderComponent, LoaderModule, SearchViewMode, SearchbarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, ConfirmationDialogComponent as ɵba, DialogBaseComponent as ɵbb, IconCacheService as ɵbc, CharacteristicAnswerModule as ɵbd, CharacteristicAnswerComponent as ɵbe, WarehouseModule as ɵbf, WarehouseComponent as ɵbg, ImageDisplayComponent as ɵbh, IconComponent as ɵbi, CustomerGroupsComponent as ɵbj, StockStatusIndicatorComponent as ɵbk, LazyRenderMasterDirective as ɵbl, LazyRenderDirective as ɵbm, RelationAddressModule as ɵbn, RelationAddressComponent as ɵbo, RelationBaseComponent as ɵbp, RelationAddressSelectModule as ɵbq, RelationAddressTileModule as ɵbr, TileModule as ɵbs, TileComponent as ɵbt, RelationAddressTileComponent as ɵbu, RelationAddressSelectComponent as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionLineModule as ɵbz, DynamicComponentService as ɵc, TransactionLineComponent as ɵca, TransactionMappingService as ɵcb, TransactionArticleTextModule as ɵcc, TransactionLineImageAndDescriptionModule as ɵcd, TransactionLineDescriptionModule as ɵce, TransactionLineDescriptionComponent as ɵcf, TransactionLineBaseComponent as ɵcg, TransactionLineImageAndDescriptionComponent as ɵch, TransactionImageService as ɵci, TransactionArticleTextComponent as ɵcj, TransactionReceiveGoodsService as ɵck, DialogTransactionHeaderDiscountModule as ɵcl, TransactionHeaderDiscountPercentageModule as ɵcm, TransactionHeaderDiscountPercentageComponent as ɵcn, TransactionHeaderBaseComponent as ɵco, TransactionHeaderFilterPopupBaseComponent as ɵcp, TransactionHeaderDiscountAmountModule as ɵcq, TransactionHeaderDiscountAmountComponent as ɵcr, TransactionHeaderDiscountTransactionTotalModule as ɵcs, TransactionHeaderDiscountTransactionTotalComponent as ɵct, DialogTransactionHeaderDiscountComponent as ɵcu, DialogTransactionHeaderBaseComponent as ɵcv, AvatarModule as ɵcw, AvatarComponent as ɵcx, SharedService as ɵcy, SharedConnectorService as ɵcz, OptionsService as ɵd, RelationService as ɵda, DeliveryTypeTileModule as ɵdb, DeliveryTypeTileComponent as ɵdc, PaymentModule as ɵdd, PaymentTileModule as ɵde, PaymentTileComponent as ɵdf, PaymentQrCodeModule as ɵdg, PaymentQrCodeComponent as ɵdh, DownPaymentModule as ɵdi, DownPaymentComponent as ɵdj, PaymentService as ɵdk, PaymentComponent as ɵdl, RelationTypeModule as ɵdm, RelationTypeComponent as ɵdn, RelationGeneralModule as ɵdo, RelationSuggestionsListModule as ɵdp, RelationSuggestionsListItemModule as ɵdq, RelationSuggestionsListItemComponent as ɵdr, RelationSuggestionsListComponent as ɵds, RelationGeneralComponent as ɵdt, RelationAddressesModule as ɵdu, RelationAddressesComponent as ɵdv, RelationContactDetailsModule as ɵdw, RelationContactDetailsComponent as ɵdx, RelationPreferencesModule as ɵdy, RelationPreferencesComponent as ɵdz, DictionaryService as ɵe, TransactionHeaderBlockModule as ɵea, TransactionHeaderBlockComponent as ɵeb, TransactionHeaderDeliveryDateModule as ɵec, TransactionHeaderDeliveryDateComponent as ɵed, TransactionHeaderDeliveryOptionsModule as ɵee, TransactionHeaderDeliveryOptionsComponent as ɵef, TransactionHeaderRemarksModule as ɵeg, TransactionHeaderRemarksComponent as ɵeh, TransactionHeaderReferenceModule as ɵei, TransactionHeaderReferenceComponent as ɵej, TransactionHeaderRelationReferenceModule as ɵek, TransactionHeaderRelationReferenceComponent as ɵel, TransactionHeaderDeliveryMethodModule as ɵem, TransactionLineCheckboxModule as ɵen, TransactionLineCheckboxListComponent as ɵeo, TransactionHeaderDeliveryMethodComponent as ɵep, TransactionHeaderPreferredDeliveryDateModule as ɵeq, TransactionHeaderPreferredDeliveryDateComponent as ɵer, DialogTransactionHeaderDeliveryMethodModule as ɵes, DialogHeaderSearchModule as ɵet, DialogHeaderSearchComponent as ɵeu, DialogTransactionHeaderDeliveryMethodComponent as ɵev, TransactionHeaderPartialDeliveryModule as ɵew, TransactionHeaderPartialDeliveryComponent as ɵex, TransactionBaseComponent as ɵey, TransactionHeaderDownpaymentPercentageModule as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDownpaymentPercentageComponent as ɵfa, TransactionHeaderDownpaymentAmountModule as ɵfb, TransactionHeaderDownpaymentAmountComponent as ɵfc, TransactionHeaderDefinitiveModule as ɵfd, TransactionHeaderDefinitiveComponent as ɵfe, TransactionHeaderBranchModule as ɵff, TransactionHeaderBranchComponent as ɵfg, TransactionHeaderAdministrativeRelationModule as ɵfh, TransactionHeaderAdministrativeRelationComponent as ɵfi, TransactionHeaderMarketingModule as ɵfj, TransactionHeaderMarketingComponent as ɵfk, CheckoutOverviewRelationEditComponent as ɵfl, CheckoutOverviewDeliveryEditComponent as ɵfm, CheckoutOverviewDeliveryAddressComponent as ɵfn, CheckoutOverviewPaymentComponent as ɵfo, CheckoutLoginComponent as ɵfp, TransactionFilterCategoriesModule as ɵfq, TransactionFilterCategoriesComponent as ɵfr, TransactionHeaderPaymentModule as ɵfs, TransactionHeaderPaymentComponent as ɵft, TransactionLinesGridModule as ɵfu, TransactionBaseGridModule as ɵfv, TransactionLineSidePanelModule as ɵfw, TransactionLineSidePanelDefaultModule as ɵfx, TransactionLinePriceModule as ɵfy, TransactionLinePriceComponent as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLinePriceListModule as ɵga, TransactionLinePriceListComponent as ɵgb, TransactionFilterPopupBaseComponent as ɵgc, TransactionLineVatModule as ɵgd, TransactionLineVatComponent as ɵge, TransactionLineQuantityModule as ɵgf, TransactionLineQuantityComponent as ɵgg, TransactionLineLineDiscountModule as ɵgh, TransactionLineLineDiscountComponent as ɵgi, TransactionLineDeliveryMethodModule as ɵgj, TransactionLineDeliveryMethodComponent as ɵgk, TransactionLineDeliveryDateModule as ɵgl, TransactionLineDeliveryDateComponent as ɵgm, TransactionLineReferenceModule as ɵgn, TransactionLineReferenceComponent as ɵgo, TransactionLineCommissionCodeModule as ɵgp, TransactionLineCommissionCodeComponent as ɵgq, TransactionLineWarehouseModule as ɵgr, TransactionLineWarehouseComponent as ɵgs, TransactionLineDiscountAmountModule as ɵgt, TransactionLineDiscountAmountComponent as ɵgu, TransactionLineQuantumDiscountModule as ɵgv, TransactionLineQuantumDiscountComponent as ɵgw, TransactionLineSpecialDiscountModule as ɵgx, TransactionLineSpecialDiscountComponent as ɵgy, TransactionLineSupplierModule as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineSupplierComponent as ɵha, TransactionLineSidePanelDefaultComponent as ɵhb, TransactionReceivingGoodsHistoryModule as ɵhc, TransactionHistoryGridModule as ɵhd, TransactionHistoryGridStatusModule as ɵhe, TransactionHistoryGridStatusComponent as ɵhf, TransactionHistoryGridComponent as ɵhg, TransactionReceivingGoodsHistoryComponent as ɵhh, TransactionReceivingGoodsDetailsModule as ɵhi, TransactionReceivingGoodsDetailsComponent as ɵhj, ArticleService as ɵhk, TransactionButtonBarModule as ɵhl, AnimatedCheckboxModule as ɵhm, AnimatedCheckboxComponent as ɵhn, TransactionButtonBarComponent as ɵho, TransactionButtonBarButtonComponent as ɵhp, TransactionButtonBarButtonBaseComponent as ɵhq, TransactionSalesPurchaseButtonBarButtonComponent as ɵhr, TransactionLineSidePanelPurchaseModule as ɵhs, DefaultOkCancelButtonsModule as ɵht, DefaultOkCancelButtonsComponent as ɵhu, TransactionLineSidePanelPurchaseComponent as ɵhv, TransactionLineSidePanelComponent as ɵhw, DynamicBaseComponent as ɵhx, TransactionLineActionButtonsModule as ɵhy, TransactionArticleTextOverviewModule as ɵhz, BusinessObjectCacheManagerService as ɵi, TransactionArticleTextOverviewComponent as ɵia, TransactionLineActionButtonsComponent as ɵib, TransactionBaseGridComponent as ɵic, TransactionGridBaseComponent as ɵid, DialogTransactionLineCommissionCodeModule as ɵie, DialogTransactionLineCommissionCodeComponent as ɵif, DialogTransactionLineBaseComponent as ɵig, DialogTransactionLineWarehouseModule as ɵih, DialogTransactionLineWarehouseComponent as ɵii, DialogTransactionLineWarehouseCcModule as ɵij, DialogTransactionLineWarehouseCcComponent as ɵik, DialogTransactionLineDeliveryMethodModule as ɵil, DialogTransactionLineDeliveryMethodComponent as ɵim, DialogTransactionLineVatModule as ɵin, DialogTransactionLineVatComponent as ɵio, DialogTransactionLineDiscountModule as ɵip, DialogTransactionLinePriceListModule as ɵiq, DialogTransactionLinePriceListComponent as ɵir, DialogTransactionLineDiscountComponent as ɵis, TransactionLinesGridComponent as ɵit, DiscountModule as ɵiu, DiscountComponent as ɵiv, TransactionQuickAccessOverviewModule as ɵiw, TransactionQuickAccessOverviewComponent as ɵix, TransactionQuickAccessOrderDeliveryModule as ɵiy, TransactionSendButtonDialogModule as ɵiz, CacheField as ɵj, TransactionSendButtonDialogComponent as ɵja, TransactionQuickAccessOrderDeliveryComponent as ɵjb, TransactionOrderDeliveryService as ɵjc, TransactionQuickAccessOrderPurchaseModule as ɵjd, TransactionQuickAccessOrderPurchaseComponent as ɵje, TransactionOrderConfirmationGridModule as ɵjf, TransactionOrderConfirmationGridComponent as ɵjg, TransactionReceivedGoodsGridModule as ɵjh, DialogTransactionLineWarehouseLocationModule as ɵji, TransactionLineWarehouseLocationModule as ɵjj, TransactionLineWarehouseLocationComponent as ɵjk, DialogTransactionLineWarehouseLocationComponent as ɵjl, TransactionLineWarehouseLocationButtonModule as ɵjm, TransactionLineWarehouseLocationButtonComponent as ɵjn, TransactionReceivedGoodsGridComponent as ɵjo, ViewModeButtonsModule as ɵjp, ViewModeButtonsComponent as ɵjq, TransactionGridModule as ɵjr, TransactionGridComponent as ɵjs, TransactionTileModule as ɵjt, TransactionTileComponent as ɵju, TransactionOverviewLineModule as ɵjv, EditableLabelModule as ɵjw, EditableLabelComponent as ɵjx, TransactionBaseLineModule as ɵjy, TransactionBaseLineComponent as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionLinesLineBaseComponent as ɵka, TransactionLineCommissionButtonModule as ɵkb, TransactionLineCommissionButtonComponent as ɵkc, TransactionLineWarehouseButtonModule as ɵkd, TransactionLineWarehouseButtonComponent as ɵke, TransactionLineDeliveryButtonModule as ɵkf, TransactionLineDeliveryButtonComponent as ɵkg, TransactionLineDeliveryDateButtonModule as ɵkh, TransactionLineDeliveryDateButtonComponent as ɵki, TransactionLineAmountModule as ɵkj, TransactionLineAmountComponent as ɵkk, TransactionOverviewLineComponent as ɵkl, TransactionOrderDeliveryLineModule as ɵkm, TransactionOrderDeliveryLineComponent as ɵkn, TransactionReceiveGoodsLineModule as ɵko, TransactionReceiveGoodsLineComponent as ɵkp, TransactionPurchaseLineModule as ɵkq, TransactionLineSupplierButtonModule as ɵkr, DialogTransactionLineSupplierModule as ɵks, DialogTransactionLineSupplierComponent as ɵkt, TransactionLineSupplierButtonComponent as ɵku, TransactionPurchaseLineComponent as ɵkv, QuickSendButtonModule as ɵkw, QuickSendButtonComponent as ɵkx, TransactionSearchResultModule as ɵky, TransactionSearchSalesOrderTileModule as ɵkz, ErrorService as ɵl, TransactionSearchSalesOrderTileComponent as ɵla, TransactionSearchTileBaseComponent as ɵlb, TransactionSearchPurchaseOrderTileModule as ɵlc, TransactionSearchPurchaseOrderTileComponent as ɵld, TransactionSearchSalesOrderGridModule as ɵle, TransactionSearchSalesOrderGridComponent as ɵlf, TransactionSearchGridBaseComponent as ɵlg, TransactionSearchPurchaseOrderGridModule as ɵlh, TransactionSearchPurchaseOrderGridComponent as ɵli, TransactionSearchHeaderModule as ɵlj, TransactionSearchHeaderComponent as ɵlk, TransactionSearchGridModule as ɵll, TransactionSearchGridComponent as ɵlm, TransactionSearchTileModule as ɵln, TransactionSearchTileComponent as ɵlo, TransactionSearchResultComponent as ɵlp, TransactionSalesOrderFilterModule as ɵlq, TransactionSalesOrderFilterContentOrderModule as ɵlr, TransactionFilterItemModule as ɵls, TransactionFilterItemComponent as ɵlt, TransactionSalesOrderFilterContentOrderComponent as ɵlu, TransactionFilterContentBaseComponent as ɵlv, FilterRequestService as ɵlw, TransactionSalesOrderFilterContentLogisticsModule as ɵlx, TransactionFilterHistoricStateModule as ɵly, TransactionFilterHistoricStateComponent as ɵlz, SelectSingleCacheService as ɵm, TransactionSalesOrderFilterContentLogisticsComponent as ɵma, TransactionSalesOrderFilterContentArticleModule as ɵmb, TransactionSalesOrderFilterContentArticleComponent as ɵmc, TransactionSalesOrderFilterComponent as ɵmd, TransactionFilterBaseComponent as ɵme, TransactionPurchaseOrderFilterModule as ɵmf, TransactionPurchaseOrderFilterContentOrderModule as ɵmg, TransactionPurchaseOrderFilterContentOrderComponent as ɵmh, TransactionPurchaseOrderFilterContentLogisticsModule as ɵmi, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵmj, TransactionPurchaseOrderFilterContentArticleModule as ɵmk, TransactionPurchaseOrderFilterContentArticleComponent as ɵml, TransactionPurchaseOrderFilterComponent as ɵmm, TransactionFilterModule as ɵmn, TransactionFilterComponent as ɵmo, ArticleConnectorService as ɵn, TransactionEventService as ɵo, RelationConnectorService as ɵp, CoreModule as ɵq, ConfirmationDialogModule as ɵr, PipeModule as ɵs, AppendPipe as ɵt, DeliveryTimePipe as ɵu, DateDurationPipe as ɵv, LocalizePipe as ɵw, CoCurrencyPipe as ɵx, SafeStylePipe as ɵy, SafeHtmlPipe as ɵz };
23271
+ export { CheckoutComponent, CheckoutModule, LoaderComponent, LoaderModule, RelationService, SearchViewMode, SearchbarViewMode, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionConfirmationDetailsComponent, TransactionConfirmationDetailsModule, TransactionConfirmationHistoryComponent, TransactionConfirmationHistoryModule, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineStatusbarComponent, TransactionLineStatusbarModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionSearchService, TransactionService, TransactionStatusbarComponent, TransactionStatusbarModule, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, ConfirmationDialogComponent as ɵba, DialogBaseComponent as ɵbb, IconCacheService as ɵbc, CharacteristicAnswerModule as ɵbd, CharacteristicAnswerComponent as ɵbe, WarehouseModule as ɵbf, WarehouseComponent as ɵbg, ImageDisplayComponent as ɵbh, IconComponent as ɵbi, CustomerGroupsComponent as ɵbj, StockStatusIndicatorComponent as ɵbk, LazyRenderMasterDirective as ɵbl, LazyRenderDirective as ɵbm, RelationAddressModule as ɵbn, RelationAddressComponent as ɵbo, RelationBaseComponent as ɵbp, RelationAddressSelectModule as ɵbq, RelationAddressTileModule as ɵbr, TileModule as ɵbs, TileComponent as ɵbt, RelationAddressTileComponent as ɵbu, RelationAddressSelectComponent as ɵbv, StepperModule as ɵbw, StepperComponent as ɵbx, StepperStepComponent as ɵby, TransactionLineModule as ɵbz, DynamicComponentService as ɵc, TransactionLineComponent as ɵca, TransactionMappingService as ɵcb, TransactionArticleTextModule as ɵcc, TransactionLineImageAndDescriptionModule as ɵcd, TransactionLineDescriptionModule as ɵce, TransactionLineDescriptionComponent as ɵcf, TransactionLineBaseComponent as ɵcg, TransactionLineImageAndDescriptionComponent as ɵch, TransactionImageService as ɵci, TransactionArticleTextComponent as ɵcj, TransactionReceiveGoodsService as ɵck, DialogTransactionHeaderDiscountModule as ɵcl, TransactionHeaderDiscountPercentageModule as ɵcm, TransactionHeaderDiscountPercentageComponent as ɵcn, TransactionHeaderBaseComponent as ɵco, TransactionHeaderFilterPopupBaseComponent as ɵcp, TransactionHeaderDiscountAmountModule as ɵcq, TransactionHeaderDiscountAmountComponent as ɵcr, TransactionHeaderDiscountTransactionTotalModule as ɵcs, TransactionHeaderDiscountTransactionTotalComponent as ɵct, DialogTransactionHeaderDiscountComponent as ɵcu, DialogTransactionHeaderBaseComponent as ɵcv, AvatarModule as ɵcw, AvatarComponent as ɵcx, SharedService as ɵcy, SharedConnectorService as ɵcz, OptionsService as ɵd, DeliveryTypeTileModule as ɵda, DeliveryTypeTileComponent as ɵdb, PaymentModule as ɵdc, PaymentTileModule as ɵdd, PaymentTileComponent as ɵde, PaymentQrCodeModule as ɵdf, PaymentQrCodeComponent as ɵdg, DownPaymentModule as ɵdh, DownPaymentComponent as ɵdi, PaymentService as ɵdj, PaymentComponent as ɵdk, RelationTypeModule as ɵdl, RelationTypeComponent as ɵdm, RelationGeneralModule as ɵdn, RelationSuggestionsListModule as ɵdo, RelationSuggestionsListItemModule as ɵdp, RelationSuggestionsListItemComponent as ɵdq, RelationSuggestionsListComponent as ɵdr, RelationGeneralComponent as ɵds, RelationAddressesModule as ɵdt, RelationAddressesComponent as ɵdu, RelationContactDetailsModule as ɵdv, RelationContactDetailsComponent as ɵdw, RelationPreferencesModule as ɵdx, RelationPreferencesComponent as ɵdy, TransactionHeaderBlockModule as ɵdz, DictionaryService as ɵe, TransactionHeaderBlockComponent as ɵea, TransactionHeaderDeliveryDateModule as ɵeb, TransactionHeaderDeliveryDateComponent as ɵec, TransactionHeaderDeliveryOptionsModule as ɵed, TransactionHeaderDeliveryOptionsComponent as ɵee, TransactionHeaderRemarksModule as ɵef, TransactionHeaderRemarksComponent as ɵeg, TransactionHeaderReferenceModule as ɵeh, TransactionHeaderReferenceComponent as ɵei, TransactionHeaderRelationReferenceModule as ɵej, TransactionHeaderRelationReferenceComponent as ɵek, TransactionHeaderDeliveryMethodModule as ɵel, TransactionLineCheckboxModule as ɵem, TransactionLineCheckboxListComponent as ɵen, TransactionHeaderDeliveryMethodComponent as ɵeo, TransactionHeaderPreferredDeliveryDateModule as ɵep, TransactionHeaderPreferredDeliveryDateComponent as ɵeq, DialogTransactionHeaderDeliveryMethodModule as ɵer, DialogHeaderSearchModule as ɵes, DialogHeaderSearchComponent as ɵet, DialogTransactionHeaderDeliveryMethodComponent as ɵeu, TransactionHeaderPartialDeliveryModule as ɵev, TransactionHeaderPartialDeliveryComponent as ɵew, TransactionBaseComponent as ɵex, TransactionHeaderDownpaymentPercentageModule as ɵey, TransactionHeaderDownpaymentPercentageComponent as ɵez, TransactionConnectorService as ɵf, TransactionHeaderDownpaymentAmountModule as ɵfa, TransactionHeaderDownpaymentAmountComponent as ɵfb, TransactionHeaderDefinitiveModule as ɵfc, TransactionHeaderDefinitiveComponent as ɵfd, TransactionHeaderBranchModule as ɵfe, TransactionHeaderBranchComponent as ɵff, TransactionHeaderAdministrativeRelationModule as ɵfg, TransactionHeaderAdministrativeRelationComponent as ɵfh, TransactionHeaderMarketingModule as ɵfi, TransactionHeaderMarketingComponent as ɵfj, CheckoutOverviewRelationEditComponent as ɵfk, CheckoutOverviewDeliveryEditComponent as ɵfl, CheckoutOverviewDeliveryAddressComponent as ɵfm, CheckoutOverviewPaymentComponent as ɵfn, CheckoutLoginComponent as ɵfo, TransactionFilterCategoriesModule as ɵfp, TransactionFilterCategoriesComponent as ɵfq, TransactionHeaderPaymentModule as ɵfr, TransactionHeaderPaymentComponent as ɵfs, TransactionLinesGridModule as ɵft, TransactionBaseGridModule as ɵfu, TransactionLineSidePanelModule as ɵfv, TransactionLineSidePanelDefaultModule as ɵfw, TransactionLinePriceListModule as ɵfx, TransactionLinePriceListComponent as ɵfy, TransactionFilterPopupBaseComponent as ɵfz, TransactionConnectorAdapterService as ɵg, TransactionLineVatModule as ɵga, TransactionLineVatComponent as ɵgb, TransactionLineQuantityModule as ɵgc, TransactionLineQuantityComponent as ɵgd, TransactionLineLineDiscountModule as ɵge, TransactionLineLineDiscountComponent as ɵgf, TransactionLineDeliveryMethodModule as ɵgg, TransactionLineDeliveryMethodComponent as ɵgh, TransactionLineDeliveryDateModule as ɵgi, TransactionLineDeliveryDateComponent as ɵgj, TransactionLineReferenceModule as ɵgk, TransactionLineReferenceComponent as ɵgl, TransactionLineCommissionCodeModule as ɵgm, TransactionLineCommissionCodeComponent as ɵgn, TransactionLineWarehouseModule as ɵgo, TransactionLineWarehouseComponent as ɵgp, TransactionLineDiscountAmountModule as ɵgq, TransactionLineDiscountAmountComponent as ɵgr, TransactionLineQuantumDiscountModule as ɵgs, TransactionLineQuantumDiscountComponent as ɵgt, TransactionLineSpecialDiscountModule as ɵgu, TransactionLineSpecialDiscountComponent as ɵgv, TransactionLineSupplierModule as ɵgw, TransactionLineSupplierComponent as ɵgx, TransactionLinePriceModule as ɵgy, TransactionLinePriceComponent as ɵgz, SelectMultipleCacheService as ɵh, TransactionLineSidePanelDefaultComponent as ɵha, TransactionReceivingGoodsHistoryModule as ɵhb, TransactionHistoryGridModule as ɵhc, TransactionHistoryGridStatusModule as ɵhd, TransactionHistoryGridStatusComponent as ɵhe, TransactionHistoryGridComponent as ɵhf, TransactionReceivingGoodsHistoryComponent as ɵhg, TransactionReceivingGoodsDetailsModule as ɵhh, TransactionReceivingGoodsDetailsComponent as ɵhi, ArticleService as ɵhj, TransactionButtonBarModule as ɵhk, AnimatedCheckboxModule as ɵhl, AnimatedCheckboxComponent as ɵhm, TransactionButtonBarComponent as ɵhn, TransactionButtonBarButtonComponent as ɵho, TransactionButtonBarButtonBaseComponent as ɵhp, TransactionSalesPurchaseButtonBarButtonComponent as ɵhq, TransactionLineSidePanelPurchaseModule as ɵhr, DefaultOkCancelButtonsModule as ɵhs, DefaultOkCancelButtonsComponent as ɵht, TransactionAvailableStockGridModule as ɵhu, TransactionAvailableStockGridComponent as ɵhv, TransactionLineSidePanelPurchaseComponent as ɵhw, TransactionLineSidePanelComponent as ɵhx, DynamicBaseComponent as ɵhy, TransactionLineActionButtonsModule as ɵhz, BusinessObjectCacheManagerService as ɵi, TransactionArticleTextOverviewModule as ɵia, TransactionArticleTextOverviewComponent as ɵib, TransactionLineActionButtonsComponent as ɵic, TransactionBaseGridComponent as ɵid, TransactionGridBaseComponent as ɵie, DialogTransactionLineCommissionCodeModule as ɵif, DialogTransactionLineCommissionCodeComponent as ɵig, DialogTransactionLineBaseComponent as ɵih, DialogTransactionLineWarehouseModule as ɵii, DialogTransactionLineWarehouseComponent as ɵij, DialogTransactionLineWarehouseCcModule as ɵik, DialogTransactionLineWarehouseCcComponent as ɵil, DialogTransactionLineDeliveryMethodModule as ɵim, DialogTransactionLineDeliveryMethodComponent as ɵin, DialogTransactionLineVatModule as ɵio, DialogTransactionLineVatComponent as ɵip, DialogTransactionLineDiscountModule as ɵiq, DialogTransactionLinePriceListModule as ɵir, DialogTransactionLinePriceListComponent as ɵis, DialogTransactionLineDiscountComponent as ɵit, TransactionLinesGridComponent as ɵiu, DiscountModule as ɵiv, DiscountComponent as ɵiw, TransactionQuickAccessOverviewModule as ɵix, TransactionQuickAccessOverviewComponent as ɵiy, TransactionQuickAccessOrderDeliveryModule as ɵiz, CacheField as ɵj, TransactionSendButtonDialogModule as ɵja, TransactionSendButtonDialogComponent as ɵjb, TransactionQuickAccessOrderDeliveryComponent as ɵjc, TransactionOrderDeliveryService as ɵjd, TransactionQuickAccessOrderPurchaseModule as ɵje, TransactionQuickAccessOrderPurchaseComponent as ɵjf, TransactionOrderConfirmationGridModule as ɵjg, TransactionOrderConfirmationGridComponent as ɵjh, TransactionReceivedGoodsGridModule as ɵji, DialogTransactionLineWarehouseLocationModule as ɵjj, TransactionLineWarehouseLocationModule as ɵjk, TransactionLineWarehouseLocationComponent as ɵjl, DialogTransactionLineWarehouseLocationComponent as ɵjm, TransactionLineWarehouseLocationButtonModule as ɵjn, TransactionLineWarehouseLocationButtonComponent as ɵjo, TransactionReceivedGoodsGridComponent as ɵjp, ViewModeButtonsModule as ɵjq, ViewModeButtonsComponent as ɵjr, TransactionGridModule as ɵjs, TransactionGridComponent as ɵjt, TransactionTileModule as ɵju, TransactionTileComponent as ɵjv, TransactionOverviewLineModule as ɵjw, EditableLabelModule as ɵjx, EditableLabelComponent as ɵjy, TransactionBaseLineModule as ɵjz, SelectMultipleParameterizedCacheService as ɵk, TransactionBaseLineComponent as ɵka, TransactionLinesLineBaseComponent as ɵkb, TransactionLineCommissionButtonModule as ɵkc, TransactionLineCommissionButtonComponent as ɵkd, TransactionLineWarehouseButtonModule as ɵke, TransactionLineWarehouseButtonComponent as ɵkf, TransactionLineDeliveryButtonModule as ɵkg, TransactionLineDeliveryButtonComponent as ɵkh, TransactionLineDeliveryDateButtonModule as ɵki, TransactionLineDeliveryDateButtonComponent as ɵkj, TransactionLineAmountModule as ɵkk, TransactionLineAmountComponent as ɵkl, TransactionOverviewLineComponent as ɵkm, TransactionOrderDeliveryLineModule as ɵkn, TransactionOrderDeliveryLineComponent as ɵko, TransactionReceiveGoodsLineModule as ɵkp, TransactionReceiveGoodsLineComponent as ɵkq, TransactionPurchaseLineModule as ɵkr, TransactionLineSupplierButtonModule as ɵks, DialogTransactionLineSupplierModule as ɵkt, DialogTransactionLineSupplierComponent as ɵku, TransactionLineSupplierButtonComponent as ɵkv, TransactionPurchaseLineComponent as ɵkw, QuickSendButtonModule as ɵkx, QuickSendButtonComponent as ɵky, TransactionSearchResultModule as ɵkz, ErrorService as ɵl, TransactionSearchSalesOrderTileModule as ɵla, TransactionSearchSalesOrderTileComponent as ɵlb, TransactionSearchTileBaseComponent as ɵlc, TransactionSearchPurchaseOrderTileModule as ɵld, TransactionSearchPurchaseOrderTileComponent as ɵle, TransactionSearchSalesOrderGridModule as ɵlf, TransactionSearchSalesOrderGridComponent as ɵlg, TransactionSearchGridBaseComponent as ɵlh, TransactionSearchPurchaseOrderGridModule as ɵli, TransactionSearchPurchaseOrderGridComponent as ɵlj, TransactionSearchHeaderModule as ɵlk, TransactionSearchHeaderComponent as ɵll, TransactionSearchGridModule as ɵlm, TransactionSearchGridComponent as ɵln, TransactionSearchTileModule as ɵlo, TransactionSearchTileComponent as ɵlp, TransactionSearchResultComponent as ɵlq, TransactionSalesOrderFilterModule as ɵlr, TransactionSalesOrderFilterContentOrderModule as ɵls, TransactionFilterItemModule as ɵlt, TransactionFilterItemComponent as ɵlu, TransactionSalesOrderFilterContentOrderComponent as ɵlv, TransactionFilterContentBaseComponent as ɵlw, FilterRequestService as ɵlx, TransactionSalesOrderFilterContentLogisticsModule as ɵly, TransactionFilterHistoricStateModule as ɵlz, SelectSingleCacheService as ɵm, TransactionFilterHistoricStateComponent as ɵma, TransactionSalesOrderFilterContentLogisticsComponent as ɵmb, TransactionSalesOrderFilterContentArticleModule as ɵmc, TransactionSalesOrderFilterContentArticleComponent as ɵmd, TransactionSalesOrderFilterComponent as ɵme, TransactionFilterBaseComponent as ɵmf, TransactionPurchaseOrderFilterModule as ɵmg, TransactionPurchaseOrderFilterContentOrderModule as ɵmh, TransactionPurchaseOrderFilterContentOrderComponent as ɵmi, TransactionPurchaseOrderFilterContentLogisticsModule as ɵmj, TransactionPurchaseOrderFilterContentLogisticsComponent as ɵmk, TransactionPurchaseOrderFilterContentArticleModule as ɵml, TransactionPurchaseOrderFilterContentArticleComponent as ɵmm, TransactionPurchaseOrderFilterComponent as ɵmn, TransactionFilterModule as ɵmo, TransactionFilterComponent as ɵmp, ArticleConnectorService as ɵn, TransactionEventService as ɵo, RelationConnectorService as ɵp, CoreModule as ɵq, ConfirmationDialogModule as ɵr, PipeModule as ɵs, AppendPipe as ɵt, DeliveryTimePipe as ɵu, DateDurationPipe as ɵv, LocalizePipe as ɵw, CoCurrencyPipe as ɵx, SafeStylePipe as ɵy, SafeHtmlPipe as ɵz };
23079
23272
  //# sourceMappingURL=colijnit-transaction.js.map