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(erp): hide empty job step records box (stray line under steps)
sidgaikwadf0128a9ebccd
diff --git a/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx b/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsxindex 5986b4af23..74cdd16f45 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobBillOfProcess.tsx@@ -1764,8 +1764,10 @@ function PreviewStepRecords({ attribute }: { attribute: JobOperationStep }) {const { formatRelativeTime } = useDateFormatter();if (!attribute.jobOperationStepRecord ||- !Array.isArray(attribute.jobOperationStepRecord)+ !Array.isArray(attribute.jobOperationStepRecord) ||+ attribute.jobOperationStepRecord.length === 0) {+ // No records yet — don't render the empty bordered box (it shows as a stray line).return null;}