feat: add loans view page (#661)

- Add loan account page
- Add general tab
- Add account details tab

Fixes: #219
This commit is contained in:
Muskan Khedia
2020-05-31 22:49:21 +05:30
committed by GitHub
parent 1539180a3a
commit 11cbe7a155
24 changed files with 1178 additions and 11 deletions
@@ -160,6 +160,11 @@ const routes: Routes = [
},
]
},
{
path: 'loans',
data: { title: extract('Loans'), breadcrumb: 'loans' },
loadChildren: '../loans/loans.module#LoansModule'
}
])
];
@@ -133,7 +133,7 @@
</ng-container>
<tr mat-header-row *matHeaderRowDef="openLoansColumns"></tr>
<tr mat-row *matRowDef="let row; columns: openLoansColumns;"></tr>
<tr mat-row *matRowDef="let row; columns: openLoansColumns;" [routerLink]="['/loans', row.id, 'general']" class="select-row"></tr>
</table>
<!-- Closed Loan Accounts -->
@@ -18,5 +18,10 @@
margin: 4px;
line-height: 25px;
}
.select-row:hover {
cursor: pointer;
}
}
}