Created an interactive financial cash flow analytics dashboard for Laboratório Nuclei, specifically tailored for the Diretor Financeiro (CFO).
✨ Key Features Implemented
-
Executive CFO Briefing & Strategy Header
- Direct CFO indicator badge, conciliation accuracy rate (99.8%), system status, live data refresh button with timestamp, and dark/light theme toggle.
- Executive Briefing Banner with smart insights (Runway coverage for 8.4 months of OPEX, top-performing unit margins, minimum working capital alerts, and glosa threshold metrics).
-
Interactive KPI Cards with Trend Indicators
- Saldo Consolidado de Caixa (R$ 27,41 mi, +8.4% vs month)
- Entradas / Faturamento Liquidado (Realized vs Budgeted with transaction counts)
- Saídas / OPEX & Insumos (Cost reduction trends)
- Fluxo Operacional Líquido (FCO) (Free cash generation & margin %)
- Ciclo de Caixa (PMR 42d vs PMP 35d = 7d cycle)
- Taxa Média de Glosas (1.85% vs <2.0% target badge)
-
Multi-Chart Suite with Smooth Hover Tooltips & Animations
- Evolução Temporal do Fluxo de Caixa: Composed Area/Bar/Line chart for monthly inflows, outflows, accumulated balance, and 3-month forecast projections.
- Composição de Custos & Receitas: Donut chart with toggle between Expenses & Revenue, active segment highlighting, and percentage share breakdown list.
- Performance Financeira por Unidade Nuclei: Grouped bar chart comparing revenues, direct costs, and profit margins across Matriz Centro, Jardins, Barra da Tijuca, Hospitalar, and Moema.
- Gestão de Conveniados (Aging & Glosas): Aging of accounts receivable (0-30d, 31-60d, >90d) and glosa rates across Unimed, Bradesco Saúde, SulAmérica, Amil, Cassi, and Particular.
-
Live Date-Range & Segment Filter Bar
- Period Presets: Hoje, Últimos 7 dias, Este Mês, Último Trimestre, YTD 2025, Customizado.
- Filter dropdowns for Unidades, Categorias, Fonte/Convenio, Fluxo (Entradas/Saídas), Status, and search text box.
- All KPIs, charts, and tables update live across the application upon filter adjustments.
-
Sortable & Filterable Transaction Ledger Table
- Multi-column sorting (Data, Descrição, Unidade, Categoria, Fonte, Valor, Status).
- Status badges (Realizado, Agendado, Glosado, Em Atraso, Conciliado).
- Direct CSV export and pagination controls.
- Detailed side-drawer view with audit details (SEFAZ receipt validation, LIS ERP reconciliation, and status actions).
-
CFO Strategic Toolset & Reporting
- Simulador de Sensibilidade & Stress Test: Dynamic sliders for Volume de Exames, Reajustes de Convênio, Inflação de Reagentes, and Glosa Deltas with live annualized financial impact calculation.
- Novo Lançamento Modal: Form to register new cash entries/expenses with instant live state sync.
- Relatório Executivo CFO: Print/PDF ready report with summary stats and JSON data export.
Files built: index.html, src/types/finance.ts, src/data/mockData.ts, src/utils/formatters.ts, src/context/ThemeContext.tsx, src/components/Header.tsx, src/components/FiltersBar.tsx, src/components/KPICards.tsx, src/components/Charts/CashFlowTrendChart.tsx, src/components/Charts/CategoryBreakdownChart.tsx, src/components/Charts/UnitPerformanceBarChart.tsx, src/components/Charts/GlosasAndAgingChart.tsx, src/components/ExecutiveSummaryPanel.tsx, src/components/ScenarioSimulatorModal.tsx, src/components/TransactionTable.tsx, src/components/TransactionDetailDrawer.tsx, src/components/NewTransactionModal.tsx, src/components/ExportReportModal.tsx, src/App.tsx