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.

style: use mono font for chart tooltip values

Brad Barbina0185737a574
diff --git a/apps/erp/app/routes/x+/production+/_index.tsx b/apps/erp/app/routes/x+/production+/_index.tsx
index 2d8cf88b01..57a281fd14 100644
--- a/apps/erp/app/routes/x+/production+/_index.tsx
+++ b/apps/erp/app/routes/x+/production+/_index.tsx
@@ -543,9 +543,11 @@ export default function ProductionDashboard() {
content={
<ChartTooltipContent
labelFormatter={(value) => value}
- formatter={(value) =>
- formatDurationMilliseconds(value as number)
- }
+ formatter={(value) => (
+ <span className="font-mono">
+ {formatDurationMilliseconds(value as number)}
+ </span>
+ )}
/>
}
/>
diff --git a/apps/erp/app/routes/x+/purchasing+/_index.tsx b/apps/erp/app/routes/x+/purchasing+/_index.tsx
index 95613694ee..ba1c47f38d 100644
--- a/apps/erp/app/routes/x+/purchasing+/_index.tsx
+++ b/apps/erp/app/routes/x+/purchasing+/_index.tsx
@@ -513,7 +513,9 @@ export default function PurchaseDashboard() {
dateFormatter.format(
parseDate(value).toDate(getLocalTimeZone())
)
- : (value) => value
+ : (value) => (
+ <span className="font-mono">{value}</span>
+ )
}
formatter={(value) =>
[
diff --git a/apps/erp/app/routes/x+/sales+/_index.tsx b/apps/erp/app/routes/x+/sales+/_index.tsx
index 245e74f6f8..3a1322e908 100644
--- a/apps/erp/app/routes/x+/sales+/_index.tsx
+++ b/apps/erp/app/routes/x+/sales+/_index.tsx
@@ -494,7 +494,9 @@ export default function SalesDashboard() {
dateFormatter.format(
parseDate(value).toDate(getLocalTimeZone())
)
- : (value) => value
+ : (value) => (
+ <span className="font-mono">{value}</span>
+ )
}
formatter={(value) =>
["salesOrderRevenue"].includes(selectedKpiData.key)