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: only show quantity progressbar if in working state
Sidwebworks94af419593f0
diff --git a/apps/erp/app/modules/production/ui/Jobs/JobsTable.tsx b/apps/erp/app/modules/production/ui/Jobs/JobsTable.tsxindex d22012364b..27a18520c1 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobsTable.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobsTable.tsx@@ -236,22 +236,22 @@ const JobsTable = memo(({ data, count, tags }: JobsTableProps) => {accessorKey: "quantity",header: "Quantity",cell: ({ row }) => {+ const quantity = row.original.quantity;+ const quantityComplete = row.original.quantityComplete ?? 0;+if (- ["Ready", "Paused", "In Progress", "Completed"].includes(+ ["In Progress", "Released", "Paused"].includes(row.original.status ?? "")) {return (<BarProgress- progress={- ((row.original.quantityComplete ?? 0) /- (row.original.quantity ?? 0)) *- 100- }+ progress={(quantityComplete / (quantity ?? 0)) * 100}+ value={`${quantityComplete}/${quantity}`}/>);}- return row.original.quantity;+ return quantity;},meta: {icon: <LuHash />,