feat: add view loan (loan documents tab) (#1126)

Fixes: #818
This commit is contained in:
Muskan Khedia
2020-07-17 21:07:11 +05:30
committed by GitHub
parent a13510dae1
commit 48709edba0
16 changed files with 381 additions and 8 deletions
@@ -26,7 +26,7 @@ export class LoanActionButtonResolver implements Resolve<Object> {
resolve(route: ActivatedRouteSnapshot): Observable<any> {
const loanId = route.parent.paramMap.get('loanId');
const loanActionButton = route.paramMap.get('action');
if (loanActionButton === 'assign-loan-officer') {
if (loanActionButton === 'assign-loan-officer' || loanActionButton === 'change-loan-officer') {
return this.loansService.getLoanTemplate(loanId);
// } else if (loanActionButton === 'make-repayment') {
// return this.loansService.getLoanActionTemplate(loanId, 'repayment');