@colijnit/transaction 12.1.125 → 12.1.127

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 (99) hide show
  1. package/bundles/colijnit-transaction.umd.js +504 -501
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +353 -357
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +354 -358
  6. package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -2
  7. package/esm2015/lib/component/checkout/checkout.component.js +2 -2
  8. package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +3 -2
  9. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +2 -1
  10. package/esm2015/lib/component/payment/payment.component.js +5 -2
  11. package/esm2015/lib/component/payment/payment.module.js +2 -4
  12. package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +3 -2
  13. package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +21 -4
  14. package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.module.js +11 -10
  15. package/esm2015/lib/component/transaction/transaction.component.js +24 -8
  16. package/esm2015/lib/component/transaction/transaction.module.js +2 -4
  17. package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.component.js +2 -2
  18. package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +2 -2
  19. package/esm2015/lib/component/transaction-header-fields/transaction-header-hold-codes.component.js +2 -2
  20. package/esm2015/lib/component/transaction-header-fields/transaction-header-marketing.component.js +2 -2
  21. package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +2 -1
  22. package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line-base.component.js +2 -2
  23. package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.js +6 -2
  24. package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +7 -2
  25. package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +2 -2
  26. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +2 -2
  27. package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +4 -4
  28. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.component.js +7 -7
  29. package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +2 -2
  30. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +5 -5
  31. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +7 -5
  32. package/esm2015/lib/component/transaction-navigation-button/transaction-navigation-button.component.js +2 -2
  33. package/esm2015/lib/enum/transaction-type-category.enum.js +1 -2
  34. package/esm2015/lib/interface/checkbox-list-property.interface.js +2 -0
  35. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  36. package/esm2015/lib/service/transaction-base.service.js +21 -6
  37. package/esm2015/lib/service/transaction-connector-adapter.service.js +14 -1
  38. package/esm2015/lib/service/transaction-connector.service.js +6 -1
  39. package/esm2015/lib/service/transaction-mapping.service.js +1 -3
  40. package/esm2015/lib/service/transaction.service.js +4 -1
  41. package/esm2015/lib/transaction-version.js +3 -3
  42. package/fesm2015/colijnit-transaction.js +132 -166
  43. package/fesm2015/colijnit-transaction.js.map +1 -1
  44. package/lib/component/core/base/transaction-filter-popup-base.component.d.ts +4 -3
  45. package/lib/component/payment/style/_layout.scss +20 -0
  46. package/lib/component/payment/style/_material-definition.scss +7 -0
  47. package/lib/component/payment/style/_theme.scss +24 -0
  48. package/lib/component/payment/style/material.scss +0 -1
  49. package/lib/component/shared/transaction-article-text/transaction-article-text.component.d.ts +1 -1
  50. package/lib/component/shared/transaction-article-text-overview/style/_layout.scss +13 -2
  51. package/lib/component/shared/transaction-article-text-overview/style/_material-definition.scss +2 -0
  52. package/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +8 -1
  53. package/lib/component/tile/style/_layout.scss +0 -4
  54. package/lib/component/transaction/transaction.component.d.ts +8 -3
  55. package/lib/component/transaction-header-fields/transaction-header-branch.component.d.ts +2 -1
  56. package/lib/component/transaction-header-fields/transaction-header-delivery-method.component.d.ts +2 -1
  57. package/lib/component/transaction-header-fields/transaction-header-hold-codes.component.d.ts +2 -1
  58. package/lib/component/transaction-header-fields/transaction-header-marketing.component.d.ts +2 -1
  59. package/lib/component/transaction-labeled-warehouse-location-button/style/_layout.scss +0 -4
  60. package/lib/component/transaction-line/transaction-line/style/_layout.scss +7 -1
  61. package/lib/component/transaction-line-checkbox-list/style/_layout.scss +7 -0
  62. package/lib/component/transaction-line-checkbox-list/style/_material-definition.scss +1 -0
  63. package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +2 -1
  64. package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts +2 -1
  65. package/lib/component/transaction-line-fields/transaction-line-price-list.component.d.ts +5 -4
  66. package/lib/component/transaction-line-fields/transaction-line-supplier.component.d.ts +6 -5
  67. package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +2 -1
  68. package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts +6 -5
  69. package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +4 -3
  70. package/lib/component/transaction-line-purchase-receive-goods/style/_layout.scss +0 -4
  71. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +0 -10
  72. package/lib/enum/transaction-type-category.enum.d.ts +1 -2
  73. package/lib/interface/checkbox-list-property.interface.d.ts +5 -0
  74. package/lib/res/dictionary/dictionaries.d.ts +7 -0
  75. package/lib/service/transaction-base.service.d.ts +2 -0
  76. package/lib/service/transaction-connector-adapter.service.d.ts +2 -0
  77. package/lib/service/transaction-connector.service.d.ts +2 -0
  78. package/lib/service/transaction.service.d.ts +2 -0
  79. package/package.json +1 -1
  80. package/esm2015/lib/component/payment-to-pay/payment-to-pay.component.js +0 -26
  81. package/esm2015/lib/component/payment-to-pay/payment-to-pay.module.js +0 -21
  82. package/esm2015/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.component.js +0 -52
  83. package/esm2015/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.module.js +0 -34
  84. package/lib/component/payment-to-pay/payment-to-pay.component.d.ts +0 -4
  85. package/lib/component/payment-to-pay/payment-to-pay.module.d.ts +0 -2
  86. package/lib/component/payment-to-pay/style/_layout.scss +0 -26
  87. package/lib/component/payment-to-pay/style/_material-definition.scss +0 -6
  88. package/lib/component/payment-to-pay/style/_theme.scss +0 -9
  89. package/lib/component/payment-to-pay/style/material.scss +0 -4
  90. package/lib/component/transaction-cash-register-order/style/_layout.scss +0 -126
  91. package/lib/component/transaction-cash-register-order/style/_material-definition.scss +0 -0
  92. package/lib/component/transaction-cash-register-order/style/_theme.scss +0 -4
  93. package/lib/component/transaction-cash-register-order/style/material.scss +0 -5
  94. package/lib/component/transaction-line/transaction-cash-register-order-line/style/_layout.scss +0 -4
  95. package/lib/component/transaction-line/transaction-cash-register-order-line/style/_material-definition.scss +0 -0
  96. package/lib/component/transaction-line/transaction-cash-register-order-line/style/_theme.scss +0 -4
  97. package/lib/component/transaction-line/transaction-cash-register-order-line/style/material.scss +0 -4
  98. package/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.component.d.ts +0 -4
  99. package/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.module.d.ts +0 -2
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
3
3
  import { TransactionBaseComponent } from './transaction-base.component';
