This commit is contained in:
seb
2026-10-18 00:27:27 +02:00
parent 666d84b9f3
commit 691854fdd4
7 changed files with 156 additions and 18 deletions

View File

@@ -218,7 +218,16 @@ class ResultRow extends Component {
)}
{row.sku}
{' · '}
Bestand {formatStock(row.stock)}
<Box
component="span"
title={
row.warehouses?.length > 0
? row.warehouses.map((w) => `${w.name || 'Lager'}: ${formatStock(w.stock)}`).join(' · ')
: undefined
}
>
Bestand {formatStock(row.stock)}
</Box>
{' · '}
Verfügbar {formatStock(row.available)}
{row.categories