feat: add view savings account page (#862)

- Transactions Tab
- Charges Tab
- Standing Instructions Tab

Fixes: #221
This commit is contained in:
Karan Takalkar
2020-06-11 16:03:00 +05:30
committed by GitHub
parent fb52d3cf21
commit 3123f37155
32 changed files with 1353 additions and 54 deletions
+5 -6
View File
@@ -49,11 +49,6 @@ const routes: Routes = [
path: '',
component: ClientsComponent,
},
{
path: ':clientId/savingsaccounts',
data: { routeParamBreadcrumb: 'clientId'},
loadChildren: '../savings/savings.module#SavingsModule'
},
{
path: ':clientId',
component: ClientsViewComponent,
@@ -177,7 +172,11 @@ const routes: Routes = [
path: 'loans',
data: { title: extract('Loans'), breadcrumb: 'loans', routeParamBreadcrumb: false },
loadChildren: '../loans/loans.module#LoansModule'
}
},
{
path: 'savingsaccounts',
loadChildren: '../savings/savings.module#SavingsModule'
},
]
}
]
@@ -243,7 +243,7 @@
</ng-container>
<tr mat-header-row *matHeaderRowDef="openSavingsColumns"></tr>
<tr mat-row *matRowDef="let row; columns: openSavingsColumns;"></tr>
<tr mat-row *matRowDef="let row; columns: openSavingsColumns;" [routerLink]="['../', 'savingsaccounts', row.id, 'transactions']"></tr>
</table>
<!-- Closed Saving Accounts -->