136 lines
4.4 KiB
TypeScript
136 lines
4.4 KiB
TypeScript
import { Routes } from '@angular/router';
|
|
|
|
import { LoginComponent } from './auth/login/login.component';
|
|
import { LogoutComponent } from './auth/logout/logout.component';
|
|
import { HomeComponent } from './home/home.component';
|
|
|
|
export const routes: Routes = [
|
|
{
|
|
path: 'beer-sale-report',
|
|
loadChildren: () => import('./beer-sale-report/beer-sale-report.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'bill-settlement-report',
|
|
loadChildren: () => import('./bill-settlement-report/bill-settlement-report.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'cashier-report',
|
|
loadChildren: () => import('./cashier-report/cashier-report.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'customers',
|
|
loadChildren: () => import('./customers/customer.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'devices',
|
|
loadChildren: () => import('./devices/devices.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'discount-report',
|
|
loadChildren: () => import('./discount-report/discount-report.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'guest-book',
|
|
loadChildren: () => import('./guest-book/guest-book.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'header-footer',
|
|
loadChildren: () => import('./header-footer/header-footer.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'menu-engineering-report',
|
|
loadChildren: () => import('./menu-engineering-report/menu-engineering-report.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'modifiers',
|
|
loadChildren: () => import('./modifiers/modifiers.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'modifier-categories',
|
|
loadChildren: () => import('./modifier-categories/modifier-categories.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'regimes',
|
|
loadChildren: () => import('./regimes/regimes.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'printers',
|
|
loadChildren: () => import('./printers/printers.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'products',
|
|
loadChildren: () => import('./product/products.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'product-sale-report',
|
|
loadChildren: () => import('./product-sale-report/product-sale-report.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'product-updates-report',
|
|
loadChildren: () => import('./product-updates-report/product-updates-report.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'menu-categories',
|
|
loadChildren: () => import('./menu-category/menu-categories.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'roles',
|
|
loadChildren: () => import('./roles/roles.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'sales',
|
|
loadChildren: () => import('./sales/sales.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'sale-report',
|
|
loadChildren: () => import('./sale-report/sale-report.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'sale-categories',
|
|
loadChildren: () => import('./sale-category/sale-categories.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'sections',
|
|
loadChildren: () => import('./sections/sections.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'section-printers',
|
|
loadChildren: () => import('./section-printers/section-printers.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'settings',
|
|
loadChildren: () => import('./settings/settings.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'settle-options',
|
|
loadChildren: () => import('./settle-option/settle-options.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'tables',
|
|
loadChildren: () => import('./tables/tables.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'taxes',
|
|
loadChildren: () => import('./taxes/taxes.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'tax-report',
|
|
loadChildren: () => import('./tax-report/tax-report.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'temporal-products',
|
|
loadChildren: () => import('./temporal-product/temporal-products.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'update-product-prices',
|
|
loadChildren: () => import('./update-product-prices/update-product-prices.routes').then((mod) => mod.routes),
|
|
},
|
|
{
|
|
path: 'users',
|
|
loadChildren: () => import('./users/users.routes').then((mod) => mod.routes),
|
|
},
|
|
{ path: 'login', component: LoginComponent },
|
|
{ path: 'logout', component: LogoutComponent },
|
|
{ path: '', component: HomeComponent },
|
|
];
|