@colijnit/transaction 12.1.83 → 12.1.85
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 +270 -219
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +57 -55
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +58 -56
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +3 -3
- package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -2
- package/esm2015/lib/component/checkout/checkout.module.js +5 -7
- package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +71 -0
- package/esm2015/lib/component/deposit-payment/deposit-payment.module.js +27 -0
- package/esm2015/lib/component/payment/payment.component.js +25 -25
- package/esm2015/lib/component/payment/payment.module.js +3 -3
- package/esm2015/lib/component/transaction/transaction.module.js +3 -1
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +12 -12
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +5 -5
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.js +58 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.module.js +23 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-percentage.component.js +57 -0
- package/esm2015/lib/component/transaction-header-fields/{transaction-header-downpayment-amount.module.js → transaction-header-deposit-percentage.module.js} +6 -6
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +94 -0
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.js +40 -0
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +2 -3
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/deposit-payment-view-model.js +7 -0
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/service/payment.service.js +5 -5
- package/esm2015/lib/service/transaction-connector-adapter.service.js +14 -29
- package/esm2015/lib/service/transaction-connector.service.js +5 -15
- package/esm2015/lib/service/transaction-mapping.service.js +3 -1
- package/esm2015/lib/service/transaction.service.js +5 -5
- package/fesm2015/colijnit-transaction.js +252 -162
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/{down-payment/down-payment.component.d.ts → deposit-payment/deposit-payment.component.d.ts} +4 -4
- package/lib/component/deposit-payment/deposit-payment.module.d.ts +2 -0
- package/lib/component/{down-payment → deposit-payment}/style/_layout.scss +2 -2
- package/lib/component/{down-payment → deposit-payment}/style/_material-definition.scss +0 -0
- package/lib/component/deposit-payment/style/_theme.scss +4 -0
- package/lib/component/{down-payment → deposit-payment}/style/material.scss +0 -0
- package/lib/component/payment/payment.component.d.ts +4 -4
- package/lib/component/payment/style/_layout.scss +2 -2
- package/lib/component/payment/style/material.scss +1 -1
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +1 -1
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +1 -1
- package/lib/component/transaction-header-fields/{transaction-header-downpayment-percentage.component.d.ts → transaction-header-deposit-amount.component.d.ts} +1 -1
- package/lib/component/transaction-header-fields/transaction-header-deposit-amount.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/{transaction-header-downpayment-amount.component.d.ts → transaction-header-deposit-percentage.component.d.ts} +1 -1
- package/lib/component/transaction-header-fields/transaction-header-deposit-percentage.module.d.ts +2 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/style/_layout.scss +57 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.d.ts +25 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.d.ts +2 -0
- package/lib/component/transaction-lines/style/material.scss +1 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/model/deposit-payment-view-model.d.ts +7 -0
- package/lib/service/payment.service.d.ts +3 -3
- package/lib/service/transaction-connector-adapter.service.d.ts +5 -8
- package/lib/service/transaction-connector.service.d.ts +2 -6
- package/lib/service/transaction.service.d.ts +2 -2
- package/lib/style/_variables.scss +3 -1
- package/package.json +2 -2
- package/esm2015/lib/component/down-payment/down-payment.component.js +0 -71
- package/esm2015/lib/component/down-payment/down-payment.module.js +0 -27
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-amount.component.js +0 -58
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.component.js +0 -58
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.module.js +0 -23
- package/esm2015/lib/model/down-payment-view-model.js +0 -7
- package/lib/component/down-payment/down-payment.module.d.ts +0 -2
- package/lib/component/down-payment/style/_theme.scss +0 -4
- package/lib/component/transaction-header-fields/transaction-header-downpayment-amount.module.d.ts +0 -2
- package/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.module.d.ts +0 -2
- package/lib/model/down-payment-view-model.d.ts +0 -7
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { DepositPaymentViewModel } from "../../model/deposit-payment-view-model";
|
|
3
3
|
import { PaymentViewmodel } from "../../model/payment.viewmodel";
|
|
4
4
|
import { PaymentService } from "../../service/payment.service";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class DepositPaymentComponent implements OnInit {
|
|
6
6
|
private _paymentService;
|
|
7
7
|
transactionUuid: string;
|
|
8
|
-
|
|
8
|
+
depositPayments: DepositPaymentViewModel[];
|
|
9
9
|
showLoader: boolean;
|
|
10
10
|
showClass(): boolean;
|
|
11
11
|
paymentMethods: PaymentViewmodel[];
|
|
12
12
|
constructor(_paymentService: PaymentService);
|
|
13
13
|
ngOnInit(): void;
|
|
14
|
-
private
|
|
14
|
+
private _getDepositPaymentInfo;
|
|
15
15
|
private _prepareData;
|
|
16
16
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -6,7 +6,7 @@ import { PaymentService } from "../../service/payment.service";
|
|
|
6
6
|
import { SharedService } from "../../service/shared.service";
|
|
7
7
|
import { PaymentMethod } from "@colijnit/transactionapi/build/model/payment-method.bo";
|
|
8
8
|
import { PaymentViewmodel } from "../../model/payment.viewmodel";
|
|
9
|
-
import {
|
|
9
|
+
import { DepositPaymentViewModel } from "../../model/deposit-payment-view-model";
|
|
10
10
|
export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
11
11
|
private _transactionService;
|
|
12
12
|
private _sharedService;
|
|
@@ -21,7 +21,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
21
21
|
paymentMethodIdx: number;
|
|
22
22
|
cashRegisterIdx: number;
|
|
23
23
|
paymentMethods: PaymentViewmodel[];
|
|
24
|
-
|
|
24
|
+
depositPayments: DepositPaymentViewModel[];
|
|
25
25
|
cashRegisters: any[];
|
|
26
26
|
showCashRegisters: boolean;
|
|
27
27
|
showKeyPad: boolean;
|
|
@@ -29,7 +29,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
currentPaymentMethod: PaymentMethod;
|
|
30
30
|
qrCodeImage: string;
|
|
31
31
|
showLoader: boolean;
|
|
32
|
-
|
|
32
|
+
showLoaderDepositPayments: boolean;
|
|
33
33
|
amountToPay: number;
|
|
34
34
|
private _amount;
|
|
35
35
|
private _paymentStatusInterval;
|
|
@@ -44,7 +44,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
44
44
|
cashRegisterSelected(cashRegister: CashRegister, index: number): void;
|
|
45
45
|
handlePayment(): void;
|
|
46
46
|
handleKeyPadModelChange(model: number): void;
|
|
47
|
-
private
|
|
47
|
+
private _getDepositPaymentInfo;
|
|
48
48
|
private _dataUriToBase64;
|
|
49
49
|
private _waitForPaymentStatus;
|
|
50
50
|
private _clearInterval;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
width: 100%;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.payment-
|
|
76
|
+
.payment-deposit {
|
|
77
77
|
grid-column: 1 / 1;
|
|
78
78
|
grid-row: 2 / 2;
|
|
79
79
|
&.no-display {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
justify-content: center;
|
|
89
89
|
border-radius: 5px;
|
|
90
90
|
}
|
|
91
|
-
&.no-
|
|
91
|
+
&.no-deposit {
|
|
92
92
|
grid-row: 2 / 2;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -16,5 +16,5 @@ export declare class TransactionHeaderPaymentComponent extends TransactionBaseCo
|
|
|
16
16
|
constructor(iconService: IconCacheService, transactionService: TransactionService, _paymentService: PaymentService);
|
|
17
17
|
openPayment(event: MouseEvent): Promise<void>;
|
|
18
18
|
transactionSet(): void;
|
|
19
|
-
private
|
|
19
|
+
private _getDepositPaymentInfo;
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputTextComponent } from "@colijnit/corecomponents_v12";
|
|
2
2
|
import { TransactionService } from "../../service/transaction.service";
|
|
3
3
|
import { TransactionInputFieldBaseComponent } from "../core/base/transaction-input-field-base.component";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class TransactionHeaderDepositAmountComponent extends TransactionInputFieldBaseComponent {
|
|
5
5
|
protected transactionService: TransactionService;
|
|
6
6
|
set child(content: any);
|
|
7
7
|
input: InputTextComponent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputTextComponent } from "@colijnit/corecomponents_v12";
|
|
2
2
|
import { TransactionService } from "../../service/transaction.service";
|
|
3
3
|
import { TransactionInputFieldBaseComponent } from "../core/base/transaction-input-field-base.component";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class TransactionHeaderDepositPercentageComponent extends TransactionInputFieldBaseComponent {
|
|
5
5
|
protected transactionService: TransactionService;
|
|
6
6
|
set child(content: any);
|
|
7
7
|
input: InputTextComponent;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@include export-module('cc-transaction-purchase-order-line-layout') {
|
|
2
|
+
.co-transaction-purchase-order-line {
|
|
3
|
+
.transaction-line-wrapper {
|
|
4
|
+
align-self: center;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.transaction-line-totals-grid {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-self: center;
|
|
10
|
+
|
|
11
|
+
.price {
|
|
12
|
+
width: 100px;
|
|
13
|
+
height: 25px;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
border: 1px solid #DCE4EA;
|
|
18
|
+
border-radius: 10px;
|
|
19
|
+
margin-right: 3px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.discount {
|
|
23
|
+
width: 100px;
|
|
24
|
+
height: 25px;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
border: 1px solid #DCE4EA;
|
|
29
|
+
border-radius: 10px;
|
|
30
|
+
margin-right: 3px;
|
|
31
|
+
color: red;
|
|
32
|
+
background-color: #f5f5fc;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.vertical-border {
|
|
36
|
+
border-left: 1px solid #DCE4EA;
|
|
37
|
+
height: 100%;
|
|
38
|
+
}
|
|
39
|
+
.transaction-line-supplier-id {
|
|
40
|
+
font-size: 11px;
|
|
41
|
+
font-weight: 600;
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
height: 26px;
|
|
45
|
+
padding: 0 10px;
|
|
46
|
+
}
|
|
47
|
+
.transaction-line-supplier-icon {
|
|
48
|
+
height: 20px;
|
|
49
|
+
margin: 2px;
|
|
50
|
+
}
|
|
51
|
+
.amount-number-picker {
|
|
52
|
+
height: 25px;
|
|
53
|
+
border: 1px solid black;
|
|
54
|
+
border-radius: 10px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { TransactionService } from "../../../service/transaction.service";
|
|
3
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
|
+
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
5
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
6
|
+
import { TransactionTypeCategory } from "../../../enum/transaction-type-category.enum";
|
|
7
|
+
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
8
|
+
import { ExtendedTransactionLineViewModel } from "../../../model/extended-transaction-line-view-model";
|
|
9
|
+
export declare class TransactionPurchaseOrderLineComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
10
|
+
iconCacheService: IconCacheService;
|
|
11
|
+
protected transactionService: TransactionService;
|
|
12
|
+
private _transactionEventService;
|
|
13
|
+
showClass(): boolean;
|
|
14
|
+
selected: boolean;
|
|
15
|
+
showDialogDiscount: boolean;
|
|
16
|
+
showCheckboxForLine: boolean;
|
|
17
|
+
transactionKind: TransactionKind;
|
|
18
|
+
viewModel: ExtendedTransactionLineViewModel;
|
|
19
|
+
readonly transactionTypeCategory: typeof TransactionTypeCategory;
|
|
20
|
+
private _subs;
|
|
21
|
+
constructor(iconCacheService: IconCacheService, transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
protected transactionLineSet(): void;
|
|
25
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
@import "../../../component/transaction-line/transaction-receive-goods-line/style/material";
|
|
11
11
|
@import "../../../component/transaction-line/transaction-purchase-line/style/material";
|
|
12
12
|
@import "../../../component/transaction-line/transaction-goods-allocation-line/style/material";
|
|
13
|
+
@import "../../../component/transaction-line/transaction-purchase-order-line/style/material";
|
|
13
14
|
@import "../../../component/transaction-line-fields/transaction-line-price/style/material";
|
|
14
15
|
@import "../../shared/transaction-article-text/style/material";
|
|
15
16
|
@import "../../shared/transaction-article-text-overview/style/material";
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export declare enum Icon {
|
|
|
30
30
|
GripDotsVerticalSolid = "grip_dots_vertical_solid",
|
|
31
31
|
IdealLogo = "ideal_logo",
|
|
32
32
|
InboxInSolid = "inbox_in_solid",
|
|
33
|
+
IndustrySolid = "industry_solid",
|
|
33
34
|
ListRegular = "list_regular",
|
|
34
35
|
ListView = "list_view",
|
|
35
36
|
LocationDotSolid = "location_dot_solid",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PaymentViewmodel } from "./payment.viewmodel";
|
|
2
|
+
import { DepositPayment } from "@colijnit/transactionapi/build/model/deposit-payment.bo";
|
|
3
|
+
export declare class DepositPaymentViewModel {
|
|
4
|
+
depositPayment: DepositPayment;
|
|
5
|
+
paymentMethod: PaymentViewmodel;
|
|
6
|
+
constructor(depositPayment: DepositPayment, paymentMethodViewmodel: PaymentViewmodel);
|
|
7
|
+
}
|
|
@@ -4,20 +4,20 @@ import { TransactionService } from "./transaction.service";
|
|
|
4
4
|
import { PaymentLinkStatus } from "@colijnit/transactionapi/build/model/payment-link-status.bo";
|
|
5
5
|
import { TransactionConnectorAdapterService } from "./transaction-connector-adapter.service";
|
|
6
6
|
import { SelectMultipleCacheService } from "../cache/service/select-multiple-cache.service";
|
|
7
|
-
import { TransactionDownPaymentInfo } from "@colijnit/transactionapi/build/model/transaction-down-payment-info.bo";
|
|
8
7
|
import { PaymentViewmodel } from "../model/payment.viewmodel";
|
|
9
8
|
import { SharedService } from "./shared.service";
|
|
9
|
+
import { TransactionDepositPaymentInfo } from "@colijnit/transactionapi/build/model/transaction-deposit-payment-info.bo";
|
|
10
10
|
export declare class PaymentService {
|
|
11
11
|
private _adapterService;
|
|
12
12
|
private _selectMultipleCacheService;
|
|
13
13
|
private _transactionService;
|
|
14
14
|
private _sharedService;
|
|
15
15
|
constructor(_adapterService: TransactionConnectorAdapterService, _selectMultipleCacheService: SelectMultipleCacheService, _transactionService: TransactionService, _sharedService: SharedService);
|
|
16
|
-
|
|
16
|
+
updateHeaderTransactionDepositAmount(uuid: string, amount: number): Promise<boolean>;
|
|
17
17
|
registerSalesOrderPayment(uuid: string, amount: number, currencyId: number, paymentMethod: string, cashRegisterGroupId: number): Promise<boolean>;
|
|
18
18
|
createIonePaymentLinkAndQRCode(uuid: string, amount: number, paymentMethodCode: string): Promise<CreatePaymentLinkResult>;
|
|
19
19
|
getPaymentLinkStatus(paymentLinkUUID: string): Promise<PaymentLinkStatus>;
|
|
20
|
-
|
|
20
|
+
getDepositPaymentInfo(uuid: string): Promise<TransactionDepositPaymentInfo>;
|
|
21
21
|
getPaymentMethods(): Promise<PaymentMethod[]>;
|
|
22
22
|
getPaymentMethodsViewModels(): Promise<PaymentViewmodel[]>;
|
|
23
23
|
}
|
|
@@ -5,12 +5,10 @@ import { Country } from "@colijnit/transactionapi/build/model/country.bo";
|
|
|
5
5
|
import { SequenceName } from "@colijnit/transactionapi/build/enum/sequence-name.enum";
|
|
6
6
|
import { DeliveryMethod } from "@colijnit/transactionapi/build/model/delivery-method.bo";
|
|
7
7
|
import { DeliveryOption } from "@colijnit/transactionapi/build/model/delivery-option.bo";
|
|
8
|
-
import { SetTransactionDeliveryOptionsRequest } from "@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo";
|
|
9
8
|
import { GetPostalCodeRetrievalOutputParams } from "@colijnit/transactionapi/build/model/get-postal-code-retrieval-output-params";
|
|
10
9
|
import { TransactionLineType } from "@colijnit/transactionapi/build/enum/transaction-line-type.enum";
|
|
11
10
|
import { TransactionArticleWarehouse } from "@colijnit/transactionapi/build/model/transaction-article-warehouse.bo";
|
|
12
11
|
import { ArticleFullObject } from "@colijnit/transactionapi/build/model/article-full-object";
|
|
13
|
-
import { TransactionResponseBase } from "@colijnit/transactionapi/build/model/transaction-response-base.bo";
|
|
14
12
|
import { Transaction } from "@colijnit/transactionapi/build/transaction";
|
|
15
13
|
import { StandardText } from "../model/standard-text";
|
|
16
14
|
import { CustomerGroup } from "@colijnit/transactionapi/build/model/customer-group.bo";
|
|
@@ -39,7 +37,6 @@ import { SelectMultipleCacheService } from "../cache/service/select-multiple-cac
|
|
|
39
37
|
import { SelectMultipleParameterizedCacheService } from "../cache/service/select-multiple-parameterized-cache.service";
|
|
40
38
|
import { ErrorService } from "./error.service";
|
|
41
39
|
import { GetPurchaseOrderConfirmation } from "@colijnit/transactionapi/build/model/get-purchase-order-confirmation";
|
|
42
|
-
import { TransactionDownPaymentInfo } from "@colijnit/transactionapi/build/model/transaction-down-payment-info.bo";
|
|
43
40
|
import { TransactionLockResult } from "@colijnit/transactionapi/build/model/transaction-lock-result.bo";
|
|
44
41
|
import { PrivacySetting } from "@colijnit/mainapi/build/model/privacy-setting.bo";
|
|
45
42
|
import { DataServiceResponseData } from "@colijnit/ioneconnector/build/model/data-service-response-data";
|
|
@@ -73,6 +70,7 @@ import { PurchaseAdviceFilters } from "@colijnit/transactionapi/build/model/purc
|
|
|
73
70
|
import { EmailDeliveryNoteRequest } from "@colijnit/transactionapi/build/model/email-delivery-note-request";
|
|
74
71
|
import { PdfDeliveryNoteRequest } from "@colijnit/transactionapi/build/model/pdf-delivery-note-request";
|
|
75
72
|
import { PrintDeliveryNoteRequest } from "@colijnit/transactionapi/build/model/print-delivery-note-request";
|
|
73
|
+
import { TransactionDepositPaymentInfo } from "@colijnit/transactionapi/build/model/transaction-deposit-payment-info.bo";
|
|
76
74
|
export declare class TransactionConnectorAdapterService {
|
|
77
75
|
private _optionsService;
|
|
78
76
|
private _selectMultipleCacheService;
|
|
@@ -130,7 +128,6 @@ export declare class TransactionConnectorAdapterService {
|
|
|
130
128
|
addTransactionLine(uuid: string, articleLine: TransactionLineType, articleNo: string, amount: number, isReturn: boolean, aboveLineNr: number, belowLineNr: number): Promise<TransactionInfoResponse>;
|
|
131
129
|
addTextLineToTransaction(uuid: string, showOnDocuments: number, text: string, amount: number, articleBound: boolean, refArticleLineNr: number, aboveLineNr?: number, belowLineNr?: number): Promise<TransactionInfoResponse>;
|
|
132
130
|
addRelationToTransaction(uuid: string, relationId: number): Promise<TransactionInfoResponse>;
|
|
133
|
-
setTransactionDeliveryOptions(transactionDeliveryOptionsRequest: SetTransactionDeliveryOptionsRequest): Promise<TransactionResponseBase>;
|
|
134
131
|
changeLineSequence(uuid: string, lineUuid: string, aboveLineNr?: number, belowLineNr?: number): Promise<TransactionInfoResponse>;
|
|
135
132
|
cancelAddTransactionLine(lineUuid: string): Promise<TransactionInfoResponse>;
|
|
136
133
|
deleteTransactionLine(uuid: string, lineUuid: string): Promise<TransactionInfoResponse>;
|
|
@@ -157,8 +154,8 @@ export declare class TransactionConnectorAdapterService {
|
|
|
157
154
|
changeHeaderTransactionRemark(uuid: string, remark: string): Promise<TransactionInfoResponse>;
|
|
158
155
|
changeHeaderTransactionReference(uuid: string, reference: string): Promise<TransactionInfoResponse>;
|
|
159
156
|
changeHeaderTransactionRelationReference(uuid: string, reference: string): Promise<TransactionInfoResponse>;
|
|
160
|
-
|
|
161
|
-
|
|
157
|
+
changeHeaderDepositPercentage(uuid: string, amount: number): Promise<TransactionInfoResponse>;
|
|
158
|
+
changeHeaderDepositAmount(uuid: string, amount: number): Promise<TransactionInfoResponse>;
|
|
162
159
|
changeHeaderTransactionPreferredDeliveryDate(uuid: string, date: Date): Promise<TransactionInfoResponse>;
|
|
163
160
|
changeHeaderTransactionDeliveryMethod(uuid: string, method: string): Promise<TransactionInfoResponse>;
|
|
164
161
|
changeHeaderTransactionDeliveryOptions(uuid: string, options: string[]): Promise<TransactionInfoResponse>;
|
|
@@ -167,13 +164,13 @@ export declare class TransactionConnectorAdapterService {
|
|
|
167
164
|
changeHeaderTransactionAdmCoordinator(uuid: string, relation: number): Promise<TransactionInfoResponse>;
|
|
168
165
|
changeHeaderTransactionMarketing(uuid: string, code: string): Promise<TransactionInfoResponse>;
|
|
169
166
|
changeHeaderTransactionDiscount(uuid: string, type: DiscountType, amount: number): Promise<TransactionInfoResponse>;
|
|
170
|
-
|
|
167
|
+
changeHeaderTransactionDepositAmount(uuid: string, amount: number): Promise<TransactionInfoResponse>;
|
|
171
168
|
changeTransactionLineCollectionCode(uuid: string, lineUuid: string, code: string): Promise<TransactionInfoResponse>;
|
|
172
169
|
createOutstandingEntry(uuid: string, amount: number): Promise<TransactionInfoResponse>;
|
|
173
170
|
registerSalesOrderPayment(uuid: string, amount: number, currencyId: number, paymentMethod: string, cashRegisterGroupId: number): Promise<DataServiceResponseData>;
|
|
174
171
|
createIonePaymentLinkAndQRCode(uuid: string, amount: number, paymentMethodCode: string): Promise<CreatePaymentLinkResult>;
|
|
175
172
|
getPaymentLinkStatus(paymentLinkUUID: string): Promise<PaymentLinkStatus>;
|
|
176
|
-
|
|
173
|
+
getDepositPaymentInfo(uuid: string): Promise<TransactionDepositPaymentInfo>;
|
|
177
174
|
getGoodsReceiptStatus(transId: number, lineNr: number): Promise<GoodsReceiptStatusWithHistory>;
|
|
178
175
|
getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<GoodsReceiptStatusWithHistory>;
|
|
179
176
|
receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<TransactionInfoResponse>;
|
|
@@ -5,12 +5,10 @@ import { Country } from "@colijnit/transactionapi/build/model/country.bo";
|
|
|
5
5
|
import { SequenceName } from "@colijnit/transactionapi/build/enum/sequence-name.enum";
|
|
6
6
|
import { DeliveryMethod } from "@colijnit/transactionapi/build/model/delivery-method.bo";
|
|
7
7
|
import { DeliveryOption } from "@colijnit/transactionapi/build/model/delivery-option.bo";
|
|
8
|
-
import { SetTransactionDeliveryOptionsRequest } from "@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo";
|
|
9
8
|
import { GetPostalCodeRetrievalOutputParams } from "@colijnit/transactionapi/build/model/get-postal-code-retrieval-output-params";
|
|
10
9
|
import { TransactionLineType } from "@colijnit/transactionapi/build/enum/transaction-line-type.enum";
|
|
11
10
|
import { TransactionArticleWarehouse } from "@colijnit/transactionapi/build/model/transaction-article-warehouse.bo";
|
|
12
11
|
import { ArticleFullObject } from "@colijnit/transactionapi/build/model/article-full-object";
|
|
13
|
-
import { TransactionResponseBase } from "@colijnit/transactionapi/build/model/transaction-response-base.bo";
|
|
14
12
|
import { StandardText } from "../model/standard-text";
|
|
15
13
|
import { CustomerGroup } from "@colijnit/transactionapi/build/model/customer-group.bo";
|
|
16
14
|
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
@@ -107,7 +105,6 @@ export declare class TransactionConnectorService {
|
|
|
107
105
|
getDeliveryMethods(): Promise<DeliveryMethod[]>;
|
|
108
106
|
getDeliveryOptions(): Promise<DeliveryOption[]>;
|
|
109
107
|
addRelationToTransaction(uuid: string, relationId: number): Promise<TransactionInfoResponse>;
|
|
110
|
-
setTransactionDeliveryOptions(transactionDeliveryOptionsRequest: SetTransactionDeliveryOptionsRequest): Promise<TransactionResponseBase>;
|
|
111
108
|
getPostalCodeRetrieval(postcalCode: string, houseNo: string): Promise<GetPostalCodeRetrievalOutputParams>;
|
|
112
109
|
addTransactionLine(uuid: string, articleLine: TransactionLineType, articleNo: string, amount: number, isReturn: boolean, aboveLineNr: number, belowLineNr: number): Promise<TransactionInfoResponse>;
|
|
113
110
|
addTextLineToTransaction(uuid: string, showOnDocuments: number, text: string, amount: number, articleBound: boolean, refArticleLineNr: number, aboveLineNr?: number, belowLineNr?: number): Promise<TransactionInfoResponse>;
|
|
@@ -152,8 +149,8 @@ export declare class TransactionConnectorService {
|
|
|
152
149
|
changeHeaderTransactionRemark(uuid: string, remark: string): Promise<TransactionInfoResponse>;
|
|
153
150
|
changeHeaderTransactionReference(uuid: string, reference: string): Promise<TransactionInfoResponse>;
|
|
154
151
|
changeHeaderTransactionRelationReference(uuid: string, reference: string): Promise<TransactionInfoResponse>;
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
changeHeaderDepositPercentage(uuid: string, amount: number): Promise<TransactionInfoResponse>;
|
|
153
|
+
changeHeaderDepositAmount(uuid: string, amount: number): Promise<TransactionInfoResponse>;
|
|
157
154
|
changeHeaderTransactionPreferredDeliveryDate(uuid: string, date: Date): Promise<TransactionInfoResponse>;
|
|
158
155
|
changeHeaderTransactionDeliveryMethod(uuid: string, method: string): Promise<TransactionInfoResponse>;
|
|
159
156
|
changeHeaderTransactionDeliveryOptions(uuid: string, options: string[]): Promise<TransactionInfoResponse>;
|
|
@@ -162,7 +159,6 @@ export declare class TransactionConnectorService {
|
|
|
162
159
|
changeHeaderTransactionAdmCoordinator(uuid: string, relation: number): Promise<TransactionInfoResponse>;
|
|
163
160
|
changeHeaderTransactionMarketing(uuid: string, code: string): Promise<TransactionInfoResponse>;
|
|
164
161
|
changeHeaderTransactionDiscount(uuid: string, type: DiscountType, amount: number): Promise<TransactionInfoResponse>;
|
|
165
|
-
changeHeaderTransactionToDownPay(uuid: string, downPayment: number): Promise<TransactionInfoResponse>;
|
|
166
162
|
createOutstandingEntry(uuid: string, amount: number): Promise<TransactionInfoResponse>;
|
|
167
163
|
createIonePaymentLinkAndQRCode(uuid: string, amount: number, paymentMethodCode: string): Promise<CreatePaymentLinkResult>;
|
|
168
164
|
getPaymentLinkStatus(paymentLinkUUID: string): Promise<PaymentLinkStatus>;
|
|
@@ -79,8 +79,8 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
79
79
|
updateHeaderTransactionRemark(uuid: string, remark: string): Promise<boolean>;
|
|
80
80
|
updateHeaderTransactionReference(uuid: string, reference: string): Promise<boolean>;
|
|
81
81
|
updateHeaderTransactionRelationReference(uuid: string, reference: string): Promise<boolean>;
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
updateHeaderTransactionDepositAmount(uuid: string, amount: number): Promise<boolean>;
|
|
83
|
+
updateHeaderTransactionDepositPercentage(uuid: string, amount: number): Promise<boolean>;
|
|
84
84
|
updateHeaderTransactionPreferredDeliveryDate(uuid: string, date: Date): Promise<boolean>;
|
|
85
85
|
updateHeaderTransactionDeliveryMethod(uuid: string, method: string): Promise<boolean>;
|
|
86
86
|
updateHeaderTransactionDeliveryOptions(uuid: string, options: string[]): Promise<boolean>;
|
|
@@ -110,7 +110,9 @@ $cc-co-dialog-header-close-button-background-color: $tp-color-action !default;
|
|
|
110
110
|
|
|
111
111
|
$cc-collapsible-content-padding: 10px 0px 0px 0px !default;
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
//$cc-co-commit-buttons-button-background: none !default;
|
|
114
|
+
$cc-co-commit-buttons-commit-color: $tp-color-label !default;
|
|
115
|
+
$cc-co-commit-buttons-cancel-color: $tp-color-label !default;
|
|
114
116
|
|
|
115
117
|
$cc-simple-grid-header-border-color: white !default;
|
|
116
118
|
$cc-simple-grid-header-font-size: 11px !default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.85",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@colijnit/relationapi": ">=1.0.4",
|
|
19
19
|
"@colijnit/sharedapi": ">=1.0.10",
|
|
20
20
|
"@colijnit/sharedcomponents": ">=1.0.32",
|
|
21
|
-
"@colijnit/transactionapi": ">=1.1.
|
|
21
|
+
"@colijnit/transactionapi": ">=1.1.65",
|
|
22
22
|
"@syncfusion/ej2-angular-buttons": ">=19.3.44",
|
|
23
23
|
"@syncfusion/ej2-angular-calendars": ">=19.3.44",
|
|
24
24
|
"@syncfusion/ej2-angular-dropdowns": ">=19.3.45",
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Component, HostBinding, Input, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { DownPaymentViewModel } from "../../model/down-payment-view-model";
|
|
3
|
-
import { PaymentService } from "../../service/payment.service";
|
|
4
|
-
export class DownPaymentComponent {
|
|
5
|
-
constructor(_paymentService) {
|
|
6
|
-
this._paymentService = _paymentService;
|
|
7
|
-
this.showLoader = true;
|
|
8
|
-
this.paymentMethods = [];
|
|
9
|
-
}
|
|
10
|
-
showClass() {
|
|
11
|
-
return true;
|
|
12
|
-
}
|
|
13
|
-
ngOnInit() {
|
|
14
|
-
this._prepareData();
|
|
15
|
-
}
|
|
16
|
-
_getDownpaymentInfo() {
|
|
17
|
-
this.downPayments.length = 0;
|
|
18
|
-
this._paymentService.getDownPaymentInfo(this.transactionUuid).then((info) => {
|
|
19
|
-
if (info.downPayments) {
|
|
20
|
-
info.downPayments.forEach((dp) => {
|
|
21
|
-
const paymentMethod = this.paymentMethods.find(pm => pm.payment.code === dp.paymentMethodCode);
|
|
22
|
-
this.downPayments.push(new DownPaymentViewModel(dp, paymentMethod));
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
_prepareData() {
|
|
28
|
-
if (!this.downPayments) {
|
|
29
|
-
this.downPayments = [];
|
|
30
|
-
this.showLoader = true;
|
|
31
|
-
this.paymentMethods.length = 0;
|
|
32
|
-
this._paymentService.getPaymentMethodsViewModels().then((methods) => {
|
|
33
|
-
this.paymentMethods = methods.slice();
|
|
34
|
-
this._getDownpaymentInfo();
|
|
35
|
-
this.showLoader = false;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
DownPaymentComponent.decorators = [
|
|
41
|
-
{ type: Component, args: [{
|
|
42
|
-
selector: "co-down-payment",
|
|
43
|
-
template: `
|
|
44
|
-
<co-loader class="loader" *ngIf="showLoader"></co-loader>
|
|
45
|
-
<div class="down-payment-payments-title" [textContent]="'PAYMENTS_MADE' | localize" *ngIf="downPayments && downPayments.length > 0"></div>
|
|
46
|
-
<div class="down-payment-payments-wrapper">
|
|
47
|
-
<div class="down-payment-payments" *ngFor="let payment of downPayments">
|
|
48
|
-
<co-payment-tile
|
|
49
|
-
[image]="payment.paymentMethod.image"
|
|
50
|
-
[description]="payment.paymentMethod.payment.description"
|
|
51
|
-
></co-payment-tile>
|
|
52
|
-
<div class="down-payment-amount-wrapper">
|
|
53
|
-
<div class="down-payment-amount" [textContent]="payment.downPayment.downPaymentAmount | coCurrency"></div>
|
|
54
|
-
<div class="down-payment-date" [textContent]="payment.downPayment.date | date:'d MMMM yyyy'"></div>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
`,
|
|
59
|
-
encapsulation: ViewEncapsulation.None
|
|
60
|
-
},] }
|
|
61
|
-
];
|
|
62
|
-
DownPaymentComponent.ctorParameters = () => [
|
|
63
|
-
{ type: PaymentService }
|
|
64
|
-
];
|
|
65
|
-
DownPaymentComponent.propDecorators = {
|
|
66
|
-
transactionUuid: [{ type: Input }],
|
|
67
|
-
downPayments: [{ type: Input }],
|
|
68
|
-
showLoader: [{ type: Input }],
|
|
69
|
-
showClass: [{ type: HostBinding, args: ["class.co-down-payment",] }]
|
|
70
|
-
};
|
|
71
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG93bi1wYXltZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L2Rvd24tcGF5bWVudC9kb3duLXBheW1lbnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsV0FBVyxFQUFF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wibGV0IHBheW1lbnQgb2YgZG93blBheW1lbnRzXCI+XHJcbiAgICAgICAgICA8Y28tcGF5bWVudC10aWxlXHJcbiAgICAgICAgICAgIFtpbWFnZV09XCJwYXltZW50LnBheW1lbnRNZXRob2QuaW1hZ2VcIlxyXG4gICAgICAgICAgICBbZGVzY3JpcHRpb25dPVwicGF5bWVudC5wYXltZW50TWV0aG9kLnBheW1lbnQuZGVzY3JpcHRpb25cIlxyXG4gICAgICAgICAgPjwvY28tcGF5bWVudC10aWxlPlxyXG4gICAgICAgICAgPGRpdiBjbGFzcz1cImRvd24tcGF5bWVudC1hbW91bnQtd3JhcHBlclwiPlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZG93bi1wYXltZW50LWFtb3VudFwiIFt0ZXh0Q29udGVudF09XCJwYXltZW50LmRvd25QYXltZW50LmRvd25QYXltZW50QW1vdW50IHwgY29DdXJyZW5jeVwiPjwvZGl2PlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZG93bi1wYXltZW50LWRhdGVcIiBbdGV4dENvbnRlbnRdPVwicGF5bWVudC5kb3duUGF5bWVudC5kYXRlIHwgZGF0ZTonZCBNTU1NIHl5eXknXCI+PC9kaXY+XHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgPC9kaXY+XHJcbiAgICBgLFxyXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmVcclxufSlcclxuZXhwb3J0IGNsYXNzIERvd25QYXltZW50Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgQElucHV0KClcclxuICBwdWJsaWMgdHJhbnNhY3Rpb25VdWlkOiBzdHJpbmc7XHJcblxyXG4gIEBJbnB1dCgpXHJcbiAgcHVibGljIGRvd25QYXltZW50czogRG93blBheW1lbnRWaWV3TW9kZWxbXTtcclxuXHJcbiAgQElucHV0KClcclxuICBwdWJsaWMgc2hvd0xvYWRlcjogYm9vbGVhbiA9IHRydWU7XHJcblxyXG4gIEBIb3N0QmluZGluZyhcImNsYXNzLmNvLWRvd24tcGF5bWVudFwiKVxyXG4gIHB1YmxpYyBzaG93Q2xhc3MoKSB7XHJcbiAgICByZXR1cm4gdHJ1ZTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBwYXltZW50TWV0aG9kczogUGF5bWVudFZpZXdtb2RlbFtdID0gW107XHJcblxyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgX3BheW1lbnRTZXJ2aWNlOiBQYXltZW50U2VydmljZSkge1xyXG4gIH1cclxuXHJcbiAgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgICB0aGlzLl9wcmVwYXJlRGF0YSgpO1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBfZ2V0RG93bnBheW1lbnRJbmZvKCk6IHZvaWQge1xyXG4gICAgdGhpcy5kb3duUGF5bWVudHMubGVuZ3RoID0gMDtcclxuICAgIHRoaXMuX3BheW1lbnRTZXJ2aWNlLmdldERvd25QYXltZW50SW5mbyh0aGlzLnRyYW5zYWN0aW9uVXVpZCkudGhlbigoaW5mbzogVHJhbnNhY3Rpb25Eb3duUGF5bWVudEluZm8pID0+IHtcclxuICAgICAgaWYgKGluZm8uZG93blBheW1lbnRzKSB7XHJcbiAgICAgICAgaW5mby5kb3duUGF5bWVudHMuZm9yRWFjaCgoZHA6IERvd25QYXltZW50KSA9PiB7XHJcbiAgICAgICAgICBjb25zdCBwYXltZW50TWV0aG9kOiBQYXltZW50Vmlld21vZGVsID0gdGhpcy5wYXltZW50TWV0aG9kcy5maW5kKHBtID0+IHBtLnBheW1lbnQuY29kZSA9PT0gZHAucGF5bWVudE1ldGhvZENvZGUpO1xyXG4gICAgICAgICAgdGhpcy5kb3duUGF5bWVudHMucHVzaChuZXcgRG93blBheW1lbnRWaWV3TW9kZWwoZHAsIHBheW1lbnRNZXRob2QpKTtcclxuICAgICAgICB9KTtcclxuICAgICAgfVxyXG4gICAgfSk7XHJcbiAgfVxyXG5cclxuICBwcml2YXRlIF9wcmVwYXJlRGF0YSgpOiB2b2lkIHtcclxuICAgIGlmICghdGhpcy5kb3duUGF5bWVudHMpIHtcclxuICAgICAgdGhpcy5kb3duUGF5bWVudHMgPSBbXTtcclxuICAgICAgdGhpcy5zaG93TG9hZGVyID0gdHJ1ZTtcclxuICAgICAgdGhpcy5wYXltZW50TWV0aG9kcy5sZW5ndGggPSAwO1xyXG4gICAgICB0aGlzLl9wYXltZW50U2VydmljZS5nZXRQYXltZW50TWV0aG9kc1ZpZXdNb2RlbHMoKS50aGVuKChtZXRob2RzOiBQYXltZW50Vmlld21vZGVsW10pID0+IHtcclxuICAgICAgICB0aGlzLnBheW1lbnRNZXRob2RzID0gbWV0aG9kcy5zbGljZSgpO1xyXG4gICAgICAgIHRoaXMuX2dldERvd25wYXltZW50SW5mbygpO1xyXG4gICAgICAgIHRoaXMuc2hvd0xvYWRlciA9IGZhbHNlO1xyXG4gICAgICB9KTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { NgModule } from "@angular/core";
|
|
2
|
-
import { CommonModule } from "@angular/common";
|
|
3
|
-
import { DownPaymentComponent } from "./down-payment.component";
|
|
4
|
-
import { CoreModule } from "../core/core.module";
|
|
5
|
-
import { PipeModule } from "../../pipe/pipe.module";
|
|
6
|
-
import { PaymentTileModule } from "../payment-tile/payment-tile.module";
|
|
7
|
-
import { LoaderModule } from "../loader/loader.module";
|
|
8
|
-
export class DownPaymentModule {
|
|
9
|
-
}
|
|
10
|
-
DownPaymentModule.decorators = [
|
|
11
|
-
{ type: NgModule, args: [{
|
|
12
|
-
imports: [
|
|
13
|
-
CommonModule,
|
|
14
|
-
CoreModule,
|
|
15
|
-
PipeModule,
|
|
16
|
-
PaymentTileModule,
|
|
17
|
-
LoaderModule
|
|
18
|
-
],
|
|
19
|
-
declarations: [
|
|
20
|
-
DownPaymentComponent
|
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