4
+ import { CheckboxListPropertyInterface } from '../../../interface/checkbox-list-property.interface';
4
5
  export declare abstract class TransactionFilterPopupBaseComponent<T extends BusinessObject | number | string> extends TransactionBaseComponent {
5
6
  autoClose: boolean;
6
7
  useModel: boolean;
@@ -13,17 +14,17 @@ export declare abstract class TransactionFilterPopupBaseComponent<T extends Busi
13
14
  get collection(): T[];
14
15
  viewModels: {
15
16
  value: any;
16
- propsForLabel: string[];
17
+ propsForLabel: CheckboxListPropertyInterface[];
17
18
  checked: boolean;
18
19
  }[];
19
20
  viewModelsFiltered: {
20
21
  value: any;
21
- propsForLabel: string[];
22
+ propsForLabel: CheckboxListPropertyInterface[];
22
23
  checked: boolean;
23
24
  }[];
24
25
  protected codeField: string;
25
26
  protected checkField: string;
26
- protected propsForLabel: string[];
27
+ protected propsForLabel: CheckboxListPropertyInterface[];
27
28
  private _collection;
28
29
  private _searchText;
29
30
  commit(value: any): Promise<boolean>;
@@ -52,6 +52,26 @@
52
52
  row-gap: 10px;
53
53
  column-gap: 10px;
54
54
  }
55
+ .payment-to-pay {
56
+ display: flex;
57
+ flex-direction: column;
58
+ align-items: flex-start;
59
+ row-gap: $tp-payment-row-gap;
60
+ grid-column: 1 / 1;
61
+ grid-row: 1 / 1;
62
+ }
63
+ .payment-amount {
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: center;
67
+ height: $tp-payment-amount-height;
68
+ border: $tp-payment-amount-border;
69
+ font-family: $tp-payment-amount-font-family;
70
+ font-size: $tp-payment-amount-font-size;
71
+ font-weight: $tp-payment-amount-font-weight;
72
+ border-radius: 5px;
73
+ width: 100%;
74
+ }
55
75
 
