@colijnit/transaction 12.1.3 → 12.1.7
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/app/app.component.scss +39 -0
- package/app/component/checkout/checkout/checkout.component.d.ts +2 -0
- package/app/component/checkout/checkout/checkout.component.scss +137 -0
- package/app/component/checkout/checkout-login/checkout-login.component.scss +35 -0
- package/app/component/checkout/checkout-overview/checkout-overview.component.scss +0 -0
- package/app/component/checkout/checkout-overview-block/checkout-overview-block.component.scss +0 -0
- package/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.scss +0 -0
- package/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.scss +3 -0
- package/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.d.ts +1 -0
- package/app/component/checkout/checkout-overview-relation-address/style/_layout.scss +19 -0
- package/app/component/checkout/checkout-overview-relation-address/style/_material-definition.scss +0 -0
- package/app/component/checkout/checkout-overview-relation-address/style/_theme.scss +7 -0
- package/app/component/checkout/checkout-overview-relation-address/style/material.scss +4 -0
- package/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +1 -2
- package/app/component/checkout/checkout-overview-relation-edit/style/_layout.scss +92 -0
- package/app/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +15 -0
- package/app/component/checkout/checkout-overview-relation-edit/style/_theme.scss +9 -0
- package/app/component/checkout/checkout-overview-relation-edit/style/material.scss +5 -0
- package/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.d.ts +2 -3
- package/app/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +7 -0
- package/app/component/checkout/checkout-relation-suggestions-list/style/_material-definition.scss +0 -0
- package/app/component/checkout/checkout-relation-suggestions-list/style/_theme.scss +6 -0
- package/app/component/checkout/checkout-relation-suggestions-list/style/material.scss +5 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +5 -9
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/_layout.scss +34 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/_material-definition.scss +8 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/_theme.scss +6 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +4 -0
- package/app/component/checkout/{retail-transaction-checkout/retail-transaction-checkout.component.d.ts → checkout-transaction/checkout-transaction.component.d.ts} +4 -1
- package/app/component/checkout/checkout-transaction/checkout-transaction.component.scss +11 -0
- package/app/component/checkout/ione-checkout.component.d.ts +3 -3
- package/app/component/core/base/default-ok-cancel-buttons.component.d.ts +2 -2
- package/app/component/core/base/style/_layout.scss +7 -0
- package/app/component/core/base/style/_material-definition.scss +0 -0
- package/app/component/core/base/style/_theme.scss +6 -0
- package/app/component/core/base/style/material.scss +4 -0
- package/app/component/core/characteristic-answer/characteristic-answer.component.scss +18 -0
- package/app/component/{common → core}/icon/icon.component.d.ts +0 -0
- package/app/component/core/icon/icon.component.scss +85 -0
- package/app/component/{common → core}/image-display/image-display.component.d.ts +1 -0
- package/app/component/core/image-display/style/_layout.scss +39 -0
- package/app/component/core/image-display/style/_material-definition.scss +0 -0
- package/app/component/core/image-display/style/_theme.scss +6 -0
- package/app/component/core/image-display/style/material.scss +4 -0
- package/app/component/{common → core}/no-image-display/no-image-display.component.d.ts +0 -0
- package/app/component/core/no-image-display/no-image-display.component.scss +0 -0
- package/app/component/core/relation/customer-groups.component.d.ts +13 -0
- package/app/component/core/stock-status-indicator/stock-status-indicator.component.scss +45 -0
- package/app/component/service-order/service-order.component.d.ts +4 -5
- package/app/component/service-order/service-order.component.scss +152 -0
- package/app/component/service-order/summary/transaction-delivery-summary.component.scss +20 -0
- package/app/component/service-order/summary/transaction-summary-block.component.scss +107 -0
- package/app/component/service-order/transaction-article-text/transaction-article-text.component.d.ts +22 -13
- package/app/component/service-order/transaction-article-text/transaction-article-text.component.scss +6 -0
- package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +23 -0
- package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.scss +0 -0
- package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.d.ts +19 -0
- package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss +0 -0
- package/app/component/service-order/transaction-header-block/transaction-header-block.component.scss +65 -0
- package/app/component/service-order/transaction-manager/transaction-manager.component.d.ts +3 -2
- package/app/component/service-order/transaction-manager/transaction-manager.component.scss +52 -0
- package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +88 -0
- package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +83 -0
- package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +24 -0
- package/app/component/service-order/transaction-relation/transaction-relation-edit.component.scss +24 -0
- package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss +0 -0
- package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +17 -0
- package/app/component/{core → service-order}/warehouse/warehouse.component.d.ts +0 -0
- package/app/component/service-order/warehouse/warehouse.component.scss +52 -0
- package/app/component/shopping-cart/ione-shopping-cart.component.d.ts +1 -1
- package/app/component/shopping-cart/shopping-cart/shopping-cart.component.scss +79 -0
- package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.scss +107 -0
- package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts +1 -1
- package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.scss +52 -0
- package/{enum → app/enum}/position-grid-row.enum.d.ts +0 -0
- package/app/model/standard-text.d.ts +5 -0
- package/app/model/transaction-add-text-line-request.d.ts +9 -0
- package/app/service/dictionary.service.d.ts +1 -0
- package/app/service/ione-connector-adapter.service.d.ts +8 -2
- package/app/service/options.service.d.ts +2 -3
- package/app/service/transaction-event.service.d.ts +1 -1
- package/app/service/transaction.service.d.ts +8 -2
- package/bundles/colijnit-transaction.umd.js +970 -608
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +57 -54
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/app/component/checkout/checkout/checkout.component.js +13 -5
- package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +4 -4
- package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +1 -1
- package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
- package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +4 -4
- package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +37 -49
- package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +140 -159
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +16 -19
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +17 -39
- package/esm2015/app/component/checkout/checkout-transaction/checkout-transaction.component.js +55 -0
- package/esm2015/app/component/checkout/ione-checkout.component.js +6 -6
- package/esm2015/app/component/checkout/ione-checkout.module.js +9 -7
- package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +13 -11
- package/esm2015/app/component/core/base/transaction-base.component.js +1 -1
- package/esm2015/app/component/core/characteristic-answer/characteristic-answer.component.js +1 -1
- package/esm2015/app/component/core/core.module.js +12 -7
- package/esm2015/app/component/core/icon/icon.component.js +32 -0
- package/esm2015/app/component/core/image-display/image-display.component.js +45 -0
- package/esm2015/app/component/core/no-image-display/no-image-display.component.js +26 -0
- package/esm2015/app/component/core/relation/customer-groups.component.js +40 -0
- package/esm2015/app/component/core/stock-status-indicator/stock-status-indicator.component.js +1 -1
- package/esm2015/app/component/service-order/ione-service-order-module.js +11 -5
- package/esm2015/app/component/service-order/service-order.component.js +23 -19
- package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +1 -1
- package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +3 -3
- package/esm2015/app/component/service-order/transaction-article-text/transaction-article-text.component.js +107 -161
- package/esm2015/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.js +105 -0
- package/esm2015/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.js +73 -0
- package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +1 -1
- package/esm2015/app/component/service-order/transaction-manager/transaction-manager.component.js +12 -3
- package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +3 -3
- package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +3 -3
- package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +1 -1
- package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +3 -3
- package/esm2015/app/component/service-order/warehouse/warehouse.component.js +133 -0
- package/esm2015/app/component/shopping-cart/ione-shopping-cart.component.js +2 -2
- package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +3 -3
- package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +3 -3
- package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +4 -4
- package/esm2015/app/enum/position-grid-row.enum.js +6 -0
- package/esm2015/app/model/standard-text.js +3 -0
- package/esm2015/app/model/transaction-add-text-line-request.js +11 -0
- package/esm2015/app/service/dictionary.service.js +20 -9
- package/esm2015/app/service/ione-connector-adapter.service.js +45 -2
- package/esm2015/app/service/options.service.js +2 -3
- package/esm2015/app/service/transaction-event.service.js +1 -1
- package/esm2015/app/service/transaction.service.js +52 -14
- package/esm2015/assets/dictionary/text.properties.js +9 -1
- package/esm2015/colijnit-transaction.js +58 -55
- package/fesm2015/colijnit-transaction.js +1105 -869
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/package.json +4 -4
- package/style/_mixin.scss +9 -0
- package/style/_variables.scss +75 -0
- package/style/styles.scss +367 -0
- package/styles.scss +11 -0
- package/app/enum/direction.enum.d.ts +0 -6
- package/css/styles.css +0 -38
- package/esm2015/app/component/checkout/retail-transaction-checkout/retail-transaction-checkout.component.js +0 -53
- package/esm2015/app/component/common/icon/icon.component.js +0 -32
- package/esm2015/app/component/common/image-display/image-display.component.js +0 -41
- package/esm2015/app/component/common/no-image-display/no-image-display.component.js +0 -26
- package/esm2015/app/component/core/warehouse/warehouse.component.js +0 -133
- package/esm2015/app/enum/direction.enum.js +0 -9
- package/esm2015/enum/position-grid-row.enum.js +0 -6
package/app/component/service-order/transaction-header-block/transaction-header-block.component.scss
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
display: block;
|
|
6
|
+
padding: 15px 0 30px 0;
|
|
7
|
+
//border: 1px solid $color_border;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.name {
|
|
11
|
+
font-size: 13px;
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
color: $tp-color-dark;
|
|
14
|
+
margin-bottom: 5px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.address, .phone, .email {
|
|
18
|
+
font-size: 13px;
|
|
19
|
+
line-height: 16px;
|
|
20
|
+
color: $tp-color-label;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pointer {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.link {
|
|
28
|
+
color: $tp-color-action;
|
|
29
|
+
}
|
|
30
|
+
.summary-block {
|
|
31
|
+
width: calc(25% - 15px);
|
|
32
|
+
border: 2px dashed #DCE4EA;
|
|
33
|
+
margin: 7px;
|
|
34
|
+
border-radius: 15px;
|
|
35
|
+
position: relative;
|
|
36
|
+
.block-wrapper {
|
|
37
|
+
position: relative;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
padding: 30px 20px;
|
|
41
|
+
}
|
|
42
|
+
&:after {
|
|
43
|
+
content: '';
|
|
44
|
+
position: absolute;
|
|
45
|
+
left: -1px;
|
|
46
|
+
top: -1px;
|
|
47
|
+
right: -1px;
|
|
48
|
+
bottom: -1px;
|
|
49
|
+
border: 1px solid #FFF;
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
border-radius: 15px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
@include screen-md {
|
|
55
|
+
.summary-block {
|
|
56
|
+
width: calc(50% - 15px);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
@include screen-xs {
|
|
60
|
+
.summary-block {
|
|
61
|
+
width: calc(100%);
|
|
62
|
+
margin: 7px 0;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -7,12 +7,12 @@ import { LineOperationStatus } from "@colijnit/transactionapi/build/model/line-o
|
|
|
7
7
|
import { ArticleFullObject } from "@colijnit/transactionapi/build/model/article-full-object";
|
|
8
8
|
import { DictionaryService } from "../../../service/dictionary.service";
|
|
9
9
|
import { LineOperationResponse } from "@colijnit/transactionapi/build/model/line-operation-response.bo";
|
|
10
|
-
import { PositionGridRow } from "
|
|
10
|
+
import { PositionGridRow } from "../../../enum/position-grid-row.enum";
|
|
11
11
|
import { CharacteristicAnswerComponent } from "../../core/characteristic-answer/characteristic-answer.component";
|
|
12
12
|
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
13
13
|
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
14
|
-
import { WarehouseComponent } from "../../core/warehouse/warehouse.component";
|
|
15
14
|
import { PromptService } from "@colijnit/corecomponents_v12";
|
|
15
|
+
import { WarehouseComponent } from "../warehouse/warehouse.component";
|
|
16
16
|
export declare class TransactionManagerComponent extends TransactionBaseComponent implements OnDestroy {
|
|
17
17
|
service: TransactionService;
|
|
18
18
|
transactionEvents: TransactionEventService;
|
|
@@ -60,4 +60,5 @@ export declare class TransactionManagerComponent extends TransactionBaseComponen
|
|
|
60
60
|
private CharacteristicsAnswerNeeded;
|
|
61
61
|
private _getTransactionLineInfoByIndex;
|
|
62
62
|
private _cancelArticle;
|
|
63
|
+
addTextLineToTransaction(transactionUuid: string, text: string, lineNr: number, beforeOrAfter: PositionGridRow): Promise<void>;
|
|
63
64
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
::ng-deep #warehouseDialog {
|
|
5
|
+
align-items: center;
|
|
6
|
+
max-height: 100%;
|
|
7
|
+
|
|
8
|
+
::ng-deep co-form {
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 500px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
::ng-deep .form-content {
|
|
14
|
+
height: calc(100% - 80px);
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
.message-field {
|
|
18
|
+
@extend %margin-left-medium;
|
|
19
|
+
height: 20px;
|
|
20
|
+
word-wrap: break-word;
|
|
21
|
+
white-space: normal;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
co-button:not(:last-child) {
|
|
28
|
+
margin-right: 10px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.commission-fields {
|
|
32
|
+
@extend %margin-left-medium;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
margin: 10px 0 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.warehouse-line-container {
|
|
38
|
+
@extend %flex;
|
|
39
|
+
@extend %flex-row;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.warehouse-description-item {
|
|
43
|
+
width: 15rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.warehouse-nr-item {
|
|
47
|
+
width: 5rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
co-input-number-picker co-button {
|
|
51
|
+
max-width: 20px;
|
|
52
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
display: block;
|
|
6
|
+
padding: 20px;
|
|
7
|
+
|
|
8
|
+
::ng-deep collapseable {
|
|
9
|
+
width: 100% !important;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.horizontal {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.service-request-button-wrapper {
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
margin-top: 20px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.transaction-order-line-r {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: stretch;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
|
|
29
|
+
@media (max-width: 800px) {
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.transaction-order-line-image {
|
|
34
|
+
@extend %margin-vertical-big;
|
|
35
|
+
display: flex;
|
|
36
|
+
flex: 1 0 auto !important;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
padding-right: 10px;
|
|
41
|
+
image-display {
|
|
42
|
+
@include square(6em);
|
|
43
|
+
}
|
|
44
|
+
::ng-deep no-image-display {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.transaction-order-line-description {
|
|
49
|
+
@extend %margin-big;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
width: auto;
|
|
53
|
+
max-width: 355px;
|
|
54
|
+
margin-left: 10px;
|
|
55
|
+
.cart-line-description-main {
|
|
56
|
+
font-weight: bold;
|
|
57
|
+
}
|
|
58
|
+
.cart-line-description-artnr {
|
|
59
|
+
@extend %font-small;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.transaction-order-line-right {
|
|
63
|
+
justify-content: flex-end;
|
|
64
|
+
align-items: center;
|
|
65
|
+
.transaction-order-line-stock {
|
|
66
|
+
@extend %margin-vertical-big;
|
|
67
|
+
width: 10em;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.transaction-order-line-amount {
|
|
71
|
+
@extend %margin-big;
|
|
72
|
+
width: 15em;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.transaction-order-line-totals {
|
|
76
|
+
display: flex;
|
|
77
|
+
@extend %margin-vertical-big;
|
|
78
|
+
@extend %margin-left-big;
|
|
79
|
+
justify-content: flex-end;
|
|
80
|
+
min-width: 100px;
|
|
81
|
+
font-weight: bold;
|
|
82
|
+
|
|
83
|
+
span {
|
|
84
|
+
text-align: right;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.scss
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
display: block;
|
|
6
|
+
padding: 20px;
|
|
7
|
+
|
|
8
|
+
::ng-deep collapseable {
|
|
9
|
+
width: 100% !important;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.service-request-button-wrapper {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
margin-top: 20px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.transaction-order-line-r {
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: stretch;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
|
|
24
|
+
@media (max-width: 800px) {
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.transaction-order-line-image {
|
|
29
|
+
@extend %margin-vertical-big;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex: 1 0 auto !important;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
padding-right: 10px;
|
|
36
|
+
image-display {
|
|
37
|
+
@include square(6em);
|
|
38
|
+
}
|
|
39
|
+
::ng-deep no-image-display {
|
|
40
|
+
display: none;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.transaction-order-line-description {
|
|
44
|
+
@extend %margin-big;
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
width: auto;
|
|
48
|
+
max-width: 355px;
|
|
49
|
+
margin-left: 10px;
|
|
50
|
+
.cart-line-description-main {
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
}
|
|
53
|
+
.cart-line-description-artnr {
|
|
54
|
+
@extend %font-small;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.transaction-order-line-right {
|
|
58
|
+
justify-content: flex-end;
|
|
59
|
+
align-items: center;
|
|
60
|
+
.transaction-order-line-stock {
|
|
61
|
+
@extend %margin-vertical-big;
|
|
62
|
+
width: 10em;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.transaction-order-line-amount {
|
|
66
|
+
@extend %margin-big;
|
|
67
|
+
width: 15em;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.transaction-order-line-totals {
|
|
71
|
+
display: flex;
|
|
72
|
+
@extend %margin-vertical-big;
|
|
73
|
+
@extend %margin-left-big;
|
|
74
|
+
justify-content: flex-end;
|
|
75
|
+
min-width: 100px;
|
|
76
|
+
font-weight: bold;
|
|
77
|
+
|
|
78
|
+
span {
|
|
79
|
+
text-align: right;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.scss
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
.totals-wrapper {
|
|
6
|
+
width: 310px;
|
|
7
|
+
font-size: 13px;
|
|
8
|
+
}
|
|
9
|
+
.totals-item {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
height: 25px;
|
|
13
|
+
align-items: center;
|
|
14
|
+
> div {
|
|
15
|
+
text-align: end;
|
|
16
|
+
width: 50%;
|
|
17
|
+
}
|
|
18
|
+
&.total {
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
height: 30px;
|
|
21
|
+
border-top: 1px solid $tp-color-border;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
package/app/component/service-order/transaction-relation/transaction-relation-edit.component.scss
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.button-wrapper {
|
|
2
|
+
margin-top: 10px;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
co-input-radio-button {
|
|
7
|
+
margin-left:16px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.transaction-relation-label-h2 {
|
|
11
|
+
display: block;
|
|
12
|
+
margin-top: 1em;
|
|
13
|
+
margin-bottom: 1em;
|
|
14
|
+
font-size: 18px;
|
|
15
|
+
font-weight: bold;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.transaction-relation-label-h3 {
|
|
19
|
+
display: block;
|
|
20
|
+
margin-top: 1em;
|
|
21
|
+
margin-bottom: 1em;
|
|
22
|
+
font-size: 14px;
|
|
23
|
+
font-weight: bold;
|
|
24
|
+
}
|
package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss
ADDED
|
File without changes
|
package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.e-accordion {
|
|
7
|
+
border: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.e-accordion .e-acrdn-item .e-acrdn-header .e-toggle-icon .e-icons {
|
|
11
|
+
color: lightblue;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.e-tab .e-toolbar-items {
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
::ng-deep #warehouseDialog {
|
|
5
|
+
align-items: center;
|
|
6
|
+
max-height: 100%;
|
|
7
|
+
|
|
8
|
+
::ng-deep co-form {
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 500px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
::ng-deep .form-content {
|
|
14
|
+
height: calc(100% - 80px);
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
.message-field {
|
|
18
|
+
@extend %margin-left-medium;
|
|
19
|
+
height: 20px;
|
|
20
|
+
word-wrap: break-word;
|
|
21
|
+
white-space: normal;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
co-button:not(:last-child) {
|
|
28
|
+
margin-right: 10px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.commission-fields {
|
|
32
|
+
@extend %margin-left-medium;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
margin: 10px 0 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.warehouse-line-container {
|
|
38
|
+
@extend %flex;
|
|
39
|
+
@extend %flex-row;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.warehouse-description-item {
|
|
43
|
+
width: 15rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.warehouse-nr-item {
|
|
47
|
+
width: 5rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
co-input-number-picker co-button {
|
|
51
|
+
max-width: 20px;
|
|
52
|
+
}
|
|
@@ -7,7 +7,7 @@ import { DictionaryService } from "../../service/dictionary.service";
|
|
|
7
7
|
import { IOneConnectorAdapterService } from "../../service/ione-connector-adapter.service";
|
|
8
8
|
import { TransactionEventService } from "../../service/transaction-event.service";
|
|
9
9
|
import { PromptService } from "@colijnit/corecomponents_v12";
|
|
10
|
-
import { PositionGridRow } from "
|
|
10
|
+
import { PositionGridRow } from "../../enum/position-grid-row.enum";
|
|
11
11
|
export declare class IoneShoppingCartComponent implements OnInit, OnDestroy {
|
|
12
12
|
_changeDetector: ChangeDetectorRef;
|
|
13
13
|
_optionsService: OptionsService;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
background-color: white;
|
|
6
|
+
opacity: 1;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
height: 100%;
|
|
10
|
+
color: $tp-color-dark;
|
|
11
|
+
|
|
12
|
+
.shopping-cart-viewport {
|
|
13
|
+
max-width:60%;
|
|
14
|
+
margin-left:20%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.shopping-cart-row-end {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
column-gap: 10px;
|
|
21
|
+
justify-content: flex-end;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.cart-header {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
@extend %margin-vertical-big;
|
|
29
|
+
|
|
30
|
+
.cart-header-label {
|
|
31
|
+
font-weight: bold;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.view-mode-buttons {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: row;
|
|
37
|
+
@extend %margin-left-medium;
|
|
38
|
+
co-button {
|
|
39
|
+
padding: 0;
|
|
40
|
+
::ng-deep co-button {
|
|
41
|
+
border-radius: 0;
|
|
42
|
+
}
|
|
43
|
+
&:first-child {
|
|
44
|
+
::ng-deep co-button {
|
|
45
|
+
@include border-left-radius(3px);
|
|
46
|
+
@include border-right-radius(3px);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:nth-child(2) ::ng-deep co-button {
|
|
51
|
+
@include border-left-radius(3px);
|
|
52
|
+
}
|
|
53
|
+
&:last-child ::ng-deep co-button {
|
|
54
|
+
@include border-right-radius(3px);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.cart-lines {
|
|
61
|
+
display: flex;
|
|
62
|
+
height: 100%;
|
|
63
|
+
overflow: auto;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.shopping-cart-totals {
|
|
67
|
+
@extend %padding-vertical-big;
|
|
68
|
+
align-items: flex-end;
|
|
69
|
+
> div {
|
|
70
|
+
width: fit-content;
|
|
71
|
+
span:last-of-type {
|
|
72
|
+
min-width: 6em;
|
|
73
|
+
text-align: right;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
div:last-of-type {
|
|
77
|
+
font-weight: bold;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
@extend %padding-vertical-big;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
border-bottom: 1px solid #DBE3E8;
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
&.overlayed {
|
|
12
|
+
&.is-text {
|
|
13
|
+
display: none!important;
|
|
14
|
+
}
|
|
15
|
+
&.is-selected {
|
|
16
|
+
background-color: lightblue;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.overview {
|
|
21
|
+
&.is-text {
|
|
22
|
+
display: none!important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.is-selected {
|
|
26
|
+
background-color: lightblue;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.horizontal {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: row;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.cart-line-r {
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: stretch;
|
|
39
|
+
flex-direction: row;
|
|
40
|
+
|
|
41
|
+
@media (max-width: 800px) {
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
co-button {
|
|
46
|
+
border: 0;
|
|
47
|
+
padding: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.cart-line-image {
|
|
51
|
+
@extend %margin-vertical-big;
|
|
52
|
+
display: flex;
|
|
53
|
+
flex: 1 0 auto !important;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
//width: 10em;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
image-display {
|
|
59
|
+
@include square(6em);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.cart-line-description {
|
|
63
|
+
@extend %margin-big;
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
width: 100%;
|
|
67
|
+
.cart-line-description-main {
|
|
68
|
+
font-weight: bold;
|
|
69
|
+
}
|
|
70
|
+
.cart-line-description-artnr {
|
|
71
|
+
@extend %font-small;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
.cart-line-right {
|
|
75
|
+
justify-content: flex-end;
|
|
76
|
+
|
|
77
|
+
.cart-line-stock {
|
|
78
|
+
@extend %margin-vertical-big;
|
|
79
|
+
width: 10em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cart-line-amount {
|
|
83
|
+
@extend %margin-big;
|
|
84
|
+
width: 15em;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.cart-line-totals {
|
|
88
|
+
display: flex;
|
|
89
|
+
@extend %margin-vertical-big;
|
|
90
|
+
@extend %margin-left-big;
|
|
91
|
+
justify-content: flex-end;
|
|
92
|
+
min-width: 100px;
|
|
93
|
+
font-weight: bold;
|
|
94
|
+
|
|
95
|
+
span {
|
|
96
|
+
text-align: right;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cart-line-t {
|
|
103
|
+
@extend %margin-horizontal-big;
|
|
104
|
+
&.article-text {
|
|
105
|
+
padding-left: 10em;
|
|
106
|
+
}
|
|
107
|
+
}
|
package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { CoDialogComponent, CoGridComponent, PromptService } from "@colijnit/cor
|
|
|
10
10
|
import { ArticleFullObject } from "@colijnit/transactionapi/build/model/article-full-object";
|
|
11
11
|
import { DictionaryService } from "../../../service/dictionary.service";
|
|
12
12
|
import { CharacteristicAnswerComponent } from "../../core/characteristic-answer/characteristic-answer.component";
|
|
13
|
-
import { PositionGridRow } from "
|
|
13
|
+
import { PositionGridRow } from "../../../enum/position-grid-row.enum";
|
|
14
14
|
export declare class ShoppingCartManagerComponent implements OnInit, OnDestroy {
|
|
15
15
|
service: TransactionService;
|
|
16
16
|
transactionEvents: TransactionEventService;
|
package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.scss
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
::ng-deep #warehouseDialog {
|
|
5
|
+
align-items: center;
|
|
6
|
+
max-height: 100%;
|
|
7
|
+
|
|
8
|
+
::ng-deep co-form {
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 500px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
::ng-deep .form-content {
|
|
14
|
+
height: calc(100% - 80px);
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
.message-field {
|
|
18
|
+
@extend %margin-left-medium;
|
|
19
|
+
height: 20px;
|
|
20
|
+
word-wrap: break-word;
|
|
21
|
+
white-space: normal;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
co-button:not(:last-child) {
|
|
28
|
+
margin-right: 10px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.commission-fields {
|
|
32
|
+
@extend %margin-left-medium;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
margin: 10px 0 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.warehouse-line-container {
|
|
38
|
+
@extend %flex;
|
|
39
|
+
@extend %flex-row;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.warehouse-description-item {
|
|
43
|
+
width: 15rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.warehouse-nr-item {
|
|
47
|
+
width: 5rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
co-input-number-picker co-button {
|
|
51
|
+
max-width: 20px;
|
|
52
|
+
}
|
|
File without changes
|