feat: add loan button (disburse to savings) (#885)

Fixes: #857
This commit is contained in:
Benura Abeywardena
2020-07-12 12:40:13 +05:30
committed by GitHub
parent a977cb6e0c
commit 3a78659d4b
8 changed files with 162 additions and 0 deletions
@@ -42,6 +42,8 @@ export class LoanActionButtonResolver implements Resolve<Object> {
return this.loansService.rescheduleLoanTemplate();
} else if (loanActionButton === 'prepay-loan') {
return this.loansService.getLoanActionTemplate(loanId, 'prepayLoan');
} else if (loanActionButton === 'disburse-to-savings') {
return this.loansService.getLoanActionTemplate(loanId, 'disburseToSavings');
} else if (loanActionButton === 'recovery-payment') {
return this.loansService.getLoanActionTemplate(loanId, 'recoverypayment');
} else if (loanActionButton === 'view-guarantors') {