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:
seb
2026-08-06 05:32:59 +02:00
parent 1e0fedca3d
commit 1ee29399ff
8 changed files with 1014 additions and 8 deletions

View File

@@ -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 },