feat: add loan action (disburse) (#1062)

Fixes: #856
This commit is contained in:
Muskan Khedia
2020-07-12 16:26:05 +05:30
committed by GitHub
parent 1c820d4467
commit 3be568b20e
10 changed files with 249 additions and 7 deletions
@@ -50,6 +50,8 @@ export class LoanActionButtonResolver implements Resolve<Object> {
return this.loansService.getLoanAccountResource(loanId, 'guarantors');
} else if (loanActionButton === 'create-guarantor') {
return this.loansService.getGuarantorTemplate(loanId);
} else if (loanActionButton === 'disburse') {
return this.loansService.getLoanActionTemplate(loanId, 'disburse');
} else {
return undefined;
}