@colijnit/transaction 12.1.146 → 12.1.147

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 (91) hide show
  1. package/bundles/colijnit-transaction.umd.js +395 -246
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +12 -12
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +13 -13
  6. package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -2
  7. package/esm2015/lib/component/core/base/transaction-base.component.js +11 -3
  8. package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +2 -1
  9. package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +1 -3
  10. package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.module.js +6 -3
  11. package/esm2015/lib/component/payment/payment.component.js +149 -66
  12. package/esm2015/lib/component/transaction-card/transaction-card-invoice/transaction-card-invoice.component.js +50 -48
  13. package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-order.component.js +3 -1
  14. package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/transaction-cash-register-payment-dialog.component.js +3 -2
  15. package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +3 -1
  16. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +2 -1
  17. package/esm2015/lib/component/transaction-header-fields/transaction-header-remaining-amount.component.js +2 -2
  18. package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line-base.component.js +13 -3
  19. package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.js +15 -11
  20. package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line-base.component.js +20 -7
  21. package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +3 -2
  22. package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +8 -4
  23. package/esm2015/lib/component/transaction-line/transaction-picked-line/transaction-picked-line.component.js +4 -2
  24. package/esm2015/lib/component/transaction-line/transaction-picked-line/transaction-picked-line.module.js +4 -3
  25. package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.js +3 -3
  26. package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +20 -13
  27. package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.js +6 -5
  28. package/esm2015/lib/component/transaction-line/transaction-to-be-picked-line/transaction-to-be-picked-line.component.js +4 -2
  29. package/esm2015/lib/component/transaction-line/transaction-to-be-picked-line/transaction-to-be-picked-line.module.js +4 -3
  30. package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons-popup.component.js +2 -2
  31. package/esm2015/lib/component/transaction-line-fields/transaction-line-confirmed-price/transaction-line-confirmed-price.component.js +72 -0
  32. package/esm2015/lib/component/transaction-line-fields/transaction-line-confirmed-price/transaction-line-confirmed-price.module.js +24 -0
  33. package/esm2015/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.component.js +3 -3
  34. package/esm2015/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.module.js +4 -3
  35. package/esm2015/lib/component/transaction-line-fields/transaction-line-quantity.component.js +2 -1
  36. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +4 -2
  37. package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +4 -4
  38. package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.component.js +14 -12
  39. package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.module.js +7 -3
  40. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +14 -14
  41. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +45 -43
  42. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +2 -2
  43. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.js +2 -2
  44. package/esm2015/lib/enum/icon.enum.js +2 -1
  45. package/esm2015/lib/model/icon-svg.js +2 -1
  46. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  47. package/esm2015/lib/service/payment.service.js +18 -18
  48. package/esm2015/lib/service/transaction-base.service.js +1 -2
  49. package/esm2015/lib/service/transaction.service.js +1 -5
  50. package/esm2015/lib/transaction-version.js +3 -3
  51. package/fesm2015/colijnit-transaction.js +504 -348
  52. package/fesm2015/colijnit-transaction.js.map +1 -1
  53. package/lib/component/core/base/transaction-base.component.d.ts +2 -0
  54. package/lib/component/dialog/dialog-header-search/style/_layout.scss +1 -0
  55. package/lib/component/dialog/dialog-header-search/style/_material-definition.scss +2 -1
  56. package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_material-definition.scss +1 -1
  57. package/lib/component/payment/payment.component.d.ts +22 -14
  58. package/lib/component/payment/style/_layout.scss +1 -0
  59. package/lib/component/payment/style/_material-definition.scss +1 -0
  60. package/lib/component/transaction-cash-register-order/transaction-cash-register-order.component.d.ts +1 -0
  61. package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/transaction-cash-register-payment-dialog.component.d.ts +1 -0
  62. package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +11 -0
  63. package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss +3 -0
  64. package/lib/component/transaction-header-fields/transaction-header-remaining-amount.component.d.ts +0 -1
  65. package/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line-base.component.d.ts +2 -1
  66. package/lib/component/transaction-line/transaction-line/style/_layout.scss +1 -1
  67. package/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line-base.component.d.ts +3 -1
  68. package/lib/component/transaction-line/transaction-purchase-order-line/style/_layout.scss +9 -3
  69. package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.d.ts +0 -1
  70. package/lib/component/transaction-line-fields/transaction-line-confirmed-price/style/_layout.scss +17 -0
  71. package/lib/component/transaction-line-fields/transaction-line-confirmed-price/style/_material-definition.scss +1 -0
  72. package/lib/component/transaction-line-fields/transaction-line-confirmed-price/style/_theme.scss +4 -0
  73. package/lib/component/transaction-line-fields/transaction-line-confirmed-price/style/material.scss +4 -0
  74. package/lib/component/transaction-line-fields/transaction-line-confirmed-price/transaction-line-confirmed-price.component.d.ts +17 -0
  75. package/lib/component/transaction-line-fields/transaction-line-confirmed-price/transaction-line-confirmed-price.module.d.ts +2 -0
  76. package/lib/component/transaction-line-purchase-confirmation/style/_layout.scss +2 -2
  77. package/lib/component/transaction-line-sales-allocation/style/_layout.scss +4 -15
  78. package/lib/component/transaction-line-side-panel/style/_layout.scss +18 -0
  79. package/lib/component/transaction-lines/style/material.scss +1 -0
  80. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +3 -3
  81. package/lib/enum/icon.enum.d.ts +1 -0
  82. package/lib/res/dictionary/dictionaries.d.ts +7 -0
  83. package/lib/service/payment.service.d.ts +2 -2
  84. package/lib/service/transaction-base.service.d.ts +0 -1
  85. package/lib/service/transaction.service.d.ts +0 -1
  86. package/lib/style/_variables.scss +4 -2
  87. package/package.json +1 -1
  88. package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.component.js +0 -72
  89. package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.module.js +0 -23
  90. package/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.component.d.ts +0 -15
  91. package/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.module.d.ts +0 -2
