From 20ef8be015f62df55c02430c10c0a30863aad4e7 Mon Sep 17 00:00:00 2001 From: metatroncubeswdev Date: Mon, 31 Aug 2026 17:15:13 -0400 Subject: [PATCH] Clarify CEO dashboard revenue labels --- .../static/src/js/ceo_dashboard_v2.js | 10 ++++++++++ .../static/src/xml/ceo_dashboard_v2.xml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/addons/mcs_operating_system/static/src/js/ceo_dashboard_v2.js b/addons/mcs_operating_system/static/src/js/ceo_dashboard_v2.js index ac7e099..71ef1b6 100644 --- a/addons/mcs_operating_system/static/src/js/ceo_dashboard_v2.js +++ b/addons/mcs_operating_system/static/src/js/ceo_dashboard_v2.js @@ -78,6 +78,16 @@ export class McsCeoDashboardV2 extends Component { const width = Math.max(0, Math.min(100, (value || 0) / max * 100)); return `width: ${width}%;`; } + + revenueLabel(key) { + return { + target: "Target", + contracted: "Contracted", + invoiced: "Invoiced This Month", + collected: "Collected This Month", + forecast: "Forecast", + }[key] || key; + } } McsCeoDashboardV2.template = "mcs_operating_system.CeoDashboardV2"; diff --git a/addons/mcs_operating_system/static/src/xml/ceo_dashboard_v2.xml b/addons/mcs_operating_system/static/src/xml/ceo_dashboard_v2.xml index 4d98b29..42dce80 100644 --- a/addons/mcs_operating_system/static/src/xml/ceo_dashboard_v2.xml +++ b/addons/mcs_operating_system/static/src/xml/ceo_dashboard_v2.xml @@ -53,7 +53,7 @@
- +