feat: add loan button (close-as-rescheduled) (#876)

Fixes: #848
This commit is contained in:
Muskan Khedia
2020-06-26 00:27:46 +05:30
committed by GitHub
parent 1dffa27e82
commit c1aa7d800a
11 changed files with 153 additions and 6 deletions
@@ -34,6 +34,10 @@ export class LoanActionButtonResolver implements Resolve<Object> {
return this.loansService.getLoanActionTemplate(loanId, 'waiveinterest');
} else if (loanActionButton === 'write-off') {
return this.loansService.getLoanActionTemplate(loanId, 'writeoff');
} else if (loanActionButton === 'close') {
return this.loansService.getLoanActionTemplate(loanId, 'close');
} else if (loanActionButton === 'close-as-rescheduled') {
return this.loansService.getLoanActionTemplate(loanId, 'close-rescheduled');
} else {
return this.loansService.getLoanActionTemplate(loanId, 'prepayLoan');
}