Files
psp_panel/src/app/domains/consumer/routes.ts
T

22 lines
842 B
TypeScript
Raw Normal View History

2026-03-16 00:35:34 +03:30
import { Route } from '@angular/router';
2026-03-16 17:56:22 +03:30
import { CONSUMER_ACCOUNTS_ROUTES } from './modules/accounts/constants';
import { CONSUMER_BUSINESS_ACTIVITIES_ROUTES } from './modules/businessActivities/constants';
2026-04-08 18:15:27 +03:30
import { CONSUMER_CUSTOMERS_ROUTES } from './modules/customers/constants';
import { CONSUMER_SALE_INVOICES_ROUTES } from './modules/saleInvoices/constants';
2026-03-16 00:35:34 +03:30
export const CONSUMER_ROUTES = {
path: 'consumer',
loadComponent: () => import('./layouts/layout.component').then((m) => m.LayoutComponent),
children: [
{
path: '',
loadComponent: () =>
import('./modules/dashboard/views/index.component').then((m) => m.DashboardComponent),
},
2026-03-16 17:56:22 +03:30
...CONSUMER_ACCOUNTS_ROUTES,
...CONSUMER_BUSINESS_ACTIVITIES_ROUTES,
2026-04-08 18:15:27 +03:30
...CONSUMER_CUSTOMERS_ROUTES,
...CONSUMER_SALE_INVOICES_ROUTES,
2026-03-16 00:35:34 +03:30
],
} as Route;