@colijnit/transaction 12.1.129 → 12.1.131
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 +2273 -628
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +378 -365
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +379 -366
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +2 -2
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +6 -3
- package/esm2015/lib/component/core/base/dialog-transaction-base.component.js +5 -3
- package/esm2015/lib/component/core/base/transaction-base.component.js +6 -2
- package/esm2015/lib/component/core/core.module.js +1 -1
- package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +17 -5
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +7 -2
- package/esm2015/lib/component/discount/discount.component.js +110 -0
- package/esm2015/lib/component/discount/discount.module.js +29 -0
- package/esm2015/lib/component/payment/payment.component.js +57 -38
- package/esm2015/lib/component/payment/payment.module.js +4 -2
- package/esm2015/lib/component/payment-to-pay/payment-to-pay.component.js +26 -0
- package/esm2015/lib/component/payment-to-pay/payment-to-pay.module.js +21 -0
- package/esm2015/lib/component/relation/relation-address/relation-address.module.js +7 -7
- package/esm2015/lib/component/relation/relation-address-select/relation-address-select.component.js +8 -8
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +14 -17
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.module.js +10 -10
- package/esm2015/lib/component/transaction/transaction.component.js +7 -4
- package/esm2015/lib/component/transaction/transaction.module.js +4 -2
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-overview-button-bar-button.component.js +37 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-picking-button-bar-button.component.js +13 -4
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +2 -1
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.module.js +6 -3
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-dialog/transaction-cash-register-dialog.component.js +177 -0
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-dialog/transaction-cash-register-dialog.module.js +27 -0
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-order-receipt-dialog/transaction-cash-register-order-receipt-dialog.component.js +83 -0
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-order-receipt-dialog/transaction-cash-register-order-receipt-dialog.module.js +24 -0
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-order.component.js +177 -0
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-order.module.js +41 -0
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +3 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +11 -2
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-base.component.js +17 -9
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-payment.component.js +97 -4
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.js +49 -20
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.component.js +8 -2
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.module.js +11 -3
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +20 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.module.js +5 -5
- package/esm2015/lib/component/transaction-header-fields/transaction-header-amount-to-settle.component.js +55 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-amount-to-settle.module.js +24 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.component.js +4 -4
- package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.module.js +1 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-currency.module.js +1 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.js +24 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-divide-evenly.component.js +38 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-divide-evenly.module.js +25 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-marketing.module.js +6 -6
- package/esm2015/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.component.js +14 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-payment-condition.module.js +1 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-price-kind.module.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.component.js +52 -0
- package/esm2015/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.module.js +36 -0
- package/esm2015/lib/component/transaction-line/transaction-picked-line/transaction-picked-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.js +12 -4
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-amount.component.js +6 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-drop-shipment-button.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.module.js +7 -7
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.module.js +6 -6
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.module.js +8 -8
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.module.js +6 -6
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +8 -8
- package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component.js +5 -5
- package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.module.js +6 -6
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.module.js +23 -23
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-picked/transaction-line-side-panel-picked.component.js +13 -14
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-to-be-picked/transaction-line-side-panel-to-be-picked.component.js +13 -14
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +21 -1
- package/esm2015/lib/component/transaction-lines/transaction-lines.module.js +9 -9
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +23 -15
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +6 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +18 -15
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-picked/transaction-quick-access-picked.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.module.js +8 -8
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.module.js +8 -8
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +6 -6
- package/esm2015/lib/enum/icon.enum.js +7 -1
- package/esm2015/lib/enum/order-discount-type.enum.js +7 -0
- package/esm2015/lib/enum/transaction-type-category.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +7 -1
- package/esm2015/lib/model/payment-transaction-view-model.js +3 -0
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/article-connector.service.js +9 -9
- package/esm2015/lib/service/dialog.service.js +14 -10
- package/esm2015/lib/service/error.service.js +15 -8
- package/esm2015/lib/service/payment.service.js +24 -5
- package/esm2015/lib/service/pending-reason.service.js +2 -2
- package/esm2015/lib/service/relation-connector.service.js +11 -11
- package/esm2015/lib/service/shared-connector.service.js +5 -5
- package/esm2015/lib/service/transaction-base.service.js +23 -5
- package/esm2015/lib/service/transaction-connector-adapter.service.js +195 -6
- package/esm2015/lib/service/transaction-connector.service.js +65 -2
- package/esm2015/lib/service/transaction-event.service.js +8 -2
- package/esm2015/lib/service/transaction-mapping.service.js +6 -3
- package/esm2015/lib/service/transaction.service.js +128 -12
- package/esm2015/lib/transaction-version.js +3 -3
- package/esm2015/public_api.js +3 -1
- package/fesm2015/colijnit-transaction.js +1700 -214
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +9 -0
- package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +4 -1
- package/lib/component/checkout/checkout-overview-relation-edit/style/_theme.scss +3 -0
- package/lib/component/checkout-simple/checkout-simple-overview-relation-edit/style/_layout.scss +9 -0
- package/lib/component/checkout-simple/checkout-simple-overview-relation-edit/style/_material-definition.scss +4 -1
- package/lib/component/checkout-simple/checkout-simple-overview-relation-edit/style/_theme.scss +3 -0
- package/lib/component/checkout-simple/style/_theme.scss +1 -1
- package/lib/component/confirmation-dialog/style/material.scss +1 -1
- package/lib/component/core/base/transaction-base.component.d.ts +3 -1
- package/lib/component/deposit-payment/deposit-payment.component.d.ts +9 -3
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.d.ts +1 -0
- package/lib/component/discount/discount.component.d.ts +19 -0
- package/lib/component/discount/discount.module.d.ts +2 -0
- package/lib/component/discount/style/_layout.scss +0 -0
- package/lib/component/discount/style/_material-definition.scss +0 -0
- package/lib/component/discount/style/_theme.scss +0 -0
- package/lib/component/discount/style/material.scss +0 -0
- package/lib/component/payment/payment.component.d.ts +14 -6
- package/lib/component/payment/style/_layout.scss +5 -0
- package/lib/component/payment/style/_material-definition.scss +3 -6
- package/lib/component/payment/style/_theme.scss +0 -24
- package/lib/component/payment/style/material.scss +1 -0
- package/lib/component/payment-to-pay/payment-to-pay.component.d.ts +4 -0
- package/lib/component/payment-to-pay/payment-to-pay.module.d.ts +2 -0
- package/lib/component/payment-to-pay/style/_layout.scss +26 -0
- package/lib/component/payment-to-pay/style/_material-definition.scss +6 -0
- package/lib/component/payment-to-pay/style/_theme.scss +9 -0
- package/lib/component/payment-to-pay/style/material.scss +4 -0
- package/lib/component/quick-send-button/style/_layout.scss +24 -0
- package/lib/component/quick-send-button/style/_material-definition.scss +2 -0
- package/lib/component/relation/relation-address-select/relation-address-select.component.d.ts +5 -5
- package/lib/component/relation/relation-general/relation-general.component.d.ts +8 -10
- package/lib/component/tile/style/_layout.scss +4 -0
- package/lib/component/transaction/transaction.component.d.ts +3 -1
- package/lib/component/transaction-button-bar/style/_layout.scss +2 -1
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-overview-button-bar-button.component.d.ts +12 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-picking-button-bar-button.component.d.ts +3 -1
- package/lib/component/transaction-cash-register-order/style/_layout.scss +129 -0
- package/lib/component/transaction-cash-register-order/style/_material-definition.scss +0 -0
- package/lib/component/transaction-cash-register-order/style/_theme.scss +4 -0
- package/lib/component/transaction-cash-register-order/style/material.scss +7 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-dialog/style/_layout.scss +28 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-dialog/style/_material-definition.scss +0 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-dialog/style/_theme.scss +4 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-dialog/style/material.scss +4 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-dialog/transaction-cash-register-dialog.component.d.ts +34 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-dialog/transaction-cash-register-dialog.module.d.ts +2 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-order-receipt-dialog/style/_layout.scss +37 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-order-receipt-dialog/style/_material-definition.scss +0 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-order-receipt-dialog/style/_theme.scss +4 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-order-receipt-dialog/style/material.scss +5 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-order-receipt-dialog/transaction-cash-register-order-receipt-dialog.component.d.ts +17 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-order-receipt-dialog/transaction-cash-register-order-receipt-dialog.module.d.ts +2 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-order.component.d.ts +41 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-order.module.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +5 -2
- package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +49 -0
- package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss +5 -0
- package/lib/component/transaction-header/transaction-header-popup/style/_theme.scss +10 -0
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-base.component.d.ts +2 -2
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-payment.component.d.ts +32 -1
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.d.ts +4 -2
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup.component.d.ts +1 -0
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +5 -0
- package/lib/component/transaction-header-fields/transaction-header-amount-to-settle.component.d.ts +8 -0
- package/lib/component/transaction-header-fields/transaction-header-amount-to-settle.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-branch.component.d.ts +2 -3
- package/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.d.ts +6 -0
- package/lib/component/transaction-header-fields/transaction-header-divide-evenly.component.d.ts +5 -0
- package/lib/component/transaction-header-fields/transaction-header-divide-evenly.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.component.d.ts +7 -3
- package/lib/component/transaction-line/transaction-cash-register-order-line/style/_layout.scss +21 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.component.d.ts +4 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.module.d.ts +2 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.d.ts +1 -1
- package/lib/component/transaction-line-action-buttons/style/_layout.scss +1 -0
- package/lib/component/transaction-line-fields/transaction-line-amount.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-line-drop-shipment-button.component.d.ts +1 -1
- package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts +1 -1
- package/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.d.ts +1 -1
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.d.ts +1 -1
- package/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component.d.ts +4 -4
- package/lib/component/transaction-lines/style/material.scss +1 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.d.ts +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +1 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.d.ts +13 -13
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +1 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.d.ts +2 -2
- package/lib/enum/icon.enum.d.ts +6 -0
- package/lib/enum/order-discount-type.enum.d.ts +5 -0
- package/lib/enum/transaction-type-category.enum.d.ts +2 -1
- package/lib/model/payment-transaction-view-model.d.ts +12 -0
- package/lib/res/dictionary/dictionaries.d.ts +41 -2
- package/lib/service/article-connector.service.d.ts +8 -8
- package/lib/service/dialog.service.d.ts +6 -4
- package/lib/service/error.service.d.ts +3 -4
- package/lib/service/payment.service.d.ts +7 -2
- package/lib/service/relation-connector.service.d.ts +11 -11
- package/lib/service/shared-connector.service.d.ts +3 -3
- package/lib/service/transaction-base.service.d.ts +4 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +43 -19
- package/lib/service/transaction-connector.service.d.ts +40 -19
- package/lib/service/transaction-event.service.d.ts +11 -1
- package/lib/service/transaction.service.d.ts +39 -17
- package/lib/style/_variables.scss +2 -3
- package/lib/style/transaction-globals.scss +11 -0
- package/package.json +5 -5
- package/public_api.d.ts +2 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
@include export-module('cc-transaction-cash-register-order-layout') {
|
|
2
|
+
.co-transaction-cash-register-order {
|
|
3
|
+
font-family: "Public sans";
|
|
4
|
+
font-size: 12px;
|
|
5
|
+
display: block;
|
|
6
|
+
padding: 25px;
|
|
7
|
+
|
|
8
|
+
.cash-register-wrapper {
|
|
9
|
+
display: flex;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
column-gap: 40px;
|
|
13
|
+
|
|
14
|
+
.cash-register-main-content {
|
|
15
|
+
display: flex;
|
|
16
|
+
width: 75%;
|
|
17
|
+
row-gap: 30px;
|
|
18
|
+
height: inherit;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
|
|
21
|
+
.cash-register-header-wrapper {
|
|
22
|
+
display: flex;
|
|
23
|
+
margin-left: 20px;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
align-items: center;
|
|
26
|
+
|
|
27
|
+
.cash-register-header-buttons-wrapper {
|
|
28
|
+
display: flex;
|
|
29
|
+
column-gap: 10px;
|
|
30
|
+
|
|
31
|
+
.cash-register-header-button {
|
|
32
|
+
width: 136px;
|
|
33
|
+
height: 30px;
|
|
34
|
+
background-color: #f5f5fc;
|
|
35
|
+
padding: 5px;
|
|
36
|
+
font-size: 11px;
|
|
37
|
+
border-radius: 8px;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
text-align: center;
|
|
41
|
+
font-weight: bold;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.cash-register-avatar-wrapper {
|
|
47
|
+
display: flex;
|
|
48
|
+
|
|
49
|
+
.transaction-sales-avatar {
|
|
50
|
+
height: 30px;
|
|
51
|
+
width: 30px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.cash-register-lines-wrapper {
|
|
57
|
+
display: flex;
|
|
58
|
+
width: 100%;
|
|
59
|
+
|
|
60
|
+
.co-transaction-lines {
|
|
61
|
+
width: inherit;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.cash-register-side-content {
|
|
67
|
+
display: flex;
|
|
68
|
+
width: 25%;
|
|
69
|
+
height: inherit;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
row-gap: 50px;
|
|
72
|
+
|
|
73
|
+
.cash-register-totals-wrapper {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
font-size: 11px;
|
|
77
|
+
padding: 8px;
|
|
78
|
+
width: 100%;
|
|
79
|
+
background-color: white;
|
|
80
|
+
border: 1px solid #f3f3f6;
|
|
81
|
+
border-radius: 8px;
|
|
82
|
+
row-gap: 5px;
|
|
83
|
+
|
|
84
|
+
.cash-register-totals-row {
|
|
85
|
+
display: flex;
|
|
86
|
+
font-weight: bold;
|
|
87
|
+
justify-content: space-between;
|
|
88
|
+
padding: 5px;
|
|
89
|
+
&.total {
|
|
90
|
+
font-size: 12px;
|
|
91
|
+
}
|
|
92
|
+
&.discount {
|
|
93
|
+
background: #5fdcb3;
|
|
94
|
+
border-radius: 8px;
|
|
95
|
+
cursor: pointer;
|
|
96
|
+
color: white;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cash-register-payment-wrapper {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
row-gap: 10px;
|
|
106
|
+
|
|
107
|
+
.cash-register-payment-methods-wrapper {
|
|
108
|
+
display: grid;
|
|
109
|
+
grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
|
|
110
|
+
grid-gap: 5px;
|
|
111
|
+
padding: 8px;
|
|
112
|
+
border-radius: 8px;
|
|
113
|
+
background: $tp-payment-amount-background-color;
|
|
114
|
+
|
|
115
|
+
.co-tile-wrapper {
|
|
116
|
+
min-height: 70px;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.cash-register-num-pad-wrapper {
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
row-gap: 10px;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
@import "./_material-definition";
|
|
3
|
+
@import "./_layout";
|
|
4
|
+
@import "./_theme";
|
|
5
|
+
@import "../../payment-to-pay/style/material";
|
|
6
|
+
@import "../transaction-cash-register-dialog/style/material";
|
|
7
|
+
@import "../transaction-cash-register-order-receipt-dialog/style/material";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@include export-module('cc-transaction-cash-register-dialog-layout') {
|
|
2
|
+
.co-transaction-cash-register-dialog {
|
|
3
|
+
|
|
4
|
+
.dialog-content-wrapper {
|
|
5
|
+
padding: 20px;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
row-gap: 20px;
|
|
9
|
+
min-width: 400px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.cash-registers {
|
|
13
|
+
position: relative;
|
|
14
|
+
min-height: 50px;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
column-gap: 5px;
|
|
18
|
+
row-gap: 5px;
|
|
19
|
+
flex-wrap: wrap;
|
|
20
|
+
.loader {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 50%;
|
|
23
|
+
left: 50%;
|
|
24
|
+
transform: translate(-50%, -50%);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
3
|
+
import { CashRegister } from "@colijnit/transactionapi/build/model/cash-register";
|
|
4
|
+
import { CashDrawer } from "@colijnit/transactionapi/build/model/cash-drawer.bo";
|
|
5
|
+
import { Printer } from "@colijnit/mainapi/build/model/printer.bo";
|
|
6
|
+
import { PaymentTransactionViewModel } from "../../../model/payment-transaction-view-model";
|
|
7
|
+
import { ReportLayoutSelectionPrint } from "@colijnit/mainapi/build/model/report-layout-selection-print.bo";
|
|
8
|
+
import { ReportLayoutSelectionEmail } from "@colijnit/mainapi/build/model/report-layout-selection-email.bo";
|
|
9
|
+
export declare class TransactionCashRegisterDialogComponent extends TransactionBaseComponent implements OnInit {
|
|
10
|
+
paymentDetailsSelected: EventEmitter<PaymentTransactionViewModel>;
|
|
11
|
+
cashRegisters: any[];
|
|
12
|
+
activeCashRegister: CashRegister;
|
|
13
|
+
cashDrawers: CashDrawer[];
|
|
14
|
+
activeCashDrawer: CashDrawer;
|
|
15
|
+
printerList: Printer[];
|
|
16
|
+
activePrinter: Printer;
|
|
17
|
+
printerLayouts: ReportLayoutSelectionPrint[];
|
|
18
|
+
emailLayouts: ReportLayoutSelectionEmail[];
|
|
19
|
+
selectedPrinterLayout: ReportLayoutSelectionPrint;
|
|
20
|
+
selectedEmailLayout: ReportLayoutSelectionEmail;
|
|
21
|
+
showClass(): boolean;
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
cashRegisterSelected(cashRegister: CashRegister): void;
|
|
24
|
+
cashDrawerSelected(): void;
|
|
25
|
+
private _createCashRegisterOrder;
|
|
26
|
+
private _getCashRegisters;
|
|
27
|
+
private _getCashDrawers;
|
|
28
|
+
private _getPrinters;
|
|
29
|
+
private _prepareCashRegister;
|
|
30
|
+
handleDrawerChanged(cashDrawer: CashDrawer): void;
|
|
31
|
+
handlePrinterChanged(printer: Printer): void;
|
|
32
|
+
private _getPrinterLayouts;
|
|
33
|
+
private _getEmailLayouts;
|
|
34
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@include export-module('cc-transaction-cash-register-order-receipt-dialog-layout') {
|
|
2
|
+
.co-transaction-cash-register-order-receipt-dialog {
|
|
3
|
+
|
|
4
|
+
.dialog-content-wrapper {
|
|
5
|
+
display: flex;
|
|
6
|
+
column-gap: 15px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.receipt-option {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
grid-column-gap: 10px;
|
|
13
|
+
column-gap: 10px;
|
|
14
|
+
border: 1px solid #1a73e8;
|
|
15
|
+
color: #1a73e8;
|
|
16
|
+
padding: 10px;
|
|
17
|
+
border-radius: 8px;
|
|
18
|
+
min-width: 140px;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
background-color: rgba(26, 115, 232, 0.21);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.co-icon {
|
|
26
|
+
width: 20px;
|
|
27
|
+
height: 20px;
|
|
28
|
+
svg { // for fontawesome icons
|
|
29
|
+
fill: #1a73e8;
|
|
30
|
+
}
|
|
31
|
+
& [fill] { // for own icons
|
|
32
|
+
fill: #1a73e8;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
3
|
+
import { SafeHtml } from "@angular/platform-browser";
|
|
4
|
+
import { PaymentTransactionViewModel } from "../../../model/payment-transaction-view-model";
|
|
5
|
+
export declare class TransactionCashRegisterOrderReceiptDialogComponent extends TransactionBaseComponent {
|
|
6
|
+
cashRegisterPaymentDetails: PaymentTransactionViewModel;
|
|
7
|
+
handleReceiptOptionSelected: EventEmitter<void>;
|
|
8
|
+
receiptOptions: {
|
|
9
|
+
title: string;
|
|
10
|
+
iconData: SafeHtml;
|
|
11
|
+
}[];
|
|
12
|
+
showClass(): boolean;
|
|
13
|
+
emailReceipt(): void;
|
|
14
|
+
printReceipt(): void;
|
|
15
|
+
noPrintReceipt(): void;
|
|
16
|
+
handleClickReceipt(title: string): void;
|
|
17
|
+
}
|
package/lib/component/transaction-cash-register-order/transaction-cash-register-order.component.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
|
+
import { TransactionService } from "../../service/transaction.service";
|
|
3
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
4
|
+
import { TransactionBaseComponent } from "../core/base/transaction-base.component";
|
|
5
|
+
import { TransactionEventService } from "../../service/transaction-event.service";
|
|
6
|
+
import { DictionaryService } from "../../service/dictionary.service";
|
|
7
|
+
import { TransactionImageService } from "../../service/transaction-image.service";
|
|
8
|
+
import { PaymentViewmodel } from "../../model/payment.viewmodel";
|
|
9
|
+
import { PaymentService } from "../../service/payment.service";
|
|
10
|
+
import { PaymentMethod } from "@colijnit/transactionapi/build/model/payment-method.bo";
|
|
11
|
+
import { TransactionScreenConfigurationService } from "../../service/transaction-screen-configuration.service";
|
|
12
|
+
import { PaymentTransactionViewModel } from "../../model/payment-transaction-view-model";
|
|
13
|
+
export declare class TransactionCashRegisterOrderComponent extends TransactionBaseComponent implements OnInit {
|
|
14
|
+
transactionEventService: TransactionEventService;
|
|
15
|
+
iconCacheService: IconCacheService;
|
|
16
|
+
transactionScreenConfigurationService: TransactionScreenConfigurationService;
|
|
17
|
+
protected dictionaryService: DictionaryService;
|
|
18
|
+
protected imageService: TransactionImageService;
|
|
19
|
+
protected changeDetector: ChangeDetectorRef;
|
|
20
|
+
protected _transactionService: TransactionService;
|
|
21
|
+
private _paymentService;
|
|
22
|
+
amountToPay: number;
|
|
23
|
+
paymentMethods: PaymentViewmodel[];
|
|
24
|
+
paymentMethodIdx: number;
|
|
25
|
+
showCashRegisterDialog: boolean;
|
|
26
|
+
showReceiptDialog: boolean;
|
|
27
|
+
showDiscountDialog: boolean;
|
|
28
|
+
cashRegisterPaymentDetails: PaymentTransactionViewModel;
|
|
29
|
+
private _subs;
|
|
30
|
+
showClass(): boolean;
|
|
31
|
+
constructor(transactionEventService: TransactionEventService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _transactionService: TransactionService, _paymentService: PaymentService);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
handleAddArticle(articleNr: string, quantity?: number): Promise<void>;
|
|
34
|
+
handleKeyPadModelChange(model: number): void;
|
|
35
|
+
handlePayment(): void;
|
|
36
|
+
paymentMethodSelected(method: PaymentMethod, index: number): void;
|
|
37
|
+
openDiscountDialog(event: MouseEvent): void;
|
|
38
|
+
private _getPaymentMethods;
|
|
39
|
+
handleFinishedPayment(): void;
|
|
40
|
+
handlePaymentDetailsSelected(paymentDetailsSelected: PaymentTransactionViewModel): void;
|
|
41
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
3
3
|
import { Icon } from '../../../enum/icon.enum';
|
|
4
4
|
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
@@ -10,7 +10,7 @@ import { DictionaryService } from '../../../service/dictionary.service';
|
|
|
10
10
|
import { TransactionEventService } from '../../../service/transaction-event.service';
|
|
11
11
|
import { TransactionImageService } from '../../../service/transaction-image.service';
|
|
12
12
|
import { TransactionScreenConfigurationService } from '../../../service/transaction-screen-configuration.service';
|
|
13
|
-
export declare class TransactionHeaderPaymentComponent extends TransactionBaseComponent {
|
|
13
|
+
export declare class TransactionHeaderPaymentComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
14
14
|
transactionEventService: TransactionEventService;
|
|
15
15
|
service: TransactionService;
|
|
16
16
|
iconCacheService: IconCacheService;
|
|
@@ -28,7 +28,10 @@ export declare class TransactionHeaderPaymentComponent extends TransactionBaseCo
|
|
|
28
28
|
showLoaderDepositPayments: boolean;
|
|
29
29
|
paid: number;
|
|
30
30
|
toPay: number;
|
|
31
|
+
private _subs;
|
|
31
32
|
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _paymentService: PaymentService);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngOnDestroy(): void;
|
|
32
35
|
openPayment(event: MouseEvent): Promise<void>;
|
|
33
36
|
transactionSet(): Promise<void>;
|
|
34
37
|
private _getDepositPaymentInfo;
|
|
@@ -6,12 +6,28 @@
|
|
|
6
6
|
width: $tp-transaction-header-popup-width;
|
|
7
7
|
height: $tp-transaction-header-popup-height;
|
|
8
8
|
.dialog-content.transaction-header-dialog {
|
|
9
|
+
position: relative;
|
|
9
10
|
display: flex;
|
|
10
11
|
flex-direction: column;
|
|
11
12
|
overflow: hidden;
|
|
12
13
|
height: 100%;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
16
|
+
.loader-wrapper {
|
|
17
|
+
position: absolute;
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
z-index: 2;
|
|
24
|
+
backdrop-filter: blur(2px);
|
|
25
|
+
.co-loader {
|
|
26
|
+
display: block;
|
|
27
|
+
width: 50px;
|
|
28
|
+
height: 50px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
15
31
|
.transaction-header-popup-categories {
|
|
16
32
|
display: flex;
|
|
17
33
|
column-gap: $tp-transaction-header-popup-categories-column-gap;
|
|
@@ -119,5 +135,38 @@
|
|
|
119
135
|
width: $tp-transaction-header-popup-save-button-icon-size;
|
|
120
136
|
}
|
|
121
137
|
}
|
|
138
|
+
.transaction-header-popup-already-paid {
|
|
139
|
+
display: flex;
|
|
140
|
+
column-gap: $tp-transaction-header-popup-section-grid-column-gap;
|
|
141
|
+
.co-input-text {
|
|
142
|
+
&:before {
|
|
143
|
+
box-shadow: none;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
.transaction-header-popup-business-rule-applied {
|
|
148
|
+
display: flex;
|
|
149
|
+
column-gap: 5px;
|
|
150
|
+
align-items: center;
|
|
151
|
+
.co-icon {
|
|
152
|
+
height: $tp-transaction-header-popup-business-rule-applied-icon-size;
|
|
153
|
+
width: $tp-transaction-header-popup-business-rule-applied-icon-size;
|
|
154
|
+
svg {
|
|
155
|
+
fill: $tp-transaction-header-popup-business-rule-applied-icon-color;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
span {
|
|
159
|
+
font-size: $tp-transaction-header-popup-business-rule-applied-font-size;
|
|
160
|
+
font-weight: $tp-transaction-header-popup-business-rule-applied-font-weight;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
.co-transaction-header-payment-button {
|
|
164
|
+
.co-transaction-button {
|
|
165
|
+
height: $tp-item-size;
|
|
166
|
+
}
|
|
167
|
+
.payment-payed-wrapper {
|
|
168
|
+
margin: 5px 0 0 0;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
122
171
|
}
|
|
123
172
|
}
|
package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss
CHANGED
|
@@ -45,3 +45,8 @@ $tp-transaction-header-popup-section-grid-column-gap: 20px !default;
|
|
|
45
45
|
$tp-transaction-header-popup-save-button-size: 40px !default;
|
|
46
46
|
$tp-transaction-header-popup-save-button-icon-size: 20px !default;
|
|
47
47
|
$tp-transaction-header-popup-save-button-icon-color: $tp-color-action !default;
|
|
48
|
+
|
|
49
|
+
$tp-transaction-header-popup-business-rule-applied-icon-size: 20px !default;
|
|
50
|
+
$tp-transaction-header-popup-business-rule-applied-icon-color: red !default;
|
|
51
|
+
$tp-transaction-header-popup-business-rule-applied-font-size: $tp-font-size !default;
|
|
52
|
+
$tp-transaction-header-popup-business-rule-applied-font-weight: normal !default;
|
|
@@ -25,5 +25,15 @@
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
+
.transaction-header-popup-business-rule-applied {
|
|
29
|
+
.co-icon {
|
|
30
|
+
svg {
|
|
31
|
+
fill: $tp-transaction-header-popup-business-rule-applied-icon-color;
|
|
32
|
+
}
|
|
33
|
+
& [fill] {
|
|
34
|
+
fill: $tp-transaction-header-popup-business-rule-applied-icon-color;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
28
38
|
}
|
|
29
39
|
}
|
|
@@ -8,7 +8,7 @@ import { TransactionImageService } from '../../../service/transaction-image.serv
|
|
|
8
8
|
import { FormComponent, FormMasterService } from '@colijnit/corecomponents_v12';
|
|
9
9
|
import { DialogService } from '../../../service/dialog.service';
|
|
10
10
|
import { RelationService } from '../../../service/relation.service';
|
|
11
|
-
import { TransactionScreenConfigurationService } from
|
|
11
|
+
import { TransactionScreenConfigurationService } from '../../../service/transaction-screen-configuration.service';
|
|
12
12
|
export declare abstract class TransactionHeaderPopupBaseComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
13
13
|
transactionEventService: TransactionEventService;
|
|
14
14
|
service: TransactionService;
|
|
@@ -33,6 +33,6 @@ export declare abstract class TransactionHeaderPopupBaseComponent extends Transa
|
|
|
33
33
|
saveRelation(): Promise<void>;
|
|
34
34
|
saveTransaction(): Promise<void>;
|
|
35
35
|
protected setFormPristine(): void;
|
|
36
|
-
|
|
36
|
+
protected setFormDirty(): void;
|
|
37
37
|
private _askForSave;
|
|
38
38
|
}
|
|
@@ -1,4 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
1
2
|
import { TransactionHeaderPopupBaseComponent } from './transaction-header-popup-base.component';
|
|
2
|
-
|
|
3
|
+
import { TransactionEventService } from '../../../service/transaction-event.service';
|
|
4
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
5
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
6
|
+
import { TransactionScreenConfigurationService } from '../../../service/transaction-screen-configuration.service';
|
|
7
|
+
import { DictionaryService } from '../../../service/dictionary.service';
|
|
8
|
+
import { TransactionImageService } from '../../../service/transaction-image.service';
|
|
9
|
+
import { DialogService } from '../../../service/dialog.service';
|
|
10
|
+
import { FormMasterService } from '@colijnit/corecomponents_v12';
|
|
11
|
+
import { RelationService } from '../../../service/relation.service';
|
|
12
|
+
import { PaymentService } from '../../../service/payment.service';
|
|
13
|
+
export declare class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseComponent implements OnInit, OnDestroy {
|
|
14
|
+
transactionEventService: TransactionEventService;
|
|
15
|
+
service: TransactionService;
|
|
16
|
+
iconCacheService: IconCacheService;
|
|
17
|
+
transactionScreenConfigurationService: TransactionScreenConfigurationService;
|
|
18
|
+
protected dictionaryService: DictionaryService;
|
|
19
|
+
protected imageService: TransactionImageService;
|
|
20
|
+
protected changeDetector: ChangeDetectorRef;
|
|
21
|
+
protected dialogService: DialogService;
|
|
22
|
+
protected formMasterService: FormMasterService;
|
|
23
|
+
protected relationService: RelationService;
|
|
24
|
+
private _paymentService;
|
|
3
25
|
showClass(): boolean;
|
|
26
|
+
paidDown: number;
|
|
27
|
+
settled: number;
|
|
28
|
+
showBusinessRuleInfo: boolean;
|
|
29
|
+
private _ownSubs;
|
|
30
|
+
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, dialogService: DialogService, formMasterService: FormMasterService, relationService: RelationService, _paymentService: PaymentService);
|
|
31
|
+
ngOnInit(): Promise<void>;
|
|
32
|
+
ngOnDestroy(): Promise<void>;
|
|
33
|
+
protected transactionSet(): void;
|
|
34
|
+
private _getDepositInfo;
|
|
4
35
|
}
|
|
@@ -13,10 +13,12 @@ export declare class TransactionHeaderPopupRelationComponent extends Transaction
|
|
|
13
13
|
categories: string[];
|
|
14
14
|
customerGroup: string;
|
|
15
15
|
relationSet(): Promise<void>;
|
|
16
|
-
setIndexDeliveryAddress(nawNr: number): void
|
|
17
|
-
setIndexInvoiceAddress(nawNr: number): void
|
|
16
|
+
setIndexDeliveryAddress(nawNr: number): Promise<void>;
|
|
17
|
+
setIndexInvoiceAddress(nawNr: number): Promise<void>;
|
|
18
18
|
checkSameAddress(checked: boolean): void;
|
|
19
19
|
handleNavigationClick(nav: string): void;
|
|
20
20
|
handleChangeCustomGroup(group: string): void;
|
|
21
|
+
protected transactionSet(): void;
|
|
22
|
+
private _setFirstAddress;
|
|
21
23
|
private _lockRelation;
|
|
22
24
|
}
|
|
@@ -32,6 +32,7 @@ export declare class TransactionHeaderPopupComponent extends TransactionBaseComp
|
|
|
32
32
|
showClass(): boolean;
|
|
33
33
|
categories: PopupCategory[];
|
|
34
34
|
okButtonEnabled: boolean;
|
|
35
|
+
saving: boolean;
|
|
35
36
|
activeCategory: PopupCategory;
|
|
36
37
|
cloneRelation: RelationAnyType;
|
|
37
38
|
private _subs;
|
|
@@ -2,4 +2,9 @@ import { TransactionBaseComponent } from '../../core/base/transaction-base.compo
|
|
|
2
2
|
export declare class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
3
3
|
showClass(): boolean;
|
|
4
4
|
showDialog: boolean;
|
|
5
|
+
firstAddress: string;
|
|
6
|
+
firstPostal: string;
|
|
7
|
+
protected relationSet(): void;
|
|
8
|
+
protected transactionInfoSet(): void;
|
|
9
|
+
private _setRelationAddress;
|
|
5
10
|
}
|
package/lib/component/transaction-header-fields/transaction-header-amount-to-settle.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InputTextComponent } from '@colijnit/corecomponents_v12';
|
|
2
|
+
import { TransactionInputFieldBaseComponent } from '../core/base/transaction-input-field-base.component';
|
|
3
|
+
export declare class TransactionHeaderAmountToSettleComponent extends TransactionInputFieldBaseComponent {
|
|
4
|
+
set child(content: any);
|
|
5
|
+
showClass: boolean;
|
|
6
|
+
input: InputTextComponent;
|
|
7
|
+
commit(amount: number): Promise<boolean>;
|
|
8
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { TransactionService } from '../../service/transaction.service';
|
|
3
3
|
import { BranchLov } from '@colijnit/relationapi/build/model/branch-lov.bo';
|
|
4
|
-
import { RelationSmallObject } from '@colijnit/relationapi/build/model/relation-small-object.bo';
|
|
5
4
|
import { RelationService } from '../../service/relation.service';
|
|
6
5
|
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
7
6
|
import { DictionaryService } from '../../service/dictionary.service';
|
|
@@ -9,7 +8,7 @@ import { TransactionEventService } from '../../service/transaction-event.service
|
|
|
9
8
|
import { IconCacheService } from '../../service/icon-cache.service';
|
|
10
9
|
import { TransactionImageService } from '../../service/transaction-image.service';
|
|
11
10
|
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
12
|
-
import { TransactionScreenConfigurationService } from
|
|
11
|
+
import { TransactionScreenConfigurationService } from '../../service/transaction-screen-configuration.service';
|
|
13
12
|
export declare class TransactionHeaderBranchComponent extends TransactionFilterPopupBaseComponent<BranchLov> {
|
|
14
13
|
transactionEventService: TransactionEventService;
|
|
15
14
|
service: TransactionService;
|
|
@@ -26,7 +25,7 @@ export declare class TransactionHeaderBranchComponent extends TransactionFilterP
|
|
|
26
25
|
protected checkField: string;
|
|
27
26
|
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
28
27
|
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _relationService: RelationService);
|
|
29
|
-
commit(branch: number |
|
|
28
|
+
commit(branch: number | BranchLov): Promise<boolean>;
|
|
30
29
|
protected transactionInfoSet(): void;
|
|
31
30
|
private _setBranchModel;
|
|
32
31
|
}
|
package/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.d.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { InputTextComponent } from '@colijnit/corecomponents_v12';
|
|
2
3
|
import { TransactionInputFieldBaseComponent } from '../core/base/transaction-input-field-base.component';
|
|
3
4
|
export declare class TransactionHeaderDepositAmountComponent extends TransactionInputFieldBaseComponent {
|
|
4
5
|
set child(content: any);
|
|
6
|
+
businessRuleApplied: EventEmitter<boolean>;
|
|
7
|
+
showClass: boolean;
|
|
5
8
|
input: InputTextComponent;
|
|
9
|
+
amount: number;
|
|
6
10
|
commit(amount: number): Promise<boolean>;
|
|
11
|
+
protected transactionSet(): void;
|
|
12
|
+
private _checkBusinessRule;
|
|
7
13
|
}
|