Merge pull request #55 from JurunenseDevInterno/dev

Dev
This commit is contained in:
Alessandro Gonçalves 2025-12-03 19:05:06 -03:00 committed by GitHub
commit 2e2f4e62cb
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,
renderCell: dateCellRenderer,
},
{
field: "ano_mes_comp",
headerName: "Ano/Mês Comp",
width: 110,
sortable: true,
resizable: true,
renderCell: (params: any) => params.value || "-",
},
{
field: "entidade",
headerName: "Entidade",
@ -810,7 +818,8 @@ export default function AnaliticoComponent({ filtros }: AnaliticoProps) {
// Para campos que retornam "-" se vazios
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 || "-";
}
}