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: enhance ItemPlanningChart with safety stock tracking and improved axis labeling (#934)

Naveen Kashyap304cfb5fc956
diff --git a/apps/erp/app/modules/items/ui/Item/ItemPlanningChart.tsx b/apps/erp/app/modules/items/ui/Item/ItemPlanningChart.tsx
index c6b9e33a8a..aef67cb24d 100644
--- a/apps/erp/app/modules/items/ui/Item/ItemPlanningChart.tsx
+++ b/apps/erp/app/modules/items/ui/Item/ItemPlanningChart.tsx
@@ -13,29 +13,31 @@ import {
TabsContent,
TabsList,
TabsTrigger,
+ Tooltip,
+ TooltipContent,
+ TooltipTrigger,
useMount,
VStack
} from "@carbon/react";
import type { ChartConfig } from "@carbon/react/Chart";
-import {
- ChartContainer,
- ChartTooltip,
- ChartTooltipContent
-} from "@carbon/react/Chart";
+import { ChartContainer, ChartLegend, ChartTooltip } from "@carbon/react/Chart";
import { getLocalTimeZone, parseDate } from "@internationalized/date";
import { Trans, useLingui } from "@lingui/react/macro";
import { useDateFormatter, useNumberFormatter } from "@react-aria/i18n";
-import { useMemo, useState } from "react";
+import { type CSSProperties, useMemo, useState } from "react";
import {
LuChartLine,
+ LuCircleCheck,
LuClipboardList,
LuCrown,
LuFactory,
+ LuInfo,
LuMoveDown,
LuMoveUp,
LuSearch,
- LuShoppingCart
+ LuShoppingCart,
+ LuTriangleAlert
} from "react-icons/lu";
import { useFetcher } from "react-router";
import {
@@ -43,7 +45,8 @@ import {
Bar,
CartesianGrid,
ComposedChart,
- Legend,
+ ReferenceArea,
+ ReferenceDot,
ReferenceLine,
XAxis,
YAxis
@@ -78,7 +81,65 @@ interface ChartDataPoint {
"Demand Forecast": number;
}
-const chartConfig = {} satisfies ChartConfig;
+// Single source of truth for series colors. Theme-aware (CSS vars) so the chart
+// adapts to light/dark and the active theme. The diverging convention is:
+// supply pushes inventory UP (cool), demand pulls it DOWN (warm). The same
+// mapping is reused by the summary cards and the supply/demand list below, so a
+// color never means "supply" in one place and "demand" two inches away.
+const chartColors = {
+ supply: "hsl(var(--success))",
+ planned: "hsl(var(--chart-2))",
+ demand: "hsl(var(--destructive))",
+ demandForecast: "hsl(var(--chart-5))",
+ projection: "hsl(var(--primary))",
+ // Violet theme token (--chart-6, light/dark variants in tailwind.css): kept out
+ // of the warm family so the safety-stock threshold is easy to read and never
+ // confused with the orange Demand Forecast bars (--chart-5).
+ safety: "hsl(var(--chart-6))",
+ zero: "hsl(var(--muted-foreground))"
+} as const;
+
+// Round a value to a "nice" number (1/2/5 × 10^n) so axis steps land on
+// human-friendly intervals instead of arbitrary fractions of the data range.
+function niceNum(value: number, round: boolean) {
+ const exponent = Math.floor(Math.log10(value));
+ const fraction = value / 10 ** exponent;
+ let niceFraction: number;
+ if (round) {
+ if (fraction < 1.5) niceFraction = 1;
+ else if (fraction < 3) niceFraction = 2;
+ else if (fraction < 7) niceFraction = 5;
+ else niceFraction = 10;
+ } else {
+ if (fraction <= 1) niceFraction = 1;
+ else if (fraction <= 2) niceFraction = 2;
+ else if (fraction <= 5) niceFraction = 5;
+ else niceFraction = 10;
+ }
+ return niceFraction * 10 ** exponent;
+}
+
+// Build evenly-spaced, round Y-axis ticks (and matching domain bounds) that
+// cover [min,max] and always include 0. Steps are >=1 since quantities are whole.
+function niceAxis(min: number, max: number, tickCount = 6) {
+ let lo = min;
+ let hi = max;
+ if (!Number.isFinite(lo) || !Number.isFinite(hi) || lo === hi) {
+ lo = Math.min(0, lo || 0);
+ hi = Math.max(1, hi || 1);
+ }
+ const step = Math.max(
+ 1,
+ niceNum((hi - lo) / Math.max(1, tickCount - 1), true)
+ );
+ const niceMin = Math.floor(lo / step) * step;
+ const niceMax = Math.ceil(hi / step) * step;
+ const ticks: number[] = [];
+ for (let v = niceMin; v <= niceMax + step / 2; v += step) {
+ ticks.push(Math.round(v));
+ }
+ return { niceMin, niceMax, ticks };
+}
export const ItemPlanningChart = ({
compact = false,
@@ -111,13 +172,24 @@ export const ItemPlanningChart = ({
forecastFetcher.load(path.to.api.itemForecast(itemId, locationId));
});
+ const hasSafetyStock = typeof safetyStock === "number" && safetyStock > 0;
+ const safetyStockValue = hasSafetyStock ? safetyStock : 0;
+
const chartData = useMemo(() => {
+ const empty = {
+ data: [] as ChartDataPoint[],
+ stockoutDate: null as string | null,
+ belowSafetyDate: null as string | null,
+ domainMin: 0,
+ domainMax: 0,
+ ticks: [] as number[]
+ };
if (
!forecastFetcher.data?.demand ||
!forecastFetcher.data?.periods ||
forecastFetcher.data.periods.length === 0
)
- return [];
+ return empty;
const periods = forecastFetcher.data.periods;
const demand = forecastFetcher.data.demand;
@@ -152,9 +224,15 @@ export const ItemPlanningChart = ({
new Date(p.endDate) >= new Date(order.dueDate ?? "")
)?.id;
- // If no period found or order date is before first period, use first period
+ // No exact period match. Clamp past-due / no-date orders to the first
+ // week (they affect near-term stock), but DROP orders due beyond the
+ // chart horizon — adding them to week 1 would inflate today's projection
+ // and could mask a near-term stockout.
if (!periodId || !order.dueDate) {
if (periods.length === 0) return;
+ const due = order.dueDate ? new Date(order.dueDate) : null;
+ const lastEnd = new Date(periods[periods.length - 1].endDate);
+ if (due && due > lastEnd) return;
periodId = periods[0].id;
}
@@ -217,23 +295,57 @@ export const ItemPlanningChart = ({
new Date(a.startDate).getTime() - new Date(b.startDate).getTime()
);
- return sortedData.map((period) => {
- // Add supply
- runningProjection +=
- period["Purchase Order"] +
- period["Production Order"] +
- // biome-ignore lint/complexity/useLiteralKeys: suppressed due to migration
- period["Planned"];
- // Subtract demand (all values are already negative)
- runningProjection +=
+ // Track the first period the projection breaches each threshold, plus the
+ // Y range, so the chart can highlight "when do we run short" and the axis
+ // can leave headroom around the line.
+ let stockoutDate: string | null = null;
+ let belowSafetyDate: string | null = null;
+ let domainMin = Math.min(0, currentQuantity);
+ let domainMax = Math.max(0, currentQuantity, safetyStockValue);
+
+ const data = sortedData.map((period) => {
+ // Add supply (positive), then subtract demand (already stored negative).
+ const supplyUp =
+ period["Purchase Order"] + period["Production Order"] + period.Planned;
+ const demandDown =
period["Sales Order"] +
period["Job Material"] +
period["Demand Forecast"];
- // Update projection
+ runningProjection += supplyUp + demandDown;
period.Projection = runningProjection;
+
+ if (stockoutDate === null && runningProjection < 0)
+ stockoutDate = period.startDate;
+ if (
+ belowSafetyDate === null &&
+ hasSafetyStock &&
+ runningProjection < safetyStockValue
+ )
+ belowSafetyDate = period.startDate;
+
+ domainMax = Math.max(domainMax, runningProjection, supplyUp);
+ domainMin = Math.min(domainMin, runningProjection, demandDown);
return period;
});
- }, [forecastFetcher.data, plannedOrders, conversionFactor]);
+
+ // Snap the axis to round, evenly-spaced ticks (0 always included) so the
+ // Y labels read cleanly instead of arbitrary fractions of the data range.
+ const { niceMin, niceMax, ticks } = niceAxis(domainMin, domainMax, 6);
+ return {
+ data,
+ stockoutDate,
+ belowSafetyDate,
+ domainMin: niceMin,
+ domainMax: niceMax,
+ ticks
+ };
+ }, [
+ forecastFetcher.data,
+ plannedOrders,
+ conversionFactor,
+ hasSafetyStock,
+ safetyStockValue
+ ]);
const combinedSupplyAndDemand = useMemo(() => {
let projectedQuantity = forecastFetcher.data?.quantityOnHand ?? 0;
@@ -345,6 +457,61 @@ export const ItemPlanningChart = ({
);
}, [forecastFetcher.data, searchTerm, plannedOrders, conversionFactor]);
+ // Drives the legend + tooltip labels. Colors come from `chartColors` so there
+ // is exactly one source of truth — the legend can never drift from the bars.
+ const chartConfig: ChartConfig = {
+ supply: { label: t`Supply`, color: chartColors.supply },
+ planned: { label: t`Planned`, color: chartColors.planned },
+ demand: { label: t`Demand`, color: chartColors.demand },
+ demandForecast: {
+ label: t`Demand Forecast`,
+ color: chartColors.demandForecast
+ },
+ projection: { label: t`Projected on hand`, color: chartColors.projection },
+ safety: { label: t`Safety stock`, color: chartColors.safety }
+ };
+
+ // Always render all 6 labels below the chart. The safety-stock line/band only
+ // draws when a value is set, but the legend entry stays for a consistent key.
+ const legendPayload = [
+ {
+ value: "projection",
+ dataKey: "projection",
+ type: "line" as const,
+ color: chartColors.projection
+ },
+ {
+ value: "safety",
+ dataKey: "safety",
+ type: "line" as const,
+ color: chartColors.safety
+ },
+ {
+ value: "supply",
+ dataKey: "supply",
+ type: "rect",
+ color: chartColors.supply
+ },
+ {
+ value: "planned",
+ dataKey: "planned",
+ type: "rect",
+ color: chartColors.planned
+ },
+ {
+ value: "demand",
+ dataKey: "demand",
+ type: "rect",
+ color: chartColors.demand
+ },
+ {
+ value: "demandForecast",
+ dataKey: "demandForecast",
+ type: "rect",
+ color: chartColors.demandForecast
+ }
+ ];
+
if (
(forecastFetcher.data?.periods?.length ?? 0) === 0 ||
(forecastFetcher.data?.demand.length === 0 &&
@@ -371,106 +538,217 @@ export const ItemPlanningChart = ({
<>
<Card className={cn(compact && "border-none p-0 dark:shadow-none")}>
<CardHeader>
- <CardTitle>
- <Trans>Projections</Trans>
- </CardTitle>
+ <div className="flex items-center gap-1.5">
+ <CardTitle>
+ <Trans>Projected inventory</Trans>
+ </CardTitle>
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <button
+ type="button"
+ aria-label={t`How to read this chart`}
+ className="text-muted-foreground transition-colors hover:text-foreground"
+ >
+ <LuInfo className="size-4" />
+ </button>
+ </TooltipTrigger>
+ <TooltipContent side="bottom" align="start" className="w-80 p-3">
+ <ChartHelpContent />
+ </TooltipContent>
+ </Tooltip>
+ </div>
+ {/* <CardDescription>
+ <Trans>
+ The line is projected on-hand over the next 48 weeks. Bars show each
+ week's supply (up) and demand (down).
+ </Trans>
+ </CardDescription> */}
</CardHeader>
<CardContent>
+ <PlanningStatusBanner
+ stockoutDate={chartData.stockoutDate}
+ belowSafetyDate={chartData.belowSafetyDate}
+ hasSafetyStock={hasSafetyStock}
+ />
<div className="w-full h-[360px]">
<Loading isLoading={isFetching}>
<ChartContainer config={chartConfig} className="w-full h-full">
- <ComposedChart data={chartData} stackOffset="sign">
+ <ComposedChart data={chartData.data} stackOffset="sign">
+ <defs>
+ <linearGradient
+ id="projectionFill"
+ x1="0"
+ y1="0"
+ x2="0"
+ y2="1"
+ >
+ <stop
+ offset="0%"
+ stopColor={chartColors.projection}
+ stopOpacity={0.18}
+ />
+ <stop
+ offset="100%"
+ stopColor={chartColors.projection}
+ stopOpacity={0.02}
+ />
+ </linearGradient>
+ </defs>
<CartesianGrid vertical={false} />
<XAxis
dataKey="startDate"
tickLine={false}
axisLine={false}
+ minTickGap={28}
+ interval="preserveStartEnd"
tickFormatter={(value) =>
dateFormatter.format(
parseDate(value).toDate(getLocalTimeZone())
)
}
/>
- <YAxis tickLine={false} axisLine={false} />
- <ReferenceLine y={0} stroke="#94a3b8" strokeDasharray="3 3" />
- {safetyStock && safetyStock > 0 && (
- <ReferenceLine
- y={safetyStock}
- stroke="#f43f5e"
- strokeDasharray="3 3"
- />
- )}
- <Legend
- payload={[
- { value: "Demand", type: "rect", color: "#14b8a6" },
- {
- value: "Demand Forecast",
- type: "rect",
- color: "#06b6d4"
- },
- { value: "Supply", type: "rect", color: "#2563eb" },
- { value: "Planned", type: "rect", color: "#4f46e5" },
- {
- value: "Projection",
- type: "line",
- color: "#7c3aed"
- },
- ...(safetyStock && safetyStock > 0
- ? [
- {
- value: "Safety Stock",
- type: "line" as const,
- color: "#f43f5e"
- }
- ]
- : [])
- ]}
- />
- <ChartTooltip
- content={
- <ChartTooltipContent
- labelFormatter={(value) =>
- `Week of ${dateFormatter.format(
- parseDate(value).toDate(getLocalTimeZone())
- )}`
- }
- />
- }
+ {/* Hidden point-scale axis: bars + dates stay on the band scale
+ (aligned with each other); the projection line + stockout dot
+ ride this so they run edge-to-edge (full width). */}
+ <XAxis
+ xAxisId="full"
+ dataKey="startDate"
+ type="category"
+ scale="point"
+ padding={{ left: 0, right: 0 }}
+ hide
/>
- <Area
- type="monotone"
- dataKey="Projection"
- strokeWidth={1}
- dot={false}
- stroke="#7c3aed"
- fill="#7c3aedcc"
- isAnimationActive={false}
+ <YAxis
+ tickLine={false}
+ axisLine={false}
+ width={48}
+ domain={[chartData.domainMin, chartData.domainMax]}
+ ticks={chartData.ticks}
+ allowDecimals={false}
+ label={{
+ value: t`Qty`,
+ angle: -90,
+ position: "insideLeft",
+ style: {
+ fill: "hsl(var(--muted-foreground))",
+ fontSize: 11
+ }
+ }}
/>
+ {/* Danger bands: red below zero (stockout), amber between zero
+ and safety stock (buffer). Background tint, behind series. */}
+ {chartData.domainMin < 0 && (
+ <ReferenceArea
+ y1={chartData.domainMin}
+ y2={0}
+ fill={chartColors.demand}
+ fillOpacity={0.06}
+ ifOverflow="hidden"
+ />
+ )}
+ {hasSafetyStock && (
+ <ReferenceArea
+ y1={0}
+ y2={safetyStockValue}
+ fill={chartColors.safety}
+ fillOpacity={0.06}
+ ifOverflow="hidden"
+ />
+ )}
{demandSourceTypes.map((sourceType) => (
<Bar
key={sourceType}
dataKey={sourceType}
stackId="stack"
- className="fill-teal-500"
+ fill={chartColors.demand}
+ fillOpacity={0.5}
/>
))}
<Bar
dataKey="Demand Forecast"
stackId="stack"
- className="fill-cyan-500"
+ fill={chartColors.demandForecast}
+ fillOpacity={0.5}
/>
{supplySourceTypes.map((sourceType) => (
<Bar
key={sourceType}
dataKey={sourceType}
stackId="stack"
- className="fill-blue-600"
+ fill={chartColors.supply}
+ fillOpacity={0.5}
/>
))}
<Bar
dataKey="Planned"
stackId="stack"
- className="fill-indigo-600"
+ fill={chartColors.planned}
+ fillOpacity={0.5}
+ />
+ {/* Hero: projected on-hand line. Rendered after the bars so it
+ sits on top; faint gradient instead of a flooded fill. */}
+ <Area
+ type="monotone"
+ dataKey="Projection"
+ xAxisId="full"
+ strokeWidth={2.5}
+ dot={false}
+ stroke={chartColors.projection}
+ fill="url(#projectionFill)"
+ isAnimationActive={false}
+ />
+ <ReferenceLine
+ y={0}
+ stroke={chartColors.zero}
+ strokeDasharray="3 3"
+ />
+ {hasSafetyStock && (
+ <ReferenceLine
+ y={safetyStockValue}
+ stroke={chartColors.safety}
+ strokeDasharray="4 4"
+ label={{
+ // Label + value together, inside the plot, so the number
+ // never collides with the Y-axis tick numbers.
+ value: t`Safety stock (${numberFormatter.format(safetyStockValue)})`,
+ position: "insideTopLeft",
+ fill: chartColors.safety,
+ fontSize: 11,
+ fontWeight: 600
+ }}
+ />
+ )}
+ {chartData.stockoutDate && (
+ <ReferenceDot
+ x={chartData.stockoutDate}
+ y={0}
+ xAxisId="full"
+ r={5}
+ fill={chartColors.demand}
+ stroke="hsl(var(--background))"
+ strokeWidth={2}
+ ifOverflow="extendDomain"
+ label={{
+ value: t`Stockout`,
+ position: "top",
+ fill: chartColors.demand,
+ fontSize: 11
+ }}
+ />
+ )}
+ <ChartTooltip
+ cursor={{ fill: "hsl(var(--muted) / 0.4)" }}
+ content={
+ <PlanningChartTooltip
+ safetyStock={
+ hasSafetyStock ? safetyStockValue : undefined
+ }
+ />
+ }
+ />
+ <ChartLegend
+ content={<PlanningChartLegend config={chartConfig} />}
+ payload={legendPayload as never}
/>
</ComposedChart>
</ChartContainer>
@@ -533,7 +811,10 @@ export const ItemPlanningChart = ({
0
) ?? 0
)}`}
- <LuMoveUp className="text-teal-500 text-lg" />
+ <LuMoveUp
+ className="text-lg"
+ style={{ color: chartColors.supply }}
+ />
</div>
</CardTitle>
</CardHeader>
@@ -557,7 +838,10 @@ export const ItemPlanningChart = ({
0
) ?? 0)
)}`}
- <LuMoveDown className="text-red-500 text-lg" />
+ <LuMoveDown
+ className="text-lg"
+ style={{ color: chartColors.demand }}
+ />
</div>
</CardTitle>
</CardHeader>
@@ -626,6 +910,323 @@ export const ItemPlanningChart = ({
);
};
+// Legend that distinguishes line series (Projected on hand, Safety stock) from
+// bar series with a line vs. square glyph, so "the line" maps to something.
+function PlanningChartLegend({
+ payload,
+ config
+}: {
+ payload?: Array<{ dataKey: string; type?: string; color?: string }>;
+ config: ChartConfig;
+}) {
+ if (!payload?.length) return null;
+ return (
+ <div className="flex flex-wrap items-center justify-center gap-x-4 gap-y-1 pt-3 text-xs text-muted-foreground">
+ {payload.map((item) => (
+ <div key={item.dataKey} className="flex items-center gap-1.5">
+ {item.type === "line" ? (
+ <span
+ className="h-[3px] w-3.5 shrink-0 rounded-full"
+ style={{ backgroundColor: item.color }}
+ />
+ ) : (
+ <span
+ className="size-2.5 shrink-0 rounded-[2px]"
+ style={{ backgroundColor: item.color }}
+ />
+ )}
+ <span>{config[item.dataKey]?.label}</span>
+ </div>
+ ))}
+ </div>
+ );
+}
+
+function ChartHelpContent() {
+ const { t } = useLingui();
+
+ const rows: {
+ color: string;
+ label: string;
+ description: string;
+ line?: boolean;
+ }[] = [
+ {
+ color: chartColors.projection,
+ label: t`Projected on hand`,
+ description: t`Running inventory after each week's supply and demand — the line.`,
+ line: true
+ },
+ {
+ color: chartColors.safety,
+ label: t`Safety stock`,
+ description: t`The dashed threshold you don't want inventory to fall below.`,
+ line: true
+ },
+ {
+ color: chartColors.supply,
+ label: t`Supply`,
+ description: t`Confirmed incoming stock — purchase & production orders (bars above zero).`
+ },
+ {
+ color: chartColors.planned,
+ label: t`Planned`,
+ description: t`Suggested orders you haven't placed yet.`
+ },
+ {
+ color: chartColors.demand,
+ label: t`Demand`,
+ description: t`Confirmed outgoing stock — sales orders & job materials (bars below zero).`
+ },
+ {
+ color: chartColors.demandForecast,
+ label: t`Demand Forecast`,
+ description: t`Projected demand exploded from BOMs and forecasts.`
+ }
+ ];
+
+ return (
+ <div className="flex flex-col gap-2.5">
+ <p className="text-xs text-muted-foreground">
+ <Trans>
+ Bars show each week's flow:{" "}
+ <span className="font-medium" style={{ color: chartColors.supply }}>
+ supply
+ </span>{" "}
+ pushes inventory up,{" "}
+ <span className="font-medium" style={{ color: chartColors.demand }}>
+ demand
+ </span>{" "}
+ pulls it down. The{" "}
+ <span
+ className="font-medium"
+ style={{ color: chartColors.projection }}
+ >
+ line
+ </span>{" "}
+ is your projected on-hand inventory — when it dips below{" "}
+ <span className="font-medium" style={{ color: chartColors.safety }}>
+ safety stock
+ </span>{" "}
+ you're at risk, and below zero is a{" "}
+ <span className="font-medium" style={{ color: chartColors.demand }}>
+ stockout
+ </span>
+ .
+ </Trans>
+ </p>
+ <div className="flex flex-col gap-1.5">
+ {rows.map((row) => (
+ <div key={row.label} className="flex items-start gap-2">
+ {row.line ? (
+ // line series → a short horizontal line glyph
+ <span
+ className="mt-[7px] h-[3px] w-3.5 shrink-0 rounded-full"
+ style={{ backgroundColor: row.color }}
+ />
+ ) : (
+ // bar series → a square swatch
+ <span
+ className="mt-[3px] size-2.5 shrink-0 rounded-[2px]"
+ style={{ backgroundColor: row.color }}
+ />
+ )}
+ <div className="flex flex-col leading-tight">
+ <span className="text-xs font-medium text-foreground">
+ {row.label}
+ </span>
+ <span className="text-xs text-muted-foreground">
+ {row.description}
+ </span>
+ </div>
+ </div>
+ ))}
+ </div>
+ </div>
+ );
+}
+
+function PlanningStatusBanner({
+ stockoutDate,
+ belowSafetyDate,
+ hasSafetyStock
+}: {
+ stockoutDate: string | null;
+ belowSafetyDate: string | null;
+ hasSafetyStock: boolean;
+}) {
+ const { t } = useLingui();
+ const dateFormatter = useDateFormatter({ month: "short", day: "numeric" });
+
+ const formatWeek = (date: string) =>
+ dateFormatter.format(parseDate(date).toDate(getLocalTimeZone()));
+
+ let tone: "danger" | "warning" | "success";
+ let icon: JSX.Element;
+ let message: string;
+
+ if (stockoutDate) {
+ tone = "danger";
+ icon = <LuTriangleAlert className="size-4 shrink-0" />;
+ message = t`Projected stockout the week of ${formatWeek(stockoutDate)}`;
+ } else if (belowSafetyDate) {
+ tone = "warning";
+ icon = <LuTriangleAlert className="size-4 shrink-0" />;
+ message = t`Projected to drop below safety stock the week of ${formatWeek(belowSafetyDate)}`;
+ } else {
+ tone = "success";
+ icon = <LuCircleCheck className="size-4 shrink-0" />;
+ message = hasSafetyStock
+ ? t`Projected to stay above safety stock`
+ : t`No stockout projected in the next 48 weeks`;
+ }
+
+ const color =
+ tone === "danger"
+ ? chartColors.demand
+ : tone === "warning"
+ ? chartColors.safety
+ : chartColors.supply;
+ const backgroundColor =
+ tone === "danger"
+ ? "hsl(var(--destructive) / 0.08)"
+ : tone === "warning"
+ ? "hsl(var(--chart-6) / 0.12)"
+ : "hsl(var(--success) / 0.08)";
+
+ return (
+ <div
+ className="mb-4 flex items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium"
+ style={{ color, backgroundColor }}
+ >
+ {icon}
+ <span className="text-pretty">{message}</span>
+ </div>
+ );
+}
+
+function TooltipRow({
+ color,
+ label,
+ value,
+ valueStyle,
+ bold
+}: {
+ color: string;
+ label: string;
+ value: string;
+ valueStyle?: CSSProperties;
+ bold?: boolean;
+}) {
+ return (
+ <div className="flex items-center justify-between gap-4">
+ <div className="flex items-center gap-1.5 text-muted-foreground">
+ <span
+ className="size-2 shrink-0 rounded-[2px]"
+ style={{ backgroundColor: color }}
+ />
+ <span>{label}</span>
+ </div>
+ <span
+ className={cn("tabular-nums", bold && "font-medium text-foreground")}
+ style={valueStyle}
+ >
+ {value}
+ </span>
+ </div>
+ );
+}
+
+function PlanningChartTooltip({
+ active,
+ payload,
+ safetyStock
+}: {
+ active?: boolean;
+ payload?: Array<{ payload: ChartDataPoint }>;
+ safetyStock?: number;
+}) {
+ const { t } = useLingui();
+ const dateFormatter = useDateFormatter({ month: "short", day: "numeric" });
+ const numberFormatter = useNumberFormatter();
+
+ if (!active || !payload?.length) return null;
+
+ const d = payload[0].payload;
+ // Mirror the four series the chart draws — keep Demand Forecast distinct from
+ // actual Demand, and Planned distinct from confirmed Supply.
+ const supply = d["Purchase Order"] + d["Production Order"];
+ const planned = d.Planned;
+ // Demand keys are stored negative; flip to a positive magnitude for display.
+ const demand = -(d["Sales Order"] + d["Job Material"]);
+ const demandForecast = -d["Demand Forecast"];
+ const projection = d.Projection;
+ const isStockout = projection < 0;
+ const isBelowSafety =
+ !isStockout && typeof safetyStock === "number" && projection < safetyStock;
+ const projectionColor = isStockout
+ ? chartColors.demand
+ : isBelowSafety
+ ? chartColors.safety
+ : chartColors.projection;
+
+ return (
+ <div className="min-w-[13rem] rounded-lg border border-border/50 bg-background px-3 py-2 text-xs shadow-xl">
+ <div className="font-medium mb-2">
+ {t`Week of ${dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))}`}
+ </div>
+ <div className="grid gap-1.5">
+ <TooltipRow
+ color={chartColors.projection}
+ label={t`Projected on hand`}
+ value={numberFormatter.format(projection)}
+ valueStyle={{ color: projectionColor }}
+ bold
+ />
+ {supply !== 0 && (
+ <TooltipRow
+ color={chartColors.supply}
+ label={t`Supply`}
+ value={`+${numberFormatter.format(supply)}`}
+ />
+ )}
+ {planned !== 0 && (
+ <TooltipRow
+ color={chartColors.planned}
+ label={t`Planned`}
+ value={`+${numberFormatter.format(planned)}`}
+ />
+ )}
+ {demand !== 0 && (
+ <TooltipRow
+ color={chartColors.demand}
+ label={t`Demand`}
+ value={`−${numberFormatter.format(demand)}`}
+ />
+ )}
+ {demandForecast !== 0 && (
+ <TooltipRow
+ color={chartColors.demandForecast}
+ label={t`Demand Forecast`}
+ value={`−${numberFormatter.format(demandForecast)}`}
+ />
+ )}
+ </div>
+ {(isStockout || isBelowSafety) && (
+ <div
+ className="mt-2 flex items-center gap-1.5 font-medium"
+ style={{
+ color: isStockout ? chartColors.demand : chartColors.safety
+ }}
+ >
+ <LuTriangleAlert className="size-3.5" />
+ {isStockout ? t`Stockout` : t`Below safety stock`}
+ </div>
+ )}
+ </div>
+ );
+}
+
interface PlanningItem {
sourceType: SourceType;
id: string | null;
@@ -647,12 +1248,27 @@ interface PlanningItem {
}
const sourceTypeIcons: Record<SourceType, JSX.Element> = {
- "Sales Order": <LuCrown className="size-4 text-teal-500" />,
- "Job Material": <LuClipboardList className="size-4 text-teal-500" />,
- "Purchase Order": <LuShoppingCart className="size-4 text-blue-600" />,
- "Production Order": <LuFactory className="size-4 text-blue-600" />,
- Planned: <LuMoveUp className="size-4 text-indigo-600" />,
- "Demand Forecast": <LuChartLine className="size-4 text-cyan-500" />
+ "Sales Order": (
+ <LuCrown className="size-4" style={{ color: chartColors.demand }} />
+ ),
+ "Job Material": (
+ <LuClipboardList className="size-4" style={{ color: chartColors.demand }} />
+ ),
+ "Purchase Order": (
+ <LuShoppingCart className="size-4" style={{ color: chartColors.supply }} />
+ ),
+ "Production Order": (
+ <LuFactory className="size-4" style={{ color: chartColors.supply }} />
+ ),
+ Planned: (
+ <LuMoveUp className="size-4" style={{ color: chartColors.planned }} />
+ ),
+ "Demand Forecast": (
+ <LuChartLine
+ className="size-4"
+ style={{ color: chartColors.demandForecast }}
+ />
+ )
};
function SupplyDemandPlanningHeader() {
@@ -735,16 +1351,19 @@ function SupplyDemandPlanningItem({
{item.sourceType === "Sales Order" ||
item.sourceType === "Job Material" ||
item.sourceType === "Demand Forecast" ? (
- <LuMoveDown className="text-red-500" />
+ <LuMoveDown style={{ color: chartColors.demand }} />
) : (
- <LuMoveUp className="text-teal-500" />
+ <LuMoveUp style={{ color: chartColors.supply }} />
)}
</div>
</HStack>
</HStack>
<span
- className={cn("text-sm", item.projectedQuantity < 0 && "text-red-500")}
+ className="text-sm tabular-nums"
+ style={
+ item.projectedQuantity < 0 ? { color: chartColors.demand } : undefined
+ }
>
{numberFormatter.format(item.projectedQuantity)}
</span>
diff --git a/apps/erp/app/styles/tailwind.css b/apps/erp/app/styles/tailwind.css
index a863189da9..775e375de9 100644
--- a/apps/erp/app/styles/tailwind.css
+++ b/apps/erp/app/styles/tailwind.css
@@ -63,6 +63,7 @@ html.mode-transitioning *::after {
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
+ --chart-6: 262 83% 58%;
--success: 142 70% 45%;
--success-foreground: 0 0% 98%;
@@ -101,6 +102,8 @@ html.mode-transitioning *::after {
--chart-3: 30 80% 55%;
--chart-4: 280 65% 60%;
--chart-5: 340 75% 55%;
+ /* violet — safety-stock threshold (brighter for contrast on dark bg) */
+ --chart-6: 262 90% 74%;
--success: 142 70% 45%;
--success-foreground: 0 0% 98%;
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 586a3b810c..29969c699e 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -1095,6 +1095,9 @@ msgstr "Bilanz"
msgid "Balloon"
msgstr "Ballon"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "Basiswährung"
@@ -1125,6 +1128,9 @@ msgstr "Chargengröße"
msgid "Batch Tracking"
msgstr "Chargenverfolgung"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "Beta"
@@ -1614,6 +1620,12 @@ msgstr "Import bestätigen"
msgid "Confirm Password"
msgstr "Passwort bestätigen"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Verbinden Sie Carbon mit Ihren Buchhaltungs-, Projektmanagement- und CAD-Tools und vielem mehr."
@@ -3959,6 +3971,9 @@ msgstr "Wie der aufgelöste Preis berechnet wurde."
msgid "How this price was calculated"
msgstr "Wie dieser Preis berechnet wurde"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "Luftfeuchtigkeit"
@@ -5471,6 +5486,9 @@ msgstr "Keine Sortierungen auf diese Ansicht angewendet"
msgid "No stock"
msgstr "Kein Bestand"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Noch keine Lieferanten"
@@ -5969,6 +5987,9 @@ msgstr "Plan"
msgid "Plan Type"
msgstr "Plantyp"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "Geplantes Ende"
@@ -6220,9 +6241,29 @@ msgstr "Fortschritt"
msgid "Project"
msgstr "Projekt"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "Geplanter Bestand"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "Projektion"
@@ -6869,6 +6910,9 @@ msgstr "Regeln"
msgid "Run Test"
msgstr "Test ausführen"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "Laufender Gesamtbetrag"
@@ -6878,6 +6922,10 @@ msgstr "Sicherheitsbestand"
msgid "Safety Stock"
msgstr "Sicherheitsbestand"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "Sicherheitsbestand:"
@@ -7681,6 +7729,9 @@ msgstr "Bestandsübertragungs-Assistent"
msgid "Stock Transfers"
msgstr "Bestandsübertragungen"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "Speicherclient nicht verfügbar"
@@ -7759,6 +7810,9 @@ msgstr "Neue Revision erfolgreich erstellt"
msgid "Suffix"
msgstr "Suffix"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "Vorschlag"
@@ -7988,6 +8042,9 @@ msgstr "Die Anzahl der Tage nach der Berechnungsmethode, für die der Skonto ver
msgid "The amount of days after the calculation method that the payment is due"
msgstr "Die Anzahl der Tage nach der Berechnungsmethode, bis die Zahlung fällig ist"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "Das Datum, an dem der Kunde die Waren erhalten soll"
@@ -8877,6 +8934,10 @@ msgstr "Website"
msgid "Wednesday"
msgstr "Mittwoch"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "Wochen offen"
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index 7d0231dd29..0c45ef780d 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -1095,6 +1095,9 @@ msgstr "Balance Sheet"
msgid "Balloon"
msgstr "Balloon"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+
msgid "Base Currency"
msgstr "Base Currency"
@@ -1125,6 +1128,9 @@ msgstr "Batch Size"
msgid "Batch Tracking"
msgstr "Batch Tracking"
+msgid "Below safety stock"
+msgstr "Below safety stock"
+
msgid "Beta"
msgstr "Beta"
@@ -1614,6 +1620,12 @@ msgstr "Confirm Import"
msgid "Confirm Password"
msgstr "Confirm Password"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr "Confirmed incoming stock — purchase & production orders (bars above zero)."
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Connect Carbon to your accounting, project management, and CAD tools and much more."
@@ -3959,6 +3971,9 @@ msgstr "How the resolved price was calculated."
msgid "How this price was calculated"
msgstr "How this price was calculated"
+msgid "How to read this chart"
+msgstr "How to read this chart"
+
msgid "Humidity"
msgstr "Humidity"
@@ -5471,6 +5486,9 @@ msgstr "No sorts applied to this view"
msgid "No stock"
msgstr "No stock"
+msgid "No stockout projected in the next 48 weeks"
+msgstr "No stockout projected in the next 48 weeks"
+
msgid "No suppliers yet"
msgstr "No suppliers yet"
@@ -5969,6 +5987,9 @@ msgstr "Plan"
msgid "Plan Type"
msgstr "Plan Type"
+msgid "Planned"
+msgstr "Planned"
+
msgid "Planned End"
msgstr "Planned End"
@@ -6220,9 +6241,29 @@ msgstr "Progress"
msgid "Project"
msgstr "Project"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr "Projected demand exploded from BOMs and forecasts."
+
+msgid "Projected inventory"
+msgstr "Projected inventory"
+
+msgid "Projected on hand"
+msgstr "Projected on hand"
+
msgid "Projected stock"
msgstr "Projected stock"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr "Projected stockout the week of {0}"
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr "Projected to drop below safety stock the week of {0}"
+
+msgid "Projected to stay above safety stock"
+msgstr "Projected to stay above safety stock"
+
msgid "Projection"
msgstr "Projection"
@@ -6869,6 +6910,9 @@ msgstr "Rules"
msgid "Run Test"
msgstr "Run Test"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr "Running inventory after each week's supply and demand — the line."
+
msgid "Running Total"
msgstr "Running Total"
@@ -6878,6 +6922,10 @@ msgstr "Safety stock"
msgid "Safety Stock"
msgstr "Safety Stock"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr "Safety stock ({0})"
+
msgid "Safety Stock:"
msgstr "Safety Stock:"
@@ -7681,6 +7729,9 @@ msgstr "Stock Transfer Wizard"
msgid "Stock Transfers"
msgstr "Stock Transfers"
+msgid "Stockout"
+msgstr "Stockout"
+
msgid "Storage client not available"
msgstr "Storage client not available"
@@ -7759,6 +7810,9 @@ msgstr "Successfully created a new revision"
msgid "Suffix"
msgstr "Suffix"
+msgid "Suggested orders you haven't placed yet."
+msgstr "Suggested orders you haven't placed yet."
+
msgid "Suggestion"
msgstr "Suggestion"
@@ -7988,6 +8042,9 @@ msgstr "The amount of days after the calculation method that the cash discount i
msgid "The amount of days after the calculation method that the payment is due"
msgstr "The amount of days after the calculation method that the payment is due"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr "The dashed threshold you don't want inventory to fall below."
+
msgid "The date the customer expects to receive the goods"
msgstr "The date the customer expects to receive the goods"
@@ -8877,6 +8934,10 @@ msgstr "Website"
msgid "Wednesday"
msgstr "Wednesday"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr "Week of {0}"
+
msgid "Weeks Open"
msgstr "Weeks Open"
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index 785fc01ff7..00d37f4d98 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -1095,6 +1095,9 @@ msgstr "Balance General"
msgid "Balloon"
msgstr "Globo"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "Moneda Base"
@@ -1125,6 +1128,9 @@ msgstr "Tamaño de Lote"
msgid "Batch Tracking"
msgstr "Seguimiento de Lotes"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "Beta"
@@ -1614,6 +1620,12 @@ msgstr "Confirmar importación"
msgid "Confirm Password"
msgstr "Confirmar Contraseña"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Conecta Carbon a tus herramientas de contabilidad, gestión de proyectos, CAD y mucho más."
@@ -3959,6 +3971,9 @@ msgstr "Cómo se calculó el precio resuelto."
msgid "How this price was calculated"
msgstr "Cómo se calculó este precio"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "Humedad"
@@ -5471,6 +5486,9 @@ msgstr "No hay ordenamientos aplicados a esta vista"
msgid "No stock"
msgstr "Sin stock"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Sin proveedores aún"
@@ -5969,6 +5987,9 @@ msgstr "Plan"
msgid "Plan Type"
msgstr "Tipo de Plan"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "Fin Planificada"
@@ -6220,9 +6241,29 @@ msgstr "Progreso"
msgid "Project"
msgstr "Proyecto"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "Stock proyectado"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "Proyección"
@@ -6869,6 +6910,9 @@ msgstr "Reglas"
msgid "Run Test"
msgstr "Ejecutar Prueba"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "Total Acumulado"
@@ -6878,6 +6922,10 @@ msgstr "Stock de seguridad"
msgid "Safety Stock"
msgstr "Stock de Seguridad"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "Stock de Seguridad:"
@@ -7681,6 +7729,9 @@ msgstr "Asistente de Transferencia de Inventario"
msgid "Stock Transfers"
msgstr "Transferencias de Inventario"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "Cliente de almacenamiento no disponible"
@@ -7759,6 +7810,9 @@ msgstr "Se creó exitosamente una nueva revisión"
msgid "Suffix"
msgstr "Sufijo"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "Sugerencia"
@@ -7988,6 +8042,9 @@ msgstr "La cantidad de días después del método de cálculo en que el descuent
msgid "The amount of days after the calculation method that the payment is due"
msgstr "La cantidad de días después del método de cálculo en que vence el pago"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "La fecha en que el cliente espera recibir los bienes"
@@ -8877,6 +8934,10 @@ msgstr "Sitio web"
msgid "Wednesday"
msgstr "Miércoles"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "Semanas Abiertas"
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index 2ee25d11c0..2711b68dd3 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -1095,6 +1095,9 @@ msgstr "Bilan"
msgid "Balloon"
msgstr "Ballon"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "Devise de base"
@@ -1125,6 +1128,9 @@ msgstr "Taille de lot"
msgid "Batch Tracking"
msgstr "Suivi par lot"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "Bêta"
@@ -1614,6 +1620,12 @@ msgstr "Confirmer l'importation"
msgid "Confirm Password"
msgstr "Confirmer le mot de passe"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Connectez Carbon à vos outils de comptabilité, de gestion de projet, de CAO et bien d'autres."
@@ -3959,6 +3971,9 @@ msgstr "Comment le prix résolu a été calculé."
msgid "How this price was calculated"
msgstr "Comment ce prix a été calculé"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "Humidité"
@@ -5471,6 +5486,9 @@ msgstr "Aucun tri appliqué à cette vue"
msgid "No stock"
msgstr "Aucun stock"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Aucun fournisseur pour le moment"
@@ -5969,6 +5987,9 @@ msgstr "Plan"
msgid "Plan Type"
msgstr "Type de plan"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "Fin prévue"
@@ -6220,9 +6241,29 @@ msgstr "Progression"
msgid "Project"
msgstr "Projet"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "Stock projeté"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "Projection"
@@ -6869,6 +6910,9 @@ msgstr "Règles"
msgid "Run Test"
msgstr "Exécuter le test"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "Total cumulé"
@@ -6878,6 +6922,10 @@ msgstr "Stock de sécurité"
msgid "Safety Stock"
msgstr "Stock de sécurité"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "Stock de sécurité :"
@@ -7681,6 +7729,9 @@ msgstr "Assistant de transfert de stock"
msgid "Stock Transfers"
msgstr "Transferts de Stock"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "Client de stockage non disponible"
@@ -7759,6 +7810,9 @@ msgstr "Révision créée avec succès"
msgid "Suffix"
msgstr "Suffixe"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "Suggestion"
@@ -7988,6 +8042,9 @@ msgstr "Le nombre de jours après la méthode de calcul pendant lesquels la remi
msgid "The amount of days after the calculation method that the payment is due"
msgstr "Le nombre de jours après la méthode de calcul que le paiement est dû"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "La date à laquelle le client s'attend à recevoir les marchandises"
@@ -8877,6 +8934,10 @@ msgstr "Site web"
msgid "Wednesday"
msgstr "Mercredi"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "Semaines ouvertes"
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index 7fcfb9be87..afbd8df94a 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -1095,6 +1095,9 @@ msgstr "बैलेंस शीट"
msgid "Balloon"
msgstr "गुब्बारा"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "आधार मुद्रा"
@@ -1125,6 +1128,9 @@ msgstr "बैच आकार"
msgid "Batch Tracking"
msgstr "बैच ट्रैकिंग"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "बीटा"
@@ -1614,6 +1620,12 @@ msgstr "आयात की पुष्टि करें"
msgid "Confirm Password"
msgstr "पासवर्ड की पुष्टि करें"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Carbon को अपने लेखांकन, परियोजना प्रबंधन, और CAD उपकरणों और बहुत कुछ से जोड़ें।"
@@ -3959,6 +3971,9 @@ msgstr "हल की गई कीमत की गणना कैसे क
msgid "How this price was calculated"
msgstr "इस कीमत की गणना कैसे की गई"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "आर्द्रता"
@@ -5471,6 +5486,9 @@ msgstr "इस दृश्य पर कोई सॉर्ट लागू न
msgid "No stock"
msgstr "स्टॉक नहीं"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "अभी तक कोई आपूर्तिकर्ता नहीं"
@@ -5969,6 +5987,9 @@ msgstr "योजना"
msgid "Plan Type"
msgstr "योजना प्रकार"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "नियोजित अंत"
@@ -6220,9 +6241,29 @@ msgstr "प्रगति"
msgid "Project"
msgstr "प्रोजेक्ट"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "अनुमानित स्टॉक"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "प्रक्षेपण"
@@ -6869,6 +6910,9 @@ msgstr "नियम"
msgid "Run Test"
msgstr "टेस्ट चलाएं"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "कुल चल रहा है"
@@ -6878,6 +6922,10 @@ msgstr "सुरक्षा स्टॉक"
msgid "Safety Stock"
msgstr "सुरक्षा स्टॉक"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "सुरक्षा स्टॉक:"
@@ -7681,6 +7729,9 @@ msgstr "स्टॉक ट्रांसफर विज़ार्ड"
msgid "Stock Transfers"
msgstr "स्टॉक ट्रांसफर"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "स्टोरेज क्लाइंट उपलब्ध नहीं है"
@@ -7759,6 +7810,9 @@ msgstr "सफलतापूर्वक एक नया संशोधन
msgid "Suffix"
msgstr "प्रत्यय"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "सुझाव"
@@ -7988,6 +8042,9 @@ msgstr "गणना विधि के बाद के दिनों की
msgid "The amount of days after the calculation method that the payment is due"
msgstr "गणना विधि के बाद दिनों की संख्या जिसके बाद भुगतान देय है"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "वह तारीख जिस दिन ग्राहक को सामान प्राप्त होने की उम्मीद है"
@@ -8877,6 +8934,10 @@ msgstr "वेबसाइट"
msgid "Wednesday"
msgstr "बुधवार"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "हफ्ते खुले"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index 6a563df0e5..a70d7cf5d5 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -1095,6 +1095,9 @@ msgstr "Bilancio"
msgid "Balloon"
msgstr "Palloncino"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "Valuta di Base"
@@ -1125,6 +1128,9 @@ msgstr "Dimensione lotto"
msgid "Batch Tracking"
msgstr "Tracciamento Batch"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "Beta"
@@ -1614,6 +1620,12 @@ msgstr "Conferma importazione"
msgid "Confirm Password"
msgstr "Conferma Password"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Connetti Carbon ai tuoi strumenti di contabilità, gestione dei progetti, CAD e molto altro."
@@ -3959,6 +3971,9 @@ msgstr "Come è stato calcolato il prezzo risolto."
msgid "How this price was calculated"
msgstr "Come è stato calcolato questo prezzo"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "Umidità"
@@ -5471,6 +5486,9 @@ msgstr "Nessun ordinamento applicato a questa visualizzazione"
msgid "No stock"
msgstr "Nessun stock"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Nessun fornitore ancora"
@@ -5969,6 +5987,9 @@ msgstr "Piano"
msgid "Plan Type"
msgstr "Tipo di Piano"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "Fine pianificata"
@@ -6220,9 +6241,29 @@ msgstr "Progresso"
msgid "Project"
msgstr "Progetto"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "Stock previsto"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "Proiezione"
@@ -6869,6 +6910,9 @@ msgstr "Regole"
msgid "Run Test"
msgstr "Esegui Test"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "Totale Progressivo"
@@ -6878,6 +6922,10 @@ msgstr "Stock di sicurezza"
msgid "Safety Stock"
msgstr "Stock di Sicurezza"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "Stock di Sicurezza:"
@@ -7681,6 +7729,9 @@ msgstr "Procedura guidata trasferimento stock"
msgid "Stock Transfers"
msgstr "Trasferimenti di Magazzino"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "Client di archiviazione non disponibile"
@@ -7759,6 +7810,9 @@ msgstr "Revisione creata con successo"
msgid "Suffix"
msgstr "Suffisso"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "Suggerimento"
@@ -7988,6 +8042,9 @@ msgstr "L'importo dei giorni dopo il metodo di calcolo in cui lo sconto in conta
msgid "The amount of days after the calculation method that the payment is due"
msgstr "L'importo dei giorni dopo il metodo di calcolo in cui il pagamento è dovuto"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "La data in cui il cliente si aspetta di ricevere la merce"
@@ -8877,6 +8934,10 @@ msgstr "Sito web"
msgid "Wednesday"
msgstr "Mercoledì"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "Settimane Aperte"
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index 45f8f86fc9..e197a10e23 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -1095,6 +1095,9 @@ msgstr "貸借対照表"
msgid "Balloon"
msgstr "バルーン"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "基本通貨"
@@ -1125,6 +1128,9 @@ msgstr "バッチサイズ"
msgid "Batch Tracking"
msgstr "バッチ追跡"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "ベータ"
@@ -1614,6 +1620,12 @@ msgstr "インポートを確認"
msgid "Confirm Password"
msgstr "パスワードを確認"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Carbonを会計、プロジェクト管理、CADツールなど、さまざまなツールに接続できます。"
@@ -3959,6 +3971,9 @@ msgstr "解決された価格がどのように計算されたかを示します
msgid "How this price was calculated"
msgstr "この価格がどのように計算されたか"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "湿度"
@@ -5471,6 +5486,9 @@ msgstr "このビューに適用されたソートはありません"
msgid "No stock"
msgstr "在庫なし"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "まだサプライヤーがありません"
@@ -5969,6 +5987,9 @@ msgstr "計画"
msgid "Plan Type"
msgstr "計画タイプ"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "計画終了"
@@ -6220,9 +6241,29 @@ msgstr "進捗"
msgid "Project"
msgstr "プロジェクト"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "予測在庫"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "予測"
@@ -6869,6 +6910,9 @@ msgstr "ルール"
msgid "Run Test"
msgstr "テストを実行"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "実行中の合計"
@@ -6878,6 +6922,10 @@ msgstr "安全在庫"
msgid "Safety Stock"
msgstr "安全在庫"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "安全在庫:"
@@ -7681,6 +7729,9 @@ msgstr "在庫転送ウィザード"
msgid "Stock Transfers"
msgstr "在庫移動"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "ストレージクライアントが利用できません"
@@ -7759,6 +7810,9 @@ msgstr "新しいリビジョンが正常に作成されました"
msgid "Suffix"
msgstr "サフィックス"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "提案"
@@ -7988,6 +8042,9 @@ msgstr "計算方法の後、現金割引が利用可能になるまでの日数
msgid "The amount of days after the calculation method that the payment is due"
msgstr "計算方法の後の支払い期日までの日数"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "顧客が商品を受け取ることを期待する日付"
@@ -8877,6 +8934,10 @@ msgstr "ウェブサイト"
msgid "Wednesday"
msgstr "水曜日"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "開いている週数"
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index a7c48fddab..03faa8ce25 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -1095,6 +1095,9 @@ msgstr "Bilans"
msgid "Balloon"
msgstr "Balon"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "Waluta bazowa"
@@ -1125,6 +1128,9 @@ msgstr "Rozmiar partii"
msgid "Batch Tracking"
msgstr "Śledzenie partii"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "Beta"
@@ -1614,6 +1620,12 @@ msgstr "Potwierdź import"
msgid "Confirm Password"
msgstr "Potwierdź hasło"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Połącz Carbon ze swoimi narzędziami księgowości, zarządzania projektami, CAD i wieloma innymi."
@@ -3959,6 +3971,9 @@ msgstr "Jak została obliczona ostateczna cena."
msgid "How this price was calculated"
msgstr "Jak ta cena została obliczona"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "Wilgotność"
@@ -5471,6 +5486,9 @@ msgstr "Brak zastosowanych sortowań w tym widoku"
msgid "No stock"
msgstr "Brak zapasu"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Brak dostawców"
@@ -5969,6 +5987,9 @@ msgstr "Plan"
msgid "Plan Type"
msgstr "Typ planu"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "Planowany koniec"
@@ -6220,9 +6241,29 @@ msgstr "Postęp"
msgid "Project"
msgstr "Projekt"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "Prognozowany zapas"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "Projekcja"
@@ -6869,6 +6910,9 @@ msgstr "Reguły"
msgid "Run Test"
msgstr "Uruchom Test"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "Suma bieżąca"
@@ -6878,6 +6922,10 @@ msgstr "Zapas bezpieczeństwa"
msgid "Safety Stock"
msgstr "Zapas bezpieczeństwa"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "Zapas bezpieczeństwa:"
@@ -7681,6 +7729,9 @@ msgstr "Kreator Transferu Zapasów"
msgid "Stock Transfers"
msgstr "Transfery Zapasów"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "Klient magazynu niedostępny"
@@ -7759,6 +7810,9 @@ msgstr "Pomyślnie utworzono nową wersję"
msgid "Suffix"
msgstr "Sufiks"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "Sugestia"
@@ -7988,6 +8042,9 @@ msgstr "Liczba dni po metodzie obliczeniowej, w której dostępna jest rabat got
msgid "The amount of days after the calculation method that the payment is due"
msgstr "Liczba dni po metodzie obliczenia, w której płatność jest wymagalna"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "Data, w której klient spodziewa się otrzymać towary"
@@ -8877,6 +8934,10 @@ msgstr "Strona internetowa"
msgid "Wednesday"
msgstr "Środa"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "Tygodnie otwarte"
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index 0adc1b3cf4..5c661d6735 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -1095,6 +1095,9 @@ msgstr "Balanço Patrimonial"
msgid "Balloon"
msgstr "Balão"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "Moeda Base"
@@ -1125,6 +1128,9 @@ msgstr "Tamanho do Lote"
msgid "Batch Tracking"
msgstr "Rastreamento em Lote"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "Beta"
@@ -1614,6 +1620,12 @@ msgstr "Confirmar Importação"
msgid "Confirm Password"
msgstr "Confirmar Senha"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Conecte o Carbon às suas ferramentas de contabilidade, gerenciamento de projetos, CAD e muito mais."
@@ -3959,6 +3971,9 @@ msgstr "Como o preço resolvido foi calculado."
msgid "How this price was calculated"
msgstr "Como este preço foi calculado"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "Umidade"
@@ -5471,6 +5486,9 @@ msgstr "Nenhuma ordenação aplicada a esta visualização"
msgid "No stock"
msgstr "Sem stock"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Nenhum fornecedor ainda"
@@ -5969,6 +5987,9 @@ msgstr "Plano"
msgid "Plan Type"
msgstr "Tipo de Plano"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "Fim Planejado"
@@ -6220,9 +6241,29 @@ msgstr "Progresso"
msgid "Project"
msgstr "Projeto"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "Stock projetado"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "Projeção"
@@ -6869,6 +6910,9 @@ msgstr "Regras"
msgid "Run Test"
msgstr "Executar Teste"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "Total em Execução"
@@ -6878,6 +6922,10 @@ msgstr "Stock de segurança"
msgid "Safety Stock"
msgstr "Stock de Segurança"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "Estoque de Segurança:"
@@ -7681,6 +7729,9 @@ msgstr "Assistente de Transferência de Estoque"
msgid "Stock Transfers"
msgstr "Transferências de Estoque"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "Cliente de armazenamento não disponível"
@@ -7759,6 +7810,9 @@ msgstr "Revisão criada com sucesso"
msgid "Suffix"
msgstr "Sufixo"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "Sugestão"
@@ -7988,6 +8042,9 @@ msgstr "A quantidade de dias após o método de cálculo em que o desconto à vi
msgid "The amount of days after the calculation method that the payment is due"
msgstr "A quantidade de dias após o método de cálculo em que o pagamento é devido"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "A data em que o cliente espera receber os bens"
@@ -8877,6 +8934,10 @@ msgstr "Website"
msgid "Wednesday"
msgstr "Quarta-feira"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "Semanas Abertas"
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index e26fc7e63d..42a8b841c1 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -1095,6 +1095,9 @@ msgstr "Баланс"
msgid "Balloon"
msgstr "Выноска"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "Базовая валюта"
@@ -1125,6 +1128,9 @@ msgstr "Размер партии"
msgid "Batch Tracking"
msgstr "Отслеживание партий"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "Бета"
@@ -1614,6 +1620,12 @@ msgstr "Подтвердить импорт"
msgid "Confirm Password"
msgstr "Подтвердить пароль"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "Подключите Carbon к своим инструментам бухгалтерского учета, управления проектами, CAD и многому другому."
@@ -3959,6 +3971,9 @@ msgstr "Как была рассчитана окончательная цена
msgid "How this price was calculated"
msgstr "Как была рассчитана эта цена"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "Влажность"
@@ -5471,6 +5486,9 @@ msgstr "Сортировка не применена к этому предст
msgid "No stock"
msgstr "Нет запасов"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "Поставщиков еще нет"
@@ -5969,6 +5987,9 @@ msgstr "План"
msgid "Plan Type"
msgstr "Тип плана"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "Запланированное окончание"
@@ -6220,9 +6241,29 @@ msgstr "Прогресс"
msgid "Project"
msgstr "Проект"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "Прогнозируемый запас"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "Прогноз"
@@ -6869,6 +6910,9 @@ msgstr "Правила"
msgid "Run Test"
msgstr "Запустить тест"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "Итоговая сумма"
@@ -6878,6 +6922,10 @@ msgstr "Страховой запас"
msgid "Safety Stock"
msgstr "Страховой запас"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "Страховой запас:"
@@ -7681,6 +7729,9 @@ msgstr "Мастер передачи запасов"
msgid "Stock Transfers"
msgstr "Передачи запасов"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "Клиент хранилища недоступен"
@@ -7759,6 +7810,9 @@ msgstr "Успешно создана новая редакция"
msgid "Suffix"
msgstr "Суффикс"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "Предложение"
@@ -7988,6 +8042,9 @@ msgstr "Количество дней после метода расчета, в
msgid "The amount of days after the calculation method that the payment is due"
msgstr "Количество дней после метода расчета, в течение которых платеж должен быть произведен"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "Дата, когда клиент ожидает получить товары"
@@ -8877,6 +8934,10 @@ msgstr "Веб-сайт"
msgid "Wednesday"
msgstr "Среда"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "Недель открыто"
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 58c88e7994..2ea5a31673 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -1095,6 +1095,9 @@ msgstr "资产负债表"
msgid "Balloon"
msgstr "气球"
+msgid "Bars show each week's flow: <0>supply</0> pushes inventory up, <1>demand</1> pulls it down. The <2>line</2> is your projected on-hand inventory — when it dips below <3>safety stock</3> you're at risk, and below zero is a <4>stockout</4>."
+msgstr ""
+
msgid "Base Currency"
msgstr "基础货币"
@@ -1125,6 +1128,9 @@ msgstr "批量大小"
msgid "Batch Tracking"
msgstr "批次追踪"
+msgid "Below safety stock"
+msgstr ""
+
msgid "Beta"
msgstr "测试版"
@@ -1614,6 +1620,12 @@ msgstr "确认导入"
msgid "Confirm Password"
msgstr "确认密码"
+msgid "Confirmed incoming stock — purchase & production orders (bars above zero)."
+msgstr ""
+
+msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."
+msgstr ""
+
msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."
msgstr "将 Carbon 连接到您的会计、项目管理和 CAD 工具等更多应用。"
@@ -3959,6 +3971,9 @@ msgstr "已解决价格的计算方式。"
msgid "How this price was calculated"
msgstr "此价格是如何计算的"
+msgid "How to read this chart"
+msgstr ""
+
msgid "Humidity"
msgstr "湿度"
@@ -5471,6 +5486,9 @@ msgstr "此视图未应用排序"
msgid "No stock"
msgstr "无库存"
+msgid "No stockout projected in the next 48 weeks"
+msgstr ""
+
msgid "No suppliers yet"
msgstr "还没有供应商"
@@ -5969,6 +5987,9 @@ msgstr "计划"
msgid "Plan Type"
msgstr "计划类型"
+msgid "Planned"
+msgstr ""
+
msgid "Planned End"
msgstr "计划结束"
@@ -6220,9 +6241,29 @@ msgstr "进度"
msgid "Project"
msgstr "项目"
+msgid "Projected demand exploded from BOMs and forecasts."
+msgstr ""
+
+msgid "Projected inventory"
+msgstr ""
+
+msgid "Projected on hand"
+msgstr ""
+
msgid "Projected stock"
msgstr "预计库存"
+#. placeholder {0}: formatWeek(stockoutDate)
+msgid "Projected stockout the week of {0}"
+msgstr ""
+
+#. placeholder {0}: formatWeek(belowSafetyDate)
+msgid "Projected to drop below safety stock the week of {0}"
+msgstr ""
+
+msgid "Projected to stay above safety stock"
+msgstr ""
+
msgid "Projection"
msgstr "预测"
@@ -6869,6 +6910,9 @@ msgstr "规则"
msgid "Run Test"
msgstr "运行测试"
+msgid "Running inventory after each week's supply and demand — the line."
+msgstr ""
+
msgid "Running Total"
msgstr "运行总计"
@@ -6878,6 +6922,10 @@ msgstr "安全库存"
msgid "Safety Stock"
msgstr "安全库存"
+#. placeholder {0}: numberFormatter.format(safetyStockValue)
+msgid "Safety stock ({0})"
+msgstr ""
+
msgid "Safety Stock:"
msgstr "安全库存:"
@@ -7681,6 +7729,9 @@ msgstr "库存转移向导"
msgid "Stock Transfers"
msgstr "库存转移"
+msgid "Stockout"
+msgstr ""
+
msgid "Storage client not available"
msgstr "存储客户端不可用"
@@ -7759,6 +7810,9 @@ msgstr "成功创建新版本"
msgid "Suffix"
msgstr "后缀"
+msgid "Suggested orders you haven't placed yet."
+msgstr ""
+
msgid "Suggestion"
msgstr "建议"
@@ -7988,6 +8042,9 @@ msgstr "计算方法后可用现金折扣的天数"
msgid "The amount of days after the calculation method that the payment is due"
msgstr "计算方法后的天数,在该天数后付款到期"
+msgid "The dashed threshold you don't want inventory to fall below."
+msgstr ""
+
msgid "The date the customer expects to receive the goods"
msgstr "客户期望收到货物的日期"
@@ -8877,6 +8934,10 @@ msgstr "网站"
msgid "Wednesday"
msgstr "星期三"
+#. placeholder {0}: dateFormatter.format(parseDate(d.startDate).toDate(getLocalTimeZone()))
+msgid "Week of {0}"
+msgstr ""
+
msgid "Weeks Open"
msgstr "周数开放"