56
76
  .payment-deposit {
57
77
  grid-column: 1 / 1;
@@ -10,7 +10,14 @@ $tp-payment-header-extra-font-color: $tp-color-colijn-orange !default;
10
10
  $tp-payment-row-gap: 20px !default;
11
11
  $tp-payment-methods-column-gap: 5px !default;
12
12
  $tp-payment-methods-row-gap: 5px !default;
13
+ $tp-payment-amount-height: 60px !default;
14
+ $tp-payment-amount-font-family: $tp-font-family !default;
15
+ $tp-payment-amount-font-size: 32px !default;
16
+ $tp-payment-amount-font-weight: bold !default;
17
+ $tp-payment-amount-color: rgba(0, 0, 0, 0.5) !default;
13
18
  $tp-payment-amount-border: 1px solid !default;
19
+ $tp-payment-amount-border-color: $tp-color-border !default;
20
+ $tp-payment-amount-background-color: #dedede5c !default;
14
21
  $tp-payment-error-margin: 5px 0 !default;
15
22
  $tp-payment-error-font-family: $tp-font-family !default;
16
23
  $tp-payment-error-font-size: $tp-font-size !default;
@@ -7,6 +7,11 @@
7
7
  color: $tp-color-colijn-orange;
8
8
  }
9
9
  }
10
+ .payment-amount {
11
+ color: $tp-payment-amount-color;
12
+ border-color: $tp-payment-amount-border-color;
13
+ background-color: $tp-payment-amount-background-color;
14
+ }
10
15
  .payment-to-pay-button {
11
16
  .payment-error-message {
12
17
  color: $tp-payment-error-font-color;
@@ -15,5 +20,24 @@
15
20
  background-color: $tp-color-colijn-orange;
16
21
  }
17
22
  }
23
+ .payment-to-pay-keypad {
24
+ .key-pad-wrapper {
25
+ background: transparent;
26
+ border-color: $tp-payment-amount-border-color;
27
+ }
28
+ .key-pad-button {
29
+ background-color: $tp-payment-amount-background-color;
30
+ color: $tp-payment-amount-color;
31
+ font-weight: bold;
32
+ .co-icon {
33
+ svg { // for fontawesome icons
34
+ fill: $tp-payment-amount-color;
35
+ }
36
+ & [fill] { // for own icons
37
+ fill: $tp-payment-amount-color;
38
+ }
39
+ }
40
+ }
41
+ }
18
42
  }
19
43
  }
@@ -4,4 +4,3 @@
4
4
  @import "../../payment-tile/style/material";
5
5
  @import "../../payment-qr-code/style/material";
6
6
  @import "../../deposit-payment/style/material";
