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
fix: work center data-shape fix in schedule
Brad Barbin76afef180733
diff --git a/apps/erp/app/routes/x+/schedule+/index.tsx b/apps/erp/app/routes/x+/schedule+/index.tsxindex f33c509955..42c9ddb69b 100644--- a/apps/erp/app/routes/x+/schedule+/index.tsx+++ b/apps/erp/app/routes/x+/schedule+/index.tsx@@ -223,10 +223,7 @@ export async function loader({ request }: LoaderFunctionArgs) {.map((wc) => ({id: wc.id!,title: wc.name!,- type:- (wc.processes as { id: string; name: string }[] | undefined)?.map(- (p) => p.id- ) ?? [],+ type: wc.processes ?? [],active: activeWorkCenters.has(wc.id),})).sort((a, b) => a.title.localeCompare(b.title)) satisfies Column[],diff --git a/apps/mes/app/routes/x+/operations.tsx b/apps/mes/app/routes/x+/operations.tsxindex 23607c22b0..6bc4818860 100644--- a/apps/mes/app/routes/x+/operations.tsx+++ b/apps/mes/app/routes/x+/operations.tsx@@ -205,10 +205,7 @@ export async function loader({ request }: LoaderFunctionArgs) {.map((wc) => ({id: wc.id!,title: wc.name!,- type:- (wc.processes as { id: string; name: string }[] | undefined)?.map(- (p) => p.id- ) ?? [],+ type: wc.processes ?? [],active: activeWorkCenters.has(wc.id),})).sort((a, b) => a.title.localeCompare(b.title)) satisfies Column[],