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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
feat: enhance job order status management with supply job tracking
naveenkash3c57052d90ae
diff --git a/apps/erp/app/modules/production/jobOrderStatus.ts b/apps/erp/app/modules/production/jobOrderStatus.tsindex e6b7d46f1f..1182280f0f 100644--- a/apps/erp/app/modules/production/jobOrderStatus.ts+++ b/apps/erp/app/modules/production/jobOrderStatus.ts@@ -1,13 +1,30 @@import type { Database } from "@carbon/database";-import type { JobMaterialPurchaseOrderLine } from "./types";+import type {+ JobMaterialPurchaseOrderLine,+ JobMaterialSupplyJobLine+} from "./types";export type PurchaseOrderStatus =Database["public"]["Enums"]["purchaseOrderStatus"];+export type JobStatus = Database["public"]["Enums"]["jobStatus"];+export type ItemOrderStatus = {needsOrder: boolean;shortfall: number;status: PurchaseOrderStatus | null;+ // Highest-priority active job producing this (manufactured) item, if any. The+ // supply-side counterpart to `status`; lets a planned/in-flight job surface a+ // positive indicator instead of a bare "needs order" dot.+ supplyJobStatus: JobStatus | null;+ // The owning job is Completed — procurement status is moot, so every material+ // shows a single "Completed" badge instead of per-material indicators.+ jobCompleted: boolean;+ // This job's full requirement is met from on-hand stock (after priority+ // allocation) — i.e. the parts are already in inventory, not merely on order.+ // Lets a fulfilled high-priority job show "in stock" while a lower-priority job+ // sharing the same partially-received PO still shows "receiving".+ coveredByOnHand: boolean;ordered: number;received: number;};@@ -15,9 +32,11 @@ export type ItemOrderStatus = {export type JobOrderStatusCategory =| "needsOrder"| "planned"+ | "plannedJob"| "awaitingApproval"| "onOrder"- | "received";+ | "received"+ | "completed";// Must match the demand window in get_job_quantity_on_hand and the scheduling// sequence.@@ -55,15 +74,40 @@ export const PO_STATUS_PRIORITY: PurchaseOrderStatus[] = ["Completed"];+// PO statuses whose quantity is NOT yet counted in `quantityOnPurchaseOrder`+// (the get_job_quantity_on_hand RPC only counts 'To Receive' /+// 'To Receive and Invoice'), but which still represent incoming supply the badge+// treats as coverage. The shortfall allocator adds these so a planned PO is+// handed out to the highest-priority job first — matching how planned *jobs*+// already count (the RPC's production CTE includes 'Planned'). 'To Invoice' /+// 'Completed' are excluded — those goods are received and already in on-hand.+export const PENDING_PO_SUPPLY_STATUSES: PurchaseOrderStatus[] = [+ "Planned",+ "Needs Approval",+ "To Review"+];+type OrderStatusMaterial = {itemTrackingType: string | null;methodType: string | null;};+// Highest priority first — picks the representative supply-job status when an+// item is produced by more than one active job. In-flight states outrank merely+// planned ones, mirroring PO_STATUS_PRIORITY.+export const JOB_SUPPLY_STATUS_PRIORITY: JobStatus[] = [+ "In Progress",+ "Paused",+ "Ready",+ "Planned"+];+export function getJobMaterialOrderStatus(material: OrderStatusMaterial,poLines: JobMaterialPurchaseOrderLine[],- shortfall: number+ supplyJobLines: JobMaterialSupplyJobLine[],+ shortfall: number,+ coveredByOnHand: boolean): ItemOrderStatus {const needsOrder =material.itemTrackingType !== "Non-Inventory" &&@@ -75,6 +119,11 @@ export function getJobMaterialOrderStatus(poLines.some((line) => line.status === candidate)) ?? null;+ const supplyJobStatus =+ JOB_SUPPLY_STATUS_PRIORITY.find((candidate) =>+ supplyJobLines.some((line) => line.status === candidate)+ ) ?? null;+let ordered = 0;let received = 0;if (status) {@@ -85,14 +134,54 @@ export function getJobMaterialOrderStatus(}}- return { needsOrder, shortfall, status, ordered, received };+ return {+ needsOrder,+ shortfall,+ status,+ supplyJobStatus,+ jobCompleted: false,+ coveredByOnHand,+ ordered,+ received+ };+}++// A uniform "Completed" status for every material of a finished job. Skips the+// PO/supply/shortfall math — procurement state is irrelevant once the job is done.+export function getCompletedJobOrderStatus(): ItemOrderStatus {+ return {+ needsOrder: false,+ shortfall: 0,+ status: null,+ supplyJobStatus: null,+ jobCompleted: true,+ coveredByOnHand: false,+ ordered: 0,+ received: 0+ };}-// Must stay in lockstep with JobOrderStatusBadge's precedence so the status-// filter and the badge never disagree.+// The single source of truth for order-status precedence. Both the status filter+// and JobOrderStatusBadge derive from this (the badge maps each category to its+// icon/label), so they can never disagree. Order of the checks below IS the+// precedence — keep the highest-priority indicator first.export function getJobOrderStatusCategory(status: ItemOrderStatus | undefined): JobOrderStatusCategory | null {+ // A completed job and a need fully met from on-hand stock both render the same+ // green "check" badge ("Completed" / "In stock"), so they share the+ // "completed" filter category.+ if (status?.jobCompleted) return "completed";++ // A still-unmet, priority-adjusted shortfall outranks the supply indicators —+ // see JobOrderStatusBadge for why.+ if (status?.needsOrder) return "needsOrder";++ // This job's need is already met from on-hand stock ("In stock" green check) —+ // outranks any "on order" indicator from a PO that's only partially received+ // for other jobs.+ if (status?.coveredByOnHand) return "completed";+switch (status?.status) {case "Planned":return "planned";@@ -101,22 +190,18 @@ export function getJobOrderStatusCategory(return "awaitingApproval";case "To Receive":case "To Receive and Invoice": {- // In-flight (not yet fully received) outranks the needs-ordering dot.const fraction =status.ordered > 0 ? status.received / status.ordered : 0;- if (fraction < 1) return "onOrder";+ if (fraction < 1) {+ // Some already received ("Received X of Y" badge) vs nothing yet+ // ("On order").+ return status.received > 0 ? "received" : "onOrder";+ }break;}}- if (status?.needsOrder) return "needsOrder";- if (- status?.status === "To Receive" ||- status?.status === "To Receive and Invoice" ||- status?.status === "To Invoice" ||- status?.status === "Completed"- )- return "received";+ if (status?.supplyJobStatus) return "plannedJob";return null;}@@ -127,10 +212,18 @@ type OrderStatusBuildMaterial = OrderStatusMaterial & {// One status per material id (= the tree node's methodMaterialId) — the single// source the table, tree, and filter all read from.+export type ItemShortfall = {+ shortfall: number;+ // True when this job's whole requirement is met from on-hand stock (no+ // reliance on incoming PO/job supply) after priority allocation.+ coveredByOnHand: boolean;+};+export function getJobOrderStatusByMaterial(materials: OrderStatusBuildMaterial[],purchaseOrderLines: JobMaterialPurchaseOrderLine[],- shortfallByItemId: Record<string, number>+ supplyJobLines: JobMaterialSupplyJobLine[],+ shortfallByItemId: Record<string, ItemShortfall>): Record<string, ItemOrderStatus> {const linesByItemId = new Map<string, JobMaterialPurchaseOrderLine[]>();for (const line of purchaseOrderLines) {@@ -140,19 +233,32 @@ export function getJobOrderStatusByMaterial(linesByItemId.set(line.itemId, lines);}+ const jobLinesByItemId = new Map<string, JobMaterialSupplyJobLine[]>();+ for (const line of supplyJobLines) {+ if (!line.itemId) continue;+ const lines = jobLinesByItemId.get(line.itemId) ?? [];+ lines.push(line);+ jobLinesByItemId.set(line.itemId, lines);+ }+const byMaterialId: Record<string, ItemOrderStatus> = {};for (const material of materials) {if (!material.id) continue;const poLines = material.jobMaterialItemId? (linesByItemId.get(material.jobMaterialItemId) ?? []): [];- const shortfall = material.jobMaterialItemId- ? (shortfallByItemId[material.jobMaterialItemId] ?? 0)- : 0;+ const jobLines = material.jobMaterialItemId+ ? (jobLinesByItemId.get(material.jobMaterialItemId) ?? [])+ : [];+ const itemShortfall = material.jobMaterialItemId+ ? shortfallByItemId[material.jobMaterialItemId]+ : undefined;byMaterialId[material.id] = getJobMaterialOrderStatus(material,poLines,- shortfall+ jobLines,+ itemShortfall?.shortfall ?? 0,+ itemShortfall?.coveredByOnHand ?? false);}return byMaterialId;diff --git a/apps/erp/app/modules/production/production.service.ts b/apps/erp/app/modules/production/production.service.tsindex 9793bfd2eb..62693d1abf 100644--- a/apps/erp/app/modules/production/production.service.ts+++ b/apps/erp/app/modules/production/production.service.ts@@ -18,9 +18,12 @@ import type {} from "../shared";import {ACTIVE_JOB_STATUSES,+ getCompletedJobOrderStatus,getJobOrderStatusByMaterial,type ItemOrderStatus,- isJobOrderStatusHidden+ type ItemShortfall,+ isJobOrderStatusHidden,+ PENDING_PO_SUPPLY_STATUSES} from "./jobOrderStatus";import type {deadlineTypes,@@ -44,7 +47,11 @@ import type {productionQuantityValidator,scrapReasonValidator} from "./production.models";-import type { Job, JobMaterialPurchaseOrderLine } from "./types";+import type {+ Job,+ JobMaterialPurchaseOrderLine,+ JobMaterialSupplyJobLine+} from "./types";export async function convertSalesOrderLinesToJobs(client: SupabaseClient<Database>,@@ -1000,22 +1007,49 @@ export async function getJobMaterialShortfallByItem(jobId: string,companyId: string,locationId: string,- materials: JobItemAvailability[]-): Promise<Record<string, number>> {- // On hand + incoming per item (the RPC repeats these item-level values).- const availableByItem = new Map<string, number>();+ materials: JobItemAvailability[],+ purchaseOrderLines: JobMaterialPurchaseOrderLine[]+): Promise<Record<string, ItemShortfall>> {+ // Two pools per item, kept separate so allocation can hand out already-received+ // on-hand stock BEFORE incoming supply — that's what lets a fulfilled+ // high-priority job read "in stock" while a lower-priority job sharing the same+ // partially-received PO reads "receiving". (The RPC repeats item-level values.)+ const onHandByItem = new Map<string, number>();+ const incomingByItem = new Map<string, number>();for (const material of materials) {const itemId = material.jobMaterialItemId;- if (!itemId || availableByItem.has(itemId)) continue;- availableByItem.set(+ if (!itemId || onHandByItem.has(itemId)) continue;+ onHandByItem.set(itemId,(material.quantityOnHandInStorageUnit ?? 0) +- (material.quantityOnHandNotInStorageUnit ?? 0) +- (material.quantityOnPurchaseOrder ?? 0) ++ (material.quantityOnHandNotInStorageUnit ?? 0)+ );+ incomingByItem.set(+ itemId,+ (material.quantityOnPurchaseOrder ?? 0) +(material.quantityOnProductionOrder ?? 0));}- const itemIds = Array.from(availableByItem.keys());++ // quantityOnPurchaseOrder (from the RPC) only counts 'To Receive' /+ // 'To Receive and Invoice'. Add planned/pending PO quantity to the incoming+ // pool so it's allocated by priority too — otherwise a planned PO covers no job+ // and every consumer shows a needs-order dot. Guarded to items the job uses.+ for (const line of purchaseOrderLines) {+ if (!line.itemId || !line.status) continue;+ if (!PENDING_PO_SUPPLY_STATUSES.includes(line.status)) continue;+ if (!incomingByItem.has(line.itemId)) continue;+ const incoming = Math.max(+ (line.purchaseQuantity ?? 0) - (line.quantityReceived ?? 0),+ 0+ );+ incomingByItem.set(+ line.itemId,+ (incomingByItem.get(line.itemId) ?? 0) + incoming+ );+ }++ const itemIds = Array.from(onHandByItem.keys());if (itemIds.length === 0) return {};// Remaining demand for those items across every active job at this location.@@ -1052,20 +1086,31 @@ export async function getJobMaterialShortfallByItem(else jobs.set(rowJobId, { jobId: rowJobId, priority, remaining });}- // Allocate each item's pool by priority (lower first), record this job's gap.- const shortfallByItem: Record<string, number> = {};+ // Allocate each item's pools by priority (lower first): on-hand first, then+ // incoming. Record this job's shortfall and whether its whole need came from+ // on-hand (no incoming was needed → "in stock").+ const shortfallByItem: Record<string, ItemShortfall> = {};for (const [itemId, jobsMap] of demandByItem) {- let available = availableByItem.get(itemId) ?? 0;+ let onHand = onHandByItem.get(itemId) ?? 0;+ let incoming = incomingByItem.get(itemId) ?? 0;const jobs = Array.from(jobsMap.values()).sort((a, b) =>a.priority - b.priority ||(a.jobId < b.jobId ? -1 : a.jobId > b.jobId ? 1 : 0));for (const job of jobs) {- const take = Math.min(job.remaining, Math.max(available, 0));- available -= take;- if (job.jobId === jobId && job.remaining - take > 0) {- shortfallByItem[itemId] = job.remaining - take;+ const fromOnHand = Math.min(job.remaining, Math.max(onHand, 0));+ onHand -= fromOnHand;+ let need = job.remaining - fromOnHand;+ const fromIncoming = Math.min(need, Math.max(incoming, 0));+ incoming -= fromIncoming;+ need -= fromIncoming;+ if (job.jobId === jobId) {+ shortfallByItem[itemId] = {+ shortfall: need > 0 ? need : 0,+ // Fully met without leaning on incoming supply.+ coveredByOnHand: need <= 0 && fromIncoming === 0+ };}}}@@ -1084,22 +1129,39 @@ export async function getJobOrderStatusMap(Awaited<ReturnType<typeof getJobMaterialsWithQuantityOnHand>>["data"]>): Promise<Record<string, ItemOrderStatus>> {+ // A completed job shows a uniform "Completed" badge on every material instead+ // of per-material procurement indicators (no PO/supply/shortfall lookups).+ if (jobStatus === "Completed") {+ const byMaterialId: Record<string, ItemOrderStatus> = {};+ for (const material of materials) {+ if (!material.id) continue;+ byMaterialId[material.id] = getCompletedJobOrderStatus();+ }+ return byMaterialId;+ }+if (isJobOrderStatusHidden(jobStatus)) return {};- const [purchaseOrderLines, shortfallByItemId] = await Promise.all([+ const [purchaseOrderLines, supplyJobLines] = await Promise.all([getJobMaterialPurchaseOrderLines(client, materials, locationId),- getJobMaterialShortfallByItem(- client,- jobId,- companyId,- locationId,- materials- )+ getJobMaterialSupplyJobLines(client, materials, companyId, locationId)]);+ // Shortfall depends on the PO lines (planned/pending PO quantity feeds the+ // allocation pool), so it runs after they're fetched.+ const shortfallByItemId = await getJobMaterialShortfallByItem(+ client,+ jobId,+ companyId,+ locationId,+ materials,+ purchaseOrderLines+ );+return getJobOrderStatusByMaterial(materials,purchaseOrderLines,+ supplyJobLines,shortfallByItemId);}@@ -3571,3 +3633,35 @@ export async function getJobMaterialPurchaseOrderLines()?.status ?? null}));}++// Active jobs that produce these material items — the supply-side counterpart to+// getJobMaterialPurchaseOrderLines. A manufactured material is "covered" when an+// active job (its own itemId) is planned/in-flight at the same location.+export async function getJobMaterialSupplyJobLines(+ client: SupabaseClient<Database>,+ materials: Array<{ jobMaterialItemId: string | null }>,+ companyId: string,+ locationId: string+): Promise<JobMaterialSupplyJobLine[]> {+ const itemIds = Array.from(+ new Set(+ materials+ .map((material) => material.jobMaterialItemId)+ .filter((id): id is string => Boolean(id))+ )+ );+ if (itemIds.length === 0) return [];++ const { data } = await client+ .from("job")+ .select("itemId, status")+ .in("itemId", itemIds)+ .in("status", ACTIVE_JOB_STATUSES)+ .eq("companyId", companyId)+ .eq("locationId", locationId);++ return (data ?? []).map((job) => ({+ itemId: job.itemId,+ status: job.status+ }));+}diff --git a/apps/erp/app/modules/production/types.ts b/apps/erp/app/modules/production/types.tsindex 81036e546c..030ebe6a13 100644--- a/apps/erp/app/modules/production/types.ts+++ b/apps/erp/app/modules/production/types.ts@@ -110,6 +110,13 @@ export type JobMaterialPurchaseOrderLine = {status: Database["public"]["Enums"]["purchaseOrderStatus"] | null;};+// An active job that produces a (manufactured) material item — the supply-side+// counterpart to JobMaterialPurchaseOrderLine.+export type JobMaterialSupplyJobLine = {+ itemId: string | null;+ status: Database["public"]["Enums"]["jobStatus"] | null;+};+export type ProductionEvent = NonNullable<Awaited<ReturnType<typeof getProductionEvents>>["data"]>[number];diff --git a/apps/erp/app/modules/production/ui/Jobs/JobMaterialsTable.tsx b/apps/erp/app/modules/production/ui/Jobs/JobMaterialsTable.tsxindex c79362efe1..28fc58f095 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobMaterialsTable.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobMaterialsTable.tsx@@ -7,7 +7,6 @@ import {Tooltip,TooltipContent,TooltipTrigger,- useMount,VStack} from "@carbon/react";import { Trans, useLingui } from "@lingui/react/macro";@@ -20,11 +19,11 @@ import {LuArrowUp,LuBookMarked,LuCalendarX,+ LuFactory,LuFlag,LuHash,LuRefreshCcwDot,- LuShoppingCart,- LuTruck+ LuShoppingCart} from "react-icons/lu";import { useFetcher, useParams } from "react-router";import {@@ -36,13 +35,7 @@ import {} from "~/components";import { useFilters } from "~/components/Table/components/Filter/useFilters";import { usePermissions, useRouteData, useUrlParams } from "~/hooks";-import { useItems } from "~/stores";-import {- addToStockTransferSession,- removeFromStockTransferSession,- useStockTransferSession,- useStockTransferSessionItemsCount-} from "~/stores/stock-transfer";+import { type Item, useItems } from "~/stores";import { path } from "~/utils/path";import {ACTIVE_JOB_STATUSES,@@ -51,7 +44,6 @@ import {} from "../../jobOrderStatus";import type { Job, JobMaterial } from "../../types";import { JobOrderStatusBadge } from "./JobOrderStatus";-import { StockTransferSessionWidget } from "./StockTransferSessionWidget";type JobMaterialsTableProps = {data: JobMaterial[];@@ -112,101 +104,15 @@ const JobMaterialsTable = memo(const [items] = useItems();const [, setSearchParams] = useUrlParams();- const sessionItemsCount = useStockTransferSessionItemsCount();- const [session, setStockTransferSession] = useStockTransferSession();-- useMount(() => {- // Pre-populate stock transfer session with all parts that need transferred or ordered- const itemsToAdd: Array<{- id: string; // Job material ID- itemId: string; // Actual item ID- itemReadableId: string;- description: string;- action: "transfer" | "order";- quantity: number;- requiresSerialTracking: boolean;- requiresBatchTracking: boolean;- storageUnitId?: string;- }> = [];-- data.forEach((material) => {- if (- material.itemTrackingType === "Non-Inventory" ||- material.methodType === "Make to Order" ||- !material.id- ) {- return;- }-- const quantityRequiredByStorageUnit = isRequired- ? material.quantityFromProductionOrderInStorageUnit- : material.quantityFromProductionOrderInStorageUnit +- material.estimatedQuantity;-- // Check if transfer is needed. Only propose moving what actually exists- // in OTHER storage units (quantityOnHandNotInStorageUnit) — a transfer- // can't source stock that isn't there. Any remaining gap is a genuine- // shortage, handled by the order path below.- const quantityOnHandInStorageUnit =- material.quantityOnHandInStorageUnit;- const quantityInTransitToStorageUnit =- material.quantityInTransitToStorageUnit;- const transferQuantity = Math.min(- quantityRequiredByStorageUnit -- (quantityOnHandInStorageUnit + quantityInTransitToStorageUnit),- material.quantityOnHandNotInStorageUnit- );-- if (transferQuantity > 0) {- itemsToAdd.push({- id: material.id, // Job material ID- itemId: material.jobMaterialItemId, // Actual item ID- itemReadableId: material.itemReadableId,- description: material.description,- action: "transfer",- quantity: transferQuantity,- requiresSerialTracking: material.itemTrackingType === "Serial",- requiresBatchTracking: material.itemTrackingType === "Batch",- storageUnitId: material.storageUnitId- });- }-- // Check if order is needed- const quantityOnHand =- material.quantityOnHandInStorageUnit +- material.quantityOnHandNotInStorageUnit;-- const incoming =- material.quantityOnPurchaseOrder + material.quantityOnProductionOrder;-- const required =- material.quantityFromProductionOrderInStorageUnit +- material.quantityFromProductionOrderNotInStorageUnit +- material.quantityOnSalesOrder;-- const hasTotalQuantityFlag = quantityOnHand + incoming - required < 0;-- if (hasTotalQuantityFlag) {- itemsToAdd.push({- id: material.id, // Job material ID- itemId: material.jobMaterialItemId, // Actual item ID- itemReadableId: material.itemReadableId,- description: material.description,- action: "order",- quantity:- (material.estimatedQuantity ?? 0) -- (quantityOnHand + incoming - required),- requiresSerialTracking: material.itemTrackingType === "Serial",- requiresBatchTracking: material.itemTrackingType === "Batch",- storageUnitId: material.storageUnitId- });- }- });-- if (itemsToAdd.length > 0) {- setStockTransferSession({ items: itemsToAdd });+ // Whether each item is bought, made, or both — drives where the row's+ // dropdown sends the user for planning (purchasing vs production).+ const replenishmentByItemId = useMemo(() => {+ const map = new Map<string, Item["replenishmentSystem"]>();+ for (const item of items) {+ map.set(item.id, item.replenishmentSystem);}- });+ return map;+ }, [items]);// biome-ignore lint/correctness/useExhaustiveDependencies: suppressed due to migrationconst columns = useMemo<ColumnDef<JobMaterial>[]>(() => {@@ -299,9 +205,14 @@ const JobMaterialsTable = memo(options: [{ value: "needsOrder", label: t`Needs ordering` },{ value: "planned", label: t`Planned` },+ { value: "plannedJob", label: t`Planned job` },{ value: "awaitingApproval", label: t`Awaiting approval` },{ value: "onOrder", label: t`On order` },- { value: "received", label: t`Received` }+ { value: "received", label: t`Pending` },+ // `completed` category covers both a finished job ("Completed"+ // badge) and a need met from on-hand stock ("In stock"). On an+ // active job it's always the latter, so label it "In stock".+ { value: "completed", label: t`In stock` }]}}@@ -593,135 +504,82 @@ const JobMaterialsTable = memo(setSearchParams,isRequired,formatter,- sessionItemsCount,jobItemIdSet,orderStatusByMaterialId]);const renderContextMenu = useMemo(() => {return (row: JobMaterial) => {- // Skip non-inventory items and make items- if (- row.itemTrackingType === "Non-Inventory" ||- row.methodType === "Make to Order" ||- !row.id- ) {- return null;- }+ // Route by how the item is replenished, not the job's method type:+ // buy items plan in Purchasing, make items in Production. "Buy and Make"+ // items can go to either.+ const replenishment = replenishmentByItemId.get(row.jobMaterialItemId);+ const canPurchase =+ replenishment === "Buy" || replenishment === "Buy and Make";+ const canProduce =+ replenishment === "Make" || replenishment === "Buy and Make";- const quantityRequiredByStorageUnit = isRequired- ? row.quantityFromProductionOrderInStorageUnit- : row.quantityFromProductionOrderInStorageUnit +- row.estimatedQuantity;+ if (!canPurchase && !canProduce) return null;- const quantityOnHandInStorageUnit = row.quantityOnHandInStorageUnit;-- const quantityOnHand =- row.quantityOnHandInStorageUnit + row.quantityOnHandNotInStorageUnit;- const incoming =- row.quantityOnPurchaseOrder + row.quantityOnProductionOrder;- const required =- row.quantityFromProductionOrderInStorageUnit +- row.quantityFromProductionOrderNotInStorageUnit +- row.quantityOnSalesOrder;-- // Check if items are already in session- const isInSessionForTransfer = session.items.some(- (item) => item.id === row.id && item.action === "transfer"- );- const isInSessionForOrder = session.items.some(- (item) => item.id === row.id && item.action === "order"- );+ const search = encodeURIComponent(row.itemReadableId);return (<>- <MenuItem- destructive={isInSessionForTransfer}- onClick={() => {- if (isInSessionForTransfer) {- removeFromStockTransferSession(row.id!, "transfer");- } else {- addToStockTransferSession({- id: row.id!, // Job material ID- itemId: row.jobMaterialItemId, // Actual item ID- itemReadableId: row.itemReadableId,- description: row.description,- action: "transfer",- quantity:- quantityRequiredByStorageUnit -- quantityOnHandInStorageUnit,- requiresSerialTracking: row.itemTrackingType === "Serial",- requiresBatchTracking: row.itemTrackingType === "Batch",- storageUnitId: row.storageUnitId- });- }- }}- >- <MenuIcon icon={<LuTruck />} />- {isInSessionForTransfer ? t`Remove Transfer` : t`Transfer`}- </MenuItem>- <MenuItem- destructive={isInSessionForOrder}- onClick={() => {- if (isInSessionForOrder) {- removeFromStockTransferSession(row.id!, "order");- } else {- addToStockTransferSession({- id: row.id!, // Job material ID- itemId: row.jobMaterialItemId, // Actual item ID- itemReadableId: row.itemReadableId,- description: row.description,- action: "order",- quantity:- (row.estimatedQuantity ?? 0) -- (quantityOnHand + incoming - required),- requiresSerialTracking: row.itemTrackingType === "Serial",- requiresBatchTracking: row.itemTrackingType === "Batch",- storageUnitId: row.storageUnitId- });- }- }}- >- <MenuIcon icon={<LuShoppingCart />} />- {isInSessionForOrder ? t`Remove Order` : t`Order`}- </MenuItem>+ {canPurchase && (+ <MenuItem asChild>+ <a+ href={`${path.to.purchasingPlanning}?search=${search}`}+ target="_blank"+ rel="noopener noreferrer"+ >+ <MenuIcon icon={<LuShoppingCart />} />+ {t`Purchase planning`}+ </a>+ </MenuItem>+ )}+ {canProduce && (+ <MenuItem asChild>+ <a+ href={`${path.to.productionPlanning}?search=${search}`}+ target="_blank"+ rel="noopener noreferrer"+ >+ <MenuIcon icon={<LuFactory />} />+ {t`Production planning`}+ </a>+ </MenuItem>+ )}</>);};- }, [isRequired, session.items, t]);+ }, [t, replenishmentByItemId]);const permissions = usePermissions();return (- <>- <Table<JobMaterial>- compact- count={orderStatusFilterKey ? filteredData.length : count}- columns={columns}- data={filteredData}- primaryAction={- data.length > 0 && permissions.can("update", "production") ? (- <fetcher.Form- action={path.to.jobRecalculate(jobId)}- method="post"+ <Table<JobMaterial>+ compact+ count={orderStatusFilterKey ? filteredData.length : count}+ columns={columns}+ data={filteredData}+ primaryAction={+ data.length > 0 && permissions.can("update", "production") ? (+ <fetcher.Form action={path.to.jobRecalculate(jobId)} method="post">+ <Button+ leftIcon={<LuRefreshCcwDot />}+ isLoading={fetcher.state !== "idle"}+ isDisabled={fetcher.state !== "idle"}+ type="submit"+ variant="secondary">- <Button- leftIcon={<LuRefreshCcwDot />}- isLoading={fetcher.state !== "idle"}- isDisabled={fetcher.state !== "idle"}- type="submit"- variant="secondary"- >- <Trans>Recalculate</Trans>- </Button>- </fetcher.Form>- ) : undefined- }- renderContextMenu={renderContextMenu}- title={t`Materials`}- />- <StockTransferSessionWidget jobId={jobId} />- </>+ <Trans>Recalculate</Trans>+ </Button>+ </fetcher.Form>+ ) : undefined+ }+ renderContextMenu={renderContextMenu}+ title={t`Materials`}+ />);});diff --git a/apps/erp/app/modules/production/ui/Jobs/JobOrderStatus.tsx b/apps/erp/app/modules/production/ui/Jobs/JobOrderStatus.tsxindex b42bfa606e..35c68630ef 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobOrderStatus.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobOrderStatus.tsx@@ -1,19 +1,19 @@-import {- PulsingDot,- Tooltip,- TooltipContent,- TooltipTrigger-} from "@carbon/react";+import { Tooltip, TooltipContent, TooltipTrigger } from "@carbon/react";import { Trans } from "@lingui/react/macro";import type { ReactNode } from "react";-import { LuCircleCheck } from "react-icons/lu";+import { LuCircleAlert, LuCircleCheck, LuClock, LuStamp } from "react-icons/lu";import { AlmostDoneIcon } from "~/assets/icons/AlmostDoneIcon";import { InProgressStatusIcon } from "~/assets/icons/InProgressStatusIcon";import { TodoStatusIcon } from "~/assets/icons/TodoStatusIcon";-import type { ItemOrderStatus } from "../../jobOrderStatus";+import {+ getJobOrderStatusCategory,+ type ItemOrderStatus+} from "../../jobOrderStatus";-// Precedence: in-flight POs first, then the needs-ordering dot, then a-// fully-received / closed PO. getJobOrderStatusCategory must mirror this.+// The badge is purely presentational: precedence lives entirely in+// getJobOrderStatusCategory (the single source the status filter also reads), and+// this maps the resolved category to an icon + label. The exhaustive switch means+// adding a category without a badge is a compile error — the two can't drift.export function JobOrderStatusBadge({status}: {@@ -28,54 +28,59 @@ export function JobOrderStatusBadge({</Tooltip>);- switch (status?.status) {- case "Planned":+ const category = getJobOrderStatusCategory(status);++ switch (category) {+ // A finished job and a need met from on-hand stock share the green check;+ // the label distinguishes them.+ case "completed":+ return badge(+ <LuCircleCheck className="text-emerald-600" />,+ status?.jobCompleted ? (+ <Trans>Completed</Trans>+ ) : (+ <Trans>In stock</Trans>+ )+ );+ case "needsOrder":+ return badge(+ <LuCircleAlert className="text-red-500" />,+ <Trans>Order {status?.shortfall} for this job</Trans>+ );+ case "planned":return badge(<TodoStatusIcon className="text-blue-600" />,<Trans>Planned purchase order</Trans>);- case "Needs Approval":- case "To Review":- return badge(<InProgressStatusIcon />, <Trans>Awaiting approval</Trans>);- case "To Receive":- case "To Receive and Invoice": {- const fraction =- status.ordered > 0 ? status.received / status.ordered : 0;- // In-flight (not yet fully received) outranks the needs-ordering dot.- if (fraction < 1) {- return status.received > 0- ? badge(<AlmostDoneIcon />, <Trans>Receiving</Trans>)- : badge(<AlmostDoneIcon />, <Trans>On order</Trans>);- }- break;+ case "awaitingApproval":+ return badge(+ <LuStamp className="text-amber-400" />,+ <Trans>Awaiting approval</Trans>+ );+ case "received":+ return badge(+ <InProgressStatusIcon />,+ <Trans>+ Received {status?.received} of {status?.ordered}+ </Trans>+ );+ case "onOrder":+ return badge(<AlmostDoneIcon />, <Trans>On order</Trans>);+ case "plannedJob":+ return badge(+ <LuClock className="text-amber-400" />,+ status?.supplyJobStatus === "Planned" ? (+ <Trans>Planned job</Trans>+ ) : (+ <Trans>Job in progress</Trans>+ )+ );+ case null:+ return null;+ default: {+ // Exhaustiveness guard — a new category must add a case above.+ const _exhaustive: never = category;+ return _exhaustive;}}-- // A still-unmet shortfall outranks a fully-received / closed PO.- if (status?.needsOrder) {- return (- <Tooltip>- <TooltipTrigger className="flex w-5 items-center justify-center">- <PulsingDot />- </TooltipTrigger>- <TooltipContent>- <Trans>Order {status.shortfall} for this job</Trans>- </TooltipContent>- </Tooltip>- );- }-- if (- status?.status === "To Receive" ||- status?.status === "To Receive and Invoice" ||- status?.status === "To Invoice" ||- status?.status === "Completed"- ) {- return badge(- <LuCircleCheck className="text-emerald-600" />,- <Trans>Received</Trans>- );- }-- return null;}diff --git a/apps/erp/app/modules/production/ui/Jobs/StockTransferSessionWidget.tsx b/apps/erp/app/modules/production/ui/Jobs/StockTransferSessionWidget.tsxdeleted file mode 100644index 4b2c35f908..0000000000--- a/apps/erp/app/modules/production/ui/Jobs/StockTransferSessionWidget.tsx+++ /dev/null@@ -1,323 +0,0 @@-import type { Result } from "@carbon/auth";-import {- Badge,- Button,- Count,- HStack,- IconButton,- ScrollArea-} from "@carbon/react";-import { Trans, useLingui } from "@lingui/react/macro";-import { useEffect, useState } from "react";-import {- LuCheckCheck,- LuMaximize2,- LuMinus,- LuShoppingCart,- LuTrash2,- LuTruck,- LuX-} from "react-icons/lu";-import { useFetcher } from "react-router";-import {- useOrderItems,- useStockTransferSession,- useStockTransferSessionItemsCount,- useTransferItems-} from "~/stores/stock-transfer";-import { path } from "~/utils/path";--// Floating "Action Items" panel for ordering/transferring a job's short parts.-export const StockTransferSessionWidget = ({ jobId }: { jobId: string }) => {- const fetcher = useFetcher<Result>();- const { t } = useLingui();-- const [session, setStockTransferSession] = useStockTransferSession();- const sessionItemsCount = useStockTransferSessionItemsCount();- const orderItems = useOrderItems();- const transferItems = useTransferItems();-- const [isExpanded, setIsExpanded] = useState(false);- const [isMinimized, setIsMinimized] = useState(false);-- const allItems = [...orderItems, ...transferItems];-- const onRemoveItem = (itemId: string, action: "order" | "transfer") => {- const updatedItems = session.items.filter(- (sessionItem) =>- !(sessionItem.id === itemId && sessionItem.action === action)- );- setStockTransferSession({ items: updatedItems });- };-- const onClearAll = () => {- setStockTransferSession({ items: [] });- };-- // biome-ignore lint/correctness/useExhaustiveDependencies: suppressed due to migration- useEffect(() => {- if (fetcher.data?.success) {- onClearAll();- }- }, [fetcher.data?.success]);-- if (sessionItemsCount === 0) {- return null;- }-- if (isMinimized) {- return (- <div className="fixed bottom-6 right-6 z-50">- <button- onClick={() => setIsMinimized(false)}- className="relative flex items-center justify-center w-16 h-16 bg-card border-2 border-border rounded-full shadow-2xl hover:scale-105 transition-transform duration-200"- >- <LuShoppingCart className="w-6 h-6 text-foreground" />- {allItems.length > 0 && (- <Badge className="absolute -top-2 -right-2 h-7 w-7 flex items-center justify-center p-0 border-2 border-background">- {allItems.length}- </Badge>- )}- </button>- </div>- );- }-- return (- <div className="fixed bottom-6 right-6 z-[9999]">- <div- className={`bg-card border-2 border-border rounded-2xl shadow-2xl transition-all duration-300 ease-in-out ${- isExpanded ? "w-96 h-[32rem]" : "w-80 h-auto"- }`}- >- {/* Header */}- <div className="flex items-center justify-between p-4 border-b-2 border-border">- <div className="flex items-center gap-3">- <div className="flex items-center justify-center w-10 h-10 bg-primary rounded-lg">- <LuCheckCheck className="w-5 h-5 text-primary-foreground" />- </div>- <div>- <h3 className="font-semibold text-card-foreground text-base">- <Trans>Action Items</Trans>- </h3>- <p className="text-xs text-muted-foreground">- {allItems.length} {allItems.length === 1 ? t`item` : t`items`}- </p>- </div>- </div>- <div className="flex items-center gap-1">- <IconButton- variant="ghost"- size="sm"- aria-label={isExpanded ? t`Minimize` : t`Expand`}- icon={- isExpanded ? (- <LuMinus className="size-4" />- ) : (- <LuMaximize2 className="size-4" />- )- }- onClick={() => setIsExpanded(!isExpanded)}- />- <IconButton- variant="ghost"- size="sm"- aria-label={t`Close`}- icon={<LuX className="size-4" />}- onClick={() => setIsMinimized(true)}- />- </div>- </div>-- {/* Content */}- {isExpanded ? (- <div className="flex flex-col h-[calc(32rem-5rem)]">- <ScrollArea className="flex-1 p-4">- {allItems.length === 0 ? (- <div className="flex flex-col items-center justify-center h-full text-center py-12">- <div className="w-16 h-16 bg-muted rounded-full flex items-center justify-center mb-4">- <LuShoppingCart className="w-8 h-8 text-muted-foreground" />- </div>- <p className="text-sm text-muted-foreground">- <Trans>No parts added yet</Trans>- </p>- <p className="text-xs text-muted-foreground mt-1">- <Trans>Start adding parts to your stock transfer</Trans>- </p>- </div>- ) : (- <div className="space-y-3">- {orderItems.length > 0 && (- <div className="mb-4">- <HStack className="mb-2">- <LuShoppingCart className="h-3 w-3" />- <span className="text-sm font-medium">- <Trans>Orders</Trans>{" "}- <Count count={orderItems.length} />- </span>- </HStack>- <div className="space-y-2">- {orderItems.map((item) => (- <div- key={`${item.id}-order`}- className="group bg-secondary/50 border border-border rounded-lg p-3 hover:bg-secondary transition-colors"- >- <div className="flex items-start justify-between gap-3">- <div className="flex-1 min-w-0">- <div className="flex items-center justify-between gap-2 mb-1">- <span className="font-mono text-xs font-semibold">- {item.itemReadableId}- </span>- <Badge variant="outline">- <Trans>Order</Trans>- </Badge>- </div>- <p className="text-sm text-card-foreground font-medium truncate">- {item.description}- </p>- </div>- <IconButton- variant="secondary"- aria-label={t`Remove item`}- icon={<LuTrash2 />}- size="sm"- onClick={() => onRemoveItem(item.id, "order")}- />- </div>- </div>- ))}- </div>- </div>- )}-- {transferItems.length > 0 && (- <div>- <HStack className="mb-2">- <LuTruck className="h-3 w-3" />- <span className="text-sm font-medium">- <Trans>Transfers</Trans>{" "}- <Count count={transferItems.length} />- </span>- </HStack>- <div className="space-y-2">- {transferItems.map((item) => (- <div- key={`${item.id}-transfer`}- className="group bg-secondary/50 border border-border rounded-lg p-3 hover:bg-secondary transition-colors"- >- <div className="flex items-start justify-between gap-3">- <div className="flex-1 min-w-0">- <div className="flex items-center justify-between gap-2 mb-1">- <span className="font-mono text-xs font-semibold">- {item.itemReadableId}- </span>- <Badge variant="outline">- <Trans>Transfer</Trans>- </Badge>- </div>- <p className="text-sm text-card-foreground font-medium truncate">- {item.description}- </p>- </div>- <IconButton- variant="secondary"- aria-label={t`Remove item`}- icon={<LuTrash2 />}- size="sm"- onClick={() =>- onRemoveItem(item.id, "transfer")- }- />- </div>- </div>- ))}- </div>- </div>- )}- </div>- )}- </ScrollArea>-- {/* Footer */}- {allItems.length > 0 && (- <div className="p-4 border-t-2 border-border space-y-2 w-full">- <fetcher.Form- method="post"- action={path.to.newJobMaterialsSession(jobId)}- >- <input type="hidden" name="jobId" value={jobId} />- <input- type="hidden"- name="items"- value={JSON.stringify(allItems)}- />- <Button- isLoading={fetcher.state !== "idle"}- isDisabled={fetcher.state !== "idle"}- size="lg"- className="w-full"- type="submit"- >- <Trans>Create</Trans>- </Button>- </fetcher.Form>- <Button variant="ghost" className="w-full" onClick={onClearAll}>- <Trans>Clear All</Trans>- </Button>- </div>- )}- </div>- ) : (- <div className="p-4 space-y-4">- {allItems.length === 0 ? (- <p className="text-sm text-muted-foreground text-center py-2">- <Trans>No parts added yet</Trans>- </p>- ) : (- <div className="space-y-2">- {allItems.slice(0, 3).map((item) => (- <div- key={`${item.id}-${item.action}`}- className="flex items-center justify-between text-sm"- >- <span className="font-mono text-xs">- {item.itemReadableId}- </span>- <Badge variant="outline">{item.action}</Badge>- </div>- ))}- {allItems.length > 3 && (- <p className="text-xs text-muted-foreground text-center pt-1">- <Trans>+{allItems.length - 3} more</Trans>- </p>- )}- </div>- )}- {allItems.length > 0 && (- <fetcher.Form- method="post"- action={path.to.newJobMaterialsSession(jobId)}- >- <input type="hidden" name="jobId" value={jobId} />- <input- type="hidden"- name="items"- value={JSON.stringify(allItems)}- />- <Button- isLoading={fetcher.state !== "idle"}- isDisabled={fetcher.state !== "idle"}- size="lg"- className="w-full"- type="submit"- >- Create- </Button>- </fetcher.Form>- )}- </div>- )}- </div>- </div>- );-};diff --git a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.jsonindex b9474ed9a6..39ffce4aad 100644--- a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json@@ -1,6 +1,6 @@{- "generated": "2026-06-22T10:54:37.032Z",- "totalTools": 1213,+ "generated": "2026-06-23T19:28:18.113Z",+ "totalTools": 1214,"modules": 15,"tools": [{@@ -15029,13 +15029,14 @@"module": "production","classification": "READ","description": "get job material shortfall by item",- "paramCount": 3,+ "paramCount": 4,"serviceParams": ["client","jobId","companyId","locationId",- "materials"+ "materials",+ "purchaseOrderLines"],"injectAuth": ["companyId"@@ -15052,12 +15053,17 @@"materials": {"type": "array","items": {}+ },+ "purchaseOrderLines": {+ "type": "array",+ "items": {}}},"required": ["jobId","locationId",- "materials"+ "materials",+ "purchaseOrderLines"]}},@@ -18217,6 +18223,35 @@]}},+ {+ "name": "production_getJobMaterialSupplyJobLines",+ "module": "production",+ "classification": "READ",+ "description": "get job material supply job lines",+ "paramCount": 2,+ "serviceParams": [+ "client",+ "materials",+ "companyId",+ "locationId"+ ],+ "injectAuth": [+ "companyId"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "materials": {},+ "locationId": {+ "type": "string"+ }+ },+ "required": [+ "materials",+ "locationId"+ ]+ }+ },{"name": "purchasing_closePurchaseOrder","module": "purchasing",diff --git a/apps/erp/app/routes/x+/job+/$jobId.materials.session.new.tsx b/apps/erp/app/routes/x+/job+/$jobId.materials.session.new.tsxdeleted file mode 100644index 43eec57245..0000000000--- a/apps/erp/app/routes/x+/job+/$jobId.materials.session.new.tsx+++ /dev/null@@ -1,594 +0,0 @@-import { error, success } from "@carbon/auth";-import { requirePermissions } from "@carbon/auth/auth.server";-import { flash } from "@carbon/auth/session.server";-import { validator } from "@carbon/form";-import {- getLocalTimeZone,- parseDate,- startOfWeek,- today-} from "@internationalized/date";-import type { ActionFunctionArgs } from "react-router";-import { data } from "react-router";-import { z } from "zod";-import { insertStockTransfer } from "~/modules/inventory";-import { getJob } from "~/modules/production";-import { getOrCreatePeriods } from "~/modules/shared/shared.server";-import { path } from "~/utils/path";--const jobMaterialsSessionValidator = z.object({- jobId: z.string(),- items: z.string().transform((str, ctx) => {- try {- const parsed = JSON.parse(str);- const itemsSchema = z.array(- z.object({- id: z.string(), // Job material ID- itemId: z.string(), // Actual item ID- itemReadableId: z.string(),- description: z.string(),- action: z.enum(["order", "transfer"]),- quantity: z.number().optional(),- requiresSerialTracking: z.boolean(),- requiresBatchTracking: z.boolean(),- storageUnitId: z.string().nullable().optional()- })- );- return itemsSchema.parse(parsed);- // biome-ignore lint/correctness/noUnusedVariables: suppressed due to migration- } catch (error) {- ctx.addIssue({- code: z.ZodIssueCode.custom,- message: "Invalid JSON format for items"- });- return z.NEVER;- }- })-});--export async function action({ request, params }: ActionFunctionArgs) {- const { client, companyId, userId } = await requirePermissions(request, {- create: "production"- });-- const { jobId } = params;- if (!jobId) throw new Error("Job ID is required");-- const formData = await request.formData();-- const validation = await validator(jobMaterialsSessionValidator).validate(- formData- );-- if (validation.error) {- return data(- { success: false, message: "Invalid session data" },- await flash(request, error(validation.error, "Invalid session data"))- );- }-- const { items: sessionItems } = validation.data;- const startDate = startOfWeek(today(getLocalTimeZone()), "en-US");-- // Get job information to determine location- const [jobResult, itemReplenishments] = await Promise.all([- getJob(client, jobId),- client- .from("itemReplenishment")- .select(- "itemId, leadTime, lotSize, manufacturingBlocked, purchasingBlocked, preferredSupplierId, requiresConfiguration, scrapPercentage, ...item(replenishmentSystem)"- )- .in(- "itemId",- sessionItems.map((item) => item.itemId)- )- .eq("companyId", companyId)- ]);- if (jobResult.error || !jobResult.data) {- return data(- { success: false, message: "Failed to get job information" },- await flash(- request,- error(jobResult.error, "Failed to get job information")- )- );- }-- const itemReplenishmentsMap = new Map(- itemReplenishments.data?.map((item) => [item.itemId, item]) ?? []- );-- const job = jobResult.data;- const locationId = job.locationId;- const jobStartDate = job.startDate;-- if (!locationId) {- return data(- { success: false, message: "Job location is required" },- await flash(- request,- error("Job location is required", "Invalid job configuration")- )- );- }-- const endDate = jobStartDate- ? new Date(String(jobStartDate))- : new Date(startDate.add({ weeks: 8 }).toString());- const weeksToProject = Math.max(- 1,- Math.ceil(- (endDate.getTime() - new Date(startDate.toString()).getTime()) /- (7 * 24 * 60 * 60 * 1000)- )- );- const periods = await getOrCreatePeriods(- today(getLocalTimeZone()),- weeksToProject- );-- const transferItems = sessionItems.filter(- (item) => item.action === "transfer"- );-- const orderItems = sessionItems.filter((item) => item.action === "order");-- let hasTransfer = false;- let hasPurchaseOrder = false;- let hasJobs = false;-- if (transferItems.length > 0) {- // Process transfer items and build transfer lines first- // Only create stock transfer after validating we have valid lines- const transferLines = [];-- for await (const item of transferItems) {- if (!item.storageUnitId || !item.quantity || !item.id) {- continue;- }-- // Find available sources for this item (excluding the target storage unit)- const { data: availableSources, error: sourcesError } = await client.rpc(- "get_item_storage_unit_requirements_by_location_and_item",- {- company_id: companyId,- location_id: locationId,- item_id: item.itemId- }- );-- if (sourcesError) {- continue;- }-- // Filter out the target storage unit and only include storage units with available quantity- const validSources =- availableSources?.filter(- (source) =>- source.storageUnitId !== item.storageUnitId &&- source.quantityOnHandInStorageUnit >- source.quantityRequiredByStorageUnit- ) || [];-- if (validSources.length === 0) {- continue;- }-- // Sort sources by available quantity (descending) to prioritize storage units with more stock- validSources.sort((a, b) => {- const aAvailable =- a.quantityOnHandInStorageUnit - a.quantityRequiredByStorageUnit;- const bAvailable =- b.quantityOnHandInStorageUnit - b.quantityRequiredByStorageUnit;- return bAvailable - aAvailable;- });-- // Distribute the required quantity across available sources- let remainingQuantity = item.quantity;-- for (const source of validSources) {- if (remainingQuantity <= 0) break;-- const availableQuantity =- source.quantityOnHandInStorageUnit -- source.quantityRequiredByStorageUnit;- const transferQuantity = Math.min(remainingQuantity, availableQuantity);-- if (transferQuantity > 0) {- const transferLine = {- itemId: item.itemId, // Use the actual item ID, not the job material ID- fromStorageUnitId: source.storageUnitId,- toStorageUnitId: item.storageUnitId,- quantity: transferQuantity,- requiresSerialTracking: item.requiresSerialTracking,- requiresBatchTracking: item.requiresBatchTracking- };-- transferLines.push(transferLine);- remainingQuantity -= transferQuantity;- }- }- }-- // Expand lines with serial tracking (similar to stock transfer new.tsx)- const linesWithExpandedSerialTracking = transferLines.reduce<- typeof transferLines- >((acc, line) => {- // If quantity contains a decimal, ignore the line (as per requirements)- if (line.quantity && !Number.isInteger(line.quantity)) {- return acc;- }-- // If item requires serial tracking and quantity is a whole number > 1- if (line.requiresSerialTracking && line.quantity && line.quantity > 1) {- // Break out into multiple lines with quantity 1- acc.push(- ...Array.from({ length: line.quantity }, () => ({- ...line,- quantity: 1- }))- );- } else {- acc.push(line);- }- return acc;- }, []);-- if (linesWithExpandedSerialTracking.length > 0) {- const createStockTransfer = await insertStockTransfer(client, {- locationId,- lines: linesWithExpandedSerialTracking,- companyId,- createdBy: userId- });-- if (createStockTransfer.error || !createStockTransfer.data) {- return data(- { success: false, message: "Failed to create stock transfer" },- await flash(- request,- error(createStockTransfer.error, "Failed to create stock transfer")- )- );- }-- hasTransfer = true;- }- }-- if (orderItems.length > 0) {- // Separate items into make vs buy based on replenishment system- // If replenishment system is "Buy and Make", treat as "Buy" (purchase order)- const buyItems = orderItems.filter(- (item) =>- itemReplenishmentsMap.get(item.itemId)?.replenishmentSystem === "Buy" ||- itemReplenishmentsMap.get(item.itemId)?.replenishmentSystem ===- "Buy and Make"- );-- const makeItems = orderItems.filter(- (item) =>- itemReplenishmentsMap.get(item.itemId)?.replenishmentSystem === "Make"- );-- // Create purchase orders for buy items- if (buyItems.length > 0) {- // Get supplier information for buy items- const supplierParts = await client- .from("supplierPart")- .select("*")- .in(- "itemId",- buyItems.map((item) => item.itemId)- )- .eq("companyId", companyId);-- if (supplierParts.error) {- console.error(supplierParts.error);- } else {- // Group items by supplier to create one purchase order per supplier- const itemsBySupplier = new Map<- string,- Array<{- item: (typeof buyItems)[0];- supplier: any;- replenishment: any;- }>- >();-- // First pass: assign suppliers to each item- for (const item of buyItems) {- const replenishment = itemReplenishmentsMap.get(item.itemId);-- // Find preferred supplier or first available supplier- const itemSupplierParts =- supplierParts.data?.filter((sp) => sp.itemId === item.itemId) || [];-- let selectedSupplier = null;-- // First try to find preferred supplier- if (replenishment?.preferredSupplierId) {- selectedSupplier = itemSupplierParts.find(- (sp) => sp.supplierId === replenishment.preferredSupplierId- );- }-- // If no preferred supplier found, take the first one- if (!selectedSupplier && itemSupplierParts.length > 0) {- selectedSupplier = itemSupplierParts[0];- }-- if (!selectedSupplier) {- console.error(- `[Purchase Orders] No supplier found for item ${item.itemId}`- );- continue;- }-- // Group by supplier- if (!itemsBySupplier.has(selectedSupplier.supplierId)) {- itemsBySupplier.set(selectedSupplier.supplierId, []);- }- itemsBySupplier.get(selectedSupplier.supplierId)!.push({- item,- supplier: selectedSupplier,- replenishment- });- }-- // Build purchase planning payload - one planning item per actual item- const purchasePlanningItems = [];-- // Helper function to find period ID- const findPeriodId = (dueDate: string) => {- const dueDateParsed = parseDate(dueDate);- const period = periods?.find((p) => {- const startDate = parseDate(p.startDate);- const endDate = parseDate(p.endDate);- return dueDateParsed >= startDate && dueDateParsed <= endDate;- });-- if (!period) {- if (periods && periods.length > 0) {- const firstPeriod = periods[0];- const lastPeriod = periods[periods.length - 1];- const firstStartDate = parseDate(firstPeriod.startDate);- const lastEndDate = parseDate(lastPeriod.endDate);-- if (dueDateParsed < firstStartDate) {- return firstPeriod.id;- } else if (dueDateParsed > lastEndDate) {- return lastPeriod.id;- }- }- return periods?.[0]?.id || "";- }-- return period.id;- };-- for (const [supplierId, supplierItems] of itemsBySupplier.entries()) {- // Create one planning item per actual item- for (const { item, supplier, replenishment } of supplierItems) {- // Calculate dates: due date = job start date, start date = due date - lead time- const jobStartDateParsed = jobStartDate- ? parseDate(jobStartDate)- : today(getLocalTimeZone());- const leadTime = replenishment?.leadTime || 0;- const purchaseOrderDueDate = jobStartDateParsed.toString();- const purchaseOrderStartDate = jobStartDateParsed- .subtract({ days: leadTime })- .toString();-- const periodId = findPeriodId(purchaseOrderDueDate);-- const orders = [- {- quantity: Math.max(item.quantity || 0, 1),- dueDate: purchaseOrderDueDate,- startDate: purchaseOrderStartDate,- periodId: periodId,- supplierId: supplierId,- unitPrice: supplier.unitPrice || 0,- unitOfMeasureCode: supplier.supplierUnitOfMeasureCode || "EA",- description: item.description- }- ];-- purchasePlanningItems.push({- id: item.itemId,- orders- });- }- }-- if (purchasePlanningItems.length > 0) {- const purchasePlanningPayload = {- action: "order" as const,- items: purchasePlanningItems,- locationId- };-- const purchasePlanningUrl = `${new URL(request.url).origin}${- path.to.bulkUpdatePurchasingPlanning- }`;-- const result = await fetch(purchasePlanningUrl, {- method: "POST",- headers: {- "Content-Type": "application/json",- Authorization: request.headers.get("Authorization") || "",- Cookie: request.headers.get("Cookie") || ""- },- body: JSON.stringify(purchasePlanningPayload)- });-- if (result.ok) {- const responseData = await result.json();-- if (responseData?.success) {- hasPurchaseOrder = true;- } else {- console.error(- `[Purchase Orders] API returned success: false`,- responseData- );- }- } else {- const errorText = await result.text();- console.error(`[Purchase Orders] API call failed:`, {- status: result.status,- statusText: result.statusText,- error: errorText- });- }- }- }- }-- // Create jobs for make items- if (makeItems.length > 0) {- const productionPlanningUrl = `${new URL(request.url).origin}${- path.to.bulkUpdateProductionPlanning- }`;-- // Build production planning payload with lot size chunking- const productionPlanningItems = makeItems.map((item) => {- const replenishment = itemReplenishmentsMap.get(item.itemId);- const lotSize = replenishment?.lotSize ?? 0;- const requiredQuantity = item.quantity || 0;-- // Calculate orders based on lot size chunking- const orders = [];-- // Calculate dates: due date = job start date, start date = due date - lead time- const jobStartDateParsed = jobStartDate- ? parseDate(jobStartDate)- : today(getLocalTimeZone());- const leadTime = replenishment?.leadTime || 0;- const productionOrderDueDate = jobStartDateParsed.toString();- const productionOrderStartDate = jobStartDateParsed- .subtract({ days: leadTime })- .toString();-- // Find the correct period based on the production order due date- const findPeriodId = (dueDate: string) => {- const dueDateParsed = parseDate(dueDate);- const period = periods?.find((p) => {- const startDate = parseDate(p.startDate);- const endDate = parseDate(p.endDate);- return dueDateParsed >= startDate && dueDateParsed <= endDate;- });-- // If no matching period found, use the first period if due date is before it,- // or the last period if due date is after all periods- if (!period) {- if (periods && periods.length > 0) {- const firstPeriod = periods[0];- const lastPeriod = periods[periods.length - 1];- const firstStartDate = parseDate(firstPeriod.startDate);- const lastEndDate = parseDate(lastPeriod.endDate);-- if (dueDateParsed < firstStartDate) {- return firstPeriod.id;- } else if (dueDateParsed > lastEndDate) {- return lastPeriod.id;- }- }- return periods?.[0]?.id || "";- }-- return period.id;- };-- const periodId = findPeriodId(productionOrderDueDate);-- if (lotSize === 0) {- // If lot size is 0, order the exact required quantity- const orderQuantity = Math.max(requiredQuantity, 1); // At least 1 if no quantity specified- orders.push({- quantity: orderQuantity,- dueDate: productionOrderDueDate,- startDate: productionOrderStartDate,- isASAP: startDate.compare(today(getLocalTimeZone())) < 0,- periodId: periodId- });- } else {- // If lot size > 0, use lot size chunking- if (requiredQuantity <= 0) {- // If no quantity required, create one order with lot size- orders.push({- quantity: lotSize,- dueDate: productionOrderDueDate,- startDate: productionOrderStartDate,- isASAP: false,- periodId: periodId- });- } else if (requiredQuantity <= lotSize) {- // If required quantity is less than or equal to lot size, order the lot size- orders.push({- quantity: lotSize,- dueDate: productionOrderDueDate,- startDate: productionOrderStartDate,- isASAP: false,- periodId: periodId- });- } else {- // If required quantity is greater than lot size, create multiple orders- const numberOfOrders = Math.ceil(requiredQuantity / lotSize);- for (let i = 0; i < numberOfOrders; i++) {- orders.push({- quantity: lotSize,- dueDate: productionOrderDueDate,- startDate: productionOrderStartDate,- isASAP: false,- periodId: periodId- });- }- }- }-- return {- id: item.itemId,- orders- };- });-- const productionPlanningPayload = {- action: "order" as const,- items: productionPlanningItems,- locationId- };-- const result = await fetch(productionPlanningUrl, {- method: "POST",- headers: {- "Content-Type": "application/json",- Authorization: request.headers.get("Authorization") || "",- Cookie: request.headers.get("Cookie") || ""- },- body: JSON.stringify(productionPlanningPayload)- });-- const data = await result.json();- if (data?.success) {- hasJobs = true;- }- }- }-- const createdItems = [];- if (hasTransfer) createdItems.push("stock transfer");- if (hasPurchaseOrder) createdItems.push("purchase order(s)");- if (hasJobs) createdItems.push("job(s)");-- const successMessage =- createdItems.length > 0- ? `Successfully created ${createdItems.join(", ")}`- : "Session processed successfully, but without any transfers or orders";-- return data(- { success: true, message: successMessage },- await flash(request, success(successMessage))- );-}diff --git a/apps/erp/app/stores/stock-transfer.ts b/apps/erp/app/stores/stock-transfer.tsindex 2cf10001ad..2d6568cab6 100644--- a/apps/erp/app/stores/stock-transfer.ts+++ b/apps/erp/app/stores/stock-transfer.ts@@ -2,95 +2,6 @@ import { useStore as useValue } from "@nanostores/react";import { atom, computed } from "nanostores";import { useNanoStore } from "~/hooks";-export type StockTransferSessionItem = {- id: string; // Job material ID- itemId: string; // Actual item ID- itemReadableId: string;- description: string;- action: "order" | "transfer";- quantity?: number;- requiresSerialTracking: boolean;- requiresBatchTracking: boolean;- storageUnitId?: string;-};--export type StockTransferSessionState = {- items: StockTransferSessionItem[];-};--const $sessionStore = atom<StockTransferSessionState>({- items: []-});--const $sessionItemsCount = computed(- $sessionStore,- (session) => session.items.length-);--const $orderItems = computed($sessionStore, (session) =>- session.items.filter((item) => item.action === "order")-);--const $transferItems = computed($sessionStore, (session) =>- session.items.filter((item) => item.action === "transfer")-);--export const useStockTransferSession = () =>- useNanoStore<StockTransferSessionState>($sessionStore, "session");-export const useStockTransferSessionItemsCount = () =>- useValue($sessionItemsCount);-export const useOrderItems = () => useValue($orderItems);-export const useTransferItems = () => useValue($transferItems);--// StockTransferSession actions-export const addToStockTransferSession = (item: StockTransferSessionItem) => {- const currentStockTransferSession = $sessionStore.get();-- // Check if item already exists with same action- const existingItemIndex = currentStockTransferSession.items.findIndex(- (sessionItem) =>- sessionItem.id === item.id && sessionItem.action === item.action- );-- if (existingItemIndex >= 0) {- // Update existing item- const updatedItems = [...currentStockTransferSession.items];- updatedItems[existingItemIndex] = {- ...updatedItems[existingItemIndex],- ...item- };- $sessionStore.set({ items: updatedItems });- } else {- // Add new item- $sessionStore.set({ items: [...currentStockTransferSession.items, item] });- }-};--export const removeFromStockTransferSession = (- itemId: string,- action: "order" | "transfer"-) => {- const currentStockTransferSession = $sessionStore.get();- const updatedItems = currentStockTransferSession.items.filter(- (item) => !(item.id === itemId && item.action === action)- );- $sessionStore.set({ items: updatedItems });-};--export const clearStockTransferSession = () => {- $sessionStore.set({ items: [] });-};--export const isInStockTransferSession = (- itemId: string,- action: "order" | "transfer"-) => {- const currentStockTransferSession = $sessionStore.get();- return currentStockTransferSession.items.some(- (item) => item.id === itemId && item.action === action- );-};-// Stock Transfer Wizard Storeexport type StockTransferWizardLine = {itemId: string;diff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.tsindex 075c73e9ae..23dd5ab0b0 100644--- a/apps/erp/app/utils/path.ts+++ b/apps/erp/app/utils/path.ts@@ -1216,8 +1216,6 @@ export const path = {newJobOperationStep: `${x}/job/methods/operation/step/new`,newJobOperationParameter: `${x}/job/methods/operation/parameter/new`,newJobOperationTool: `${x}/job/methods/operation/tool/new`,- newJobMaterialsSession: (jobId: string) =>- generatePath(`${x}/job/${jobId}/materials/session/new`),newKanban: `${x}/inventory/kanbans/new`,newLocation: `${x}/resources/locations/new`,newMaintenanceDispatch: `${x}/maintenance/new`,diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex d26f9a4828..44eb737619 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} Berechtigungen"msgid "/month/user"msgstr "/Monat/Benutzer"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} weitere"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>Fügen Sie einen Lieferantenteil hinzu</0>, um für diesen Artikel einen bevorzugten Lieferanten festzulegen."@@ -217,9 +213,6 @@ msgstr "Akkumulationszeitraum (Wochen)"msgid "Accumulation Period:"msgstr "Akkumulationszeitraum:"-msgid "Action Items"-msgstr "Aktionselemente"-msgid "Action Status"msgstr "Aktionsstatus"@@ -1387,9 +1380,6 @@ msgstr "Klasse"msgid "Clear"msgstr "Löschen"-msgid "Clear All"-msgstr "Alles löschen"-msgid "Clear due date"msgstr "Fälligkeitsdatum löschen"@@ -4010,6 +4000,9 @@ msgstr "In Bearbeitung"msgid "in selected period"msgstr "im ausgewählten Zeitraum"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "Inaktiv"@@ -4250,9 +4243,6 @@ msgstr "Ausstellungsdatum"msgid "Issues"msgstr "Probleme"-msgid "item"-msgstr "Artikel"-msgid "Item"msgstr "Artikel"@@ -4292,9 +4282,6 @@ msgstr "Artikeltyp"msgid "Item types"msgstr "Artikeltypen"-msgid "items"-msgstr "Artikel"-msgid "Items"msgstr "Artikel"@@ -4307,6 +4294,9 @@ msgstr "Job"msgid "Job ID"msgstr "Auftrags-ID"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "Auftragsort"@@ -4858,9 +4848,6 @@ msgstr "Metrische Einheiten sind aktiviert"msgid "Min Qty"msgstr "Min. Menge"-msgid "Minimize"-msgstr "Minimieren"-msgid "Minimum"msgstr "Minimum"@@ -5417,9 +5404,6 @@ msgstr "Noch keine übergeordneten Quellen aufgezeichnet. Klicken Sie auf der Plmsgid "No part ID"msgstr "Keine Teile-ID"-msgid "No parts added yet"-msgstr "Noch keine Teile hinzugefügt"-msgid "No planning data"msgstr "Keine Planungsdaten"@@ -5696,7 +5680,7 @@ msgstr "ODER"msgid "Order"msgstr "Bestellung"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "Geplantes Ende"msgid "Planned End Time"msgstr "Geplante Endzeit"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "Geplante Bestellung"@@ -6215,6 +6202,9 @@ msgstr "Produktionsereignis"msgid "Production Events"msgstr "Produktionsereignisse"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "Produktionsmenge"@@ -6325,6 +6315,9 @@ msgstr "Bestellungen"msgid "Purchase orders required"msgstr "Bestellungen erforderlich"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "Kaufmenge"@@ -6541,7 +6534,9 @@ msgstr "Empfangen Sie {0} im Bestand"msgid "Receive to Inventory"msgstr "In Bestand empfangen"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "Empfangen von"msgid "Received Qty"msgstr "Empfangene Menge"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "Empfangsort"@@ -6653,9 +6645,6 @@ msgstr "Element entfernen"msgid "Remove order"msgstr "Bestellung entfernen"-msgid "Remove Order"-msgstr "Bestellung entfernen"-msgid "Remove pair"msgstr "Paar entfernen"@@ -6665,9 +6654,6 @@ msgstr "Sortierung nach Spalte entfernen"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "Entfernen Sie diesen Speichertyp aus allen referenzierenden Speichereinheiten und löschen Sie ihn. Dies kann nicht rückgängig gemacht werden."-msgid "Remove Transfer"-msgstr "Transfer entfernen"-msgid "Rendering label preview..."msgstr "Label-Vorschau wird gerendert..."@@ -7652,9 +7638,6 @@ msgstr "Starten"msgid "Start {0} Day Free Trial"msgstr "Starten Sie die {0}-tägige kostenlose Testversion"-msgid "Start adding parts to your stock transfer"-msgstr "Beginnen Sie, Teile zu Ihrer Bestandsübertragung hinzuzufügen"-msgid "Start Date"msgstr "Startdatum"@@ -8406,9 +8389,6 @@ msgstr "Übertragen Sie das Eigentum dieses Unternehmens auf einen anderen Benutmsgid "Transfer To"msgstr "Übertragung zu"-msgid "Transfers"-msgstr "Transfers"-msgid "Trash"msgstr "Papierkorb"diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex f71fa7f219..10e07b6846 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} permissions"msgid "/month/user"msgstr "/month/user"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} more"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>Add a supplier part</0> for this item to set a preferred supplier."@@ -217,9 +213,6 @@ msgstr "Accumulation Period (Weeks)"msgid "Accumulation Period:"msgstr "Accumulation Period:"-msgid "Action Items"-msgstr "Action Items"-msgid "Action Status"msgstr "Action Status"@@ -1387,9 +1380,6 @@ msgstr "Class"msgid "Clear"msgstr "Clear"-msgid "Clear All"-msgstr "Clear All"-msgid "Clear due date"msgstr "Clear due date"@@ -4010,6 +4000,9 @@ msgstr "In Progress"msgid "in selected period"msgstr "in selected period"+msgid "In stock"+msgstr "In stock"+msgid "Inactive"msgstr "Inactive"@@ -4250,9 +4243,6 @@ msgstr "Issued Date"msgid "Issues"msgstr "Issues"-msgid "item"-msgstr "item"-msgid "Item"msgstr "Item"@@ -4292,9 +4282,6 @@ msgstr "Item Type"msgid "Item types"msgstr "Item types"-msgid "items"-msgstr "items"-msgid "Items"msgstr "Items"@@ -4307,6 +4294,9 @@ msgstr "Job"msgid "Job ID"msgstr "Job ID"+msgid "Job in progress"+msgstr "Job in progress"+msgid "Job Location"msgstr "Job Location"@@ -4858,9 +4848,6 @@ msgstr "Metric units are enabled"msgid "Min Qty"msgstr "Min Qty"-msgid "Minimize"-msgstr "Minimize"-msgid "Minimum"msgstr "Minimum"@@ -5417,9 +5404,6 @@ msgstr "No parent sources recorded yet. Click Recalculate on the planning page tmsgid "No part ID"msgstr "No part ID"-msgid "No parts added yet"-msgstr "No parts added yet"-msgid "No planning data"msgstr "No planning data"@@ -5696,7 +5680,7 @@ msgstr "OR"msgid "Order"msgstr "Order"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr "Order {0} for this job"@@ -5982,6 +5966,9 @@ msgstr "Planned End"msgid "Planned End Time"msgstr "Planned End Time"+msgid "Planned job"+msgstr "Planned job"+msgid "Planned Order"msgstr "Planned Order"@@ -6215,6 +6202,9 @@ msgstr "Production Event"msgid "Production Events"msgstr "Production Events"+msgid "Production planning"+msgstr "Production planning"+msgid "Production Qty"msgstr "Production Qty"@@ -6325,6 +6315,9 @@ msgstr "Purchase Orders"msgid "Purchase orders required"msgstr "Purchase orders required"+msgid "Purchase planning"+msgstr "Purchase planning"+msgid "Purchase Qty"msgstr "Purchase Qty"@@ -6541,8 +6534,10 @@ msgstr "Receive {0} to Inventory"msgid "Receive to Inventory"msgstr "Receive to Inventory"-msgid "Received"-msgstr "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"+msgstr "Received {0} of {1}"msgid "Received At"msgstr "Received At"@@ -6553,9 +6548,6 @@ msgstr "Received By"msgid "Received Qty"msgstr "Received Qty"-msgid "Receiving"-msgstr "Receiving"-msgid "Receiving Location"msgstr "Receiving Location"@@ -6653,9 +6645,6 @@ msgstr "Remove item"msgid "Remove order"msgstr "Remove order"-msgid "Remove Order"-msgstr "Remove Order"-msgid "Remove pair"msgstr "Remove pair"@@ -6665,9 +6654,6 @@ msgstr "Remove sort by column"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "Remove this storage type from all referencing storage units and delete it. This cannot be undone."-msgid "Remove Transfer"-msgstr "Remove Transfer"-msgid "Rendering label preview..."msgstr "Rendering label preview..."@@ -7652,9 +7638,6 @@ msgstr "Start"msgid "Start {0} Day Free Trial"msgstr "Start {0} Day Free Trial"-msgid "Start adding parts to your stock transfer"-msgstr "Start adding parts to your stock transfer"-msgid "Start Date"msgstr "Start Date"@@ -8406,9 +8389,6 @@ msgstr "Transfer ownership of this company to another user"msgid "Transfer To"msgstr "Transfer To"-msgid "Transfers"-msgstr "Transfers"-msgid "Trash"msgstr "Trash"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 137cbbbd7e..f8d0df89bd 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} permisos"msgid "/month/user"msgstr "/mes/usuario"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} más"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>Agregar una parte de proveedor</0> para este artículo para establecer un proveedor preferido."@@ -217,9 +213,6 @@ msgstr "Período de Acumulación (Semanas)"msgid "Accumulation Period:"msgstr "Período de Acumulación:"-msgid "Action Items"-msgstr "Elementos de Acción"-msgid "Action Status"msgstr "Estado de la Acción"@@ -1387,9 +1380,6 @@ msgstr "Clase"msgid "Clear"msgstr "Limpiar"-msgid "Clear All"-msgstr "Limpiar todo"-msgid "Clear due date"msgstr "Borrar fecha de vencimiento"@@ -4010,6 +4000,9 @@ msgstr "En Progreso"msgid "in selected period"msgstr "en el período seleccionado"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "Inactivo"@@ -4250,9 +4243,6 @@ msgstr "Fecha de Emisión"msgid "Issues"msgstr "Problemas"-msgid "item"-msgstr "artículo"-msgid "Item"msgstr "Artículo"@@ -4292,9 +4282,6 @@ msgstr "Tipo de Artículo"msgid "Item types"msgstr "Tipos de artículo"-msgid "items"-msgstr "artículos"-msgid "Items"msgstr "Artículos"@@ -4307,6 +4294,9 @@ msgstr "Trabajo"msgid "Job ID"msgstr "ID de Trabajo"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "Ubicación del Trabajo"@@ -4858,9 +4848,6 @@ msgstr "Las unidades métricas están habilitadas"msgid "Min Qty"msgstr "Cant. Mín"-msgid "Minimize"-msgstr "Minimizar"-msgid "Minimum"msgstr "Mínimo"@@ -5417,9 +5404,6 @@ msgstr "No hay fuentes principales registradas aún. Haz clic en Recalcular en lmsgid "No part ID"msgstr "Sin ID de pieza"-msgid "No parts added yet"-msgstr "No hay piezas añadidas aún"-msgid "No planning data"msgstr "Sin datos de planificación"@@ -5696,7 +5680,7 @@ msgstr "O"msgid "Order"msgstr "Pedido"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "Fin Planificada"msgid "Planned End Time"msgstr "Hora de finalización planeada"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "Orden Planificada"@@ -6215,6 +6202,9 @@ msgstr "Evento de Producción"msgid "Production Events"msgstr "Eventos de Producción"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "Cantidad de Producción"@@ -6325,6 +6315,9 @@ msgstr "Órdenes de Compra"msgid "Purchase orders required"msgstr "Órdenes de compra requeridas"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "Cantidad de Compra"@@ -6541,7 +6534,9 @@ msgstr "Recibir {0} al Inventario"msgid "Receive to Inventory"msgstr "Recibir al Inventario"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "Recibido Por"msgid "Received Qty"msgstr "Cantidad Recibida"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "Ubicación de Recepción"@@ -6653,9 +6645,6 @@ msgstr "Eliminar artículo"msgid "Remove order"msgstr "Eliminar orden"-msgid "Remove Order"-msgstr "Eliminar Pedido"-msgid "Remove pair"msgstr "Eliminar par"@@ -6665,9 +6654,6 @@ msgstr "Eliminar ordenamiento por columna"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "Elimina este tipo de almacenamiento de todas las unidades de almacenamiento que lo referencian y elimínalo. Esto no se puede deshacer."-msgid "Remove Transfer"-msgstr "Eliminar transferencia"-msgid "Rendering label preview..."msgstr "Renderizando vista previa de etiqueta..."@@ -7652,9 +7638,6 @@ msgstr "Iniciar"msgid "Start {0} Day Free Trial"msgstr "Iniciar prueba gratuita de {0} días"-msgid "Start adding parts to your stock transfer"-msgstr "Comienza a agregar piezas a tu transferencia de inventario"-msgid "Start Date"msgstr "Fecha de Inicio"@@ -8406,9 +8389,6 @@ msgstr "Transferir la propiedad de esta empresa a otro usuario"msgid "Transfer To"msgstr "Transferir a"-msgid "Transfers"-msgstr "Transferencias"-msgid "Trash"msgstr "Papelera"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex bc5d37880a..512eb6c6a0 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} permissions"msgid "/month/user"msgstr "/mois/utilisateur"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} de plus"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>Ajouter une pièce fournisseur</0> pour cet article afin de définir un fournisseur préféré."@@ -217,9 +213,6 @@ msgstr "Période d'accumulation (semaines)"msgid "Accumulation Period:"msgstr "Période d'accumulation :"-msgid "Action Items"-msgstr "Éléments d'action"-msgid "Action Status"msgstr "Statut de l'action"@@ -1387,9 +1380,6 @@ msgstr "Classe"msgid "Clear"msgstr "Effacer"-msgid "Clear All"-msgstr "Effacer tout"-msgid "Clear due date"msgstr "Effacer la date d'échéance"@@ -4010,6 +4000,9 @@ msgstr "En cours"msgid "in selected period"msgstr "dans la période sélectionnée"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "Inactif"@@ -4250,9 +4243,6 @@ msgstr "Date d'émission"msgid "Issues"msgstr "Problèmes"-msgid "item"-msgstr "article"-msgid "Item"msgstr "Article"@@ -4292,9 +4282,6 @@ msgstr "Type d'article"msgid "Item types"msgstr "Types d'articles"-msgid "items"-msgstr "articles"-msgid "Items"msgstr "Articles"@@ -4307,6 +4294,9 @@ msgstr "Tâche"msgid "Job ID"msgstr "ID de travail"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "Localisation du travail"@@ -4858,9 +4848,6 @@ msgstr "Les unités métriques sont activées"msgid "Min Qty"msgstr "Qté min"-msgid "Minimize"-msgstr "Réduire"-msgid "Minimum"msgstr "Minimum"@@ -5417,9 +5404,6 @@ msgstr "Aucune source parent enregistrée pour le moment. Cliquez sur Recalculermsgid "No part ID"msgstr "Aucun ID de pièce"-msgid "No parts added yet"-msgstr "Aucune pièce ajoutée pour le moment"-msgid "No planning data"msgstr "Aucune donnée de planification"@@ -5696,7 +5680,7 @@ msgstr "OU"msgid "Order"msgstr "Commande"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "Fin prévue"msgid "Planned End Time"msgstr "Heure de fin prévue"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "Commande planifiée"@@ -6215,6 +6202,9 @@ msgstr "Événement de production"msgid "Production Events"msgstr "Événements de Production"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "Quantité de production"@@ -6325,6 +6315,9 @@ msgstr "Bons de commande"msgid "Purchase orders required"msgstr "Bons de commande requis"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "Quantité d'achat"@@ -6541,7 +6534,9 @@ msgstr "Recevoir {0} à l'inventaire"msgid "Receive to Inventory"msgstr "Recevoir en inventaire"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "Reçu par"msgid "Received Qty"msgstr "Quantité reçue"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "Lieu de réception"@@ -6653,9 +6645,6 @@ msgstr "Supprimer l'article"msgid "Remove order"msgstr "Supprimer la commande"-msgid "Remove Order"-msgstr "Supprimer la commande"-msgid "Remove pair"msgstr "Supprimer la paire"@@ -6665,9 +6654,6 @@ msgstr "Supprimer le tri par colonne"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "Supprimez ce type de stockage de toutes les unités de stockage qui le référencent et supprimez-le. Cette action ne peut pas être annulée."-msgid "Remove Transfer"-msgstr "Supprimer le transfert"-msgid "Rendering label preview..."msgstr "Rendu de l'aperçu de l'étiquette..."@@ -7652,9 +7638,6 @@ msgstr "Démarrer"msgid "Start {0} Day Free Trial"msgstr "Commencer l'essai gratuit de {0} jours"-msgid "Start adding parts to your stock transfer"-msgstr "Commencez à ajouter des pièces à votre transfert de stock"-msgid "Start Date"msgstr "Date de début"@@ -8406,9 +8389,6 @@ msgstr "Transférer la propriété de cette entreprise à un autre utilisateur"msgid "Transfer To"msgstr "Transférer vers"-msgid "Transfers"-msgstr "Transferts"-msgid "Trash"msgstr "Corbeille"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 2ee44e64cd..934d044e93 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} अनुमतियाँ"msgid "/month/user"msgstr "/माह/उपयोगकर्ता"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} और"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>एक आपूर्तिकर्ता भाग जोड़ें</0> इस आइटम के लिए एक पसंदीदा आपूर्तिकर्ता सेट करने के लिए।"@@ -217,9 +213,6 @@ msgstr "संचय अवधि (सप्ताह)"msgid "Accumulation Period:"msgstr "संचय अवधि:"-msgid "Action Items"-msgstr "कार्य आइटम"-msgid "Action Status"msgstr "कार्रवाई स्थिति"@@ -1387,9 +1380,6 @@ msgstr "वर्ग"msgid "Clear"msgstr "साफ़ करें"-msgid "Clear All"-msgstr "सभी को साफ़ करें"-msgid "Clear due date"msgstr "देय तारीख साफ़ करें"@@ -4010,6 +4000,9 @@ msgstr "प्रगति में"msgid "in selected period"msgstr "चयनित अवधि में"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "निष्क्रिय"@@ -4250,9 +4243,6 @@ msgstr "जारी तारीख"msgid "Issues"msgstr "समस्याएं"-msgid "item"-msgstr "आइटम"-msgid "Item"msgstr "आइटम"@@ -4292,9 +4282,6 @@ msgstr "आइटम प्रकार"msgid "Item types"msgstr "आइटम प्रकार"-msgid "items"-msgstr "आइटम"-msgid "Items"msgstr "वस्तुएं"@@ -4307,6 +4294,9 @@ msgstr "Job"msgid "Job ID"msgstr "जॉब आईडी"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "जॉब स्थान"@@ -4858,9 +4848,6 @@ msgstr "मीट्रिक इकाइयाँ सक्षम हैं"msgid "Min Qty"msgstr "न्यूनतम मात्रा"-msgid "Minimize"-msgstr "कम करें"-msgid "Minimum"msgstr "न्यूनतम"@@ -5417,9 +5404,6 @@ msgstr "अभी तक कोई मूल स्रोत दर्ज नहmsgid "No part ID"msgstr "कोई भाग ID नहीं"-msgid "No parts added yet"-msgstr "अभी तक कोई पार्ट जोड़ा नहीं गया"-msgid "No planning data"msgstr "कोई योजना डेटा नहीं"@@ -5696,7 +5680,7 @@ msgstr "या"msgid "Order"msgstr "आदेश"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "नियोजित अंत"msgid "Planned End Time"msgstr "नियोजित समाप्ति समय"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "नियोजित आदेश"@@ -6215,6 +6202,9 @@ msgstr "उत्पादन घटना"msgid "Production Events"msgstr "उत्पादन घटनाएं"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "उत्पादन मात्रा"@@ -6325,6 +6315,9 @@ msgstr "क्रय आदेश"msgid "Purchase orders required"msgstr "क्रय आदेश आवश्यक हैं"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "खरीद मात्रा"@@ -6541,7 +6534,9 @@ msgstr "{0} को इन्वेंटरी में प्राप्तmsgid "Receive to Inventory"msgstr "इन्वेंटरी में प्राप्त करें"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "द्वारा प्राप्त"msgid "Received Qty"msgstr "प्राप्त मात्रा"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "प्राप्ति स्थान"@@ -6653,9 +6645,6 @@ msgstr "आइटम हटाएं"msgid "Remove order"msgstr "ऑर्डर हटाएं"-msgid "Remove Order"-msgstr "ऑर्डर हटाएं"-msgid "Remove pair"msgstr "जोड़ी हटाएं"@@ -6665,9 +6654,6 @@ msgstr "कॉलम द्वारा सॉर्ट हटाएं"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "इस स्टोरेज प्रकार को सभी संदर्भित स्टोरेज इकाइयों से हटाएं और इसे हटाएं। यह पूर्ववत नहीं किया जा सकता।"-msgid "Remove Transfer"-msgstr "ट्रांसफर हटाएं"-msgid "Rendering label preview..."msgstr "लेबल पूर्वावलोकन प्रस्तुत किया जा रहा है..."@@ -7652,9 +7638,6 @@ msgstr "शुरू करें"msgid "Start {0} Day Free Trial"msgstr "{0} दिन की निःशुल्क परीक्षण शुरू करें"-msgid "Start adding parts to your stock transfer"-msgstr "अपने स्टॉक ट्रांसफर में पार्ट्स जोड़ना शुरू करें"-msgid "Start Date"msgstr "शुरुआत तारीख"@@ -8406,9 +8389,6 @@ msgstr "इस कंपनी की स्वामित्व किसीmsgid "Transfer To"msgstr "को स्थानांतरित करें"-msgid "Transfers"-msgstr "स्थानांतरण"-msgid "Trash"msgstr "ट्रैश"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex c7503ca526..a0adbf4346 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} autorizzazioni"msgid "/month/user"msgstr "/mese/utente"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} altri"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>Aggiungi una parte fornitore</0> per questo articolo per impostare un fornitore preferito."@@ -217,9 +213,6 @@ msgstr "Periodo di Accumulo (Settimane)"msgid "Accumulation Period:"msgstr "Periodo di Accumulo:"-msgid "Action Items"-msgstr "Elementi di azione"-msgid "Action Status"msgstr "Stato Azione"@@ -1387,9 +1380,6 @@ msgstr "Classe"msgid "Clear"msgstr "Cancella"-msgid "Clear All"-msgstr "Cancella tutto"-msgid "Clear due date"msgstr "Cancella data di scadenza"@@ -4010,6 +4000,9 @@ msgstr "In corso"msgid "in selected period"msgstr "nel periodo selezionato"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "Inattivo"@@ -4250,9 +4243,6 @@ msgstr "Data di Emissione"msgid "Issues"msgstr "Problemi"-msgid "item"-msgstr "articolo"-msgid "Item"msgstr "Articolo"@@ -4292,9 +4282,6 @@ msgstr "Tipo di articolo"msgid "Item types"msgstr "Tipi di articolo"-msgid "items"-msgstr "articoli"-msgid "Items"msgstr "Articoli"@@ -4307,6 +4294,9 @@ msgstr "Lavoro"msgid "Job ID"msgstr "ID Lavoro"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "Ubicazione Lavoro"@@ -4858,9 +4848,6 @@ msgstr "Le unità metriche sono abilitate"msgid "Min Qty"msgstr "Qtà Min"-msgid "Minimize"-msgstr "Riduci"-msgid "Minimum"msgstr "Minimo"@@ -5417,9 +5404,6 @@ msgstr "Nessuna fonte padre registrata ancora. Fai clic su Ricalcola nella paginmsgid "No part ID"msgstr "Nessun ID parte"-msgid "No parts added yet"-msgstr "Nessuna parte aggiunta ancora"-msgid "No planning data"msgstr "Nessun dato di pianificazione"@@ -5696,7 +5680,7 @@ msgstr "O"msgid "Order"msgstr "Ordine"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "Fine pianificata"msgid "Planned End Time"msgstr "Ora di fine pianificata"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "Ordine Pianificato"@@ -6215,6 +6202,9 @@ msgstr "Evento di Produzione"msgid "Production Events"msgstr "Eventi di Produzione"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "Quantità Produzione"@@ -6325,6 +6315,9 @@ msgstr "Ordini di Acquisto"msgid "Purchase orders required"msgstr "Ordini di acquisto richiesti"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "Quantità Acquisto"@@ -6541,7 +6534,9 @@ msgstr "Ricevi {0} in Inventario"msgid "Receive to Inventory"msgstr "Ricevi in Inventario"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "Ricevuto da"msgid "Received Qty"msgstr "Quantità Ricevuta"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "Ubicazione di ricezione"@@ -6653,9 +6645,6 @@ msgstr "Rimuovi elemento"msgid "Remove order"msgstr "Rimuovi ordine"-msgid "Remove Order"-msgstr "Rimuovi Ordine"-msgid "Remove pair"msgstr "Rimuovi coppia"@@ -6665,9 +6654,6 @@ msgstr "Rimuovi ordinamento per colonna"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "Rimuovi questo tipo di archiviazione da tutte le unità di archiviazione che lo referenziano ed eliminalo. Questa azione non può essere annullata."-msgid "Remove Transfer"-msgstr "Rimuovi Trasferimento"-msgid "Rendering label preview..."msgstr "Rendering dell'anteprima dell'etichetta..."@@ -7652,9 +7638,6 @@ msgstr "Avvia"msgid "Start {0} Day Free Trial"msgstr "Inizia la prova gratuita di {0} giorni"-msgid "Start adding parts to your stock transfer"-msgstr "Inizia ad aggiungere parti al tuo trasferimento di magazzino"-msgid "Start Date"msgstr "Data di inizio"@@ -8406,9 +8389,6 @@ msgstr "Trasferisci la proprietà di questa azienda a un altro utente"msgid "Transfer To"msgstr "Trasferisci A"-msgid "Transfers"-msgstr "Trasferimenti"-msgid "Trash"msgstr "Cestino"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex 5d8c1777df..c96fd20120 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} 個の権限"msgid "/month/user"msgstr "/月/ユーザー"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} 件以上"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>サプライヤー部品を追加</0>このアイテムの優先サプライヤーを設定します。"@@ -217,9 +213,6 @@ msgstr "蓄積期間(週)"msgid "Accumulation Period:"msgstr "蓄積期間:"-msgid "Action Items"-msgstr "アクション項目"-msgid "Action Status"msgstr "アクション状態"@@ -1387,9 +1380,6 @@ msgstr "クラス"msgid "Clear"msgstr "クリア"-msgid "Clear All"-msgstr "すべてクリア"-msgid "Clear due date"msgstr "期限をクリア"@@ -4010,6 +4000,9 @@ msgstr "進行中"msgid "in selected period"msgstr "選択された期間内"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "非アクティブ"@@ -4250,9 +4243,6 @@ msgstr "発行日"msgid "Issues"msgstr "問題"-msgid "item"-msgstr "アイテム"-msgid "Item"msgstr "アイテム"@@ -4292,9 +4282,6 @@ msgstr "アイテムタイプ"msgid "Item types"msgstr "アイテムタイプ"-msgid "items"-msgstr "アイテム"-msgid "Items"msgstr "アイテム"@@ -4307,6 +4294,9 @@ msgstr "ジョブ"msgid "Job ID"msgstr "ジョブID"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "ジョブロケーション"@@ -4858,9 +4848,6 @@ msgstr "メートル法単位が有効です"msgid "Min Qty"msgstr "最小数量"-msgid "Minimize"-msgstr "最小化"-msgid "Minimum"msgstr "最小"@@ -5417,9 +5404,6 @@ msgstr "親ソースはまだ記録されていません。計画ページの「msgid "No part ID"msgstr "パーツIDなし"-msgid "No parts added yet"-msgstr "まだパーツが追加されていません"-msgid "No planning data"msgstr "計画データなし"@@ -5696,7 +5680,7 @@ msgstr "または"msgid "Order"msgstr "注文"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "計画終了"msgid "Planned End Time"msgstr "計画終了時刻"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "計画注文"@@ -6215,6 +6202,9 @@ msgstr "生産イベント"msgid "Production Events"msgstr "本番イベント"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "生産数量"@@ -6325,6 +6315,9 @@ msgstr "購入注文"msgid "Purchase orders required"msgstr "購入注文が必要です"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "購入数量"@@ -6541,7 +6534,9 @@ msgstr "{0}を在庫に受け取る"msgid "Receive to Inventory"msgstr "在庫に受け取る"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "受け取った人"msgid "Received Qty"msgstr "受け取り数量"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "受取場所"@@ -6653,9 +6645,6 @@ msgstr "アイテムを削除"msgid "Remove order"msgstr "注文を削除"-msgid "Remove Order"-msgstr "注文を削除"-msgid "Remove pair"msgstr "ペアを削除"@@ -6665,9 +6654,6 @@ msgstr "列でソートを削除"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "このストレージタイプをすべての参照ストレージユニットから削除し、削除します。これは元に戻すことはできません。"-msgid "Remove Transfer"-msgstr "転送を削除"-msgid "Rendering label preview..."msgstr "ラベルプレビューをレンダリング中..."@@ -7652,9 +7638,6 @@ msgstr "開始"msgid "Start {0} Day Free Trial"msgstr "{0}日間の無料トライアルを開始"-msgid "Start adding parts to your stock transfer"-msgstr "在库存转移中开始添加零件"-msgid "Start Date"msgstr "開始日"@@ -8406,9 +8389,6 @@ msgstr "このカンパニーの所有権を別のユーザーに譲渡する"msgid "Transfer To"msgstr "転送先"-msgid "Transfers"-msgstr "転送"-msgid "Trash"msgstr "ゴミ箱"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex 0abf509649..d76faacab6 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} uprawnień"msgid "/month/user"msgstr "/miesiąc/użytkownik"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} więcej"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>Dodaj część dostawcy</0> dla tego artykułu, aby ustawić preferowanego dostawcę."@@ -217,9 +213,6 @@ msgstr "Okres akumulacji (tygodnie)"msgid "Accumulation Period:"msgstr "Okres akumulacji:"-msgid "Action Items"-msgstr "Elementy akcji"-msgid "Action Status"msgstr "Status działania"@@ -1387,9 +1380,6 @@ msgstr "Klasa"msgid "Clear"msgstr "Wyczysc"-msgid "Clear All"-msgstr "Wyczyść wszystko"-msgid "Clear due date"msgstr "Wyczyść datę terminu"@@ -4010,6 +4000,9 @@ msgstr "W trakcie"msgid "in selected period"msgstr "w wybranym okresie"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "Nieaktywny"@@ -4250,9 +4243,6 @@ msgstr "Data wystawienia"msgid "Issues"msgstr "Problemy"-msgid "item"-msgstr "element"-msgid "Item"msgstr "Przedmiot"@@ -4292,9 +4282,6 @@ msgstr "Typ przedmiotu"msgid "Item types"msgstr "Typy przedmiotów"-msgid "items"-msgstr "elementy"-msgid "Items"msgstr "Artykuły"@@ -4307,6 +4294,9 @@ msgstr "Zadanie"msgid "Job ID"msgstr "ID zadania"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "Lokalizacja Zadania"@@ -4858,9 +4848,6 @@ msgstr "Jednostki metryczne są włączone"msgid "Min Qty"msgstr "Min Ilość"-msgid "Minimize"-msgstr "Minimalizuj"-msgid "Minimum"msgstr "Minimum"@@ -5417,9 +5404,6 @@ msgstr "Brak zarejestrowanych źródeł nadrzędnych. Kliknij Przelicz na stronimsgid "No part ID"msgstr "Brak identyfikatora części"-msgid "No parts added yet"-msgstr "Nie dodano jeszcze żadnych części"-msgid "No planning data"msgstr "Brak danych planowania"@@ -5696,7 +5680,7 @@ msgstr "LUB"msgid "Order"msgstr "Zamówienie"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "Planowany koniec"msgid "Planned End Time"msgstr "Planowany czas zakończenia"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "Zaplanowane Zamówienie"@@ -6215,6 +6202,9 @@ msgstr "Zdarzenie produkcyjne"msgid "Production Events"msgstr "Zdarzenia produkcyjne"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "Ilość produkcji"@@ -6325,6 +6315,9 @@ msgstr "Zamówienia Zakupu"msgid "Purchase orders required"msgstr "Wymagane zamówienia zakupu"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "Ilość zakupu"@@ -6541,7 +6534,9 @@ msgstr "Odbierz {0} do Magazynu"msgid "Receive to Inventory"msgstr "Odbierz do Magazynu"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "Otrzymane od"msgid "Received Qty"msgstr "Otrzymana Ilość"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "Lokalizacja odbioru"@@ -6653,9 +6645,6 @@ msgstr "Usuń element"msgid "Remove order"msgstr "Usuń zamówienie"-msgid "Remove Order"-msgstr "Usuń zamówienie"-msgid "Remove pair"msgstr "Usuń parę"@@ -6665,9 +6654,6 @@ msgstr "Usuń sortowanie według kolumny"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "Usuń ten typ magazynu ze wszystkich jednostek magazynowych, które się do niego odwołują, i usuń go. Tej operacji nie można cofnąć."-msgid "Remove Transfer"-msgstr "Usuń transfer"-msgid "Rendering label preview..."msgstr "Renderowanie podglądu etykiety..."@@ -7652,9 +7638,6 @@ msgstr "Rozpocznij"msgid "Start {0} Day Free Trial"msgstr "Rozpocznij {0}-dniowy bezpłatny okres próbny"-msgid "Start adding parts to your stock transfer"-msgstr "Zacznij dodawać części do transferu zapasów"-msgid "Start Date"msgstr "Data początkowa"@@ -8406,9 +8389,6 @@ msgstr "Przenieś własność tej firmy na innego użytkownika"msgid "Transfer To"msgstr "Przenieś do"-msgid "Transfers"-msgstr "Transfery"-msgid "Trash"msgstr "Kosz"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex 67feb93088..6cc24100f2 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} permissões"msgid "/month/user"msgstr "/mês/utilizador"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} mais"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>Adicionar uma peça de fornecedor</0> para este item para definir um fornecedor preferido."@@ -217,9 +213,6 @@ msgstr "Período de Acumulação (Semanas)"msgid "Accumulation Period:"msgstr "Período de Acumulação:"-msgid "Action Items"-msgstr "Itens de Ação"-msgid "Action Status"msgstr "Status da Ação"@@ -1387,9 +1380,6 @@ msgstr "Classe"msgid "Clear"msgstr "Limpar"-msgid "Clear All"-msgstr "Limpar Tudo"-msgid "Clear due date"msgstr "Limpar data de vencimento"@@ -4010,6 +4000,9 @@ msgstr "Em Andamento"msgid "in selected period"msgstr "no período selecionado"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "Inativo"@@ -4250,9 +4243,6 @@ msgstr "Data de Emissão"msgid "Issues"msgstr "Problemas"-msgid "item"-msgstr "item"-msgid "Item"msgstr "Item"@@ -4292,9 +4282,6 @@ msgstr "Tipo de Item"msgid "Item types"msgstr "Tipos de item"-msgid "items"-msgstr "itens"-msgid "Items"msgstr "Itens"@@ -4307,6 +4294,9 @@ msgstr "Trabalho"msgid "Job ID"msgstr "ID da Tarefa"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "Localização do Trabalho"@@ -4858,9 +4848,6 @@ msgstr "Unidades métricas ativadas"msgid "Min Qty"msgstr "Qtd Mín"-msgid "Minimize"-msgstr "Minimizar"-msgid "Minimum"msgstr "Mínimo"@@ -5417,9 +5404,6 @@ msgstr "Nenhuma fonte pai registrada ainda. Clique em Recalcular na página de pmsgid "No part ID"msgstr "Sem ID de peça"-msgid "No parts added yet"-msgstr "Nenhuma peça adicionada ainda"-msgid "No planning data"msgstr "Sem dados de planejamento"@@ -5696,7 +5680,7 @@ msgstr "OU"msgid "Order"msgstr "Pedido"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "Fim Planejado"msgid "Planned End Time"msgstr "Hora de Término Planejada"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "Ordem Planejada"@@ -6215,6 +6202,9 @@ msgstr "Evento de Produção"msgid "Production Events"msgstr "Eventos de Produção"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "Qtd. Produção"@@ -6325,6 +6315,9 @@ msgstr "Pedidos de Compra"msgid "Purchase orders required"msgstr "Ordens de compra necessárias"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "Qtd. de Compra"@@ -6541,7 +6534,9 @@ msgstr "Receber {0} para Inventário"msgid "Receive to Inventory"msgstr "Receber para Inventário"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "Recebido Por"msgid "Received Qty"msgstr "Qtd. Recebida"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "Local de Recebimento"@@ -6653,9 +6645,6 @@ msgstr "Remover item"msgid "Remove order"msgstr "Remover pedido"-msgid "Remove Order"-msgstr "Remover Pedido"-msgid "Remove pair"msgstr "Remover par"@@ -6665,9 +6654,6 @@ msgstr "Remover ordenação por coluna"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "Remova este tipo de armazenamento de todas as unidades de armazenamento que o referenciam e o delete. Isto não pode ser desfeito."-msgid "Remove Transfer"-msgstr "Remover Transferência"-msgid "Rendering label preview..."msgstr "Renderizando visualização de etiqueta..."@@ -7652,9 +7638,6 @@ msgstr "Iniciar"msgid "Start {0} Day Free Trial"msgstr "Iniciar Teste Gratuito de {0} Dias"-msgid "Start adding parts to your stock transfer"-msgstr "Comece a adicionar peças à sua transferência de estoque"-msgid "Start Date"msgstr "Data de Início"@@ -8406,9 +8389,6 @@ msgstr "Transferir a propriedade desta empresa para outro usuário"msgid "Transfer To"msgstr "Transferir Para"-msgid "Transfers"-msgstr "Transferências"-msgid "Trash"msgstr "Lixo"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex 3071fc422a..ad8091f90d 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} разрешений"msgid "/month/user"msgstr "/месяц/пользователь"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} ещё"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>Добавить поставщика</0> для этого товара, чтобы установить предпочтительного поставщика."@@ -217,9 +213,6 @@ msgstr "Период накопления (недели)"msgid "Accumulation Period:"msgstr "Период накопления:"-msgid "Action Items"-msgstr "Элементы действия"-msgid "Action Status"msgstr "Статус действия"@@ -1387,9 +1380,6 @@ msgstr "Класс"msgid "Clear"msgstr "Очистить"-msgid "Clear All"-msgstr "Очистить всё"-msgid "Clear due date"msgstr "Очистить срок выполнения"@@ -4010,6 +4000,9 @@ msgstr "В процессе"msgid "in selected period"msgstr "в выбранном периоде"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "Неактивно"@@ -4250,9 +4243,6 @@ msgstr "Дата выпуска"msgid "Issues"msgstr "Проблемы"-msgid "item"-msgstr "элемент"-msgid "Item"msgstr "Товар"@@ -4292,9 +4282,6 @@ msgstr "Тип товара"msgid "Item types"msgstr "Типы товаров"-msgid "items"-msgstr "элементы"-msgid "Items"msgstr "Товары"@@ -4307,6 +4294,9 @@ msgstr "Задание"msgid "Job ID"msgstr "ID задания"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "Местоположение задания"@@ -4858,9 +4848,6 @@ msgstr "Метрические единицы включены"msgid "Min Qty"msgstr "Мин. кол-во"-msgid "Minimize"-msgstr "Свернуть"-msgid "Minimum"msgstr "Минимум"@@ -5417,9 +5404,6 @@ msgstr "Родительские источники еще не записаныmsgid "No part ID"msgstr "Нет ID детали"-msgid "No parts added yet"-msgstr "Части еще не добавлены"-msgid "No planning data"msgstr "Нет данных планирования"@@ -5696,7 +5680,7 @@ msgstr "ИЛИ"msgid "Order"msgstr "Заказ"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "Запланированное окончание"msgid "Planned End Time"msgstr "Запланированное время окончания"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "Плановый заказ"@@ -6215,6 +6202,9 @@ msgstr "Производственное событие"msgid "Production Events"msgstr "События производства"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "Кол-во производства"@@ -6325,6 +6315,9 @@ msgstr "Заказы на покупку"msgid "Purchase orders required"msgstr "Требуются заказы на покупку"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "Кол-во покупки"@@ -6541,7 +6534,9 @@ msgstr "Получить {0} в инвентарь"msgid "Receive to Inventory"msgstr "Получить в инвентарь"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "Получено от"msgid "Received Qty"msgstr "Полученное кол-во"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "Место получения"@@ -6653,9 +6645,6 @@ msgstr "Удалить товар"msgid "Remove order"msgstr "Удалить заказ"-msgid "Remove Order"-msgstr "Удалить заказ"-msgid "Remove pair"msgstr "Удалить пару"@@ -6665,9 +6654,6 @@ msgstr "Удалить сортировку по столбцу"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "Удалите этот тип хранилища из всех ссылающихся на него единиц хранения и удалите его. Это невозможно отменить."-msgid "Remove Transfer"-msgstr "Удалить передачу"-msgid "Rendering label preview..."msgstr "Отрисовка предпросмотра этикетки..."@@ -7652,9 +7638,6 @@ msgstr "Начать"msgid "Start {0} Day Free Trial"msgstr "Начать {0}-дневный бесплатный пробный период"-msgid "Start adding parts to your stock transfer"-msgstr "Начните добавлять детали в ваш трансфер запасов"-msgid "Start Date"msgstr "Дата начала"@@ -8406,9 +8389,6 @@ msgstr "Передайте право собственности на эту кmsgid "Transfer To"msgstr "Передать в"-msgid "Transfers"-msgstr "Передачи"-msgid "Trash"msgstr "Корзина"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex e209233241..3bc901f8f0 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} izinleri"msgid "/month/user"msgstr "/ay/kullanıcı"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} daha fazla"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>Bir tedarikçi parça ekle</0> bu öğe için tercih edilen bir tedarikçi belirlemek amacıyla."@@ -217,9 +213,6 @@ msgstr "Biriktirme Süresi (Hafta)"msgid "Accumulation Period:"msgstr "Biriktirme Dönemi:"-msgid "Action Items"-msgstr "Eylem Öğeleri"-msgid "Action Status"msgstr "Aksiyon Durumu"@@ -1387,9 +1380,6 @@ msgstr "Sınıf"msgid "Clear"msgstr "Temizle"-msgid "Clear All"-msgstr "Tümünü Temizle"-msgid "Clear due date"msgstr "Vade tarihini temizle"@@ -4010,6 +4000,9 @@ msgstr "Devam Ediyor"msgid "in selected period"msgstr "seçilen dönemde"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "Pasif"@@ -4250,9 +4243,6 @@ msgstr "Düzenlenme Tarihi"msgid "Issues"msgstr "Sorunlar"-msgid "item"-msgstr "öğe"-msgid "Item"msgstr "Ürün"@@ -4292,9 +4282,6 @@ msgstr "Ürün Tipi"msgid "Item types"msgstr "Ürün tipleri"-msgid "items"-msgstr "öğeler"-msgid "Items"msgstr "Ürünler"@@ -4307,6 +4294,9 @@ msgstr "İş"msgid "Job ID"msgstr "İş Emri Kimliği"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "İş Yeri Konumu"@@ -4858,9 +4848,6 @@ msgstr "Metrik birimler etkinleştirilmiş"msgid "Min Qty"msgstr "Min Miktar"-msgid "Minimize"-msgstr "Küçült"-msgid "Minimum"msgstr "Minimum"@@ -5417,9 +5404,6 @@ msgstr "Henüz üst kaynaklar kaydedilmedi. Atıfı yenilemek için planlama saymsgid "No part ID"msgstr "Parça kimliği yok"-msgid "No parts added yet"-msgstr "Henüz parça eklenmedi"-msgid "No planning data"msgstr "Planlama verisi yok"@@ -5696,7 +5680,7 @@ msgstr "VEYA"msgid "Order"msgstr "Sipariş"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "Planlanan Bitiş"msgid "Planned End Time"msgstr "Planlan Bitiş Zamanı"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "Planlanmış Sipariş"@@ -6215,6 +6202,9 @@ msgstr "Üretim Olayı"msgid "Production Events"msgstr "Üretim Etkinlikleri"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "Üretim Miktarı"@@ -6325,6 +6315,9 @@ msgstr "Satın Alma Siparişleri"msgid "Purchase orders required"msgstr "Satın alma siparişleri gerekli"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "Satın Alma Miktarı"@@ -6541,7 +6534,9 @@ msgstr "{0}'yi Envantere Al"msgid "Receive to Inventory"msgstr "Envantere Al"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "Kim Aldığı Kişi"msgid "Received Qty"msgstr "Alınan Miktar"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "Teslim Alma Yeri"@@ -6653,9 +6645,6 @@ msgstr "Ürünü kaldır"msgid "Remove order"msgstr "Siparişi kaldır"-msgid "Remove Order"-msgstr "Siparişi Kaldır"-msgid "Remove pair"msgstr "Çifti kaldır"@@ -6665,9 +6654,6 @@ msgstr "Sıralamayı kaldır"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "Bu depolama türünü tüm referans veren depolama birimlerinden kaldırır ve siler. Bu geri alınamaz."-msgid "Remove Transfer"-msgstr "Transferi Kaldır"-msgid "Rendering label preview..."msgstr "Etiket önizlemesi oluşturuluyor..."@@ -7652,9 +7638,6 @@ msgstr "Başlat"msgid "Start {0} Day Free Trial"msgstr "{0} Gün Ücretsiz Deneme Başlat"-msgid "Start adding parts to your stock transfer"-msgstr "Parçaları stok transferinize eklemeye başlayın"-msgid "Start Date"msgstr "Başlangıç Tarihi"@@ -8406,9 +8389,6 @@ msgstr "Bu şirketin sahipliğini başka bir kullanıcıya aktarın"msgid "Transfer To"msgstr "Aktarılacak Lokasyon"-msgid "Transfers"-msgstr "Transferler"-msgid "Trash"msgstr "Çöp Kutusu"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex 29886f85b1..55b02e6048 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -66,10 +66,6 @@ msgstr "{scopeCount} 个权限"msgid "/month/user"msgstr "/月/用户"-#. placeholder {0}: allItems.length - 3-msgid "+{0} more"-msgstr "+{0} 更多"-msgid "<0>Add a supplier part</0> for this item to set a preferred supplier."msgstr "<0>为此项目添加供应商零件</0>以设置首选供应商。"@@ -217,9 +213,6 @@ msgstr "累积期(周)"msgid "Accumulation Period:"msgstr "累积期间:"-msgid "Action Items"-msgstr "操作项"-msgid "Action Status"msgstr "操作状态"@@ -1387,9 +1380,6 @@ msgstr "类别"msgid "Clear"msgstr "清除"-msgid "Clear All"-msgstr "全部清除"-msgid "Clear due date"msgstr "清除截止日期"@@ -4010,6 +4000,9 @@ msgstr "进行中"msgid "in selected period"msgstr "在选定的时间段内"+msgid "In stock"+msgstr ""+msgid "Inactive"msgstr "未激活"@@ -4250,9 +4243,6 @@ msgstr "签发日期"msgid "Issues"msgstr "问题"-msgid "item"-msgstr "项"-msgid "Item"msgstr "物品"@@ -4292,9 +4282,6 @@ msgstr "物品类型"msgid "Item types"msgstr "物品类型"-msgid "items"-msgstr "项目"-msgid "Items"msgstr "物品"@@ -4307,6 +4294,9 @@ msgstr "工作"msgid "Job ID"msgstr "工作ID"+msgid "Job in progress"+msgstr ""+msgid "Job Location"msgstr "工作地点"@@ -4858,9 +4848,6 @@ msgstr "公制单位已启用"msgid "Min Qty"msgstr "最小数量"-msgid "Minimize"-msgstr "最小化"-msgid "Minimum"msgstr "最小值"@@ -5417,9 +5404,6 @@ msgstr "尚未记录任何父源。点击计划页面上的\"重新计算\"以msgid "No part ID"msgstr "无零件ID"-msgid "No parts added yet"-msgstr "还未添加零件"-msgid "No planning data"msgstr "没有规划数据"@@ -5696,7 +5680,7 @@ msgstr "或"msgid "Order"msgstr "订单"-#. placeholder {0}: status.shortfall+#. placeholder {0}: status?.shortfallmsgid "Order {0} for this job"msgstr ""@@ -5982,6 +5966,9 @@ msgstr "计划结束"msgid "Planned End Time"msgstr "计划结束时间"+msgid "Planned job"+msgstr ""+msgid "Planned Order"msgstr "计划订单"@@ -6215,6 +6202,9 @@ msgstr "生产事件"msgid "Production Events"msgstr "生产事件"+msgid "Production planning"+msgstr ""+msgid "Production Qty"msgstr "生产数量"@@ -6325,6 +6315,9 @@ msgstr "采购订单"msgid "Purchase orders required"msgstr "采购订单必需"+msgid "Purchase planning"+msgstr ""+msgid "Purchase Qty"msgstr "采购数量"@@ -6541,7 +6534,9 @@ msgstr "将 {0} 接收到库存"msgid "Receive to Inventory"msgstr "接收到库存"-msgid "Received"+#. placeholder {0}: status?.received+#. placeholder {1}: status?.ordered+msgid "Received {0} of {1}"msgstr ""msgid "Received At"@@ -6553,9 +6548,6 @@ msgstr "接收人"msgid "Received Qty"msgstr "已收货数量"-msgid "Receiving"-msgstr ""-msgid "Receiving Location"msgstr "收货地点"@@ -6653,9 +6645,6 @@ msgstr "删除项目"msgid "Remove order"msgstr "删除订单"-msgid "Remove Order"-msgstr "删除订单"-msgid "Remove pair"msgstr "移除配对"@@ -6665,9 +6654,6 @@ msgstr "删除按列排序"msgid "Remove this storage type from all referencing storage units and delete it. This cannot be undone."msgstr "从所有引用此存储类型的存储单元中移除它并将其删除。此操作无法撤销。"-msgid "Remove Transfer"-msgstr "移除转移"-msgid "Rendering label preview..."msgstr "正在渲染标签预览..."@@ -7652,9 +7638,6 @@ msgstr "开始"msgid "Start {0} Day Free Trial"msgstr "开始 {0} 天免费试用"-msgid "Start adding parts to your stock transfer"-msgstr "开始向您的库存转移添加零件"-msgid "Start Date"msgstr "开始日期"@@ -8406,9 +8389,6 @@ msgstr "将此公司的所有权转移给另一个用户"msgid "Transfer To"msgstr "转移至"-msgid "Transfers"-msgstr "转移"-msgid "Trash"msgstr "垃圾桶"diff --git a/packages/react/src/PulsingDot.tsx b/packages/react/src/PulsingDot.tsxindex 7ae26540fb..c91cbd2829 100644--- a/packages/react/src/PulsingDot.tsx+++ b/packages/react/src/PulsingDot.tsx@@ -9,7 +9,7 @@ export function PulsingDot({if (inactive) {return (<span- className={cn("w-2 h-2 bg-muted rounded-full bg-red-500", className)}+ className={cn("w-2 h-2 bg-muted rounded-full bg-amber-500", className)}{...props}/>);@@ -18,9 +18,9 @@ export function PulsingDot({return (<span className={cn("relative flex h-2 w-2", className)} {...props}><span- className={`absolute h-full w-full animate-ping rounded-full border border-red-500 opacity-100 duration-1000`}+ className={`absolute h-full w-full animate-ping rounded-full border border-amber-500 opacity-100 duration-1000`}/>- <span className={`h-2 w-2 rounded-full bg-red-500`} />+ <span className={`h-2 w-2 rounded-full bg-amber-500`} /></span>);}