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
refactor: add console.error for diagnoistics of price recalculation
Brad Barbin153999b490dc
diff --git a/apps/erp/app/routes/x+/quote+/$quoteId.$lineId.recalculate-price.tsx b/apps/erp/app/routes/x+/quote+/$quoteId.$lineId.recalculate-price.tsxindex e70fc3fc46..d2b02ecec0 100644--- a/apps/erp/app/routes/x+/quote+/$quoteId.$lineId.recalculate-price.tsx+++ b/apps/erp/app/routes/x+/quote+/$quoteId.$lineId.recalculate-price.tsx@@ -58,6 +58,7 @@ export async function action({ request, params }: ActionFunctionArgs) {inserts);if (insertLinePrices.error) {+ console.error(insertLinePrices.error);return json({ data: null, error: insertLinePrices.error.message },{ status: 400 }