This commit is contained in:
Matthias Hochmeister
2026-03-26 15:21:56 +01:00
parent 9c3dda337f
commit ecee41b3aa

View File

@@ -4,8 +4,6 @@ import {
AccordionSummary, AccordionSummary,
AccordionDetails, AccordionDetails,
Box, Box,
Card,
CardContent,
IconButton, IconButton,
Tab, Tab,
Tabs, Tabs,
@@ -267,12 +265,10 @@ export default function Bestellungen() {
{ label: 'Lieferung prüfen', count: orders.filter(o => o.status === 'lieferung_pruefen').length, color: 'secondary.main' }, { label: 'Lieferung prüfen', count: orders.filter(o => o.status === 'lieferung_pruefen').length, color: 'secondary.main' },
{ label: 'Gesamt', count: orders.length, color: 'text.primary' }, { label: 'Gesamt', count: orders.length, color: 'text.primary' },
].map(({ label, count, color }) => ( ].map(({ label, count, color }) => (
<Card variant="outlined" key={label}> <Paper variant="outlined" key={label} sx={{ p: 2, textAlign: 'center' }}>
<CardContent sx={{ py: 1.5, '&:last-child': { pb: 1.5 } }}> <Typography variant="h4" sx={{ color, fontWeight: 700 }}>{count}</Typography>
<Typography variant="h4" sx={{ color, fontWeight: 700 }}>{count}</Typography> <Typography variant="body2" color="text.secondary">{label}</Typography>
<Typography variant="caption" color="text.secondary">{label}</Typography> </Paper>
</CardContent>
</Card>
))} ))}
</Box> </Box>