feat: Add Cardex module with filters and invoices components
- Implemented Cardex routes and integrated with the main application routing. - Created filters component for Cardex to filter inventory and product data. - Developed invoices component to display supplier invoices with detailed views. - Enhanced Products module with pagination and state management using a store. - Updated Suppliers module to include invoice management and detailed supplier views. - Refactored state management in Products and Suppliers to utilize signals for reactive updates. - Added new models and services to support the Cardex functionality. - Improved UI components for better user experience in displaying data.
This commit is contained in:
+8
-1
@@ -1,3 +1,5 @@
|
||||
import { AuthComponent } from '@/modules/auth/pages/auth.component';
|
||||
import { CARDEX_ROUTES } from '@/modules/cardex/constants';
|
||||
import { CUSTOMERS_ROUTES } from '@/modules/customers/constants';
|
||||
import { INVENTORIES_ROUTES } from '@/modules/inventories/constants';
|
||||
import { POSComponent } from '@/modules/pos/views/pos.component';
|
||||
@@ -27,6 +29,7 @@ export const appRoutes: Routes = [
|
||||
...CUSTOMERS_ROUTES,
|
||||
...INVENTORIES_ROUTES,
|
||||
...PRODUCTS_ROUTES,
|
||||
...CARDEX_ROUTES,
|
||||
{ path: 'uikit', loadChildren: () => import('./app/pages/uikit/uikit.routes') },
|
||||
{ path: 'documentation', component: Documentation },
|
||||
{ path: 'pages', loadChildren: () => import('./app/pages/pages.routes') },
|
||||
@@ -36,7 +39,11 @@ export const appRoutes: Routes = [
|
||||
path: 'pos',
|
||||
component: POSComponent,
|
||||
},
|
||||
{
|
||||
path: 'auth',
|
||||
component: AuthComponent,
|
||||
},
|
||||
{ path: 'notfound', component: Notfound },
|
||||
{ path: 'auth', loadChildren: () => import('./app/pages/auth/auth.routes') },
|
||||
// { path: 'auth', loadChildren: () => import('./app/pages/auth/auth.routes') },
|
||||
{ path: '**', redirectTo: '/notfound' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user