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(erp): match quote step/parameter cards to tool cards and round first/last cards
sidgaikwad6855f2b08da0
diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsxindex 39b2e0f69e..5f6c2747da 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfProcess.tsx@@ -1129,7 +1129,7 @@ function AttributesForm({</div>{steps.length > 0 && (- <div className="border bg-card rounded-lg">+ <div className="border rounded-lg"><Reorder.Groupaxis="y"values={sortOrder}@@ -1154,9 +1154,11 @@ function AttributesForm({isDisabled={isDisabled}dragControls={dragControls}itemMentions={itemMentions}- className={- index === sortOrder.length - 1 ? "border-none" : ""- }+ className={cn(+ index === 0 && "rounded-t-lg",+ index === sortOrder.length - 1 &&+ "rounded-b-lg border-none"+ )}/>)}</DraggableStepItem>@@ -1286,7 +1288,7 @@ function AttributesListItem({if (!id) return null;return (- <div className={cn("border-b p-6", className)}>+ <div className={cn("border-b p-6 bg-card", className)}>{disclosure.isOpen ? (<ValidatedFormaction={path.to.quoteOperationStep(id)}@@ -1595,7 +1597,7 @@ function ParametersForm({</div>{parameters.length > 0 && (- <div className="border bg-card rounded-lg">+ <div className="border rounded-lg">{[...parameters].sort((a, b) =>String(a.id ?? "").localeCompare(String(b.id ?? ""))@@ -1605,7 +1607,10 @@ function ParametersForm({key={p.id}parameter={p}operationId={operationId}- className={index === parameters.length - 1 ? "border-none" : ""}+ className={cn(+ index === 0 && "rounded-t-lg",+ index === parameters.length - 1 && "rounded-b-lg border-none"+ )}/>))}</div>@@ -1645,7 +1650,7 @@ function ParametersListItem({if (!id) return null;return (- <div className={cn("border-b p-6", className)}>+ <div className={cn("border-b p-6 bg-card", className)}>{disclosure.isOpen ? (<ValidatedFormaction={path.to.quoteOperationParameter(id)}@@ -2716,7 +2721,10 @@ function ToolsForm({key={t.id}tool={t}operationId={operationId}- className={index === tools.length - 1 ? "border-none" : ""}+ className={cn(+ index === 0 && "rounded-t-lg",+ index === tools.length - 1 && "rounded-b-lg border-none"+ )}/>))}</div>