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:
Felix van Hove
2025-06-21 22:07:44 +02:00
committed by GitHub
18 changed files with 31 additions and 2 deletions
@@ -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;