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: redirect acounting breadcrumb to currencies

Brad Barbinde79f42aae16
diff --git a/apps/carbon/app/routes/x+/accounting+/_index.tsx b/apps/carbon/app/routes/x+/accounting+/_index.tsx
index 1f7a2137df..8e074011c8 100644
--- a/apps/carbon/app/routes/x+/accounting+/_index.tsx
+++ b/apps/carbon/app/routes/x+/accounting+/_index.tsx
@@ -2,5 +2,5 @@ import { redirect } from "@vercel/remix";
import { path } from "~/utils/path";
export async function loader() {
- throw redirect(path.to.chartOfAccounts);
+ throw redirect(path.to.currencies);
}
diff --git a/apps/carbon/app/routes/x+/accounting+/_layout.tsx b/apps/carbon/app/routes/x+/accounting+/_layout.tsx
index 5732d143f6..b62594e295 100644
--- a/apps/carbon/app/routes/x+/accounting+/_layout.tsx
+++ b/apps/carbon/app/routes/x+/accounting+/_layout.tsx
@@ -20,7 +20,7 @@ export const meta: MetaFunction = () => {
export const handle: Handle = {
breadcrumb: "Accounting",
- to: path.to.chartOfAccounts,
+ to: path.to.currencies,
module: "accounting",
};