Enhancement in loan payment views (#1667)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-01-31 18:36:36 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent ffea817f76
commit b9a9a8694c
12 changed files with 73 additions and 25 deletions
@@ -49,7 +49,7 @@ export class LoanActionButtonResolver implements Resolve<Object> {
} else if (loanActionButton === 'Reschedule') {
return this.loansService.rescheduleLoanTemplate();
} else if (loanActionButton === 'Prepay Loan') {
return this.loansService.getLoanActionTemplate(loanId, 'prepayLoan');
return this.loansService.getLoanPrepayLoanActionTemplate(loanId, null);
} else if (loanActionButton === 'Add Collateral') {
return this.loansService.getLoanCollateralTemplate(loanId);
} else if (loanActionButton === 'Disburse to Savings') {