@@ -63,6 +63,8 @@ export declare abstract class TransactionBaseComponent implements OnInit, OnDest
63
63
  fullyInvoiced: boolean;
64
64
  fullyDelivered: boolean;
65
65
  hasMultipleLines: boolean;
66
+ canAllLinesBeDelivered: boolean;
67
+ canAllLinesBeInvoiced: boolean;
66
68
  hasLinesToDeliver: boolean;
67
69
  hasLinesToInvoice: boolean;
68
70
  lineHasLogisticalState: boolean;
@@ -12,6 +12,7 @@
12
12
  }
13
13
  .co-input-search {
14
14
  height: $tp-dialog-header-search-input-height;
15
+ margin: $tp-dialog-header-search-input-margin;
15
16
  .co-input-text:not(.custom-height) {
16
17
  label {
17
18
  top: math.div($tp-dialog-header-search-input-height, 2);
@@ -3,4 +3,5 @@ $tp-dialog-header-search-title-font-size: $tp-font-size-big !default;
3
3
  $tp-dialog-header-search-title-font-weight: bold !default;
4
4
  $tp-dialog-header-search-title-margin: 0 0 20px 0 !default;
5
5
  $tp-dialog-header-search-input-height: $cc-co-input-search-height !default;
6
- $tp-dialog-header-search-margin: 0 0 20px 0 !default;
6
+ $tp-dialog-header-search-margin: 0 0 10px 0 !default;
7
+ $tp-dialog-header-search-input-margin: 10px 0 0 0 !default;
@@ -1,2 +1,2 @@
1
1
  $tp-dialog-transaction-line-commission-code-min-width: 410px !default;
2
- $tp-dialog-transaction-line-commission-code-height: 100px !default;
2
+ $tp-dialog-transaction-line-commission-code-height: 200px !default;
@@ -6,16 +6,13 @@ import { PaymentService } from '../../service/payment.service';
6
6
  import { SharedService } from '../../service/shared.service';
7
7
  import { PaymentMethod } from '@colijnit/transactionapi/build/model/payment-method.bo';
8
8
  import { PaymentViewmodel } from '../../model/payment.viewmodel';
9
- import { DepositPaymentViewModel } from '../../model/deposit-payment-view-model';
10
- import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
11
9
  import { TransactionEventService } from '../../service/transaction-event.service';
12
10
  export declare class PaymentComponent implements OnInit, OnDestroy {
13
- paymentService: PaymentService;
14
11
  private _transactionService;
15
12
  private _sharedService;
13
+ private _paymentService;
16
14
  private _transactionEventService;
17
15
  readonly icons: typeof Icon;
18
- readonly transKind: typeof TransactionKind;
19
16
  transId: number;
20
17
  transactionUuid: string;
21
18
  branch: string;
@@ -23,34 +20,45 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
23
20
  set amount(value: number);
24
21
  get amount(): number;
25
22
  currencyId: number;
26
- transactionKind: TransactionKind;
27
23
  payed: EventEmitter<void>;
28
24
  showClass(): boolean;
29
- selectedPaymentMethod: PaymentMethod;
30
- selectedCashRegister: CashRegister;
25
+ paymentMethodIdx: number;
26
+ cashRegisterIdx: number;
31
27
  paymentMethods: PaymentViewmodel[];
32
- depositPayments: DepositPaymentViewModel[];
33
28
  cashRegisters: any[];
34
29
  showCashRegisters: boolean;
30
+ showKeyPad: boolean;
35
31
  showPspQrCode: boolean;
32
+ currentPaymentMethod: PaymentMethod;
36
33
  qrCodeImage: string;
37
34
  showLoader: boolean;
38
35
  amountToPay: number;
36
+ statusMessage: string;
39
37
  private _amount;
40
38
  private _paymentStatusInterval;
39
+ private _paymentStatusPollIntervalMs;
40
+ private _paymentStatusMaxPollInterval;
41
+ private _paymentStatusPollIntervalCount;
42
+ private _paymentResult;
41
43
  private _subs;
42
- constructor(paymentService: PaymentService, _transactionService: TransactionService, _sharedService: SharedService, _transactionEventService: TransactionEventService);
44
+ constructor(_transactionService: TransactionService, _sharedService: SharedService, _paymentService: PaymentService, _transactionEventService: TransactionEventService);
43
45
  ngOnInit(): Promise<void>;
44
46
  ngOnDestroy(): void;
45
- paymentMethodSelected(method: PaymentMethod): void;
46
- cashRegisterSelected(cashRegister: CashRegister): void;
47
+ paymentMethodSelected(method: PaymentMethod, index: number): void;
48
+ cashRegisterSelected(cashRegister: CashRegister, index: number): void;
49
+ handlePayment(): void;
47
50
  handleKeyPadModelChange(model: number): void;
48
51
  private _getDepositPaymentInfo;
49
- private _calculateAmountToPay;
52
+ private _dataUriToBase64;
53
+ private _waitForPaymentStatus;
54
+ private _waitForPinPaymentStatus;
50
55
  private _clearInterval;
56
+ /**
57
+ *
58
+ * @private
59
+ */
51
60
  private _prepareCashRegisters;
52
61
  private _getCashRegisters;
53
62
  private _getPaymentMethods;
54
- private _getToPayDetails;
55
- handlePayment(): void;
63
+ private _handlePayment;
56
64
  }
@@ -101,6 +101,7 @@
101
101
  .payment-to-pay-keypad {
102
102
  grid-column: 2 / 2;
103
103
  grid-row: 1 / 3;
104
+ max-width: $tp-payment-keypad-max-width;
104
105
  }
105
106
  }
106
107
  }
@@ -20,3 +20,4 @@ $tp-payment-error-font-family: $tp-font-family !default;
20
20
  $tp-payment-error-font-size: $tp-font-size !default;
21
21
  $tp-payment-error-font-style: italic !default;
22
22
  $tp-payment-error-font-color: $tp-color-error !default;
23
+ $tp-payment-keypad-max-width: 300px !default;
@@ -31,6 +31,7 @@ export declare class TransactionCashRegisterOrderComponent extends TransactionBa
31
31
  showLinkRelationDialog: boolean;
32
32
  showCashRegisterPaymentDialog: boolean;
33
33
  transId: number;
34
+ transactionUuid: string;
34
35
  currencyId: number;
35
36
  cashRegisterPaymentDetails: PaymentTransactionViewModel;
36
37
  private _subs;
@@ -10,6 +10,7 @@ export declare class TransactionCashRegisterPaymentDialogComponent implements On
10
10
  private _transactionEventService;
11
11
  readonly paymentStates: typeof TransactionCashRegisterPaymentState;
12
12
  transId: number;
13
+ transactionUuid: string;
13
14
  currencyId: number;
14
15
  set paymentViewModel(paymentViewModel: PaymentViewmodel);
15
16
  closeDialog: EventEmitter<void>;
@@ -133,6 +133,10 @@
133
133
  }
