Skip to content

Commit

Permalink
Fix valorCobrado quando igual a valorBoleto
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigofcr authored Jan 30, 2024
1 parent 619d3cf commit 34f536a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ public BigDecimal getValorCobrado() {
valorCobrado = valorCobrado.add(acrescimos);
}
if (valorCobrado.compareTo(valorBoleto) == 0){
return BigDecimal.ZERO;
valorCobrado = valorBoleto;
}

return valorCobrado;
Expand Down

0 comments on commit 34f536a

Please sign in to comment.