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 diagnostics for quote pricing bug
Brad Barbin515849d37a45
diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteLinePricing.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteLinePricing.tsxindex e2d797b028..78cf39d343 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteLinePricing.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteLinePricing.tsx@@ -200,6 +200,8 @@ const QuoteLinePricing = ({return totalCost;});+ console.log({ unitCostsByQuantity });+const netPricesByQuantity = quantities.map((quantity, index) => {const price = prices[quantity]?.unitPrice ?? 0;const discount = prices[quantity]?.discountPercent ?? 0;