Merge pull request #54 from JurunenseDevInterno/hotfix-entidade-exportacao-analitica

fix: adicioanada a coluna  "Ano/Mês Comp"
This commit is contained in:
Alessandro Gonçalves 2025-12-03 19:04:47 -03:00 committed by GitHub
commit 8ed2f62648
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 1 deletions

View File

@ -571,6 +571,14 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) {
resizable: true, resizable: true,
renderCell: dateCellRenderer, renderCell: dateCellRenderer,
}, },
{
field: "ano_mes_comp",
headerName: "Ano/Mês Comp",
width: 110,
sortable: true,
resizable: true,
renderCell: (params: any) => params.value || "-",
},
{ {
field: "entidade", field: "entidade",
headerName: "Entidade", headerName: "Entidade",
@ -810,7 +818,8 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) {
// Para campos que retornam "-" se vazios // Para campos que retornam "-" se vazios
if (column.field === "centro_custo" || column.field === "numero_lancamento" || if (column.field === "centro_custo" || column.field === "numero_lancamento" ||
column.field === "entidade" || column.field === "tipo_parceiro") { column.field === "entidade" || column.field === "tipo_parceiro" ||
column.field === "ano_mes_comp") {
return value || "-"; return value || "-";
} }
} }