Datatables enhacements to support products (#1641)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-01-13 02:07:51 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent 08a327fdbf
commit f330e91aa4
161 changed files with 2985 additions and 4971 deletions
@@ -175,38 +175,38 @@ const routes: Routes = [
}
},
{
path: ':id',
data: { title: extract('View Office'), routeResolveBreadcrumb: ['office', 'name'] },
path: ':officeId',
data: { title: extract('View Office'), breadcrumb: 'officeId', routeParamBreadcrumb: 'officeId' },
component: ViewOfficeComponent,
resolve: {
officeDatatables: OfficeDatatablesResolver,
office: OfficeResolver
},
children: [
{
path: '',
redirectTo: 'general',
pathMatch: 'full'
},
{
path: 'general',
component: GeneralTabComponent,
data: { title: extract('General') },
data: { title: extract('General'), breadcrumb: 'General', routeParamBreadcrumb: false },
resolve: {
office: OfficeResolver
}
},
{
path: 'datatables',
children: [
{
children: [{
path: ':datatableName',
component: DatatableTabsComponent,
data: { title: extract('View Data Table') },
data: { title: extract('Data Table View'), routeParamBreadcrumb: 'datatableName' },
resolve: {
officeDatatable: OfficeDatatableResolver
}
}
]
}
]
},
{
path: ':id',
data: { title: extract('View Office'), routeParamBreadcrumb: 'id' },
children: [
},
{
path: 'edit',
component: EditOfficeComponent,
@@ -217,7 +217,6 @@ const routes: Routes = [
}
]
}
]
},
{