feat: add loan action button (waive-interest) (#861)

Fixes: #846
This commit is contained in:
Benura Abeywardena
2020-06-14 00:28:46 +05:30
committed by GitHub
parent 06fd5e793c
commit f0b728a0a0
8 changed files with 155 additions and 2 deletions
@@ -30,6 +30,8 @@ export class LoanActionButtonResolver implements Resolve<Object> {
return this.loansService.getLoanTemplate(loanId);
// } else if (loanActionButton === 'make-repayment') {
// return this.loansService.getLoanActionTemplate(loanId, 'repayment');
} else if (loanActionButton === 'waive-interest') {
return this.loansService.getLoanActionTemplate(loanId, 'waiveinterest');
} else {
return this.loansService.getLoanActionTemplate(loanId, 'prepayLoan');
}