Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat(inventory): storage units card groups stock by unit, with search

Sidwebworksaa1d31b6d038
diff --git a/apps/erp/app/modules/inventory/ui/Inventory/InventoryStorageUnits.tsx b/apps/erp/app/modules/inventory/ui/Inventory/InventoryStorageUnits.tsx
index fac2c0c56e..ca8c9f693a 100644
--- a/apps/erp/app/modules/inventory/ui/Inventory/InventoryStorageUnits.tsx
+++ b/apps/erp/app/modules/inventory/ui/Inventory/InventoryStorageUnits.tsx
@@ -19,52 +19,44 @@ import {
CardHeader,
CardTitle,
Copy,
- DropdownMenu,
- DropdownMenuContent,
- DropdownMenuIcon,
- DropdownMenuItem,
- DropdownMenuTrigger,
+ cn,
HStack,
IconButton,
+ InputGroup,
+ InputLeftElement,
Modal,
ModalBody,
ModalContent,
ModalFooter,
ModalHeader,
ModalTitle,
- Table,
- Tbody,
- Td,
- Th,
- Thead,
- Tr,
+ Input as SearchInput,
toast,
useDisclosure,
VStack
} from "@carbon/react";
-import { groupBy } from "@carbon/utils";
-import { getLocalTimeZone, today } from "@internationalized/date";
+import { groupBy, round } from "@carbon/utils";
+import { getLocalTimeZone, parseDate, today } from "@internationalized/date";
import { Trans, useLingui } from "@lingui/react/macro";
import { nanoid } from "nanoid";
-import { Fragment, useMemo, useState } from "react";
+import { Fragment, useCallback, useMemo, useState } from "react";
import {
LuCheck,
LuChevronDown,
LuChevronRight,
- LuEllipsisVertical,
LuPencil,
LuPrinter,
- LuQrCode
+ LuQrCode,
+ LuSearch
} from "react-icons/lu";
import { Outlet, useFetcher } from "react-router";
import type { z } from "zod";
import { DateTime } from "~/components";
-import { Enumerable } from "~/components/Enumerable";
import { Input, Location, Select, TextArea } from "~/components/Form";
import ScrapReason from "~/components/Form/ScrapReason";
import StorageUnit from "~/components/Form/StorageUnit";
import { useUnitOfMeasure } from "~/components/Form/UnitOfMeasure";
-import { usePermissions, usePrinting } from "~/hooks";
+import { usePermissions, usePrinting, useQuantityFormatter } from "~/hooks";
import type {
ItemStorageUnitQuantities,
itemTrackingTypes,
@@ -118,27 +110,81 @@ const InventoryStorageUnits = ({
[itemStorageUnitQuantities]
);
- // One visual row per (storage unit, lot): fragments of the same batch in the
- // same bin collapse into a group row with the summed quantity, expandable to
- // the underlying tracked entities.
+ const storageUnitLabel = useCallback(
+ (item: ItemStorageUnitQuantities) =>
+ storageUnits.find((s) => s.value === item.storageUnitId)?.label ??
+ item.storageUnitName ??
+ item.storageUnitId ??
+ null,
+ [storageUnits]
+ );
+
+ const [search, setSearch] = useState("");
+
+ // Matches a storage unit's name or a lot/serial number.
+ const matchingStorageUnitQuantities = useMemo(() => {
+ const term = search.trim().toLowerCase();
+ if (!term) return visibleStorageUnitQuantities;
+ return visibleStorageUnitQuantities.filter((item) =>
+ [storageUnitLabel(item), item.readableId, item.trackedEntityId].some(
+ (value) => value?.toLowerCase().includes(term)
+ )
+ );
+ }, [visibleStorageUnitQuantities, search, storageUnitLabel]);
+
+ // Rows are grouped twice: by storage unit, then by lot within it. Fragments
+ // of the same batch in the same bin collapse into one lot row with the summed
+ // quantity, expandable to the underlying tracked entities.
const storageUnitGroups = useMemo(() => {
- const grouped = groupBy(
- visibleStorageUnitQuantities.map((item, index) => ({ item, index })),
- // Untracked/unnumbered rows get a per-row key so they stay singletons.
- ({ item, index }) =>
- `${item.storageUnitId}::${item.readableId ?? item.trackedEntityId ?? `row-${index}`}`
+ const sumQuantity = (members: ItemStorageUnitQuantities[]) =>
+ round(members.reduce((sum, m) => sum + m.quantity, 0));
+
+ const byUnit = groupBy(
+ matchingStorageUnitQuantities.map((item, index) => ({ item, index })),
+ ({ item }) => item.storageUnitId ?? ""
);
- return Object.entries(grouped)
- .map(([key, rows]) => ({ key, members: rows.map((r) => r.item) }))
- .sort((a, b) => {
- const unitA = a.members[0].storageUnitName ?? "";
- const unitB = b.members[0].storageUnitName ?? "";
- if (unitA !== unitB) return unitA.localeCompare(unitB);
- return (a.members[0].readableId ?? "").localeCompare(
- b.members[0].readableId ?? ""
+
+ return Object.entries(byUnit)
+ .map(([storageUnitId, rows]) => {
+ const byLot = groupBy(
+ rows,
+ // Untracked/unnumbered rows get a per-row key so they stay singletons.
+ ({ item, index }) =>
+ item.readableId ?? item.trackedEntityId ?? `row-${index}`
);
+ const lots = Object.entries(byLot)
+ .map(([lotKey, lotRows]) => {
+ const members = lotRows.map((r) => r.item);
+ return {
+ key: `${storageUnitId}::${lotKey}`,
+ members,
+ quantity: sumQuantity(members)
+ };
+ })
+ // Largest first; serials all hold one, so they fall back to number order.
+ .sort(
+ (a, b) =>
+ b.quantity - a.quantity ||
+ (a.members[0].readableId ?? "").localeCompare(
+ b.members[0].readableId ?? ""
+ )
+ );
+ const first = rows[0].item;
+ return {
+ storageUnitId,
+ name: storageUnitId ? storageUnitLabel(first) : null,
+ quantity: sumQuantity(rows.map((r) => r.item)),
+ lots
+ };
+ })
+ .sort((a, b) => {
+ // Stock with no storage unit goes last.
+ if (!a.name || !b.name) return a.name ? -1 : b.name ? 1 : 0;
+ return a.name.localeCompare(b.name);
});
- }, [visibleStorageUnitQuantities]);
+ }, [matchingStorageUnitQuantities, storageUnitLabel]);
+
+ const formatQuantity = useQuantityFormatter();
const [expandedGroupKeys, setExpandedGroupKeys] = useState<Set<string>>(
new Set()
@@ -156,15 +202,6 @@ const InventoryStorageUnits = ({
});
};
- const showExpirationColumn = useMemo(
- () =>
- visibleStorageUnitQuantities.some(
- (item) =>
- item.trackedEntityId && trackedEntityExpirations[item.trackedEntityId]
- ),
- [visibleStorageUnitQuantities, trackedEntityExpirations]
- );
-
const [quantity, setQuantity] = useState(1);
const [selectedStorageUnitId, setSelectedStorageUnitId] = useState<
string | null
@@ -268,80 +305,117 @@ const InventoryStorageUnits = ({
setPendingPrintEntityId(null);
};
- const renderStorageUnitRow = (
+ const unitOfMeasureLabel = itemUnitOfMeasure?.label ?? itemUnitOfMeasureCode;
+
+ // Expired lots read red, and lots inside 30 days amber.
+ const expirationClassName = (value: string) => {
+ const daysLeft = parseDate(value.slice(0, 10)).compare(
+ today(getLocalTimeZone())
+ );
+ if (daysLeft < 0) return "text-destructive";
+ if (daysLeft <= 30) return "text-amber-600 dark:text-amber-400";
+ return "text-muted-foreground";
+ };
+
+ // One grid for every row, so quantities and actions line up down the card.
+ const rowClassName =
+ "group/row -mx-2 grid h-9 grid-cols-[minmax(0,1fr)_auto_5.25rem] items-center gap-3 rounded-md px-2";
+
+ const renderQuantity = (value: number, className?: string) => (
+ <span
+ className={cn(
+ "text-right tabular-nums",
+ value < 0 && "text-destructive",
+ className
+ )}
+ >
+ {formatQuantity(value)}
+ </span>
+ );
+
+ const renderTracking = (
item: ItemStorageUnitQuantities,
- key: string
+ expiration: string | null | undefined
) => (
- <Tr key={key}>
- <Td>
- {storageUnits.find((s) => s.value === item.storageUnitId)?.label ||
- item.storageUnitName ||
- item.storageUnitId}
- </Td>
-
- <Td>
- <span>{item.quantity}</span>
- </Td>
- <Td>
- {item.trackedEntityId && (
- <HStack>
- {item.readableId && <span>{item.readableId}</span>}
- <Copy
- icon={<LuQrCode />}
- text={item.trackedEntityId}
- withTextInTooltip
- />
- </HStack>
- )}
- </Td>
- {showExpirationColumn && (
- <Td>
- {item.trackedEntityId &&
- trackedEntityExpirations[item.trackedEntityId] && (
- <span>
- <DateTime
- value={trackedEntityExpirations[item.trackedEntityId]}
- variant="date"
- />
- </span>
- )}
- </Td>
+ <span className="flex min-w-0 items-baseline gap-2">
+ {item.trackedEntityId ? (
+ <span className="truncate font-mono text-xs">
+ {item.readableId ?? item.trackedEntityId}
+ </span>
+ ) : (
+ <span className="text-muted-foreground">
+ <Trans>Untracked</Trans>
+ </span>
)}
- <Td className="flex flex-shrink-0 justify-end items-center">
- <DropdownMenu>
- <DropdownMenuTrigger asChild>
- <IconButton
- aria-label={t`Actions`}
- variant="ghost"
- icon={<LuEllipsisVertical />}
- />
- </DropdownMenuTrigger>
- <DropdownMenuContent className="w-56">
- <DropdownMenuItem
- onClick={() =>
- openAdjustmentModal(
- item.storageUnitId,
- item.trackedEntityId,
- item.readableId,
- item.quantity
- )
- }
- >
- <DropdownMenuIcon icon={<LuPencil />} />
- <Trans>Update Quantity</Trans>
- </DropdownMenuItem>
- {item.trackedEntityId && (
- <DropdownMenuItem
- onClick={() => handlePrintLabel(item.trackedEntityId!)}
- >
- <DropdownMenuIcon icon={<LuPrinter />} />
- <Trans>Print Label</Trans>
- </DropdownMenuItem>
- )}
- </DropdownMenuContent>
- </DropdownMenu>
- </Td>
- </Tr>
+ {expiration && (
+ <span
+ className={cn("shrink-0 text-xs", expirationClassName(expiration))}
+ >
+ <Trans>
+ Expires <DateTime value={expiration} variant="date" />
+ </Trans>
+ </span>
+ )}
+ </span>
+ );
+
+ const renderActions = (item: ItemStorageUnitQuantities) => (
+ <HStack
+ spacing={0}
+ className="justify-end opacity-0 transition-opacity duration-150 ease-out group-hover/row:opacity-100 focus-within:opacity-100 [@media(hover:none)]:opacity-100"
+ >
+ {item.trackedEntityId && (
+ <Copy
+ icon={<LuQrCode />}
+ text={item.trackedEntityId}
+ withTextInTooltip
+ />
+ )}
+ {item.trackedEntityId && (
+ <IconButton
+ aria-label={t`Print Label`}
+ title={t`Print Label`}
+ variant="ghost"
+ size="sm"
+ icon={<LuPrinter />}
+ onClick={() => handlePrintLabel(item.trackedEntityId!)}
+ />
+ )}
+ <IconButton
+ aria-label={t`Update Quantity`}
+ title={t`Update Quantity`}
+ variant="ghost"
+ size="sm"
+ icon={<LuPencil />}
+ onClick={() =>
+ openAdjustmentModal(
+ item.storageUnitId,
+ item.trackedEntityId,
+ item.readableId,
+ item.quantity
+ )
+ }
+ />
+ </HStack>
+ );
+
+ const renderStockRow = (
+ item: ItemStorageUnitQuantities,
+ key: string,
+ indent: string
+ ) => (
+ <div key={key} className={cn(rowClassName, "hover:bg-muted/60")}>
+ <div className={cn("min-w-0", indent)}>
+ {renderTracking(
+ item,
+ item.trackedEntityId
+ ? trackedEntityExpirations[item.trackedEntityId]
+ : null
+ )}
+ </div>
+ {renderQuantity(item.quantity)}
+ {renderActions(item)}
+ </div>
);
return (
@@ -349,130 +423,138 @@ const InventoryStorageUnits = ({
<Card className="w-full">
<HStack className="w-full justify-between">
<CardHeader>
- <CardTitle>
- <HStack className="gap-2 items-center">
- <Trans>Storage Units</Trans>
- <Enumerable
- value={
- unitOfMeasures.find(
- (uom) => uom.value === itemUnitOfMeasureCode
- )?.label || itemUnitOfMeasureCode
- }
- />
- </HStack>
+ <CardTitle className="whitespace-nowrap">
+ <Trans>Storage Units</Trans>
</CardTitle>
</CardHeader>
<CardAction>
- <Button onClick={() => openAdjustmentModal()}>
- <Trans>Update Inventory</Trans>
- </Button>
+ <HStack>
+ {/* A search box over a handful of rows is clutter. */}
+ {visibleStorageUnitQuantities.length > 8 && (
+ <InputGroup size="sm" className="w-40">
+ <InputLeftElement>
+ <LuSearch className="h-4 w-4" />
+ </InputLeftElement>
+ <SearchInput
+ aria-label={t`Search storage units and tracking numbers`}
+ placeholder={t`Search...`}
+ value={search}
+ onChange={(e) => setSearch(e.target.value)}
+ />
+ </InputGroup>
+ )}
+ <Button onClick={() => openAdjustmentModal()}>
+ <Trans>Update Inventory</Trans>
+ </Button>
+ </HStack>
</CardAction>
</HStack>
<CardContent>
- <Table className="table-fixed">
- <Thead>
- <Tr>
- <Th>
- <Trans>Storage Unit</Trans>
- </Th>
-
- <Th>
- <Trans>Quantity</Trans>
- </Th>
- <Th>
- <Trans>Tracking ID</Trans>
- </Th>
- {showExpirationColumn && (
- <Th>
- <Trans>Expiration Date</Trans>
- </Th>
- )}
- <Th className="flex flex-shrink-0 justify-end" />
- </Tr>
- </Thead>
- <Tbody>
- {storageUnitGroups.map((group) => {
- if (group.members.length === 1) {
- return renderStorageUnitRow(group.members[0], group.key);
- }
- const isExpanded = expandedGroupKeys.has(group.key);
- const first = group.members[0];
- // Batch quantities are decimals — clamp float noise on the sum.
- const summedQuantity =
- Math.round(
- group.members.reduce((sum, m) => sum + m.quantity, 0) * 1e6
- ) / 1e6;
- const expirations = group.members
- .map((m) =>
- m.trackedEntityId
- ? trackedEntityExpirations[m.trackedEntityId]
- : null
- )
- .filter((d): d is string => Boolean(d));
- const earliestExpiration =
- expirations.length > 0
- ? expirations.reduce((min, d) => (d < min ? d : min))
- : null;
- return (
- <Fragment key={group.key}>
- <Tr>
- <Td>
- <HStack className="gap-1">
- <IconButton
- aria-label={isExpanded ? t`Collapse` : t`Expand`}
- variant="ghost"
- icon={
- isExpanded ? (
- <LuChevronDown />
- ) : (
- <LuChevronRight />
- )
- }
- onClick={() => toggleGroup(group.key)}
- />
- <span>
- {storageUnits.find(
- (s) => s.value === first.storageUnitId
- )?.label ||
- first.storageUnitName ||
- first.storageUnitId}
- </span>
- </HStack>
- </Td>
- <Td>
- <span>{summedQuantity}</span>
- </Td>
- <Td>
- <HStack>
- {first.readableId && <span>{first.readableId}</span>}
- <span className="text-xs text-muted-foreground">
- ×{group.members.length}
- </span>
- </HStack>
- </Td>
- {showExpirationColumn && (
- <Td>
- {earliestExpiration && (
- <span>
- <DateTime
- value={earliestExpiration}
- variant="date"
+ {storageUnitGroups.length === 0 && (
+ <p className="py-6 text-center text-sm text-muted-foreground">
+ {search.trim() ? (
+ <Trans>No storage units or tracking numbers match.</Trans>
+ ) : (
+ <Trans>No stock on hand at this location.</Trans>
+ )}
+ </p>
+ )}
+ <div className="text-sm">
+ {storageUnitGroups.map((unit) => {
+ const unitLabel = unit.name ?? (
+ <span className="text-muted-foreground">
+ <Trans>No storage unit</Trans>
+ </span>
+ );
+ const [onlyLot] = unit.lots;
+ // A bin holding one untracked row needs no lot rows under it.
+ const isSingleUntrackedRow =
+ unit.lots.length === 1 &&
+ onlyLot.members.length === 1 &&
+ !onlyLot.members[0].trackedEntityId;
+
+ return (
+ <div
+ key={unit.storageUnitId}
+ className="border-t py-1.5 first:border-t-0"
+ >
+ <div
+ className={cn(
+ rowClassName,
+ isSingleUntrackedRow && "hover:bg-muted/60"
+ )}
+ >
+ <span className="truncate font-medium">{unitLabel}</span>
+ {renderQuantity(unit.quantity, "font-medium")}
+ {isSingleUntrackedRow ? (
+ renderActions(onlyLot.members[0])
+ ) : (
+ // The unit sits beside the total so the digits stay in one column.
+ <span className="truncate text-xs text-muted-foreground">
+ {unitOfMeasureLabel}
+ </span>
+ )}
+ </div>
+ {!isSingleUntrackedRow &&
+ unit.lots.map((lot) => {
+ const first = lot.members[0];
+ if (lot.members.length === 1) {
+ return renderStockRow(first, lot.key, "pl-7");
+ }
+ const isExpanded = expandedGroupKeys.has(lot.key);
+ const earliestExpiration = lot.members
+ .map((m) =>
+ m.trackedEntityId
+ ? trackedEntityExpirations[m.trackedEntityId]
+ : null
+ )
+ .filter((d): d is string => Boolean(d))
+ .sort()[0];
+ return (
+ <Fragment key={lot.key}>
+ <div className={rowClassName}>
+ <div className="flex min-w-0 items-center">
+ {/* The chevron sits in the gutter the other lots leave empty. */}
+ <IconButton
+ aria-label={
+ isExpanded ? t`Collapse` : t`Expand`
+ }
+ aria-expanded={isExpanded}
+ variant="ghost"
+ size="sm"
+ className="-ml-0.5 mr-0.5 size-7 shrink-0"
+ icon={
+ isExpanded ? (
+ <LuChevronDown />
+ ) : (
+ <LuChevronRight />
+ )
+ }
+ onClick={() => toggleGroup(lot.key)}
/>
- </span>
- )}
- </Td>
- )}
- <Td className="flex flex-shrink-0 justify-end items-center" />
- </Tr>
- {isExpanded &&
- group.members.map((item, index) =>
- renderStorageUnitRow(item, `${group.key}:${index}`)
- )}
- </Fragment>
- );
- })}
- </Tbody>
- </Table>
+ {renderTracking(first, earliestExpiration)}
+ <span className="ml-2 shrink-0 text-xs text-muted-foreground">
+ ×{lot.members.length}
+ </span>
+ </div>
+ {renderQuantity(lot.quantity)}
+ <span />
+ </div>
+ {isExpanded &&
+ lot.members.map((item, index) =>
+ renderStockRow(
+ item,
+ `${lot.key}:${index}`,
+ "pl-14"
+ )
+ )}
+ </Fragment>
+ );
+ })}
+ </div>
+ );
+ })}
+ </div>
</CardContent>
</Card>
{adjustmentModal.isOpen && (
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 4547e29b3c..3ca770baa1 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -12175,12 +12175,18 @@ msgstr "Kein Bestand"
msgid "No stock at this location"
msgstr "Kein Bestand an diesem Ort"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "Kein Fehlbestand für die nächsten 48 Wochen erwartet"
msgid "No storage unit"
msgstr "Keine Lagereinheit"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Noch keine Lieferanten"
@@ -16128,6 +16134,9 @@ msgstr "Datensätze durchsuchen…"
msgid "Search related items..."
msgstr "Nach verwandten Elementen suchen..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "Lieferanten durchsuchen..."
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index acf5bd8428..eec6a62ceb 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -12175,12 +12175,18 @@ msgstr "No stock"
msgid "No stock at this location"
msgstr "No stock at this location"
+msgid "No stock on hand at this location."
+msgstr "No stock on hand at this location."
+
msgid "No stockout projected in the next 48 weeks"
msgstr "No stockout projected in the next 48 weeks"
msgid "No storage unit"
msgstr "No storage unit"
+msgid "No storage units or tracking numbers match."
+msgstr "No storage units or tracking numbers match."
+
msgid "No suppliers yet"
msgstr "No suppliers yet"
@@ -16128,6 +16134,9 @@ msgstr "Search records…"
msgid "Search related items..."
msgstr "Search related items..."
+msgid "Search storage units and tracking numbers"
+msgstr "Search storage units and tracking numbers"
+
msgid "Search suppliers..."
msgstr "Search suppliers..."
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index cb164b6048..7d9db133c5 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -12175,12 +12175,18 @@ msgstr "Sin stock"
msgid "No stock at this location"
msgstr "Sin stock en esta ubicación"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "Sin proyección de rotura de stock en las próximas 48 semanas"
msgid "No storage unit"
msgstr "Sin unidad de almacenamiento"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Sin proveedores aún"
@@ -16128,6 +16134,9 @@ msgstr "Buscar registros…"
msgid "Search related items..."
msgstr "Buscar elementos relacionados..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "Buscar proveedores..."
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index d455d0a7f0..78a21e81d3 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -12175,12 +12175,18 @@ msgstr "Aucun stock"
msgid "No stock at this location"
msgstr "Pas de stock à cet endroit"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "Aucune rupture de stock prévue au cours des 48 prochaines semaines"
msgid "No storage unit"
msgstr "Aucune unité de stockage"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Aucun fournisseur pour le moment"
@@ -16128,6 +16134,9 @@ msgstr "Rechercher des enregistrements…"
msgid "Search related items..."
msgstr "Rechercher les articles associés..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "Rechercher des fournisseurs..."
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index 3bccc58868..cb5f4b5910 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -12175,12 +12175,18 @@ msgstr "स्टॉक नहीं"
msgid "No stock at this location"
msgstr "इस स्थान पर कोई स्टॉक नहीं"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "अगले 48 सप्ताह में कोई स्टॉकआउट प्रक्षेपित नहीं है"
msgid "No storage unit"
msgstr "कोई भंडारण इकाई नहीं"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "अभी तक कोई आपूर्तिकर्ता नहीं"
@@ -16128,6 +16134,9 @@ msgstr "रिकॉर्ड खोजें…"
msgid "Search related items..."
msgstr "संबंधित आइटम खोजें..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "आपूर्तिकर्ताओं को खोजें..."
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index efb737843a..e9944def61 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -12175,12 +12175,18 @@ msgstr "Nessun stock"
msgid "No stock at this location"
msgstr "Nessuno stock in questa posizione"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "Nessuna rottura di stock prevista nei prossimi 48 settimane"
msgid "No storage unit"
msgstr "Nessuna unità di stoccaggio"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Nessun fornitore ancora"
@@ -16128,6 +16134,9 @@ msgstr "Cerca record…"
msgid "Search related items..."
msgstr "Cerca elementi correlati..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "Cerca fornitori..."
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index 1ca7d1fab0..f994da97de 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -12175,12 +12175,18 @@ msgstr "在庫なし"
msgid "No stock at this location"
msgstr "この場所には在庫がありません"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "今後48週間に欠品は予測されていません"
msgid "No storage unit"
msgstr "保管ユニットがありません"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "仕入先がまだありません"
@@ -16128,6 +16134,9 @@ msgstr "レコードを検索…"
msgid "Search related items..."
msgstr "関連アイテムを検索..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "仕入先を検索..."
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index cdc1d94e53..b565633448 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -12175,12 +12175,18 @@ msgstr "재고 없음"
msgid "No stock at this location"
msgstr "이 위치에 재고가 없습니다"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "향후 48주 내에 재고 부족이 예상되지 않습니다."
msgid "No storage unit"
msgstr "보관 단위가 없습니다."
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "아직 공급업체가 없습니다"
@@ -16128,6 +16134,9 @@ msgstr "기록 검색…"
msgid "Search related items..."
msgstr "관련 품목 검색..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "공급업체 검색..."
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index 3e398793d7..03c1e30f3c 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -12175,12 +12175,18 @@ msgstr "Brak zapasu"
msgid "No stock at this location"
msgstr "Brak magazynu w tej lokalizacji"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "Brak prognozowanego braku zapasów w ciągu następnych 48 tygodni"
msgid "No storage unit"
msgstr "Brak jednostki magazynowania"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Brak dostawców"
@@ -16128,6 +16134,9 @@ msgstr "Wyszukaj rekordy…"
msgid "Search related items..."
msgstr "Szukaj powiązanych elementów..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "Szukaj dostawców..."
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index 50e74ec25b..68c737bda1 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -12175,12 +12175,18 @@ msgstr "Sem stock"
msgid "No stock at this location"
msgstr "Sem estoque neste local"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "Sem ruptura de estoque projetada nas próximas 48 semanas"
msgid "No storage unit"
msgstr "Sem unidade de armazenamento"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Nenhum fornecedor ainda"
@@ -16128,6 +16134,9 @@ msgstr "Pesquisar registros…"
msgid "Search related items..."
msgstr "Pesquisar itens relacionados..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "Pesquisar fornecedores..."
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index c2e8b4843e..9deed81b4c 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -12175,12 +12175,18 @@ msgstr "Нет запасов"
msgid "No stock at this location"
msgstr "Нет запасов в этом месте"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "Отсутствие дефицита запасов не прогнозируется в течение следующих 48 недель"
msgid "No storage unit"
msgstr "Нет единицы хранения"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Поставщиков еще нет"
@@ -16128,6 +16134,9 @@ msgstr "Поиск записей…"
msgid "Search related items..."
msgstr "Поиск связанных элементов..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "Поиск поставщиков..."
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index 94c1902f73..873583cef7 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -12175,12 +12175,18 @@ msgstr "Stok yok"
msgid "No stock at this location"
msgstr "Bu konumda stok yok"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "Sonraki 48 hafta içinde stoksuzluk öngörülmedi"
msgid "No storage unit"
msgstr "Depolama birimi yok"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Henüz tedarikçi yok"
@@ -16128,6 +16134,9 @@ msgstr "Kayıtları ara…"
msgid "Search related items..."
msgstr "İlgili öğeleri ara..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "Tedarikçileri ara..."
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index e6222a5715..7d6a79190e 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -12175,12 +12175,18 @@ msgstr "无库存"
msgid "No stock at this location"
msgstr "此位置没有库存"
+msgid "No stock on hand at this location."
+msgstr ""
+
msgid "No stockout projected in the next 48 weeks"
msgstr "未来 48 周内没有预计缺货"
msgid "No storage unit"
msgstr "无存储单元"
+msgid "No storage units or tracking numbers match."
+msgstr ""
+
msgid "No suppliers yet"
msgstr "还没有供应商"
@@ -16128,6 +16134,9 @@ msgstr "搜索记录…"
msgid "Search related items..."
msgstr "搜索相关物料..."
+msgid "Search storage units and tracking numbers"
+msgstr ""
+
msgid "Search suppliers..."
msgstr "搜索供应商..."