134
134
  .save-button, .close-button {
135
135
  height: $tp-transaction-header-popup-save-button-size;
136
+ border-color: $tp-transaction-header-popup-button-border-color;
137
+ border-style: $tp-transaction-header-popup-button-border-style;
138
+ border-width: $tp-transaction-header-popup-button-border-width;
139
+ cursor: pointer;
136
140
  .co-icon {
137
141
  height: $tp-transaction-header-popup-save-button-icon-size;
138
142
  width: $tp-transaction-header-popup-save-button-icon-size;
@@ -171,5 +175,12 @@
171
175
  margin: 5px 0 0 0;
172
176
  }
173
177
  }
178
+ .co-carousel {
179
+ .carousel-wrapper {
180
+ .co-relation-address-tile {
181
+ height: 100%;
182
+ }
183
+ }
184
+ }
174
185
  }
175
186
  }
@@ -45,6 +45,9 @@ $tp-transaction-header-popup-section-grid-column-gap: 20px !default;
45
45
  $tp-transaction-header-popup-save-button-size: 40px !default;
46
46
  $tp-transaction-header-popup-save-button-icon-size: 20px !default;
47
47
  $tp-transaction-header-popup-save-button-icon-color: $tp-color-action !default;
48
+ $tp-transaction-header-popup-button-border-color: #DCE4EA !default;
49
+ $tp-transaction-header-popup-button-border-width: 0 0 2px 0 !default;
50
+ $tp-transaction-header-popup-button-border-style: solid !default;
48
51
 
