diff --git a/src/com/rjconsultores/ventaboletos/service/impl/FiscalServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/FiscalServiceImpl.java index 400ebffbd..897c66f05 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/FiscalServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/FiscalServiceImpl.java @@ -673,7 +673,7 @@ public class FiscalServiceImpl implements FiscalService { BigDecimal valorTarifa = item.getValorTarifa() == null ? BigDecimal.ZERO : item.getValorTarifa(); BigDecimal valorSeguro = item.getValorSeguro() == null ? BigDecimal.ZERO : item.getValorSeguro(); if (valorTarifa.equals(BigDecimal.ZERO)) - valorTarifa = BigDecimal.ONE.divide(CEM) ; + valorTarifa = BigDecimal.ONE.divide(CEM); valorTotal = valorTotal.add(valorTarifa).add(valorPedagio).add(valorEmbarque).add(valorSeguro); @@ -723,7 +723,7 @@ public class FiscalServiceImpl implements FiscalService { if (codProduto.indexOf("TA") >= 0) { valorItem = item.getValorTarifa() == null ? valorItem : item.getValorTarifa(); if (valorItem.equals(BigDecimal.ZERO)) - valorItem = BigDecimal.ONE; + valorItem = BigDecimal.ONE.divide(CEM); // TAXA DE EMBARQUE } else if (codProduto.indexOf("TX") >= 0) {