{item.item_number}
+ )} +| Datum příjmu | +Původní množství | +Zůstatek | +Cena za jednotku | +Hodnota | +
|---|---|---|---|---|
| + {formatDate(batch.received_at)} + | ++ {Number(batch.original_qty)} + | ++ {Number(batch.quantity)} + | ++ {formatCurrency(Number(batch.unit_price), "CZK")} + | ++ {formatCurrency( + Number(batch.quantity) * Number(batch.unit_price), + "CZK", + )} + | +
| Kód | +Název | +Množství | +
|---|---|---|
| + {loc.location?.code || "—"} + | +{loc.location?.name || "—"} | ++ {Number(loc.quantity)} + | +
+ {pagination?.total ?? items.length}{" "} + {pagination?.total === 1 + ? "položka" + : pagination?.total !== undefined && + pagination.total >= 2 && + pagination.total <= 4 + ? "položky" + : "položek"} +
++ {search || categoryId + ? "Žádné položky pro zadaný filtr." + : "Zatím nejsou žádné skladové položky."} +
+ {canManage && !search && !categoryId && ( + + )} +| handleSort("item_number")}
+ >
+ Číslo{" "}
+ |
+ handleSort("name")}
+ >
+ Název{" "}
+ |
+ Kategorie | +Jednotka | + handleSort("total_quantity")}
+ className="text-right"
+ >
+ Množství{" "}
+ |
+ K dispozici | + handleSort("stock_value")}
+ className="text-right"
+ >
+ Hodnota{" "}
+ |
+ Stav | +
|---|---|---|---|---|---|---|---|
| + {item.item_number || "—"} + | +{item.name} | +{item.category?.name || "—"} | +{item.unit} | ++ {item.total_quantity ?? 0} + | ++ {item.available_quantity ?? 0} + | ++ {item.stock_value != null + ? formatCurrency(item.stock_value, "CZK") + : "0,00 Kč"} + | ++ {item.below_minimum ? ( + + Pod min. + + ) : item.is_active ? ( + + OK + + ) : ( + + Neaktivní + + )} + | +