Add Lieferungen section with supplier CRUD and delivery create/list.
Wire /lieferung sub-nav (list, neu, lieferanten) to supplier and delivery APIs.
This commit is contained in:
@@ -10,6 +10,8 @@ import ListAltIcon from '@mui/icons-material/ListAlt';
|
||||
import ArchiveIcon from '@mui/icons-material/Archive';
|
||||
import GroupsIcon from '@mui/icons-material/Groups';
|
||||
import ContactPageIcon from '@mui/icons-material/ContactPage';
|
||||
import AddBoxIcon from '@mui/icons-material/AddBox';
|
||||
import StorefrontIcon from '@mui/icons-material/Storefront';
|
||||
import { isKategorienPath } from './pages/artikel/categoryRoute';
|
||||
|
||||
export const NAV_ITEMS = [
|
||||
@@ -26,6 +28,11 @@ export const SUB_NAV = {
|
||||
{ segment: 'kategorien', label: 'Kategorien', icon: CategoryIcon },
|
||||
{ segment: 'lager', label: 'Lager', icon: WarehouseIcon },
|
||||
],
|
||||
'/lieferung': [
|
||||
{ segment: '', label: 'Lieferungen', icon: ListAltIcon },
|
||||
{ segment: 'neu', label: 'Neue Lieferung', icon: AddBoxIcon },
|
||||
{ segment: 'lieferanten', label: 'Lieferanten', icon: StorefrontIcon },
|
||||
],
|
||||
'/auftrag': [
|
||||
{ segment: '', label: 'Aktive Aufträge', icon: ListAltIcon },
|
||||
{ segment: 'archiv', label: 'Archiv', icon: ArchiveIcon },
|
||||
|
||||
Reference in New Issue
Block a user