bug #7500
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@56712 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
39fd746e8c
commit
61e7fa0ae9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue