feat: Implement product categories, stores, suppliers, and users management features
- Added ProductCategoriesService for handling product category API interactions. - Created components for listing and viewing product categories. - Implemented UI for managing product categories with a data list component. - Developed StoresService for managing store-related API calls. - Created components for listing and viewing stores with appropriate UI. - Added SuppliersService for handling supplier API interactions. - Implemented components for managing suppliers with a data list component. - Developed UsersService for managing user-related API calls. - Created components for listing and viewing users with appropriate UI. - Enhanced not found page with improved layout and navigation options.
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
import { MenuItem } from 'primeng/api';
|
||||
export const MENU_ITEMS = [
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: 'داشبورد',
|
||||
icon: 'pi pi-fw pi-home',
|
||||
routerLink: ['/dashboard'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'موجودیها',
|
||||
icon: 'pi pi-fw pi-box',
|
||||
items: [
|
||||
{
|
||||
label: 'لیست موجودیها',
|
||||
icon: 'pi pi-fw pi-list',
|
||||
routerLink: ['/inventories'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'محصولات',
|
||||
icon: 'pi pi-fw pi-tags',
|
||||
items: [
|
||||
{
|
||||
label: 'لیست محصولات',
|
||||
icon: 'pi pi-fw pi-list',
|
||||
routerLink: ['/products'],
|
||||
},
|
||||
{
|
||||
label: 'برندهای محصول',
|
||||
icon: 'pi pi-fw pi-tags',
|
||||
routerLink: ['/product-brands'],
|
||||
},
|
||||
{
|
||||
label: 'دستهبندیهای محصول',
|
||||
icon: 'pi pi-fw pi-list',
|
||||
routerLink: ['/product-categories'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'تامینکنندگان',
|
||||
icon: 'pi pi-fw pi-users',
|
||||
items: [
|
||||
{
|
||||
label: 'لیست تامینکنندگان',
|
||||
icon: 'pi pi-fw pi-list',
|
||||
routerLink: ['/suppliers'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'مدیریت سیستم',
|
||||
icon: 'pi pi-fw pi-cog',
|
||||
items: [
|
||||
{
|
||||
label: 'فروشگاهها',
|
||||
icon: 'pi pi-fw pi-store',
|
||||
routerLink: ['/stores'],
|
||||
},
|
||||
{
|
||||
label: 'کاربران',
|
||||
icon: 'pi pi-fw pi-user',
|
||||
routerLink: ['/users'],
|
||||
},
|
||||
],
|
||||
},
|
||||
] as MenuItem[];
|
||||
Reference in New Issue
Block a user