Compare commits

..

2 Commits

Author SHA1 Message Date
Eduardo Lopes 50f6bdf368
Merge dfa34e0f5f into bde42cbe52 2026-02-09 11:35:05 -03:00
Eduardo Lopes dfa34e0f5f Stop total forward-fill in reserva import 2026-02-03 17:56:58 -03:00
1 changed files with 0 additions and 9 deletions

View File

@ -2021,7 +2021,6 @@ namespace line_gestao_api.Controllers
var colTotal = GetCol(map, "TOTAL"); var colTotal = GetCol(map, "TOTAL");
var buffer = new List<ResumoReservaLine>(200); var buffer = new List<ResumoReservaLine>(200);
decimal? lastTotal = null;
string? lastDddValid = null; string? lastDddValid = null;
var dataStarted = false; var dataStarted = false;
var emptyRowStreak = 0; var emptyRowStreak = 0;
@ -2080,14 +2079,6 @@ namespace line_gestao_api.Controllers
: dddCandidate; : dddCandidate;
var totalValue = TryDecimal(total); var totalValue = TryDecimal(total);
if (!totalValue.HasValue && lastTotal.HasValue)
{
totalValue = lastTotal;
}
else if (totalValue.HasValue)
{
lastTotal = totalValue;
}
buffer.Add(new ResumoReservaLine buffer.Add(new ResumoReservaLine
{ {