feat: add view loan page (datatables-tab) (#853)

Fixes: #840
Fixes: #841
This commit is contained in:
Muskan Khedia
2020-06-10 21:54:19 +05:30
committed by GitHub
parent a3f60783dc
commit 8503dc6d97
27 changed files with 776 additions and 28 deletions
+15 -3
View File
@@ -166,9 +166,21 @@ const routes: Routes = [
]
},
{
path: 'loans',
data: { title: extract('Loans'), breadcrumb: 'loans' },
loadChildren: '../loans/loans.module#LoansModule'
path: 'clients',
data: { title: extract('Clients'), breadcrumb: 'Clients', routeParamBreadcrumb: false },
children: [
{
path: ':clientId',
data: { title: extract('Clients View'), routeParamBreadcrumb: 'clientId' },
children: [
{
path: 'loans',
data: { title: extract('Loans'), breadcrumb: 'loans', routeParamBreadcrumb: false },
loadChildren: '../loans/loans.module#LoansModule'
}
]
}
]
}
])
];