From 9f7e19d80df216d3d00097583e1f12e228252ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=20Gon=C3=A7aalves?= Date: Wed, 22 Oct 2025 18:46:16 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20estiliza=C3=A7=C3=A3o=20da=20tabela?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/DRE/analitico.tsx | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/src/app/DRE/analitico.tsx b/src/app/DRE/analitico.tsx index fa3acd0..7745a36 100644 --- a/src/app/DRE/analitico.tsx +++ b/src/app/DRE/analitico.tsx @@ -148,7 +148,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { const columns = React.useMemo(() => [ { field: "data_vencimento", - headerName: "Data de Vencimento", + headerName: "Dt Venc", width: 150, sortable: true, resizable: true, @@ -163,7 +163,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "data_caixa", - headerName: "Data de Caixa", + headerName: "Dt Caixa", width: 130, sortable: true, resizable: true, @@ -186,14 +186,14 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "codigo_fornecedor", - headerName: "Cód. Fornecedor", + headerName: "Cod.Fornec", width: 140, sortable: true, resizable: true, }, { field: "nome_fornecedor", - headerName: "Nome do Fornecedor", + headerName: "Fornecedor", flex: 1, minWidth: 200, sortable: true, @@ -201,21 +201,21 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "codigo_centrocusto", - headerName: "Centro de Custo", + headerName: "C Custo", width: 130, sortable: true, resizable: true, }, { field: "codigo_conta", - headerName: "Código da Conta", + headerName: "Cod.Conta", width: 150, sortable: true, resizable: true, }, { field: "conta", - headerName: "Nome da Conta", + headerName: "Conta", flex: 1, minWidth: 180, sortable: true, @@ -223,7 +223,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "valor", - headerName: "Valor Realizado", + headerName: "Vl.Realizado", type: "number" as const, width: 140, sortable: true, @@ -246,7 +246,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "valor_previsto", - headerName: "Valor Previsto", + headerName: "Vl.Previsto", type: "number" as const, width: 130, sortable: true, @@ -269,7 +269,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "valor_confirmado", - headerName: "Valor Confirmado", + headerName: "Vl.Confirmado", type: "number" as const, width: 140, sortable: true, @@ -292,7 +292,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "valor_pago", - headerName: "Valor Pago", + headerName: "Vl.Pago", type: "number" as const, width: 130, sortable: true, @@ -315,7 +315,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "historico", - headerName: "Histórico", + headerName: "Historico", flex: 1, minWidth: 250, sortable: true, @@ -323,7 +323,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "historico2", - headerName: "Histórico 2", + headerName: "Historico 2", flex: 1, minWidth: 300, sortable: true, @@ -331,7 +331,7 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { }, { field: "numero_lancamento", - headerName: "Número do Lançamento", + headerName: "Num.Lanc", width: 80, sortable: true, resizable: true, @@ -550,7 +550,6 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) { loading={loading} disableRowSelectionOnClick density="compact" - checkboxSelection slots={{ toolbar: GridToolbar }} initialState={{ sorting: { sortModel: [{ field: "data_vencimento", sort: "desc" }] },