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: use appropriate cursor on bill of material and bill of process items
Brad Barbin177e3fc22e38
diff --git a/apps/erp/app/components/SortableList.tsx b/apps/erp/app/components/SortableList.tsxindex f732b83ba3..7c0e71a6f1 100644--- a/apps/erp/app/components/SortableList.tsx+++ b/apps/erp/app/components/SortableList.tsx@@ -114,17 +114,17 @@ function SortableListItem<T>({{getParallelizedOrder(order, item, items)}</p>- {/* List Title */}<divkey={`${item.checked}`}- className="px-1 flex flex-grow truncate cursor-pointer"+ className="px-1 flex flex-grow truncate"role="button">- <HStack className="w-full justify-between">+ <HStack className="w-full justify-between cursor-grab">+ {/* List Title */}{typeof item.title === "string" ? (<spanclassName={cn(- "flex font-medium text-sm md:text-base truncate hover:underline",+ "flex font-medium text-sm md:text-base truncate hover:underline cursor-pointer",item.checked ? "text-red-400" : "text-foreground")}onClick={(e) => {diff --git a/apps/erp/app/hooks/useCustomColumns.tsx b/apps/erp/app/hooks/useCustomColumns.tsxindex 58fb123314..36024cb482 100644--- a/apps/erp/app/hooks/useCustomColumns.tsx+++ b/apps/erp/app/hooks/useCustomColumns.tsx@@ -5,7 +5,7 @@ import {LuCalendar,LuCaseSensitive,LuContainer,- LuEuro,+ LuHash,LuList,LuSquareUser,LuToggleLeft,@@ -177,7 +177,7 @@ function ColumnIcon({ dataTypeId }: { dataTypeId: DataType }) {case DataType.List:return <LuList />;case DataType.Numeric:- return <LuEuro />;+ return <LuHash />;case DataType.Text:return <LuCaseSensitive />;case DataType.User:diff --git a/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx b/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsxindex 13483ba5da..db329702a4 100644--- a/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx+++ b/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx@@ -808,7 +808,7 @@ function makeItem(return {id: material.id!,title: (- <VStack spacing={0} className="py-2.5">+ <VStack spacing={0} className="py-2.5 cursor-pointer"><h3 className="font-semibold truncate">{material.itemReadableId}</h3>{material?.description && (<span className="text-xs text-muted-foreground">diff --git a/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx b/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsxindex cf6b63c965..e0178fb038 100644--- a/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx+++ b/apps/erp/app/modules/items/ui/Item/BillOfProcess.tsx@@ -1575,7 +1575,11 @@ function makeItem(): ItemWithData {return {id: operation.id!,- title: <h3 className="font-semibold truncate">{operation.description}</h3>,+ title: (+ <h3 className="font-semibold truncate cursor-pointer">+ {operation.description}+ </h3>+ ),checked: false,order: operation.operationOrder,details: (diff --git a/apps/erp/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx b/apps/erp/app/modules/production/ui/Jobs/JobBillOfMaterial.tsxindex 5cba167253..1ddd33893e 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx@@ -93,7 +93,7 @@ function makeItem(return {id: material.id!,title: (- <VStack spacing={0} className="py-2.5">+ <VStack spacing={0} className="py-2.5 cursor-pointer"><h3 className="font-semibold truncate">{material.itemReadableId}</h3>{material?.description && (<span className="text-xs text-muted-foreground">diff --git a/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx b/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsxindex dfc8bd70ec..2c0bf39a4e 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx@@ -138,7 +138,9 @@ function makeItem(id: operation.id!,title: (<HStack>- <h3 className="font-semibold truncate">{operation.description}</h3>+ <h3 className="font-semibold truncate cursor-pointer">+ {operation.description}+ </h3></HStack>),checked: false,diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsxindex d4d62fa8ec..d759a21012 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx@@ -93,7 +93,7 @@ function makeItem(return {id: material.id!,title: (- <VStack spacing={0} className="py-2.5">+ <VStack spacing={0} className="py-2.5 cursor-pointer"><h3 className="font-semibold truncate">{material.itemReadableId}</h3>{material?.description && (<span className="text-xs text-muted-foreground">diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsxindex baeabb2de2..24c2198333 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx@@ -129,7 +129,11 @@ function makeItem(): ItemWithData {return {id: operation.id!,- title: <h3 className="font-semibold truncate">{operation.description}</h3>,+ title: (+ <h3 className="font-semibold truncate cursor-pointer">+ {operation.description}+ </h3>+ ),checked: false,order: operation.operationOrder,details: (