rework internal order system

This commit is contained in:
Matthias Hochmeister
2026-03-24 13:35:33 +01:00
parent 9a52e41372
commit 64663c0fe4
3 changed files with 9 additions and 1 deletions

View File

@@ -1382,6 +1382,7 @@ function AlleAnfragenTab() {
<TableCell>Anfrage für</TableCell>
<TableCell>Status</TableCell>
<TableCell>Positionen</TableCell>
<TableCell>Geliefert</TableCell>
<TableCell>Erstellt am</TableCell>
</TableRow>
</TableHead>
@@ -1393,6 +1394,11 @@ function AlleAnfragenTab() {
<TableCell>{r.anfrager_name || r.anfrager_id}</TableCell>
<TableCell><Chip label={AUSRUESTUNG_STATUS_LABELS[r.status]} color={AUSRUESTUNG_STATUS_COLORS[r.status]} size="small" /></TableCell>
<TableCell>{r.positionen_count ?? r.items_count ?? '-'}</TableCell>
<TableCell>
{r.positionen_count != null && r.positionen_count > 0
? `${r.geliefert_count ?? 0}/${r.positionen_count}`
: '-'}
</TableCell>
<TableCell>{new Date(r.erstellt_am).toLocaleDateString('de-AT')}</TableCell>
</TableRow>
))}