Skip to content

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

feat: add route for production planning

Brad Barbine4f947c91020
diff --git a/apps/erp/app/modules/production/ui/useProductionSubmodules.tsx b/apps/erp/app/modules/production/ui/useProductionSubmodules.tsx
index ff2d6ba4d2..3aea20a4f7 100644
--- a/apps/erp/app/modules/production/ui/useProductionSubmodules.tsx
+++ b/apps/erp/app/modules/production/ui/useProductionSubmodules.tsx
@@ -1,5 +1,6 @@
import {
LuHardHat,
+ LuSquareChartGantt,
LuSquareKanban,
LuTrash,
LuWaypoints,
@@ -19,6 +20,11 @@ const productionRoutes: AuthenticatedRouteGroup[] = [
icon: <LuHardHat />,
table: "job",
},
+ {
+ name: "Planning",
+ to: path.to.productionPlanning,
+ icon: <LuSquareChartGantt />,
+ },
{
name: "Schedule",
to: path.to.schedule,
diff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.ts
index b1aca5f375..bfc281bfef 100644
--- a/apps/erp/app/utils/path.ts
+++ b/apps/erp/app/utils/path.ts
@@ -968,6 +968,7 @@ export const path = {
process: (id: string) => generatePath(`${x}/resources/processes/${id}`),
processes: `${x}/resources/processes`,
production: `${x}/production`,
+ productionPlanning: `${x}/production/planning`,
productionSettings: `${x}/settings/production`,
profile: `${x}/account/profile`,
purchaseInvoice: (id: string) =>