diff --git a/pom.xml b/pom.xml
index 4e9ae7d92..a38136934 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
br.com.rjconsultores
ventaboletosadm
- 1.34.10
+ 1.34.11
war
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositos.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositos.java
index 87f4b1fe9..db0b844c0 100644
--- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositos.java
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositos.java
@@ -118,6 +118,7 @@ public class RelatorioDepositos extends Relatorio {
pendente = pendente.subtract(deposito.getVrdeposito());
deposito.setVrpendente(pendente);
+ deposito.setDataDepositoFechamento(rs.getDate("fecha_deposito"));
lsDadosRelatorio.add(deposito);
}
@@ -162,7 +163,8 @@ public class RelatorioDepositos extends Relatorio {
sql.append(" tmp.vlrBoletoDeposito, ");
sql.append(" tmp.puntoventaId, ");
- sql.append(" tmp.empresaId ");
+ sql.append(" tmp.empresaId, ");
+ sql.append(" tmp.fecha_deposito ");
sql.append(" FROM ");
sql.append(" ( SELECT DISTINCT e.nombempresa, ");
sql.append(" p.nombpuntoventa, ");
@@ -177,7 +179,7 @@ public class RelatorioDepositos extends Relatorio {
if (! filtrarPendentes){
sql.append(" fdp.NUMDEPOSITO as numdeposito, ");
}
-
+ sql.append(" fdp.fecha_deposito, ");
sql.append(" f.FECHAMENTOCNTCORRENTE_ID as fechamentocntcorrenteId ");
sql.append(" FROM fechamento_cntcorrente f ");
sql.append(" INNER JOIN punto_venta p ");
@@ -212,7 +214,7 @@ public class RelatorioDepositos extends Relatorio {
sql.append(" e.empresa_id, ");
sql.append(" f.fecfechamento, ");
sql.append(" f.FECHAMENTOCNTCORRENTE_ID, ");
-
+ sql.append(" fdp.fecha_deposito, ");
if (!filtrarPendentes){
sql.append(" fdp.NUMDEPOSITO, ");
}
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositos_es .properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositos_es .properties
index d78f844db..8cd140529 100644
--- a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositos_es .properties
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositos_es .properties
@@ -18,4 +18,5 @@ header.vrdeposito=Vr. Dep
header.vrfechamento=Vr. Fechamento
header.usuario=Usuário
header.numdeposito=Num. Depósito
-header.numeroAgencia=Número
\ No newline at end of file
+header.numeroAgencia=Número
+header.dtDeposito=Data Depósito
\ No newline at end of file
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositos_pt_BR.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositos_pt_BR.properties
index 3af9239cc..323774ccb 100644
--- a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositos_pt_BR.properties
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositos_pt_BR.properties
@@ -19,3 +19,4 @@ header.vrfechamento=Fechamento
header.usuario=Usuário
header.numdeposito=Num. Depósito
header.numeroAgencia=Número
+header.dtDeposito=Data Depósito
\ No newline at end of file
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jasper
index 643a8c8a0..ffcc16fc0 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 146bba141..17b23cbab 100644
--- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jrxml
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositos.jrxml
@@ -1,8 +1,8 @@
-
+
-
+
@@ -29,6 +29,7 @@
+
@@ -66,7 +67,7 @@
-
+
@@ -179,10 +180,24 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -241,7 +256,7 @@
-
+
@@ -249,7 +264,7 @@
-
+
@@ -257,7 +272,7 @@
-
+
@@ -265,7 +280,7 @@
-
+
@@ -273,7 +288,7 @@
-
+
@@ -281,7 +296,7 @@
-
+
@@ -289,7 +304,7 @@
-
+
@@ -398,6 +413,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -449,7 +478,7 @@
-
+
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositoBean.java b/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositoBean.java
index f3d0dda2e..99c227341 100644
--- a/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositoBean.java
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositoBean.java
@@ -19,6 +19,7 @@ public class RelatorioDepositoBean implements Comparable {
private Long fechamentocntcorrenteId;
private Integer puntoventaId;
private Integer empresaId;
+ private Date dataDepositoFechamento;
public String getCodigoInstFinanceira() {
return codigoInstFinanceira;
@@ -138,5 +139,13 @@ public class RelatorioDepositoBean implements Comparable {
public void setEmpresaId(Integer empresaId) {
this.empresaId = empresaId;
}
+
+ public Date getDataDepositoFechamento() {
+ return dataDepositoFechamento;
+ }
+
+ public void setDataDepositoFechamento(Date dataDepositoFechamento) {
+ this.dataDepositoFechamento = dataDepositoFechamento;
+ }
}