49
52
  $tp-transaction-header-popup-business-rule-applied-icon-size: 20px !default;
50
53
  $tp-transaction-header-popup-business-rule-applied-icon-color: red !default;
@@ -9,7 +9,6 @@ export declare class TransactionHeaderRemainingAmountComponent implements OnInit
9
9
  transactionUuid: string;
10
10
  remainingAmountChange: EventEmitter<number>;
11
11
  showClass: boolean;
12
- remainingAmount: number;
13
12
  private _subs;
14
13
  constructor(transactionService: TransactionService, _transactionEventService: TransactionEventService, _paymentService: PaymentService);
15
14
  ngOnInit(): void;
@@ -4,7 +4,7 @@ import { TransactionTypeCategory } from '../../../enum/transaction-type-category
4
4
  export declare abstract class TransactionInvoiceLineBaseComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
5
5
  readonly category: typeof TransactionTypeCategory;
6
6
  private _subscriptions;
7
- showCheckBox: boolean;
7
+ showCheckbox: boolean;
8
8
  ngOnInit(): void;
9
9
  ngOnDestroy(): void;
10
10
  protected visibilitySet(visible: boolean): void;
@@ -12,4 +12,5 @@ export declare abstract class TransactionInvoiceLineBaseComponent extends Transa
12
12
  handleLineClicked(mouseClick: PointerEvent): void;
13
13
  handleSelectCheckboxClick(checked: boolean): Promise<void>;
14
14
  updateSelectedQuantity(): Promise<void>;
15
+ private _checkCheckbox;
15
16
  }
@@ -100,7 +100,7 @@
100
100
  height: 100%;
101
101
  }
102
102
  }
103
- .transaction-line-totals-price, .transaction-line-totals-discount, .transaction-line-totals-total {
103
+ .transaction-line-totals-price, .transaction-line-totals-discount, .transaction-line-totals-total, .transaction-line-confirmed-price {
104
104
  display: flex;
105
105
  align-items: center;
106
106
  justify-content: $tp-transaction-line-totals-justify-content;
@@ -2,11 +2,13 @@ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
3
3
  export declare abstract class TransactionOrderDeliveryLineBaseComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
4
4
  private _subscriptions;
5
+ showCheckbox: boolean;
5
6
  ngOnInit(): void;
6
- protected transactionLineSet(): void;
7
7
  ngOnDestroy(): void;
8
8
  showNumberPicker(): boolean;
9
9
  handleLineClicked(mouseClick: PointerEvent): void;
10
10
  handleSelectCheckboxClick(checked: boolean): Promise<void>;
11
11
  updateSelectedQuantity(): Promise<void>;
12
+ protected transactionLineSet(): void;
13
+ private _checkCheckbox;
12
14
  }
@@ -7,7 +7,7 @@
7
7
  margin-right: 10px;
8
8
  column-gap: 10px;
9
9
 
10
- co-transaction-line-statusbar {
10
+ .co-transaction-line-statusbar {
11
11
  width: 75px;
12
12
  }
13
13
 
@@ -17,16 +17,22 @@
17
17
  column-gap: 10px;
18
18
  row-gap: 10px;
19
19
 
20
- co-input-text, co-editable-label {
20
+ .co-input-text, .co-editable-label, .co-transaction-line-confirmed-price {
21
21
  width: $tp-transaction-default-button-width;
22
22
  height: $tp-transaction-default-button-height;
23
23
  }
24
24
 
25
- co-input-number-picker {
25
+ .co-input-number-picker {
26
26
  width: $tp-transaction-line-input-number-picker-width;
27
27
  height: $tp-transaction-default-button-height;
28
28
  }
29
29
  }
30
30
  }
31
+ .transaction-input-right-align {
32
+ input {
33
+ width: 100%;
34
+ text-align: $tp-transaction-input-right-align;
35
+ }
36
+ }
31
37
  }
32
38
  }
