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.

ci: force redeploy

Brad Barbind38a9ee9dddf
diff --git a/apps/carbon/app/modules/sales/sales.service.ts b/apps/carbon/app/modules/sales/sales.service.ts
index da5ad95a47..8574aff467 100644
--- a/apps/carbon/app/modules/sales/sales.service.ts
+++ b/apps/carbon/app/modules/sales/sales.service.ts
@@ -456,17 +456,6 @@ export async function getQuotes(
return query;
}
-export async function getQuoteMakeMethod(
- client: SupabaseClient<Database>,
- quoteMakeMethodId: string
-) {
- return client
- .from("quoteMakeMethod")
- .select("*")
- .eq("id", quoteMakeMethodId)
- .single();
-}
-
export async function getQuoteAssembliesByLine(
client: SupabaseClient<Database>,
quoteLineId: string
@@ -519,6 +508,17 @@ type QuoteMethodTreeItem = {
children: QuoteMethodTreeItem[];
};
+export async function getQuoteMakeMethod(
+ client: SupabaseClient<Database>,
+ quoteMakeMethodId: string
+) {
+ return client
+ .from("quoteMakeMethod")
+ .select("*")
+ .eq("id", quoteMakeMethodId)
+ .single();
+}
+
export async function getQuoteMethodTrees(
client: SupabaseClient<Database>,
quoteId: string