Uppercase export fields and ensure vigencia columns

This commit is contained in:
Eduardo Lopes 2026-02-02 10:20:21 -03:00
parent 02acc181a5
commit 6c88c3ebfd
1 changed files with 3 additions and 3 deletions

View File

@ -156,12 +156,12 @@ public class NotificationsController : ControllerBase
var rowIndex = i + 2; var rowIndex = i + 2;
worksheet.Cell(rowIndex, 1).Value = row.Conta ?? string.Empty; worksheet.Cell(rowIndex, 1).Value = row.Conta ?? string.Empty;
worksheet.Cell(rowIndex, 2).Value = row.Linha ?? string.Empty; worksheet.Cell(rowIndex, 2).Value = row.Linha ?? string.Empty;
worksheet.Cell(rowIndex, 3).Value = row.Cliente ?? string.Empty; worksheet.Cell(rowIndex, 3).Value = (row.Cliente ?? string.Empty).ToUpperInvariant();
worksheet.Cell(rowIndex, 4).Value = row.Usuario ?? string.Empty; worksheet.Cell(rowIndex, 4).Value = (row.Usuario ?? string.Empty).ToUpperInvariant();
worksheet.Cell(rowIndex, 5).Value = row.PlanoContrato ?? string.Empty; worksheet.Cell(rowIndex, 5).Value = row.PlanoContrato ?? string.Empty;
worksheet.Cell(rowIndex, 6).Value = row.DataInicio; worksheet.Cell(rowIndex, 6).Value = row.DataInicio;
worksheet.Cell(rowIndex, 7).Value = row.DataReferencia; worksheet.Cell(rowIndex, 7).Value = row.DataReferencia;
worksheet.Cell(rowIndex, 8).Value = row.Tipo; worksheet.Cell(rowIndex, 8).Value = row.Tipo.ToUpperInvariant();
} }
worksheet.Column(1).Width = 18; worksheet.Column(1).Width = 18;