refactor: Loans Module (#1150)

Fixes: #1149
This commit is contained in:
Muskan Khedia
2020-07-22 20:32:55 +05:30
committed by GitHub
parent f618bb3cda
commit 55280eae2a
65 changed files with 622 additions and 470 deletions
@@ -58,6 +58,8 @@ export class LoanActionButtonResolver implements Resolve<Object> {
return this.loansService.getLoanScreenReportsData();
} else if (loanActionButton === 'approve') {
return this.loansService.getLoanApprovalTemplate(loanId);
} else if (loanActionButton === 'add-loan-charge') {
return this.loansService.getLoanChargeTemplateResource(loanId);
} else {
return undefined;
}