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: employee job fetch in convert function
Brad Barbin62aab57c1845
diff --git a/packages/database/supabase/functions/convert/index.ts b/packages/database/supabase/functions/convert/index.tsindex e6c69321b5..cb37cf0c79 100644--- a/packages/database/supabase/functions/convert/index.ts+++ b/packages/database/supabase/functions/convert/index.ts@@ -570,11 +570,6 @@ serve(async (req: Request) => {.eq("id", salesRfq.data.customerId).single(),client.from("company").select("*").eq("id", companyId).single(),- client- .from("employeeJob")- .select("*")- .eq("id", userId)- .eq("companyId", companyId),]);if (customerPayment.error) throw customerPayment.error;@@ -847,7 +842,7 @@ serve(async (req: Request) => {client.from("employeeJob").select("*")- .eq("employeeId", userId)+ .eq("id", userId).eq("companyId", companyId).single(),]);