7
- @import "../../payment-to-pay/style/material";
@@ -43,7 +43,7 @@ export declare class TransactionArticleTextComponent implements OnInit {
43
43
  ngOnInit(): Promise<void>;
44
44
  onOkClick(event: MouseEvent): void;
45
45
  onCancelClick(event: MouseEvent): void;
46
- onSelectStandardText(value: any): void;
46
+ onSelectStandardText(value: StandardText): void;
47
47
  handleDocumentsChange(codes: number[]): void;
48
48
  handleSelectAll(select: boolean): void;
49
49
  private _setShowOnDocuments;
@@ -18,13 +18,19 @@
18
18
  font-size: $tp-transaction-article-text-overview-font-size;
19
19
  display: flex;
20
20
  flex-direction: row;
21
- align-items: $tp-transaction-article-text-overview-align-items;
22
21
  background-color: white;
23
- column-gap: $tp-transaction-article-text-overview-column-gap;
24
22
  border: $tp-transaction-article-text-overview-text-border;
25
23
  border-width: $tp-transaction-article-text-overview-text-border-width;
26
24
  box-shadow: $tp-transaction-article-text-overview-text-shadow-box;
27
25
  border-radius: $tp-transaction-article-text-overview-border-radius;
26
+ justify-content: $tp-transaction-article-text-overview-justify-content;
27
+ align-items: center;
28
+ padding-right: 10px;
29
+ .article-text-description-wrapper {
30
+ display: flex;
31
+ align-items: $tp-transaction-article-text-overview-align-items;
32
+ column-gap: $tp-transaction-article-text-overview-column-gap;
33
+ }
28
34
  .index {
29
35
  padding: 10px;
30
36
  background-color: $tp-transaction-article-text-overview-index-background-color;
@@ -34,6 +40,11 @@
34
40
  max-height: 150px;
35
41
  overflow: hidden;
36
42
  }
43
+ .delete-icon {
44
+ cursor: pointer;
45
+ width: $tp-transaction-article-text-overview-delete-icon-size;
46
+ height: $tp-transaction-article-text-overview-delete-icon-size;
47
+ }
37
48
  &.selected {
38
49
  background-color: $tp-transaction-article-text-overview-selected-background-color;
39
50
  }
@@ -1,6 +1,7 @@
1
1
  $tp-transaction-article-text-overview-font-family: $tp-font-family !default;
2
2
  $tp-transaction-article-text-overview-font-size: $tp-font-size !default;
3
3
  $tp-transaction-article-text-overview-align-items: baseline !default;
4
+ $tp-transaction-article-text-overview-justify-content: space-between !default;
4
5
  $tp-transaction-article-text-overview-column-gap: 5px !default;
5
6
  $tp-transaction-article-text-overview-border-radius: 10px !default;
6
7
  $tp-transaction-article-text-overview-hover-background-color: $tp-color-hover !default;
@@ -11,3 +12,4 @@ $tp-transaction-article-text-overview-text-border-color: $tp-color-border !defau
11
12
  $tp-transaction-article-text-overview-text-shadow-box: none !default;
12
13
  $tp-transaction-article-text-overview-index-background-color: transparent !default;
13
14
  $tp-transaction-article-text-overview-buttons-column-gap: 5px !default;
15
+ $tp-transaction-article-text-overview-delete-icon-size: 15px !default;
@@ -3,9 +3,15 @@ import { TransactionEventService } from '../../../service/transaction-event.serv
3
3
  import { TransactionService } from '../../../service/transaction.service';
4
4
  import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
5
5
  import { CdkDrag, CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
6
+ import { Icon } from '../../../enum/icon.enum';
7
+ import { IconCacheService } from '../../../service/icon-cache.service';
8
+ import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
6
9
  export declare class TransactionArticleTextOverviewComponent {
7
10
  service: TransactionService;
11
+ iconCacheService: IconCacheService;
8
12
  private _transactionEventService;
13
+ readonly icons: typeof Icon;
14
+ transactionInfo: TransactionInfo;
9
15
  set transactionLine(value: TransactionLineInfo);
10
16
  closeClick: EventEmitter<MouseEvent>;
11
17
  cancelClick: EventEmitter<MouseEvent>;
@@ -17,13 +23,14 @@ export declare class TransactionArticleTextOverviewComponent {
17
23
  header: string;
18
24
  selectedIndex: number;
19
25
  private _boFactory;
20
- constructor(service: TransactionService, _transactionEventService: TransactionEventService);
26
+ constructor(service: TransactionService, iconCacheService: IconCacheService, _transactionEventService: TransactionEventService);
21
27
  onCancelClick(event: MouseEvent): Promise<void>;
22
28
  handleCanDragDrop(drag: CdkDrag, drop: CdkDropList): boolean;
23
29
  handleDrop(event: CdkDragDrop<TransactionLineInfo[]>): void;
24
30
  handleOpenArticleText(transLine: TransactionLineInfo): void;
25
31
  closeArticleText(): void;
26
32
  handleSelect(index: number): void;
33
+ deleteArticleTextClick(transLine: TransactionLineInfo): Promise<void>;
27
34
  private _hideArticleTextDialog;
28
35
  private _getArticleTexts;
29
36
  }
@@ -4,8 +4,6 @@
4
4
  .co-tile {
5
5
  display: flex;
6
6
  position: relative;
7
- width: 100%;
8
- height: 100%;
9
7
  &.selected {
10
8
  transform: scale($tp-tile-selected-zoom);
11
9
  }
@@ -19,8 +17,6 @@
19
17
  padding: $tp-tile-padding;
20
18
  width: $tp-tile-min-width;
21
19
  height: $tp-tile-min-height;
22
- min-height: $tp-tile-min-height;
23
- width: 100%;
24
20
  }
25
21
  .co-tile-select-wrapper {
26
22
  //position: absolute;
@@ -12,6 +12,7 @@ import { DynamicComponentService } from '../../service/dynamic-component.service
12
12
  import { TransactionLineSidePanelComponent } from '../transaction-line-side-panel/transaction-line-side-panel.component';
13
13
  import { RelationAnyType } from '../../model/relation-any-type';
14
14
  import { TransactionEventService } from '../../service/transaction-event.service';
15
+ import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
15
16
  export declare class TransactionComponent implements OnDestroy {
16
17
  iconCacheService: IconCacheService;
17
18
  service: TransactionService;
@@ -24,8 +25,10 @@ export declare class TransactionComponent implements OnDestroy {
24
25
  relation: RelationAnyType;
25
26
  set transaction(value: TransactionInfoResponse);
26
27
  get transaction(): TransactionInfoResponse;
27
- set transactionId(value: number);
28
- get transactionId(): number;
28
+ set transactionKind(value: TransactionKind);
29
+ get transactionKind(): TransactionKind;
30
+ set transactionNr(value: number);
31
+ get transactionNr(): number;
29
32
  showHeader: boolean;
30
33
  showQuickAccess: boolean;
31
34
  showButtonBar: boolean;
@@ -42,7 +45,8 @@ export declare class TransactionComponent implements OnDestroy {
42
45
  historicTransactionLines: TransactionLineInfo[] | null;
43
46
  private _subs;
44
47
  private _transaction;
45
- private _transactionId;
48
+ private _transactionKind;
49
+ private _transactionNr;
46
50
  constructor(iconCacheService: IconCacheService, service: TransactionService, _appRef: ApplicationRef, _dynamicComponentService: DynamicComponentService, _transactionEventService: TransactionEventService);
47
51
  ngOnDestroy(): void;
48
52
  handleButtonBarButtonClicked(button: TransactionBarButton): void;
@@ -66,6 +70,7 @@ export declare class TransactionComponent implements OnDestroy {
66
70
  showTransactionTextDialog(): void;
67
71
  showArticleTextDialog(): void;
68
72
  showArticleTextOverviewDialog(): void;
73
+ private _getTransaction;
69
74
  private _hideArticleTextDialog;
70
75
  private _hideTransactionTextDialog;
71
76
  private _hideArticleTextOverviewDialog;
@@ -8,6 +8,7 @@ import { DictionaryService } from '../../service/dictionary.service';
8
8
  import { TransactionEventService } from '../../service/transaction-event.service';
9
9
  import { IconCacheService } from '../../service/icon-cache.service';
10
10
  import { TransactionImageService } from '../../service/transaction-image.service';
11
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
11
12
  export declare class TransactionHeaderBranchComponent extends TransactionFilterPopupBaseComponent<BranchLov> {
12
13
  transactionEventService: TransactionEventService;
13
14
  service: TransactionService;
@@ -21,7 +22,7 @@ export declare class TransactionHeaderBranchComponent extends TransactionFilterP
21
22
  branchModel: BranchLov;
22
23
  protected codeField: string;
23
24
  protected checkField: string;
24
- protected propsForLabel: string[];
25
+ protected propsForLabel: CheckboxListPropertyInterface[];
25
26
  constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _relationService: RelationService);
26
27
  commit(branch: number | RelationSmallObject): Promise<boolean>;
27
28
  protected transactionInfoSet(): void;
@@ -3,6 +3,7 @@ import { DeliveryMethod } from '@colijnit/transactionapi/build/model/delivery-me
3
3
  import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
4
4
  import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
5
5
  import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
6
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
6
7
  export declare class TransactionHeaderDeliveryMethodComponent extends TransactionFilterPopupBaseComponent<DeliveryMethod> implements OnInit {
7
8
  showAsCarousel: boolean;
8
9
  filterOnWizard: boolean;
@@ -11,7 +12,7 @@ export declare class TransactionHeaderDeliveryMethodComponent extends Transactio
11
12
  get model(): TransactionLineInfo | TransactionInfo;
12
13
  protected codeField: string;
13
14
  protected checkField: string;
14
- protected propsForLabel: string[];
15
+ protected propsForLabel: CheckboxListPropertyInterface[];
15
16
  ngOnInit(): void;
16
17
  commit(method: string): Promise<boolean>;
17
18
  setIndexDeliveryType(idx: number): Promise<void>;
@@ -1,10 +1,11 @@
1
1
  import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
2
2
  import { OnHoldCode } from '@colijnit/transactionapi/build/model/on-hold-code.bo';
3
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
3
4
  export declare class TransactionHeaderHoldCodesComponent extends TransactionFilterPopupBaseComponent<OnHoldCode> {
4
5
  onHoldCodesModel: OnHoldCode[];
5
6
  protected codeField: string;
6
7
  protected checkField: string;
7
- protected propsForLabel: string[];
8
+ protected propsForLabel: CheckboxListPropertyInterface[];
8
9
  commit(codes: OnHoldCode[]): Promise<boolean>;
9
10
  protected transactionInfoSet(): void;
10
11
  private _setOnHoldCodesModel;
@@ -1,10 +1,11 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { Marketing } from '@colijnit/transactionapi/build/model/marketing.bo';
3
3
  import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
4
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
4
5
  export declare class TransactionHeaderMarketingComponent extends TransactionFilterPopupBaseComponent<Marketing> implements OnInit {
5
6
  protected codeField: string;
6
7
  protected checkField: string;
7
- protected propsForLabel: string[];
8
+ protected propsForLabel: CheckboxListPropertyInterface[];
8
9
  ngOnInit(): void;
9
10
  commit(code: string): Promise<boolean>;
10
11
  }
@@ -4,10 +4,6 @@
4
4
  .co-transaction-button {
5
5
  height: 45px;
6
6
  min-width: 100px;
7
-
8
- .co-icon {
9
- padding: 10px;
10
- }
11
7
  }
12
8
  }
13
9
  }
@@ -41,13 +41,15 @@
41
41
  display: flex;
42
42
  flex-wrap: wrap;
43
43
  align-content: flex-start;
44
+ row-gap: $tp-transaction-line-row-gap;
44
45
  .column1 {
45
- max-width: calc((#{$tp-transaction-default-button-width} * 2) + #{$tp-transaction-line-column-gap});
46
+ //max-width: calc((#{$tp-transaction-default-button-width} * 2) + #{$tp-transaction-line-column-gap});
46
47
  margin-right: $tp-transaction-line-column-gap;
47
48
  display: flex;
48
49
  flex-wrap: wrap;
49
50
  align-content: flex-start;
50
51
  row-gap: $tp-transaction-line-row-gap;
52
+ column-gap: $tp-transaction-line-column-gap;
51
53
  co-transaction-line-commission-button {
52
54
  margin-right: $tp-transaction-line-column-gap;
53
55
  }
@@ -56,10 +58,14 @@
56
58
  display: flex;
57
59
  flex-direction: column;
58
60
  row-gap: $tp-transaction-line-row-gap;
61
+ column-gap: $tp-transaction-line-column-gap;
59
62
  margin-right: $tp-transaction-line-column-gap;
60
63
  max-width: $tp-transaction-default-button-width-big;
61
64
  }
62
65
  .column3 {
66
+ display: flex;
67
+ row-gap: $tp-transaction-line-row-gap;
68
+ column-gap: $tp-transaction-line-column-gap;
63
69
  margin-right: $tp-transaction-line-column-gap;
64
70
 
65
71
  co-transaction-line-drop-shipment-button {
@@ -42,6 +42,7 @@
42
42
  display: flex;
43
43
  width: 100%;
44
44
  align-items: center;
45
+ padding: $tp-transaction-line-checkbox-list-label-padding;
45
46
  }
46
47
 
47
48
  .label {
@@ -54,6 +55,12 @@
54
55
  width: $tp-transaction-line-checkbox-list-item-first-column-width;
55
56
  flex-shrink: 0;
56
57
  }
58
+ &.right {
59
+ text-align: right;
60
+ }
61
+ &.center {
62
+ text-align: center;
63
+ }
57
64
  }
58
65
  }
59
66
 
@@ -9,3 +9,4 @@ $tp-transaction-line-checkbox-list-item-hightlight-font-style: italic !default;
9
9
  $tp-transaction-line-checkbox-list-item-hightlight-font-color: green !default;
10
10
  $tp-transaction-line-checkbox-list-item-hightlight-text-decoration: underline !default;
11
11
  $tp-transaction-line-checkbox-list-item-first-column-width: 70px !default;
12
+ $tp-transaction-line-checkbox-list-label-padding: 0 10px !default;
@@ -1,10 +1,11 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo';
3
3
  import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
4
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
4
5
  export declare class TransactionLineCommissionCodeComponent extends TransactionFilterPopupBaseComponent<CoDomainValue> implements OnInit {
5
6
  protected codeField: string;
6
7
  protected checkField: string;
7
- protected propsForLabel: string[];
8
+ protected propsForLabel: CheckboxListPropertyInterface[];
8
9
  ngOnInit(): void;
9
10
  commit(code: string): Promise<boolean>;
10
11
  protected transactionLineSet(): void;
@@ -1,10 +1,11 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { DeliveryMethod } from '@colijnit/transactionapi/build/model/delivery-method.bo';
3
3
  import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
4
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
4
5
  export declare class TransactionLineDeliveryMethodComponent extends TransactionFilterPopupBaseComponent<DeliveryMethod> implements OnInit {
5
6
  protected codeField: string;
6
7
  protected checkField: string;
7
- protected propsForLabel: string[];
8
+ protected propsForLabel: CheckboxListPropertyInterface[];
8
9
  ngOnInit(): void;
9
10
  commit(method: string): Promise<boolean>;
10
11
  protected transactionInfoSet(): void;
@@ -1,10 +1,11 @@
1
- import { OnInit } from "@angular/core";
2
- import { PriceList } from "@colijnit/transactionapi/build/model/price-list";
3
- import { TransactionFilterPopupBaseComponent } from "../core/base/transaction-filter-popup-base.component";
1
+ import { OnInit } from '@angular/core';
2
+ import { PriceList } from '@colijnit/transactionapi/build/model/price-list';
3
+ import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
4
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
4
5
  export declare class TransactionLinePriceListComponent extends TransactionFilterPopupBaseComponent<PriceList> implements OnInit {
5
6
  protected codeField: string;
6
7
  protected checkField: string;
7
- protected propsForLabel: string[];
8
+ protected propsForLabel: CheckboxListPropertyInterface[];
8
9
  ngOnInit(): void;
9
10
  commit(priceList: string): Promise<boolean>;
10
11
  }
@@ -1,12 +1,13 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
- import { TransactionService } from "../../service/transaction.service";
3
- import { TransactionFilterPopupBaseComponent } from "../core/base/transaction-filter-popup-base.component";
4
- import { RelationListObject } from "@colijnit/relationapi/build/model/relation-list-object.bo";
5
- import { RelationService } from "../../service/relation.service";
2
+ import { TransactionService } from '../../service/transaction.service';
3
+ import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
4
+ import { RelationListObject } from '@colijnit/relationapi/build/model/relation-list-object.bo';
5
+ import { RelationService } from '../../service/relation.service';
6
6
  import { DictionaryService } from '../../service/dictionary.service';
7
7
  import { TransactionEventService } from '../../service/transaction-event.service';
8
8
  import { IconCacheService } from '../../service/icon-cache.service';
9
9
  import { TransactionImageService } from '../../service/transaction-image.service';
10
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
10
11
  export declare class TransactionLineSupplierComponent extends TransactionFilterPopupBaseComponent<RelationListObject> implements OnInit {
11
12
  transactionEventService: TransactionEventService;
12
13
  service: TransactionService;
@@ -17,7 +18,7 @@ export declare class TransactionLineSupplierComponent extends TransactionFilterP
17
18
  private _relationService;
18
19
  protected codeField: string;
19
20
  protected checkField: string;
20
- protected propsForLabel: string[];
21
+ protected propsForLabel: CheckboxListPropertyInterface[];
21
22
  constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _relationService: RelationService);
22
23
  ngOnInit(): void;
23
24
  commit(id: number): Promise<boolean>;
@@ -1,10 +1,11 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { Vat } from '@colijnit/transactionapi/build/model/vat';
3
3
  import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
4
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
4
5
  export declare class TransactionLineVatComponent extends TransactionFilterPopupBaseComponent<Vat> implements OnInit {
5
6
  protected codeField: string;
6
7
  protected checkField: string;
7
- protected propsForLabel: string[];
8
+ protected propsForLabel: CheckboxListPropertyInterface[];
8
9
  ngOnInit(): void;
9
10
  commit(id: number): Promise<boolean>;
10
11
  protected transactionInfoSet(): void;
@@ -1,12 +1,13 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
- import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
3
- import { ArticleService } from "../../service/article.service";
4
- import { TransactionFilterPopupBaseComponent } from "../core/base/transaction-filter-popup-base.component";
5
- import { TransactionService } from "../../service/transaction.service";
2
+ import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.bo';
3
+ import { ArticleService } from '../../service/article.service';
4
+ import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
5
+ import { TransactionService } from '../../service/transaction.service';
6
6
  import { DictionaryService } from '../../service/dictionary.service';
7
7
  import { TransactionEventService } from '../../service/transaction-event.service';
8
8
  import { IconCacheService } from '../../service/icon-cache.service';
9
9
  import { TransactionImageService } from '../../service/transaction-image.service';
10
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
10
11
  export declare class TransactionLineWarehouseLocationComponent extends TransactionFilterPopupBaseComponent<StockLocation> implements OnInit {
11
12
  transactionEventService: TransactionEventService;
12
13
  service: TransactionService;
@@ -17,7 +18,7 @@ export declare class TransactionLineWarehouseLocationComponent extends Transacti
17
18
  private _articleService;
18
19
  warehouseNr: number;
19
20
  protected codeField: string;
20
- protected propsForLabel: string[];
21
+ protected propsForLabel: CheckboxListPropertyInterface[];
21
22
  constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _articleService: ArticleService);
22
23
  ngOnInit(): void;
23
24
  commit(locationNr: string): Promise<boolean>;
@@ -1,10 +1,11 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { Warehouse } from '@colijnit/transactionapi/build/model/warehouse.bo';
3
2
  import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
4
- export declare class TransactionLineWarehouseComponent extends TransactionFilterPopupBaseComponent<Warehouse> implements OnInit {
3
+ import { WarehouseStockInfo } from '@colijnit/transactionapi/build/model/warehouse-stock-info.bo';
4
+ import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
5
+ export declare class TransactionLineWarehouseComponent extends TransactionFilterPopupBaseComponent<WarehouseStockInfo> implements OnInit {
5
6
  protected codeField: string;
6
7
  protected checkField: string;
7
- protected propsForLabel: string[];
8
+ protected propsForLabel: CheckboxListPropertyInterface[];
8
9
  ngOnInit(): void;
9
10
  commit(warehouse: number): Promise<boolean>;
10
11
  protected transactionLineSet(): void;
@@ -13,10 +13,6 @@
13
13
  margin: 5px;
14
14
  }
15
15
 
16
- .icon-wrapper .co-icon {
17
- padding: 13px;
18
- }
19
-
20
16
  //.amount-number-picker {
21
17
  // height: 40px;
22
18
  // margin: 5px;
@@ -33,16 +33,6 @@
33
33
  min-width: 100px;
34
34
  }
35
35
 
36
- .co-transaction-line-warehouse-location-button {
37
- .transaction-line-button {
38
- height: 45px;
39
- width: 100px;
40
- .co-icon {
41
- padding: 13px;
42
- }
43
- }
44
- }
45
-
46
36
  .button-wrapper {
47
37
  background: $tp-default-background-accent;
48
38
  border-radius: $tp-default-border-radius;
@@ -11,6 +11,5 @@ export declare enum TransactionTypeCategory {
11
11
  SalesOrderLogistics = "salesOrderLogistics",
12
12
  SalesOrderPlanning = "salesOrderPlanning",
13
13
  SalesOrderDeliveryNote = "salesOrderDeliveryNote",
14
- SalesOrderInvoice = "salesOrderInvoice",
15
- SalesOrderCashRegister = "salesOrderCashRegister"
14
+ SalesOrderInvoice = "salesOrderInvoice"
16
15
  }
@@ -0,0 +1,5 @@
1
+ export interface CheckboxListPropertyInterface {
2
+ width?: string;
3
+ label: string;
4
+ alignment?: AlignSetting;
5
+ }
@@ -3338,6 +3338,7 @@ export declare class Dictionaries {
3338
3338
  DEACTIVATED: string;
3339
3339
  DEBET: string;
3340
3340
  DEBETCREDIT: string;
3341
+ DEBIT_CREDIT_ERROR_MESSAGE: string;
3341
3342
  DEBIT_CREDIT_SHORT: string;
3342
3343
  DEBTOR_NUMBER: string;
3343
3344
  DEBUG_LEVEL: string;
@@ -6867,10 +6868,12 @@ export declare class Dictionaries {
6867
6868
  SCAN_STORAGE: string;
6868
6869
  SCAN_TAG: string;
6869
6870
  SCAN_TRANSACTION: string;
6871
+ SCAN_TOO_FAST: string;
6870
6872
  SCHEDULE: string;
6871
6873
  SCHEDULED_PROCESSING: string;
6872
6874
  SCHEDULE_EXPLANATION: string;
6873
6875
  SCENARIO: string;
6876
+ SCENARIO_AMOUNT: string;
6874
6877
  SCENARIO_BOOKINGS: string;
6875
6878
  SCENARIO_DESCRIPTION: string;
6876
6879
  SCHEMA: string;
@@ -11489,6 +11492,7 @@ export declare class Dictionaries {
11489
11492
  DEACTIVATED: string;
11490
11493
  DEBET: string;
11491
11494
  DEBETCREDIT: string;
11495
+ DEBIT_CREDIT_ERROR_MESSAGE: string;
11492
11496
  DEBIT_CREDIT: string;
11493
11497
  DEBIT_CREDIT_SHORT: string;
11494
11498
  DEBTOR_NUMBER: string;
@@ -13627,6 +13631,7 @@ export declare class Dictionaries {
13627
13631
  NEED_WAREHOUSE_WITH_STOCK_DATE: string;
13628
13632
  NEEDS_AUTHORISATION: string;
13629
13633
  NEEDS_FIELDNAME: string;
13634
+ NEEDS_INVOICE: string;
13630
13635
  NEEDS_PLANNING: string;
13631
13636
  NEEDS_VALID_CONDITION: string;
13632
13637
  NEEDS_VALUE: string;
@@ -15455,10 +15460,12 @@ export declare class Dictionaries {
15455
15460
  SCAN_STORAGE: string;
15456
15461
  SCAN_TAG: string;
15457
15462
  SCAN_TRANSACTION: string;
15463
+ SCAN_TOO_FAST: string;
15458
15464
  SCHEDULE: string;
15459
15465
  SCHEDULED_PROCESSING: string;
15460
15466
  SCHEDULE_EXPLANATION: string;
15461
15467
  SCENARIO: string;
15468
+ SCENARIO_AMOUNT: string;
15462
15469
  SCENARIO_BOOKINGS: string;
15463
15470
  SCENARIO_DESCRIPTION: string;
15464
15471
  SCHEMA: string;