bug#11600

dev: julio
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@85875 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2018-10-03 18:08:27 +00:00
parent f86fdd9f81
commit 783171bf35
1 changed files with 8 additions and 9 deletions

View File

@ -309,15 +309,14 @@ public class RelatorioDevolucaoBilhetes extends Relatorio {
private BigDecimal valorIsenta(DevolucaoBilhetes det) {
BigDecimal total = BigDecimal.ZERO;
if (det.isEstadual() && !det.getIndTxEmbarqueEstadual() || !det.isEstadual() && !det.getIndTxEmbarqueMunicipal())
total = total.add(det.getImportetaxaembarque() == null ? BigDecimal.ZERO : det.getImportetaxaembarque());
if (det.isEstadual() && !det.getIndPedadioEstdual() || !det.isEstadual() && !det.getIndPedagioMunicipal())
total = total.add(det.getImportepedagio() == null ? BigDecimal.ZERO : det.getImportepedagio());
if (det.isEstadual() && !det.getIndSeguroEstadual() || !det.isEstadual() && !det.getIndSeguroMunicipal())
total = total.add(det.getImporteseguro() == null ? BigDecimal.ZERO : det.getImporteseguro());
// if (det.isEstadual() && !det.getIndTxEmbarqueEstadual() || !det.isEstadual() && !det.getIndTxEmbarqueMunicipal())
// total = total.add(det.getImportetaxaembarque() == null ? BigDecimal.ZERO : det.getImportetaxaembarque());
//
// if (det.isEstadual() && !det.getIndPedadioEstdual() || !det.isEstadual() && !det.getIndPedagioMunicipal())
// total = total.add(det.getImportepedagio() == null ? BigDecimal.ZERO : det.getImportepedagio());
//
// if (det.isEstadual() && !det.getIndSeguroEstadual() || !det.isEstadual() && !det.getIndSeguroMunicipal())
// total = total.add(det.getImporteseguro() == null ? BigDecimal.ZERO : det.getImporteseguro());
return total;
}