feat: add loan actions (loan-screen-reports) (#1143)

Fixes: #850
This commit is contained in:
Muskan Khedia
2020-07-19 21:50:58 +05:30
committed by GitHub
parent af6cdbaa9f
commit 7aa26c64b2
9 changed files with 203 additions and 2 deletions
@@ -54,6 +54,8 @@ export class LoanActionButtonResolver implements Resolve<Object> {
return this.loansService.getGuarantorTemplate(loanId);
} else if (loanActionButton === 'disburse') {
return this.loansService.getLoanActionTemplate(loanId, 'disburse');
} else if (loanActionButton === 'loan-screen-reports') {
return this.loansService.getLoanScreenReportsData();
} else {
return undefined;
}