From 61e7fa0ae9d0556496b949e2bb75853fec2a0258 Mon Sep 17 00:00:00 2001 From: julio Date: Mon, 6 Jun 2016 19:24:04 +0000 Subject: [PATCH] bug #7500 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@56712 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/service/impl/FiscalServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {