Add Advanced Payment Alloc Data in Loan Product view
This commit is contained in:
committed by
Arnold Gálovics
parent
61f3ec24e9
commit
41b49c2c03
+6
-1
@@ -16,11 +16,16 @@ export class GeneralTabComponent implements OnInit {
|
|||||||
paymentFundSourceDisplayedColumns: string[] = ['paymentTypeId', 'fundSourceAccountId'];
|
paymentFundSourceDisplayedColumns: string[] = ['paymentTypeId', 'fundSourceAccountId'];
|
||||||
feesPenaltyIncomeDisplayedColumns: string[] = ['chargeId', 'incomeAccountId'];
|
feesPenaltyIncomeDisplayedColumns: string[] = ['chargeId', 'incomeAccountId'];
|
||||||
|
|
||||||
advancePaymentAllocationData: AdvancePaymentAllocationData | null = null;
|
advancePaymentAllocationData: AdvancePaymentAllocationData;
|
||||||
|
|
||||||
constructor(private route: ActivatedRoute) {
|
constructor(private route: ActivatedRoute) {
|
||||||
this.route.data.subscribe((data: { loanProduct: any }) => {
|
this.route.data.subscribe((data: { loanProduct: any }) => {
|
||||||
this.loanProduct = data.loanProduct;
|
this.loanProduct = data.loanProduct;
|
||||||
|
this.advancePaymentAllocationData = {
|
||||||
|
transactionTypes: this.loanProduct.advancedPaymentAllocationTransactionTypes,
|
||||||
|
allocationTypes: this.loanProduct.advancedPaymentAllocationTypes,
|
||||||
|
futureInstallmentAllocationRules: this.loanProduct.advancedPaymentAllocationFutureInstallmentAllocationRules
|
||||||
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user