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.

refactor: remove deleteCurrency method

Rob Carringtonaa66b10bc138
diff --git a/apps/carbon/app/modules/accounting/accounting.service.ts b/apps/carbon/app/modules/accounting/accounting.service.ts
index b57b0e1453..ddfbdd8f64 100644
--- a/apps/carbon/app/modules/accounting/accounting.service.ts
+++ b/apps/carbon/app/modules/accounting/accounting.service.ts
@@ -84,13 +84,6 @@ export async function deleteAccountSubcategory(
.eq("id", accountSubcategoryId);
}
-export async function deleteCurrency(
- client: SupabaseClient<Database>,
- currencyId: string
-) {
- return client.from("currency").update({ active: false }).eq("id", currencyId);
-}
-
export async function deletePaymentTerm(
client: SupabaseClient<Database>,
paymentTermId: string