@@ -1,5 +1,4 @@
1
1
  import { TransactionPurchaseOrderLineBaseComponent } from './transaction-purchase-order-line-base.component';
2
2
  export declare class TransactionPurchaseOrderLineComponent extends TransactionPurchaseOrderLineBaseComponent {
3
3
  showClass(): boolean;
4
- confirmDeliveryDate(data: any): void;
5
4
  }
@@ -0,0 +1,17 @@
1
+ @include export-module('co-transaction-line-confirmed-price-layout') {
2
+ .co-transaction-line-confirmed-price {
3
+ span {
4
+ width: 100%;
5
+ text-align: $co-transaction-line-confirmed-price-text-align;
6
+ }
7
+ .co-input-text {
8
+ input {
9
+ width: 100%;
10
+ text-align: $co-transaction-line-confirmed-price-text-align;
11
+ }
12
+ }
13
+ }
14
+ .input-text {
15
+ height: 20px;
16
+ }
17
+ }
@@ -0,0 +1 @@
1
+ $co-transaction-line-confirmed-price-text-align: end !default;
@@ -0,0 +1,4 @@
1
+ @include export-module('co-transaction-line-confirmed-price-theme') {
2
+ .co-transaction-line-confirmed-price {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,17 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { InputTextComponent } from '@colijnit/corecomponents_v12';
3
+ import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
4
+ export declare class TransactionLineConfirmedPriceComponent extends TransactionBaseComponent {
5
+ set child(content: any);
6
+ showLabel: boolean;
7
+ defaultEditMode: boolean;
8
+ readonly: boolean;
9
+ set editMode(value: boolean);
10
+ price: string;
11
+ priceChange: EventEmitter<string>;
12
+ get editMode(): boolean;
13
+ showClass: boolean;
14
+ handleClick(event: MouseEvent): void;
15
+ input: InputTextComponent;
16
+ private _editMode;
17
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionLineConfirmedPriceModule {
2
+ }
@@ -28,7 +28,7 @@
28
28
  }
29
29
 
30
30
  .details-column {
31
- width: 45%;
31
+ width: 50%;
32
32
  display: flex;
33
33
  row-gap: 10px;
34
34
  flex-direction: column;
@@ -46,7 +46,7 @@
46
46
 
47
47
  .divider-wrapper {
48
48
  display: flex;
49
- width: 10%;
49
+ width: 5%;
50
50
  justify-content: center;
51
51
 
52
52
  .divider {
@@ -1,28 +1,17 @@
1
1
  @include export-module('co-transaction-line-sales-allocation-layout') {
2
2
  .co-transaction-line-sales-allocation {
3
3
  .columns-wrapper {
4
- display: flex;
5
4
  }
6
5
 
7
6
  .details-column {
8
- width: 45%;
9
- }
10
-
11
- .divider-wrapper {
12
7
  display: flex;
13
- width: 10%;
14
- justify-content: center;
15
- visibility: hidden;
16
-
17
- .divider {
18
- border-left: 1px solid;
19
- border-color: $tp-color-border;
20
- margin: 5px; // $tp-co-transaction-request-details-input-margin;
8
+ gap: 10px;
9
+ > * {
10
+ flex: 1;
21
11
  }
22
12
  }
23
-
24
13
  .details-input {
25
- margin: 5px; // $tp-co-transaction-request-details-input-margin;
14
+ margin: 10px 0;
26
15
  }
27
16
 
28
17
  .location-wrapper {
@@ -101,5 +101,23 @@
101
101
  .hidden {
102
102
  visibility: hidden;
103
103
  }
104
+ .details-header {
105
+ font-size: 14px;
106
+ font-weight: bold;
107
+ color: #171721;
108
+ }
109
+ .collapsible-header {
110
+ padding: 0;
111
+ }
112
+ .co-transaction-button {
113
+ height: 45px;
114
+ }
115
+ .co-transaction-line-price {
116
+ .co-input-text {
117
+ input {
118
+ text-align: start;
119
+ }
120
+ }
121
+ }
104
122
  }
105
123
  }
@@ -19,5 +19,6 @@
19
19
  @import "../../../component/transaction-line/transaction-cash-register-order-line/style/material";
20
20
  @import "../../../component/transaction-line/transaction-sales-order-quotation-line/style/material";
21
21
  @import "../../../component/transaction-line-fields/transaction-line-price/style/material";
22
+ @import "../../../component/transaction-line-fields/transaction-line-confirmed-price/style/material";
22
23
  @import "../../shared/transaction-article-text/style/material";
23
24
  @import "../../shared/transaction-article-text-overview/style/material";
@@ -1,6 +1,6 @@
1
- import { OnInit } from "@angular/core";
2
- import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
3
- import { GetPurchaseOrderConfirmation } from "@colijnit/transactionapi/build/model/get-purchase-order-confirmation";
1
+ import { OnInit } from '@angular/core';
2
+ import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
3
+ import { GetPurchaseOrderConfirmation } from '@colijnit/transactionapi/build/model/get-purchase-order-confirmation';
4
4
  export declare class TransactionQuickAccessOrderConfirmationComponent extends TransactionBaseComponent implements OnInit {
5
5
  purchaseOrderConfirmation: GetPurchaseOrderConfirmation;
6
6
  showClass(): boolean;
@@ -49,6 +49,7 @@ export declare enum Icon {
49
49
  GripDotsVerticalSolid = "grip_dots_vertical_solid",
50
50
  IdealLogo = "ideal_logo",
51
51
  InboxInSolid = "inbox_in_solid",
52
+ IndustryRegular = "industry_regular",
52
53
  IndustrySolid = "industry_solid",
53
54
  Invoice = "invoice",
54
55
  ListRegular = "list_regular",
@@ -2113,6 +2113,7 @@ export declare class Dictionaries {
2113
2113
  ALLOCATED_NOT_INVOICED: string;
2114
2114
  ALLOCATE_ALL: string;
2115
2115
  ALLOCATE_ALL_SELECTED_ORDERS: string;
2116
+ ALLOCATE_DETAILS: string;
2116
2117
  ALLOCATE_FIFO: string;
2117
2118
  ALLOCATE_ORDERS: string;
2118
2119
  ALLOCATE_STD_LOCATION: string;
@@ -5998,6 +5999,7 @@ export declare class Dictionaries {
5998
5999
  PHOTO_DIMENSION_TOOL: string;
5999
6000
  PHYSICAL: string;
6000
6001
  PICKED: string;
6002
+ PICKED_DETAILS: string;
6001
6003
  PICKING_BY_STORAGE: string;
6002
6004
  PICKING_BY_STORAGE_FOR_TRANSFER: string;
6003
6005
  PICKING_CONTROLE: string;
@@ -7708,6 +7710,7 @@ export declare class Dictionaries {
7708
7710
  TO_BE_CONFIRMED: string;
7709
7711
  TO_BE_INVOICED: string;
7710
7712
  TO_BE_PICKED: string;
7713
+ TO_BE_PICKED_DETAILS: string;
7711
7714
  TO_BE_PLANNED: string;
7712
7715
  TO_BE_TRANSPORTED: string;
7713
7716
  TO_BE_USED: string;
@@ -10154,6 +10157,7 @@ export declare class Dictionaries {
10154
10157
  ALLOCATED_NOT_DELIVERED: string;
10155
10158
  ALLOCATED_NOT_INVOICED: string;
10156
10159
  ALLOCATE_ALL: string;
10160
+ ALLOCATE_DETAILS: string;
10157
10161
  ALLOCATE_ALL_SELECTED_ORDERS: string;
10158
10162
  ALLOCATE_FIFO: string;
10159
10163
  ALLOCATE_ORDERS: string;
@@ -14222,6 +14226,7 @@ export declare class Dictionaries {
14222
14226
  OPV_TREE_MAINTENANCE: string;
14223
14227
  OR: string;
14224
14228
  ORDER: string;
14229
+ ORDER_LINE_HAS_LOGISTICAL_STATE: string;
14225
14230
  ORDERAMOUNT: string;
14226
14231
  ORDERCONFIRMATION_ACCEPTANCE: string;
14227
14232
  ORDERED: string;
@@ -14543,6 +14548,7 @@ export declare class Dictionaries {
14543
14548
  PHYSICAL: string;
14544
14549
  PHYSICAL_STOCK: string;
14545
14550
  PICKED: string;
14551
+ PICKED_DETAILS: string;
14546
14552
  PICKING_BY_STORAGE: string;
14547
14553
  PICKING_BY_STORAGE_FOR_TRANSFER: string;
14548
14554
  PICKING_CONTROLE: string;
@@ -16493,6 +16499,7 @@ export declare class Dictionaries {
16493
16499
  TO_BE_CONFIRMED: string;
16494
16500
  TO_BE_INVOICED: string;
16495
16501
  TO_BE_PICKED: string;
16502
+ TO_BE_PICKED_DETAILS: string;
16496
16503
  TO_BE_PLANNED: string;
16497
16504
  TO_BE_TRANSPORTED: string;
16498
16505
  TO_BE_USED: string;
@@ -54,8 +54,8 @@ export declare class PaymentService {
54
54
  getPaymentMethodsForSalesOrder(branchNr: string): Promise<PaymentMethod[]>;
55
55
  getPaymentMethodsForCashRegister(branchNr: string): Promise<PaymentMethod[]>;
56
56
  processPosTransactionByUuid(uuid: string): Promise<boolean>;
57
- getPaymentMethodsViewModels(branchNr: string, transactionKind: TransactionKind): Promise<PaymentViewmodel[]>;
58
- handlePayment(paymentMethod: PaymentMethod, transId: number, currencyId: number, cashRegister?: CashRegister, amountToPay?: number): void;
57
+ getPaymentMethodsViewModels(branchNr: string, transactionKind?: TransactionKind): Promise<PaymentViewmodel[]>;
58
+ handlePayment(paymentMethod: PaymentMethod, transactionUuid: string, transId: number, currencyId: number, cashRegister?: CashRegister, amountToPay?: number): void;
59
59
  private _handlePayment;
60
60
  private _doPayment;
61
61
  private _getDepositPaymentInfo;
@@ -73,7 +73,6 @@ export declare class TransactionBaseService {
73
73
  purchasePortalLine: PurchasePortalLine[];
74
74
  docDeliveryBatch: DocDeliveryBatch;
75
75
  internalParameterAllowsDropShipment: boolean;
76
- internalParameterPartialInvoice: boolean;
77
76
  internalParameterReceiveGoodsWithDataTerminal: boolean;
78
77
  internalParameterPakBinnen: boolean;
79
78
  articleAmount: number;
@@ -112,7 +112,6 @@ export declare class TransactionService extends PendingReasonService {
112
112
  logOut(): Promise<void>;
113
113
  preparePakBinnenInternalParam(): void;
114
114
  prepareDropShipmentInternalParam(): void;
115
- preparePartialInvoiceInternalParam(): void;
116
115
  prepareReceiveGoodsWithDataTerminalInternalParam(): void;
117
116
  getFocusStatusIndex(category: TransactionTypeCategory): number;
118
117
  getRelationKindFromTransactionKind(): RelationKind;
@@ -19,7 +19,7 @@ $tp-color-font: #171721 !default;
19
19
  $tp-color-text-grey: #747b87 !default;
20
20
  $tp-color-negative-value: #C1002A !default;
21
21
  $tp-color-discount-value: #FF4141 !default;
22
- $tp-color-payed-value: #FF4141 !default;
22
+ $tp-color-payed-value: #37c949 !default;
23
23
 
24
24
  $tp-color-border: #DCE4EA !default;
25
25
  $tp-color-background-selected: #f1fcff !default;
@@ -92,9 +92,11 @@ $tp-transaction-header-font-family: $tp-font-family !default;
92
92
  $tp-transaction-header-font-size: 14px !default;
93
93
  $tp-transaction-header-font-color: $tp-color-dark !default;
94
94
  $tp-transaction-lines-drag-handle-size: 30px !default;
95
- $tp-transaction-quick-access-column-gap: 10px;
95
+ $tp-transaction-quick-access-column-gap: 10px !default;
96
96
 
97
97
 
98
+ $tp-transaction-input-right-align: end !default;
99
+
98
100
  // payment num pad globals
99
101
  $tp-payment-amount-color: rgba(0, 0, 0, 0.5) !default;
100
102
  $tp-payment-amount-background-color: white !default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "12.1.146",
3
+ "version": "12.1.147",
4
4
  "description": "Colijn IT transaction module for Angular 12",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -1,72 +0,0 @@
1
- import { Component, HostBinding, HostListener, Input, ViewChild, ViewEncapsulation } from "@angular/core";
2
- import { InputTextComponent } from "@colijnit/corecomponents_v12";
3
- import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
4
- export class TransactionPurchasePortalLineConfirmedPriceComponent {
5
- constructor() {
6
- this.defaultEditMode = false;
7
- this.readonly = false;
8
- this.purchasePortalLine = new PurchasePortalLine();
9
- this.showClass = true;
10
- this._editMode = false;
11
- }
12
- set child(content) {
13
- if (content) {
14
- this.input = content;
15
- if (this._editMode) {
16
- this.input.requestFocus();
17
- setTimeout(() => {
18
- this.input.input.select();
19
- });
20
- }
21
- }
22
- }
23
- set editMode(value) {
24
- this._editMode = value;
25
- if (this._editMode && this.input) {
26
- this.input.doFocus();
27
- }
28
- }
29
- get editMode() {
30
- return this._editMode;
31
- }
32
- handleClick(event) {
33
- event.preventDefault();
34
- event.stopPropagation();
35
- if (!this.readonly) {
36
- this.editMode = true;
37
- }
38
- }
39
- }
40
- TransactionPurchasePortalLineConfirmedPriceComponent.decorators = [
41
- { type: Component, args: [{
42
- selector: "co-transaction-purchase-portal-line-confirmed-price",
43
- template: `
44
- <co-input-text *ngIf="(!editMode || readonly) && !defaultEditMode"
45
- [model]="purchasePortalLine.confirmedPrice | coCurrency"
46
- [readonly]="true"
47
- [customHeight]="true"
48
- (click)="handleClick($event)"
49
- ></co-input-text>
50
- <co-input-text #input *ngIf="editMode || defaultEditMode"
51
- [hideArrowButtons]="true"
52
- [type]="'number'"
53
- [min]="0"
54
- [(model)]="purchasePortalLine.confirmedPrice"
55
- (blur)="editMode = false"
56
- [customHeight]="true"
57
- ></co-input-text>
58
- `,
59
- encapsulation: ViewEncapsulation.None
60
- },] }
61
- ];
62
- TransactionPurchasePortalLineConfirmedPriceComponent.ctorParameters = () => [];
63
- TransactionPurchasePortalLineConfirmedPriceComponent.propDecorators = {
64
- child: [{ type: ViewChild, args: ['input', { read: InputTextComponent },] }],
65
- defaultEditMode: [{ type: Input }],
66
- readonly: [{ type: Input }],
67
- editMode: [{ type: Input }],
68
- purchasePortalLine: [{ type: Input }],
69
- showClass: [{ type: HostBinding, args: ["class.co-transaction-purchase-portal-line-confirmed-price",] }],
70
- handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
71
- };
72
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tcHVyY2hhc2UtcG9ydGFsLWxpbmUtY29uZmlybWVkLXByaWNlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLWxpbmUtZmllbGRzL3RyYW5zYWN0aW9uLXB1cmNoYXNlLXBvcnRhbC1saW5lLWNvbmZpcm1lZC1wcmljZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEcsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDaEUsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sOERBQThELENBQUM7QUFzQmhHLE1BQU0sT0FBTyxvREFBb0Q7SUFtRC9EO1FBcENPLG9CQUFlLEdBQVksS0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lxyXG4gICAgICAgICAgICAgICAgICAgW21vZGVsXT1cInB1cmNoYXNlUG9ydGFsTGluZS5jb25maXJtZWRQcmljZSB8IGNvQ3VycmVuY3lcIlxyXG4gICAgICAgICAgICAgICAgICAgW3JlYWRvbmx5XT1cInRydWVcIlxyXG4gICAgICAgICAgICAgICAgICAgW2N1c3RvbUhlaWdodF09XCJ0cnVlXCJcclxuICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJoYW5kbGVDbGljaygkZXZlbnQpXCJcclxuICAgID48L2NvLWlucHV0LXRleHQ+XHJcbiAgICA8Y28taW5wdXQtdGV4dCAjaW5wdXQgKm5nSWY9XCJlZGl0TW9kZSB8fCBkZWZhdWx0RWRpdE1vZGVcIlxyXG4gICAgICAgICAgICAgICAgICAgW2hpZGVBcnJvd0J1dHRvbnNdPVwidHJ1ZVwiXHJcbiAgICAgICAgICAgICAgICAgICBbdHlwZV09XCInbnVtYmVyJ1wiXHJcbiAgICAgICAgICAgICAgICAgICBbbWluXT1cIjBcIlxyXG4gICAgICAgICAgICAgICAgICAgWyhtb2RlbCldPVwicHVyY2hhc2VQb3J0YWxMaW5lLmNvbmZpcm1lZFByaWNlXCJcclxuICAgICAgICAgICAgICAgICAgIChibHVyKT1cImVkaXRNb2RlID0gZmFsc2VcIlxyXG4gICAgICAgICAgICAgICAgICAgW2N1c3RvbUhlaWdodF09XCJ0cnVlXCJcclxuICAgID48L2NvLWlucHV0LXRleHQ+XHJcbiAgYCxcclxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUcmFuc2FjdGlvblB1cmNoYXNlUG9ydGFsTGluZUNvbmZpcm1lZFByaWNlQ29tcG9uZW50IHtcclxuXHJcbiAgQFZpZXdDaGlsZCgnaW5wdXQnLCB7IHJlYWQ6IElucHV0VGV4dENvbXBvbmVudCB9KSBzZXQgY2hpbGQoY29udGVudCkge1xyXG4gICAgaWYgK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