update
This commit is contained in:
@@ -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="caption" color="text.secondary">{label}</Typography>
|
<Typography variant="body2" color="text.secondary">{label}</Typography>
|
||||||
</CardContent>
|
</Paper>
|
||||||
</Card>
|
|
||||||
))}
|
))}
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user