Add Buy down fee transaction to Loan
This commit is contained in:
+7
-1
@@ -127,7 +127,7 @@ export class MakeRepaymentComponent implements OnInit {
|
||||
}
|
||||
|
||||
showDetails(): boolean {
|
||||
return !this.isCapitalizedIncome();
|
||||
return !this.isCapitalizedIncome() && !this.isBuyDownFee();
|
||||
}
|
||||
|
||||
isCapitalizedIncome(): boolean {
|
||||
@@ -137,6 +137,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