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,
AccordionDetails,
Box,
Card,
CardContent,
IconButton,
Tab,
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: 'Gesamt', count: orders.length, color: 'text.primary' },
].map(({ label, count, color }) => (
<Card variant="outlined" key={label}>
<CardContent sx={{ py: 1.5, '&:last-child': { pb: 1.5 } }}>
<Typography variant="h4" sx={{ color, fontWeight: 700 }}>{count}</Typography>
<Typography variant="caption" color="text.secondary">{label}</Typography>
</CardContent>
</Card>
<Paper variant="outlined" key={label} sx={{ p: 2, textAlign: 'center' }}>
<Typography variant="h4" sx={{ color, fontWeight: 700 }}>{count}</Typography>
<Typography variant="body2" color="text.secondary">{label}</Typography>
</Paper>
))}
</Box>