@colijnit/transaction 12.1.22 → 12.1.25
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.
- package/bundles/colijnit-transaction.umd.js +831 -185
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction-12.1.25.tgz +0 -0
- package/colijnit-transaction.d.ts +144 -134
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +145 -135
- package/esm2015/lib/component/checkout/checkout.component.js +7 -9
- package/esm2015/lib/component/checkout/checkout.module.js +2 -2
- package/esm2015/lib/component/status-bar/status-bar.component.js +37 -0
- package/esm2015/lib/component/status-bar/status-bar.module.js +21 -0
- package/esm2015/lib/component/transaction/transaction.component.js +14 -7
- package/esm2015/lib/component/transaction/transaction.module.js +4 -2
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +1 -1
- package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.component.js +33 -7
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +6 -2
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +7 -4
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-date.component.js +80 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-fields-base.component.js +27 -0
- package/esm2015/lib/component/transaction-line/transaction-line.component.js +6 -2
- package/esm2015/lib/component/transaction-line/transaction-line.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +4 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +4 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +81 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-fields-base.component.js +17 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.component.js +57 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.module.js +23 -0
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +9 -8
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +8 -3
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.module.js +6 -2
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +16 -16
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +18 -5
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +20 -9
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.component.js +59 -53
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.module.js +4 -3
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.component.js +61 -52
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.module.js +4 -3
- package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +22 -7
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +4 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.component.js +42 -33
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.module.js +4 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +43 -35
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.module.js +3 -1
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +21 -20
- package/esm2015/lib/component/transaction-tile/transaction-tile.component.js +132 -0
- package/esm2015/lib/component/transaction-tile/transaction-tile.module.js +28 -0
- package/esm2015/lib/enum/icon.enum.js +4 -1
- package/esm2015/lib/model/icon-svg.js +4 -1
- package/esm2015/lib/service/pending-reason.service.js +44 -1
- package/esm2015/lib/service/transaction-connector.service.js +30 -1
- package/esm2015/lib/service/transaction.service.js +16 -1
- package/fesm2015/colijnit-transaction.js +982 -281
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/avatar/style/_layout.scss +11 -0
- package/lib/component/core/image-display/style/_layout.scss +1 -0
- package/lib/component/payment-qr-code/style/_layout.scss +2 -3
- package/lib/component/status-bar/status-bar.component.d.ts +8 -0
- package/lib/component/status-bar/status-bar.module.d.ts +2 -0
- package/lib/component/status-bar/style/_layout.scss +14 -0
- package/lib/component/status-bar/style/_material-definition.scss +5 -0
- package/lib/component/status-bar/style/_theme.scss +15 -0
- package/lib/component/status-bar/style/material.scss +3 -0
- package/lib/component/transaction/style/_layout.scss +18 -0
- package/lib/component/transaction-grid/transaction-history-grid/style/_layout.scss +14 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +6 -0
- package/lib/component/transaction-header-fields/transaction-header-delivery-date.component.d.ts +17 -0
- package/lib/component/transaction-header-fields/transaction-header-fields-base.component.d.ts +8 -0
- package/lib/component/transaction-line/style/_layout.scss +6 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-line-delivery-date.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-line-description.component.d.ts +17 -0
- package/lib/component/transaction-line-fields/transaction-line-description.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-fields-base.component.d.ts +5 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier.component.d.ts +14 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier.module.d.ts +2 -0
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +2 -3
- package/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.d.ts +2 -0
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +4 -4
- package/lib/component/transaction-receiving-goods-history/style/_layout.scss +13 -0
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +6 -3
- package/lib/component/transaction-search/style/_layout.scss +1 -0
- package/lib/component/transaction-search/style/_material-definition.scss +12 -5
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.component.d.ts +1 -0
- package/lib/component/transaction-search/transaction-search-header/style/_layout.scss +1 -0
- package/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +3 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_layout.scss +103 -71
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_theme.scss +21 -19
- package/lib/component/transaction-tile/style/_layout.scss +162 -0
- package/lib/component/transaction-tile/style/_material-definition.scss +0 -0
- package/lib/component/transaction-tile/style/_theme.scss +7 -0
- package/lib/component/transaction-tile/style/material.scss +3 -0
- package/lib/component/transaction-tile/transaction-tile.component.d.ts +23 -0
- package/lib/component/transaction-tile/transaction-tile.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +3 -0
- package/lib/service/pending-reason.service.d.ts +5 -0
- package/lib/service/transaction-connector.service.d.ts +3 -0
- package/lib/service/transaction.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,23 +2,21 @@
|
|
|
2
2
|
.co-transaction-search-tile {
|
|
3
3
|
.co-transaction-search-tile-content {
|
|
4
4
|
display: flex;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
font-family: $tp-transaction-tile-font-family;
|
|
6
|
+
font-size: $tp-transaction-tile-font-size;
|
|
7
|
+
line-height: $tp-transaction-tile-line-height;
|
|
7
8
|
height: $tp-transaction-tile-height;
|
|
8
9
|
|
|
9
10
|
@media(max-width: 600px) {
|
|
10
|
-
width:
|
|
11
|
+
width: $tp-transaction-tile-width-mobile;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
@media(min-width: 601px) {
|
|
14
15
|
width: $tp-transaction-tile-width;
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
border-radius: $tp-tile-border-radius;
|
|
17
19
|
padding: $tp-transaction-tile-padding;
|
|
18
|
-
row-gap: $tp-transaction-tile-row-gap;
|
|
19
|
-
|
|
20
|
-
font-family: $tp-transaction-tile-font-family;
|
|
21
|
-
font-size: $tp-transaction-tile-font-size;
|
|
22
20
|
|
|
23
21
|
.transaction-tile-wrapper {
|
|
24
22
|
cursor: pointer;
|
|
@@ -31,78 +29,112 @@
|
|
|
31
29
|
font-size: $tp-transaction-tile-header-font-size;
|
|
32
30
|
}
|
|
33
31
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
height: 80px;
|
|
32
|
+
co-avatar {
|
|
33
|
+
width: $tp-transaction-tile-avatar-width;
|
|
34
|
+
height: $tp-transaction-tile-avatar-height;
|
|
35
|
+
}
|
|
39
36
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
37
|
+
.label {
|
|
38
|
+
font-size: $tp-transaction-tile-font-size-small;
|
|
39
|
+
}
|
|
44
40
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
.value {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
align-items: flex-end;
|
|
45
|
+
min-width: max-content;
|
|
46
|
+
font-size: $tp-transaction-tile-font-size-small;
|
|
47
|
+
height: $tp-transaction-tile-value-height;
|
|
48
|
+
|
|
49
|
+
co-icon {
|
|
50
|
+
height: $tp-transaction-tile-icon-height;
|
|
51
|
+
width: $tp-transaction-tile-icon-width;
|
|
50
52
|
}
|
|
53
|
+
}
|
|
51
54
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
55
|
+
//grid
|
|
56
|
+
.tile {
|
|
57
|
+
display: grid;
|
|
58
|
+
grid-template-columns: 1fr;
|
|
59
|
+
grid-template-rows: 1.5fr 1.5fr 1fr;
|
|
60
|
+
gap: 10px 10px;
|
|
61
|
+
height: $tp-transaction-tile-content-height;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.tile-header {
|
|
65
|
+
display: grid;
|
|
66
|
+
grid-template-columns: 0.4fr 1.4fr 1.2fr;
|
|
67
|
+
grid-template-rows: 1.5fr;
|
|
68
|
+
gap: 0 10px;
|
|
69
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.tile-upper-left {
|
|
73
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
64
74
|
}
|
|
65
75
|
|
|
66
|
-
.
|
|
76
|
+
.tile-upper-middle {
|
|
77
|
+
grid-area: 1 / 2 / 2 / 3;
|
|
67
78
|
display: flex;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
.order-info-section {
|
|
72
|
-
width: fit-content;
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
align-items: center;
|
|
76
|
-
|
|
77
|
-
&:nth-child(2) {
|
|
78
|
-
padding: 0 15px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.label {
|
|
82
|
-
font-size: $tp-transaction-tile-font-size-small;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.value {
|
|
86
|
-
display: flex;
|
|
87
|
-
flex-direction: row;
|
|
88
|
-
align-items: flex-end;
|
|
89
|
-
min-width: fit-content;
|
|
90
|
-
font-size: $tp-transaction-tile-font-size-small;
|
|
91
|
-
height: $tp-transaction-tile-value-height;
|
|
92
|
-
|
|
93
|
-
co-icon {
|
|
94
|
-
height: $tp-transaction-tile-icon-height;
|
|
95
|
-
width: $tp-transaction-tile-icon-width;
|
|
96
|
-
|
|
97
|
-
svg {
|
|
98
|
-
position: relative;
|
|
99
|
-
top: 0.22em;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
row-gap: 3px;
|
|
104
81
|
}
|
|
105
|
-
}
|
|
106
82
|
|
|
83
|
+
.tile-upper-right {
|
|
84
|
+
grid-area: 1 / 3 / 2 / 4;
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
align-items: flex-end;
|
|
88
|
+
row-gap: 3px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
.tile-body {
|
|
93
|
+
display: grid;
|
|
94
|
+
grid-template-columns: 0.4fr 2.6fr 0fr;
|
|
95
|
+
grid-template-rows: 1.5fr;
|
|
96
|
+
gap: 0 10px;
|
|
97
|
+
grid-area: 2 / 1 / 3 / 2;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.tile-middle-left {
|
|
101
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.tile-middle-middle {
|
|
105
|
+
grid-area: 1 / 2 / 2 / 3;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.tile-middle-right {
|
|
110
|
+
grid-area: 1 / 3 / 2 / 4;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.tile-footer {
|
|
114
|
+
display: grid;
|
|
115
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
116
|
+
grid-template-rows: 1fr;
|
|
117
|
+
gap: 0 15px;
|
|
118
|
+
grid-area: 3 / 1 / 4 / 2;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.tile-bottom-left {
|
|
122
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.tile-bottom-middle {
|
|
126
|
+
grid-area: 1 / 2 / 2 / 3;
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
align-items: center;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.tile-bottom-right {
|
|
133
|
+
grid-area: 1 / 3 / 2 / 4;
|
|
134
|
+
display: flex;
|
|
135
|
+
flex-direction: column;
|
|
136
|
+
align-items: flex-end;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
107
139
|
}
|
|
108
140
|
}
|
|
@@ -12,27 +12,29 @@
|
|
|
12
12
|
color: $tp-transaction-tile-font-color;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.transaction-tile-footer {
|
|
16
|
-
.order-info-section {
|
|
17
|
-
&:nth-child(2) {
|
|
18
|
-
border-left: 0.5px solid $tp-transaction-tile-border-color;
|
|
19
|
-
border-right: 0.5px solid $tp-transaction-tile-border-color;
|
|
20
|
-
}
|
|
21
15
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
.tile-bottom-left {
|
|
17
|
+
border-right: 1px solid $tp-transaction-tile-border-color;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.tile-bottom-right {
|
|
21
|
+
border-left: 1px solid $tp-transaction-tile-border-color;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.order-info-section {
|
|
25
|
+
.label {
|
|
26
|
+
color: $tp-transaction-tile-font-color;
|
|
27
|
+
}
|
|
25
28
|
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
.value {
|
|
30
|
+
color: $tp-transaction-tile-font-color-dark;
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
.lock-icon [fill] {
|
|
33
|
+
fill: $tp-transaction-tile-icon-active-color;
|
|
34
|
+
}
|
|
32
35
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
+
.unlock-icon [fill] {
|
|
37
|
+
fill: $tp-transaction-tile-icon-inactive-color;
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
}
|
|
@@ -40,13 +42,13 @@
|
|
|
40
42
|
|
|
41
43
|
&:hover {
|
|
42
44
|
.co-transaction-search-tile-content {
|
|
43
|
-
background-color: $tp-transaction-tile-
|
|
45
|
+
background-color: $tp-transaction-tile-background-color-hover;
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
&.selected {
|
|
48
50
|
.co-transaction-search-tile-content {
|
|
49
|
-
background-color
|
|
51
|
+
background-color: $tp-transaction-tile-background-color-selected;
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-tile-layout') {
|
|
4
|
+
.co-transaction-tile {
|
|
5
|
+
|
|
6
|
+
.transaction-tile-wrapper {
|
|
7
|
+
//max-width: 500px;
|
|
8
|
+
background: white;
|
|
9
|
+
border-radius: 11px;
|
|
10
|
+
border: 1px solid #5fdbb2;
|
|
11
|
+
padding: 12px 12px 12px 19px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.header-row {
|
|
15
|
+
width: 100%;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
margin-bottom: 10px;
|
|
19
|
+
|
|
20
|
+
.header-transport-container {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
|
|
24
|
+
.transport-method-icon {
|
|
25
|
+
width: 40px;
|
|
26
|
+
height: 40px;
|
|
27
|
+
margin: -10px 5px -10px 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.transport-method-text {
|
|
31
|
+
font-family: $tp-font-family;
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.header-date {
|
|
37
|
+
font-family: $tp-font-family;
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
color: #5fdbb2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.header-side-panel-button {
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.transaction-details-row {
|
|
48
|
+
display: flex;
|
|
49
|
+
height: 60px;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
|
|
52
|
+
.transaction-details-container {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
width: 75%;
|
|
56
|
+
|
|
57
|
+
.transaction-tile-title {
|
|
58
|
+
font-family: $tp-font-family;
|
|
59
|
+
font-size: 12px;
|
|
60
|
+
margin-bottom: 5px;
|
|
61
|
+
overflow-x: clip;
|
|
62
|
+
white-space: nowrap;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.transaction-tile-description {
|
|
67
|
+
font-family: $tp-font-family;
|
|
68
|
+
font-size: 12px;
|
|
69
|
+
overflow-y: hidden;
|
|
70
|
+
color: #7d81a1;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.tile-image {
|
|
75
|
+
margin-right: 5px;
|
|
76
|
+
width: 60px;
|
|
77
|
+
height: 60px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.transaction-order-status-row {
|
|
82
|
+
display: flex;
|
|
83
|
+
width: 100%;
|
|
84
|
+
padding: 10px;
|
|
85
|
+
justify-content: flex-end;
|
|
86
|
+
|
|
87
|
+
.indicators-wrapper {
|
|
88
|
+
display: flex;
|
|
89
|
+
min-width: 70px;
|
|
90
|
+
|
|
91
|
+
.transaction-order-status-indicator {
|
|
92
|
+
width: 12px;
|
|
93
|
+
height: 8px;
|
|
94
|
+
margin: 1px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.transaction-data-row {
|
|
100
|
+
display: flex;
|
|
101
|
+
width: 100%;
|
|
102
|
+
|
|
103
|
+
.transaction-data-header {
|
|
104
|
+
width: inherit;
|
|
105
|
+
display: flex;
|
|
106
|
+
justify-content: space-between;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.transaction-data-header-label {
|
|
110
|
+
font-family: $tp-font-family;
|
|
111
|
+
font-size: 10px;
|
|
112
|
+
color: #7d81a1;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.transaction-data-header-field {
|
|
116
|
+
font-family: $tp-font-family;
|
|
117
|
+
font-size: 12px;
|
|
118
|
+
overflow-x: clip;
|
|
119
|
+
white-space: nowrap;
|
|
120
|
+
text-overflow: ellipsis;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.transaction-data-header-divider {
|
|
124
|
+
display: flex;
|
|
125
|
+
border-right: 2px solid #ebebeb;
|
|
126
|
+
margin: 5px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.transaction-data-header-item {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
row-gap: 10px;
|
|
133
|
+
|
|
134
|
+
input::-webkit-outer-spin-button,
|
|
135
|
+
input::-webkit-inner-spin-button {
|
|
136
|
+
-webkit-appearance: none;
|
|
137
|
+
margin: 0;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.center {
|
|
143
|
+
align-items: center;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.bold {
|
|
147
|
+
font-weight: bold;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.amount-input {
|
|
151
|
+
width: 26px;
|
|
152
|
+
text-align: center;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.mutable {
|
|
156
|
+
padding: 4px 11px;
|
|
157
|
+
border-radius: 9px;
|
|
158
|
+
background: #f5f5fa;
|
|
159
|
+
margin-left: 3%;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
3
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
4
|
+
import { Icon } from "../../enum/icon.enum";
|
|
5
|
+
import { TransactionImageService } from "../../service/transaction-image.service";
|
|
6
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
7
|
+
export declare class TransactionTileComponent {
|
|
8
|
+
iconCacheService: IconCacheService;
|
|
9
|
+
private _imageService;
|
|
10
|
+
readonly icon: typeof Icon;
|
|
11
|
+
readonly transactionTypes: typeof TransactionKind;
|
|
12
|
+
transactionType: TransactionKind;
|
|
13
|
+
set transactionLine(value: TransactionLineInfo);
|
|
14
|
+
get transactionLine(): TransactionLineInfo;
|
|
15
|
+
showSidePanelClicked: EventEmitter<TransactionLineInfo>;
|
|
16
|
+
image: string;
|
|
17
|
+
private _transactionLine;
|
|
18
|
+
showClass(): boolean;
|
|
19
|
+
constructor(iconCacheService: IconCacheService, _imageService: TransactionImageService);
|
|
20
|
+
handleSidePanelButtonClicked(): void;
|
|
21
|
+
getStatusColor(n: number): string;
|
|
22
|
+
private _loadLineImage;
|
|
23
|
+
}
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare enum Icon {
|
|
|
14
14
|
CartShoppingSolid = "cart_shopping_solid",
|
|
15
15
|
CashRegister = "cash_register",
|
|
16
16
|
CreditCardSolid = "credit_card_solid",
|
|
17
|
+
DeliveryStatusUncheck = "delivery_status_uncheck",
|
|
17
18
|
DeliveryTruck = "delivery_truck",
|
|
18
19
|
EditPencil = "edit_pencil",
|
|
19
20
|
IdealLogo = "ideal_logo",
|
|
@@ -33,6 +34,8 @@ export declare enum Icon {
|
|
|
33
34
|
ShelvesSolid = "shelves_solid",
|
|
34
35
|
SidePanel = "side_panel",
|
|
35
36
|
SlideIn = "slide_in",
|
|
37
|
+
SquareFull = "square_full",
|
|
38
|
+
SquareFullSolid = "square_full_solid",
|
|
36
39
|
SyncAlt = "sync_alt",
|
|
37
40
|
Tag = "tag",
|
|
38
41
|
ThickLines = "thick_lines",
|
|
@@ -6,6 +6,7 @@ import { CustomerFullObject } from "@colijnit/transactionapi/build/model/custome
|
|
|
6
6
|
import { DialogService } from "./dialog.service";
|
|
7
7
|
import { ResolveLinePendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo";
|
|
8
8
|
import { ArticleConnectorService } from "./article-connector.service";
|
|
9
|
+
import { ResolveHeaderPendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo";
|
|
9
10
|
export declare class PendingReasonService {
|
|
10
11
|
protected dialogService: DialogService;
|
|
11
12
|
protected options: OptionsService;
|
|
@@ -20,10 +21,14 @@ export declare class PendingReasonService {
|
|
|
20
21
|
init(options: any): Promise<void>;
|
|
21
22
|
cancelAddTransactionLine(lineUuid: string, remember?: boolean): Promise<TransactionInfoResponse>;
|
|
22
23
|
protected handleLineOperationStatuses(response: TransactionInfoResponse): Promise<boolean>;
|
|
24
|
+
protected handleHeaderOperationStatuses(response: TransactionInfoResponse): Promise<boolean>;
|
|
23
25
|
protected _rememberCurrentTransaction(value: TransactionInfoResponse): Promise<void>;
|
|
24
26
|
private _handleLineOperationStatus;
|
|
27
|
+
private _handleHeaderOperationStatus;
|
|
25
28
|
resolvePendingLineReason(pendingLineValues: ResolveLinePendingReasonRequest): Promise<void>;
|
|
29
|
+
resolvePendingHeaderReason(pendingHeaderValues: ResolveHeaderPendingReasonRequest): Promise<boolean>;
|
|
26
30
|
private _confirmAction;
|
|
31
|
+
private _confirmHeaderAction;
|
|
27
32
|
private _showReasonDialog;
|
|
28
33
|
private _setAmount;
|
|
29
34
|
private _initializeTransaction;
|
|
@@ -44,6 +44,7 @@ import { GetPurchasePortalLine } from "@colijnit/transactionapi/build/model/get-
|
|
|
44
44
|
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
45
45
|
import { CreatePaymentLinkResult } from "@colijnit/transactionapi/build/model/create-payment-link-result.bo";
|
|
46
46
|
import { TransactionSearchResult } from "../model/transaction-search-result";
|
|
47
|
+
import { ResolveHeaderPendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo";
|
|
47
48
|
export declare class TransactionConnectorService {
|
|
48
49
|
private _optionsService;
|
|
49
50
|
private _collectionService;
|
|
@@ -89,6 +90,7 @@ export declare class TransactionConnectorService {
|
|
|
89
90
|
deleteTransactionLine(uuid: string, lineUuid: string): Promise<TransactionInfoResponse>;
|
|
90
91
|
changeTransactionLineQuantity(uuid: string, lineUuid: string, newQuantity: number): Promise<TransactionInfoResponse>;
|
|
91
92
|
resolvePendingLineReason(pendingLineValues: ResolveLinePendingReasonRequest): Promise<TransactionInfoResponse>;
|
|
93
|
+
resolvePendingHeaderReason(pendingHeaderValues: ResolveHeaderPendingReasonRequest): Promise<TransactionInfoResponse>;
|
|
92
94
|
getCommissionCodes(languageCode: string): Promise<CoDomainValue[]>;
|
|
93
95
|
getInOutCollection(languageCode: string): Promise<CoDomainValue[]>;
|
|
94
96
|
getTransactionArticleWarehouses(goodId: number): Promise<TransactionArticleWarehouse[]>;
|
|
@@ -115,6 +117,7 @@ export declare class TransactionConnectorService {
|
|
|
115
117
|
changeTransactionLineSupplierArticleNumber(uuid: string, lineUuid: string, articleNumber: string): Promise<TransactionInfoResponse>;
|
|
116
118
|
changeTransactionLineReference(uuid: string, lineUuid: string, reference: string): Promise<TransactionInfoResponse>;
|
|
117
119
|
changeHeaderTransactionDefinitive(uuid: string, definitive: boolean): Promise<TransactionInfoResponse>;
|
|
120
|
+
changeHeaderTransactionDeliveryDate(uuid: string, date: Date): Promise<TransactionInfoResponse>;
|
|
118
121
|
changeTransactionLineCollectionCode(uuid: string, lineUuid: string, code: string): Promise<TransactionInfoResponse>;
|
|
119
122
|
createOutstandingEntry(uuid: string, amount: number): Promise<TransactionInfoResponse>;
|
|
120
123
|
registerSalesOrderPayment(uuid: string, amount: number, currencyId: number, paymentMethod: string, cashRegisterGroupId: number): Promise<TransactionInfoResponse>;
|
|
@@ -46,6 +46,7 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
46
46
|
updatePriceTransactionLine(uuid: string, lineUuid: string, price: number): Promise<boolean>;
|
|
47
47
|
updateReferenceTransactionLine(uuid: string, lineUuid: string, reference: string): Promise<boolean>;
|
|
48
48
|
updateHeaderTransactionDefinitive(uuid: string, definitive: boolean): Promise<boolean>;
|
|
49
|
+
updateHeaderTransactionDeliveryDate(uuid: string, date: Date): Promise<boolean>;
|
|
49
50
|
updateQuantityTransactionLine(uuid: string, lineUuid: string, quantity: number): Promise<boolean>;
|
|
50
51
|
updateDeliveryDateTransactionLine(uuid: string, lineUuid: string, date: Date): Promise<boolean>;
|
|
51
52
|
updatePriceListTransactionLine(uuid: string, lineUuid: string, priceList: string): Promise<boolean>;
|