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
style: documents route added and new cards design added (#1008)
Anshul sharma912c17809566
diff --git a/apps/erp/app/hooks/useModules.tsx b/apps/erp/app/hooks/useModules.tsxindex cea8c2d02e..46d8bea98e 100644--- a/apps/erp/app/hooks/useModules.tsx+++ b/apps/erp/app/hooks/useModules.tsx@@ -6,6 +6,7 @@ import {LuCreditCard,LuCrown,LuFactory,+ LuFiles,LuFolderCheck,LuLandmark,LuSettings,@@ -52,14 +53,13 @@ function useModuleDefinitions(): ModuleDefinition[] {to: path.to.chartOfAccounts,icon: LuLandmark},- // Documents module hidden for now.- // {- // key: "documents",- // permission: "documents",- // name: t`Documents`,- // to: path.to.documents,- // icon: LuFiles- // },+ {+ key: "documents",+ permission: "documents",+ name: t`Documents`,+ to: path.to.documents,+ icon: LuFiles+ },{key: "inventory",permission: "inventory",diff --git a/apps/erp/app/routes/x+/_index.tsx b/apps/erp/app/routes/x+/_index.tsxindex eb481733c4..64e34dd7c8 100644--- a/apps/erp/app/routes/x+/_index.tsx+++ b/apps/erp/app/routes/x+/_index.tsx@@ -173,7 +173,7 @@ export default function AppIndexRoute() {</div></enrollFetcher.Form>) : null}- <div className="grid grid-cols-[repeat(auto-fill,minmax(min(100%,300px),1fr))] gap-6 mb-8">+ <div className="grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-4 gap-4 mb-8">{modules.filter((mod) => mod.key !== "settings").map((module) => (@@ -199,12 +199,12 @@ const ModuleCard = ({ module }: { module: Authenticated<NavItem> }) => (<Linkto={module.to}prefetch="intent"- className="aspect-video flex flex-col gap-3 items-center justify-center py-8 shadow-button-base bg-gradient-to-bl from-card/70 from-50% to-background/70 backdrop-blur-md rounded-lg text-center group ring-2 ring-transparent hover:ring-white/10 cursor-pointer hover:scale-105 transition-all duration-300"+ className="flex items-center gap-4 p-4 bg-card/70 backdrop-blur-md rounded-lg border border-border shadow-button-base group hover:bg-accent/40 hover:border-foreground/20 cursor-pointer transition-colors duration-200">- <div className="p-4 rounded-lg border">- <module.icon className="text-2xl" />+ <div className="shrink-0 p-2.5 rounded-lg border border-border group-hover:border-foreground/20 transition-colors">+ <module.icon className="text-xl" /></div>- <span className="text-sm py-1 px-4 border border-border rounded-full group-hover:bg-accent font-medium tracking-tight">+ <span className="text-sm py-1 px-4 border border-border rounded-full group-hover:bg-background font-medium tracking-tight transition-colors">{module.name}</span></Link>