diff --git a/pom.xml b/pom.xml index 969d819c3..00d6a0e4e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores ventaboletosadm - 1.75.3 + 1.76.0 war diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java index 222646183..49a6dd4e7 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java @@ -49,8 +49,9 @@ public class RelatorioVendasBilheteiro extends Relatorio { sql.append(" c.CORRIDA_ID SERVICO, "); sql.append(" c.IMPORTEPEDAGIO PEDAGIO," ); sql.append(" c.IMPORTETAXAEMBARQUE TX_EMBARQUE," ); + sql.append(" c.IMPORTEOUTROS OUTROS," ); sql.append(" c.PRECIOPAGADO TARIFA," ); - sql.append(" (NVL(c.PRECIOPAGADO,0)+(NVL(c.IMPORTEPEDAGIO,0)+ NVL(c.IMPORTETAXAEMBARQUE,0)+ NVL(c.IMPORTESEGURO,0))) TOTAL_BILHETE, " ); + sql.append(" (coalesce(c.PRECIOPAGADO,0)+(coalesce(c.IMPORTEPEDAGIO,0)+ coalesce(c.IMPORTETAXAEMBARQUE,0)+ coalesce(c.IMPORTESEGURO,0)+ coalesce(c.IMPORTEOUTROS,0))) TOTAL_BILHETE, " ); sql.append(" cs.DESCCLASE CLASSE "); sql.append(" from caja c "); @@ -112,6 +113,7 @@ public class RelatorioVendasBilheteiro extends Relatorio { dataResult.put("TX_EMBARQUE", rset.getBigDecimal("TX_EMBARQUE")); dataResult.put("PEDAGIO", rset.getBigDecimal("PEDAGIO")); dataResult.put("TARIFA", rset.getBigDecimal("TARIFA")); + dataResult.put("OUTROS", rset.getBigDecimal("OUTROS")); dataResult.put("TOTAL_BILHETE", rset.getBigDecimal("TOTAL_BILHETE")); dataResult.put("STATUS_PASSAGEM", IndStatusBoleto.valueOf(rset.getString("STATUS_PASSAGEM")).getValue() ); dataResult.put("SERVICO", rset.getBigDecimal("SERVICO")); diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jasper index e42ccdacb..49666214f 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jrxml index 721209966..b01b08588 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jrxml @@ -1,7 +1,7 @@ - - + + @@ -31,13 +31,14 @@ + - + @@ -45,7 +46,7 @@ - + @@ -53,7 +54,7 @@ - + @@ -61,7 +62,7 @@ - + @@ -69,17 +70,17 @@ - + - + - + @@ -87,7 +88,7 @@ - + @@ -95,7 +96,7 @@ - + @@ -103,7 +104,7 @@ - + @@ -111,14 +112,14 @@ - + - + @@ -128,252 +129,267 @@ - - - + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + - + diff --git a/web/gui/relatorios/filtroRelatorioVendasBilheteiro.zul b/web/gui/relatorios/filtroRelatorioVendasBilheteiro.zul index 9f42c3faa..0a5d616dd 100644 --- a/web/gui/relatorios/filtroRelatorioVendasBilheteiro.zul +++ b/web/gui/relatorios/filtroRelatorioVendasBilheteiro.zul @@ -6,7 +6,7 @@