Skip to content

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.

fix: quote finalize shows missing price, lead time and shipping cost as yellow warnings (#2054)

Brad Barbine389f66bebff
diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteFinalizeModal.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteFinalizeModal.tsx
index f54da91683..bf686f7109 100644
--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteFinalizeModal.tsx
+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteFinalizeModal.tsx
@@ -187,7 +187,7 @@ const QuotationFinalizeModal = ({
<Trans>Are you sure you want to finalize the quote?</Trans>
</p>
{warningLineReadableIds.length > 0 && (
- <Alert variant="destructive">
+ <Alert variant="warning">
<LuTriangleAlert className="h-4 w-4" />
<AlertTitle>
<Trans>Lines need prices or lead times</Trans>
@@ -203,7 +203,7 @@ const QuotationFinalizeModal = ({
</Alert>
)}
{showShippingWarning && (
- <Alert variant="destructive">
+ <Alert variant="warning">
<LuTriangleAlert className="h-4 w-4" />
<AlertTitle>
<Trans>Missing Shipping Costs</Trans>