diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositos.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositos.java index f71d9840e..ddf9bdd4e 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositos.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositos.java @@ -80,9 +80,9 @@ public class RelatorioDepositos extends Relatorio { Collections.sort(lsDadosRelatorio); if (lsDadosRelatorio.size() > 0) { - if(filtrarPendentes) { - lsDadosRelatorio = removeFechamentosZerados(lsDadosRelatorio); - } +// if(filtrarPendentes) { +// lsDadosRelatorio = removeFechamentosZerados(lsDadosRelatorio); +// } setLsDadosRelatorio(lsDadosRelatorio); } setNomeSubReporte(nomeSubReporte); @@ -163,7 +163,8 @@ public class RelatorioDepositos extends Relatorio { sql.append(" SUM(NVL(fd.valor_pago,0)) AS vrfechamento , "); sql.append(" f.total AS vrdeposito, "); sql.append(" f.FECHAMENTOCNTCORRENTE_ID, "); - sql.append(" fdp.NUMDEPOSITO as numdeposito, "); +// sql.append(" fdp.NUMDEPOSITO as numdeposito, "); + sql.append(" null as numdeposito, "); sql.append(" ifin.CODIGO as codinstfin, "); sql.append(" ifin.NOME as nomeinstfin "); sql.append(" FROM fechamento_cntcorrente f "); @@ -206,7 +207,8 @@ public class RelatorioDepositos extends Relatorio { sql.append(" f.fecfechamento, "); sql.append(" f.FECHAMENTOCNTCORRENTE_ID, "); sql.append(" f.total, "); - sql.append(" fdp.NUMDEPOSITO, "); +// sql.append(" fdp.NUMDEPOSITO, "); + sql.append(" null, "); sql.append(" ifin.CODIGO, "); sql.append(" ifin.NOME ) tmp "); if (filtrarPendentes){ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jasper index 495313198..4a62f9bb5 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jrxml index 2b88a2c40..687835403 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jrxml @@ -2,7 +2,7 @@ - + @@ -31,10 +31,10 @@ - + - + @@ -46,6 +46,9 @@ + + + @@ -180,28 +183,36 @@ - + + + - + + + - + + + - + + + @@ -313,7 +324,7 @@ - + @@ -366,7 +377,6 @@ - diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositoBean.java b/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositoBean.java index 56ac28dad..6348cab0c 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositoBean.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositoBean.java @@ -98,10 +98,7 @@ public class RelatorioDepositoBean implements Comparable { } else if (this.dtmotivo.compareTo(rdb.getDtmotivo()) != 0) { return this.dtmotivo.compareTo(rdb.getDtmotivo()); - } else if (this.numdeposito.compareTo(rdb.getNumdeposito()) != 0) { - return this.numdeposito.compareTo(rdb.getNumdeposito()); - - } + } return 0; }