From 03f860dc3049e415b6b0eefc99ad4a296837c504 Mon Sep 17 00:00:00 2001 From: Felipe Batista Date: Wed, 8 Oct 2025 01:26:38 -0300 Subject: [PATCH] =?UTF-8?q?ajuste=20no=20cabe=C3=A7alho?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/DRE/teste.tsx | 81 ++++++++++++++++++++++++++++--------------- 1 file changed, 53 insertions(+), 28 deletions(-) diff --git a/src/app/DRE/teste.tsx b/src/app/DRE/teste.tsx index 3d96cd0..afdd66e 100644 --- a/src/app/DRE/teste.tsx +++ b/src/app/DRE/teste.tsx @@ -495,10 +495,17 @@ export default function Teste() { - - - - +
+ {/* Header fixo separado */} +
+
+
- +
{mesesDisponiveis.map((mes) => ( - +
{mes} - +
))} - +
- - - - - {hierarchicalData.map((row, index) => ( - - - {renderCellContent(row)} - +
+
+
+ +
+ + + {mesesDisponiveis.map((mes) => ( - - {row.valoresPorMes && row.valoresPorMes[mes] - ? formatCurrency(row.valoresPorMes[mes]) - : '-'} - + ))} - - {formatCurrency(row.total!)} - + - ))} - -
+ + + {hierarchicalData.map((row, index) => ( + + + {renderCellContent(row)} + + {mesesDisponiveis.map((mes) => ( + + {row.valoresPorMes && row.valoresPorMes[mes] + ? formatCurrency(row.valoresPorMes[mes]) + : '-'} + + ))} + + {formatCurrency(row.total!)} + + + ))} + + + ); }