Skip to content

Commit

Permalink
Update prod.cs
Browse files Browse the repository at this point in the history
Corrige #1486

Estava preenchendo no XML pCredPresumido e vCredPresumido mesmo quando nulo. Faltava o ShouldSerialize de ambos.
  • Loading branch information
marcosgerene authored Feb 12, 2024
1 parent 519f1fa commit 257663d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion NFe.Classes/Informacoes/Detalhe/prod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -366,5 +366,15 @@ public bool ShouldSerializevOutro()
return vOutro.HasValue && vOutro > 0;
}

public bool ShouldSerializepCredPresumido()
{
return _pCredPresumido.HasValue && _pCredPresumido > 0;
}

public bool ShouldSerializevCredPresumido()
{
return _vCredPresumido.HasValue && _vCredPresumido > 0;
}

}
}
}

0 comments on commit 257663d

Please sign in to comment.