Merge pull request #2528 from alberto-art3ch/enhancement/loan_buy_down_fee_transaction
WEB-218: Add Buy down fee transaction to Loan
This commit is contained in:
+7
-1
@@ -145,7 +145,7 @@ export class MakeRepaymentComponent implements OnInit {
|
||||
}
|
||||
|
||||
showDetails(): boolean {
|
||||
return !this.isCapitalizedIncome();
|
||||
return !this.isCapitalizedIncome() && !this.isBuyDownFee();
|
||||
}
|
||||
|
||||
isCapitalizedIncome(): boolean {
|
||||
@@ -155,6 +155,12 @@ export class MakeRepaymentComponent implements OnInit {
|
||||
].includes(this.command);
|
||||
}
|
||||
|
||||
isBuyDownFee(): boolean {
|
||||
return [
|
||||
'buyDownFee'
|
||||
].includes(this.command);
|
||||
}
|
||||
|
||||
/** Submits the repayment form */
|
||||
submit() {
|
||||
const repaymentLoanFormData = this.repaymentLoanForm.value;
|
||||
|
||||
Reference in New Issue
Block a user