diff --git a/frontend/src/pages/Bestellungen.tsx b/frontend/src/pages/Bestellungen.tsx index 046d168..3d8dbb4 100644 --- a/frontend/src/pages/Bestellungen.tsx +++ b/frontend/src/pages/Bestellungen.tsx @@ -6,7 +6,6 @@ import { Box, Card, CardContent, - Grid, IconButton, Tab, Tabs, @@ -260,7 +259,7 @@ export default function Bestellungen() { {/* ── Tab 0: Orders ── */} {/* ── Summary Cards ── */} - + {[ { label: 'Entwurf / Genehmigung', count: orders.filter(o => o.status === 'entwurf' || o.status === 'wartet_auf_genehmigung').length, color: 'text.secondary' }, { label: 'Bereit / Bestellt', count: orders.filter(o => o.status === 'bereit_zur_bestellung' || o.status === 'bestellt').length, color: 'primary.main' }, @@ -268,16 +267,14 @@ export default function Bestellungen() { { label: 'Lieferung prüfen', count: orders.filter(o => o.status === 'lieferung_pruefen').length, color: 'secondary.main' }, { label: 'Gesamt', count: orders.length, color: 'text.primary' }, ].map(({ label, count, color }) => ( - - - - {count} - {label} - - - + + + {count} + {label} + + ))} - + {/* ── Filter ── */}