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.

style: remove items from item menu

Brad Barbin4d80d5f379fc
diff --git a/apps/carbon/app/modules/items/ui/Methods/MethodMaterialsTable.tsx b/apps/carbon/app/modules/items/ui/Methods/MethodMaterialsTable.tsx
index af1eb29b31..3f3c612922 100644
--- a/apps/carbon/app/modules/items/ui/Methods/MethodMaterialsTable.tsx
+++ b/apps/carbon/app/modules/items/ui/Methods/MethodMaterialsTable.tsx
@@ -43,7 +43,7 @@ const MethodMaterialsTable = memo(
},
{
accessorKey: "itemReadableId",
- header: "Item ID",
+ header: "Material ID",
cell: (item) => item.getValue(),
meta: {
filter: {
diff --git a/apps/carbon/app/modules/items/ui/useItemsSubmodules.tsx b/apps/carbon/app/modules/items/ui/useItemsSubmodules.tsx
index dc8c215839..b11e3eff0a 100644
--- a/apps/carbon/app/modules/items/ui/useItemsSubmodules.tsx
+++ b/apps/carbon/app/modules/items/ui/useItemsSubmodules.tsx
@@ -2,15 +2,12 @@ import { AiOutlinePartition } from "react-icons/ai";
import { GiWoodBeam } from "react-icons/gi";
import {
LuAtom,
- LuClock,
LuGrip,
LuHammer,
- LuPackage,
LuPizza,
LuRuler,
LuShapes,
} from "react-icons/lu";
-import { PiPiggyBank } from "react-icons/pi";
import { usePermissions } from "~/hooks";
import type { AuthenticatedRouteGroup } from "~/types";
import { path } from "~/utils/path";
@@ -51,21 +48,21 @@ const itemsRoutes: AuthenticatedRouteGroup[] = [
// },
],
},
- {
- name: "Methods",
- routes: [
- {
- name: "Materials",
- to: path.to.methodMaterials,
- icon: <LuPackage />,
- },
- {
- name: "Operations",
- to: path.to.methodOperations,
- icon: <LuClock />,
- },
- ],
- },
+ // {
+ // name: "Methods",
+ // routes: [
+ // {
+ // name: "Materials",
+ // to: path.to.methodMaterials,
+ // icon: <LuPackage />,
+ // },
+ // {
+ // name: "Operations",
+ // to: path.to.methodOperations,
+ // icon: <LuClock />,
+ // },
+ // ],
+ // },
{
name: "Configure",
routes: [
@@ -81,12 +78,12 @@ const itemsRoutes: AuthenticatedRouteGroup[] = [
icon: <GiWoodBeam />,
role: "employee",
},
- {
- name: "Posting Groups",
- to: path.to.itemPostingGroups,
- role: "employee",
- icon: <PiPiggyBank />,
- },
+ // {
+ // name: "Posting Groups",
+ // to: path.to.itemPostingGroups,
+ // role: "employee",
+ // icon: <PiPiggyBank />,
+ // },
{
name: "Units of Measure",
to: path.to.uoms,