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: update flash messages for quote and rfq status change
Rob Carrington7662cd3d2bf2
diff --git a/apps/carbon/app/routes/x+/quote+/$quoteId.status.tsx b/apps/carbon/app/routes/x+/quote+/$quoteId.status.tsxindex 5fd86dfa68..3fc50622e0 100644--- a/apps/carbon/app/routes/x+/quote+/$quoteId.status.tsx+++ b/apps/carbon/app/routes/x+/quote+/$quoteId.status.tsx@@ -35,12 +35,12 @@ export async function action({ request, params }: ActionFunctionArgs) {if (update.error) {throw redirect(requestReferrer(request) ?? path.to.quote(id),- await flash(request, error(update.error, "Failed to update RFQ status"))+ await flash(request, error(update.error, "Failed to update quote status")));}throw redirect(requestReferrer(request) ?? path.to.quote(id),- await flash(request, success("Updated RFQ status"))+ await flash(request, success("Updated quote status")));}diff --git a/apps/carbon/app/routes/x+/sales-rfq+/$rfqId.status.tsx b/apps/carbon/app/routes/x+/sales-rfq+/$rfqId.status.tsxindex 2a31939888..03a3dcab5c 100644--- a/apps/carbon/app/routes/x+/sales-rfq+/$rfqId.status.tsx+++ b/apps/carbon/app/routes/x+/sales-rfq+/$rfqId.status.tsx@@ -35,12 +35,12 @@ export async function action({ request, params }: ActionFunctionArgs) {if (update.error) {throw redirect(path.to.salesRfq(id),- await flash(request, error(update.error, "Failed to update RFQ"))+ await flash(request, error(update.error, "Failed to update RFQ status")));}throw redirect(path.to.salesRfq(id),- await flash(request, success("Updated RFQ"))+ await flash(request, success("Updated RFQ status")));}