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
// SPDX-License-Identifier: AGPL-3.0-only
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
import { RecordOutlet } from "@carbon/react";
import { msg } from "@lingui/core/macro";
import type { BreadcrumbSegment, Handle } from "~/utils/handle";
import { path } from "~/utils/path";
export { RouteErrorBoundary as ErrorBoundary } from "@carbon/react/ErrorBoundary";
export const handle: Handle = {
// Report pages live in their own full-screen namespace, not under the
// accounting module layout, so surface the full Accounting > Reports trail
// here rather than just "Reports".
breadcrumb: (): BreadcrumbSegment[] => [
{ breadcrumb: msg`Accounting`, to: path.to.accounting },
{ breadcrumb: msg`Reports`, to: path.to.reports }
],
to: path.to.reports,
module: "accounting"
};
// Full-screen namespace: no module sidebar — reports render full-width inside
// the app shell. `h-full` (not `flex-1`) because the parent <main> is a block,
// not a flex container, so flex-1 collapses to auto height — which zeroes out
// the virtualized Table body in the aging reports (the tree reports self-size
// via their own calc height, so they were unaffected either way).
export default function ReportsRoute() {
return (
<div className="h-full bg-card">
<RecordOutlet />
</div>
);
}