This commit is contained in:
seb
2026-10-12 14:10:11 +02:00
parent d5d45e57d4
commit 627868eb2e

View File

@@ -148,9 +148,10 @@ class OrderRow extends PureComponent {
<Chip
size="small"
label={`${lines.length} Pos.`}
label={lines.length}
title={`${lines.length} Positionen`}
sx={{
width: 64,
width: 40,
flexShrink: 0,
height: 24,
fontSize: '0.75rem',
@@ -158,6 +159,7 @@ class OrderRow extends PureComponent {
fontVariantNumeric: 'tabular-nums',
bgcolor: 'action.hover',
color: lines.length > 0 ? 'text.primary' : 'text.disabled',
'& .MuiChip-label': { px: 0.5 },
}}
/>
@@ -593,7 +595,7 @@ export class OrderList extends PureComponent {
<>
<OrderSearchField inputRef={this.searchRef} onCreate={this.handleCreate} />
<PanelTileGrid>
<PanelTile wide={2} minHeight={0} color={cfg.listColor} sx={{ pb: 0 }}>
<PanelTile wide={3} minHeight={0} color={cfg.listColor} sx={{ pb: 0 }}>
<FillSpace
aboveRef={[this.searchRef]}
reserveBottom={32}
@@ -627,7 +629,7 @@ export class OrderList extends PureComponent {
<Box sx={{ flex: 1, minWidth: 0 }}>Kunde</Box>
<Box sx={{ width: 72, flexShrink: 0, textAlign: 'center' }}>Bezahlt</Box>
<Box sx={{ width: 72, flexShrink: 0, textAlign: 'center' }}>Geliefert</Box>
<Box sx={{ width: 64, flexShrink: 0, textAlign: 'center' }}>Pos.</Box>
<Box sx={{ width: 40, flexShrink: 0, textAlign: 'center' }}>Pos.</Box>
<Box sx={{ width: 96, flexShrink: 0, textAlign: 'right' }}>Gesamt</Box>
<Box sx={{ width: 40, flexShrink: 0 }} />
</Box>