diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositosDetalhado.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositosDetalhado.java new file mode 100644 index 000000000..f832bfc71 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioDepositosDetalhado.java @@ -0,0 +1,208 @@ +/** + * + */ +package com.rjconsultores.ventaboletos.relatorios.impl; + +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import org.apache.log4j.Logger; + +import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource; +import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio; +import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioDepositosDetalhadosBean; +import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement; + +import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource; + +/** + * @author Thiago + * + */ +public class RelatorioDepositosDetalhado extends Relatorio { + + private static Logger log = Logger.getLogger(RelatorioDepositosDetalhado.class); + + private List lsDadosRelatorio; + + private Timestamp fecInicio; + private Timestamp fecFinal; + private Integer marcaId; + + public RelatorioDepositosDetalhado(Map parametros, Connection conexao) throws Exception { + super(parametros, conexao); + + this.setCustomDataSource(new DataSource(this) { + + @Override + public void initDados() throws Exception { + Map parametros = this.relatorio.getParametros(); + fecInicio = (Timestamp) parametros.get("dataFiltroInicial"); + fecFinal = (Timestamp) parametros.get("dataFiltroFinal"); + if(parametros.get("MARCA_ID")!=null){ + marcaId = Integer.valueOf(parametros.get("MARCA_ID").toString()); + } + + Connection conexao = this.relatorio.getConexao(); + processarDepositosDetalhados(conexao); + setLsDadosRelatorio(lsDadosRelatorio); + } + + }); + } + public void setLsDadosRelatorio(List lsDadosRelatorio) { + this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio)); + this.lsDadosRelatorio = lsDadosRelatorio; + } + + private void processarDepositosDetalhados(Connection conexao) { + ResultSet rset = null; + NamedParameterStatement stmt = null; + + try { + if(lsDadosRelatorio == null) { + lsDadosRelatorio = new ArrayList(); + } + + /* Processando vendas normais */ + stmt = carregarNamedParameterStatement(conexao); + rset = stmt.executeQuery(); + processarResultado(rset); + fecharConexaoBanco(stmt, rset); + + } catch (Exception e) { + log.error(e.getMessage(), e); + } + + } + private NamedParameterStatement carregarNamedParameterStatement(Connection conexao) throws SQLException { + String sql = getSqlPacotes(); + log.info(sql); + + NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql); + + if(fecInicio != null) { + stmt.setTimestamp("fecInicio", fecInicio); + } + if(fecFinal != null) { + stmt.setTimestamp("fecFinal", fecFinal); + } + if(marcaId != null){ + stmt.setInt("MARCA_ID", marcaId); + } + + return stmt; + } + + private void processarResultado(ResultSet rset) throws SQLException { + while (rset.next()) { + RelatorioDepositosDetalhadosBean relatorioDepositosDetalhadosBean = new RelatorioDepositosDetalhadosBean(); + relatorioDepositosDetalhadosBean.setEmpresa(rset.getString("Empresa")); + relatorioDepositosDetalhadosBean.setNombPuntoVenta(rset.getString("Ponto_de_venda")); + relatorioDepositosDetalhadosBean.setBanco(rset.getString("Banco")); + relatorioDepositosDetalhadosBean.setFechaDeposito(rset.getString("data_deposito")); + relatorioDepositosDetalhadosBean.setFechaLancamientoDeposito(rset.getString("DATA_LANCAMENTO_DEPOSITO")); + relatorioDepositosDetalhadosBean.setNumAgencia(rset.getString("Agencia")); + relatorioDepositosDetalhadosBean.setNumConta(rset.getString("Conta")); + relatorioDepositosDetalhadosBean.setNumDeposito(rset.getString("Numero_deposito")); + relatorioDepositosDetalhadosBean.setValorDeposito(rset.getBigDecimal("valor_deposito")); + lsDadosRelatorio.add(relatorioDepositosDetalhadosBean); + } + } + protected String getSqlPacotes() { + StringBuilder sQuery = new StringBuilder(); + + sQuery.append(" SELECT "); + sQuery.append(" E.NOMBEMPRESA Empresa, "); + sQuery.append(" PV.NOMBPUNTOVENTA Ponto_de_venda, "); + sQuery.append(" TO_CHAR(FD.FECHA_DEPOSITO,'dd/MM/yyyy') data_deposito, "); + sQuery.append(" FD.NUMDEPOSITO Numero_deposito, "); + sQuery.append(" TO_CHAR(FD.FECMODIF,'dd/MM/yyyy') DATA_LANCAMENTO_DEPOSITO, "); + sQuery.append(" if.NOME Banco, "); + sQuery.append(" EC.NUMCONTA Conta, "); + sQuery.append(" EC.NUMAGENCIA Agencia, "); + sQuery.append(" FD.VALOR valor_deposito "); + sQuery.append(" FROM "); + sQuery.append(" FECHAMENTO_DEPOSITO fd "); + sQuery.append(" JOIN FECHAMENTO_CCT_DEPOSITO fcd "); + sQuery.append(" ON "); + sQuery.append(" FCD.FECHAMENTODEPOSITO_ID = FD.FECHAMENTODEPOSITO_ID "); + sQuery.append(" JOIN FECHAMENTO_CNTCORRENTE fc "); + sQuery.append(" ON "); + sQuery.append(" FCD.FECHAMENTOCNTCORRENTE_ID = FC.FECHAMENTOCNTCORRENTE_ID "); + sQuery.append(" JOIN EMPRESA e "); + sQuery.append(" ON "); + sQuery.append(" E.EMPRESA_ID = FC.EMPRESA_ID "); + sQuery.append(" JOIN PUNTO_VENTA pv "); + sQuery.append(" ON "); + sQuery.append(" PV.PUNTOVENTA_ID = FC.PUNTOVENTA_ID "); + sQuery.append(" LEFT JOIN PTOVTA_EMPRESA pve "); + sQuery.append(" ON "); + sQuery.append(" PVE.EMPRESA_ID = e.empresa_id "); + sQuery.append(" AND PVE.PUNTOVENTA_ID = PV.PUNTOVENTA_ID "); + sQuery.append(" AND PVE.activo = 1 "); + sQuery.append(" LEFT OUTER JOIN EMPRESA_CONTABANCARIA ec "); + sQuery.append(" ON "); + sQuery.append(" EC.EMPRESA_ID = PVE.EMPRESA_ID "); + sQuery.append(" AND EC.EMPRESACONTABANCARIA_ID = PVE.EMPRESACONTABANCARIA_ID "); + sQuery.append(" AND EC.ACTIVO = 1 "); + sQuery.append(" LEFT JOIN INSTI_FINANCEIRA IF "); + sQuery.append(" ON "); + sQuery.append(" if.INSTIFINANCEIRA_ID = EC.INSTIFINANCEIRA_ID "); + sQuery.append(" WHERE "); + sQuery.append(" FD.ACTIVO = 1 "); + sQuery.append(" AND FCD.ACTIVO = 1 "); + sQuery.append(" AND FC.ACTIVO = 1 "); + sQuery.append(" AND E.ACTIVO = 1 "); + sQuery.append(" AND PV.ACTIVO = 1 "); + if(parametros.get("MARCA_ID")!= null){ + sQuery.append(" and e.empresa_id =:MARCA_ID "); + } + sQuery.append(" and FD.FECMODIF between :fecInicio and :fecFinal"); + sQuery.append(" GROUP BY "); + sQuery.append(" E.NOMBEMPRESA, "); + sQuery.append(" PV.NOMBPUNTOVENTA, "); + sQuery.append(" FD.FECHA_DEPOSITO, "); + sQuery.append(" FD.NUMDEPOSITO, "); + sQuery.append(" FD.FECMODIF, "); + sQuery.append(" if.NOME, "); + sQuery.append(" EC.NUMCONTA, "); + sQuery.append(" EC.NUMAGENCIA, "); + sQuery.append(" FD.VALOR "); + sQuery.append(" ORDER BY "); + sQuery.append(" E.NOMBEMPRESA, "); + sQuery.append(" FD.FECHA_DEPOSITO, "); + sQuery.append(" FD.FECMODIF, "); + sQuery.append(" PV.NOMBPUNTOVENTA, "); + sQuery.append(" FD.NUMDEPOSITO, "); + sQuery.append(" if.NOME, "); + sQuery.append(" EC.NUMCONTA, "); + sQuery.append(" EC.NUMAGENCIA, "); + sQuery.append(" FD.VALOR "); + + return sQuery.toString(); + } + + private void fecharConexaoBanco(NamedParameterStatement stmt, ResultSet rset) { + try { + if(rset != null) { + rset.close(); + } + if(stmt != null) { + stmt.close(); + } + } catch (SQLException e) { + log.error(e.getMessage(), e); + } + } + @Override + protected void processaParametros() throws Exception { + + } + +} diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositosDetalhado_es.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositosDetalhado_es.properties new file mode 100644 index 000000000..138da0824 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositosDetalhado_es.properties @@ -0,0 +1,22 @@ +#geral +msg.noData=Não foi possivel obter dados com os parâmetros informados. + +#Labels cabeçalho +cabecalho.nome=Relatório Depositos Detallados +cabecalho.relatorio=Relatório: +cabecalho.periodo=Período: +cabecalho.periodoA=à +cabecalho.dataHora=Data/Hora: +cabecalho.impressorPor=Impressor por: +cabecalho.pagina=Página +cabecalho.de=de +cabecalho.filtros=Filtros: +cabecalho.usuario=Usuário: +label.nombPuntoVenta=Punto Venta +label.fechaDeposito=Fecha Deposito +label.numDeposito=N\u00B0 Deposito +label.fechaLancamientoDeposito=Lanzamiento +label.banco=Banco +label.numConta=Cuenta +label.numAgencia=Agencia +label.valorDeposito=Valor \ No newline at end of file diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositosDetalhado_pt_BR.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositosDetalhado_pt_BR.properties new file mode 100644 index 000000000..a7f7168c5 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioDepositosDetalhado_pt_BR.properties @@ -0,0 +1,22 @@ +#geral +msg.noData=Não foi possivel obter dados com os parâmetros informados. + +#Labels cabeçalho +cabecalho.nome=Relatório Dep\u00F3sitos Detalhados +cabecalho.relatorio=Relatório: +cabecalho.periodo=Período: +cabecalho.periodoA=à +cabecalho.dataHora=Data/Hora: +cabecalho.impressorPor=Impressor por: +cabecalho.pagina=Página +cabecalho.de=de +cabecalho.filtros=Filtros: +cabecalho.usuario=Usuário: +label.nombPuntoVenta=Nome Agência +label.fechaDeposito=Data do Dep\u00F3sito +label.numDeposito=N\u00B0 do Dep\u00F3sito +label.fechaLancamientoDeposito=Lan\u00E7amento +label.banco=Banco +label.numConta=Conta +label.numAgencia=Ag\u00EAncia +label.valorDeposito=Valor \ No newline at end of file diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositosDetalhado.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositosDetalhado.jasper new file mode 100644 index 000000000..c262af989 Binary files /dev/null and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositosDetalhado.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositosDetalhado.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositosDetalhado.jrxml new file mode 100644 index 000000000..770e73cc6 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDepositosDetalhado.jrxml @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <band height="61" splitType="Stretch"> + <textField> + <reportElement uuid="43b2c28d-4760-4890-b00d-25e931e79c74" x="0" y="0" width="620" height="20"/> + <textElement markup="none"> + <font size="14" isBold="true"/> + </textElement> + <textFieldExpression><![CDATA[$R{cabecalho.nome}]]></textFieldExpression> + </textField> + <textField pattern="dd/MM/yyyy HH:mm"> + <reportElement uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5" x="638" y="0" width="164" height="20"/> + <textElement textAlignment="Right"> + <font isBold="true"/> + </textElement> + <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> + </textField> + <textField> + <reportElement uuid="fd05bd35-30d9-4baf-aa56-f8e5d3c3268b" x="0" y="20" width="620" height="20"/> + <textElement> + <font isBold="true"/> + </textElement> + <textFieldExpression><![CDATA[$R{cabecalho.periodo} + " " + $P{fecInicio} + " " + $R{cabecalho.periodoA} + " " + $P{fecFinal}]]></textFieldExpression> + </textField> + <textField> + <reportElement uuid="8fa1c53b-1da7-4d4d-a75c-ab1543acae2a" x="53" y="41" width="263" height="20"/> + <textElement/> + <textFieldExpression><![CDATA[$P{empresa}]]></textFieldExpression> + </textField> + <staticText> + <reportElement uuid="a91f6081-4740-4e36-8965-41b6cde4cc20" x="0" y="41" width="53" height="20"/> + <textElement/> + <text><![CDATA[Empresa:]]></text> + </staticText> + </band> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositosDetalhadosBean.java b/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositosDetalhadosBean.java new file mode 100644 index 000000000..51fda4c83 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/utilitarios/RelatorioDepositosDetalhadosBean.java @@ -0,0 +1,90 @@ +/** + * + */ +package com.rjconsultores.ventaboletos.relatorios.utilitarios; + +import java.math.BigDecimal; + +/** + * @author Thiago + * + */ +public class RelatorioDepositosDetalhadosBean { + + private String empresa; + private String nombPuntoVenta; + private String fechaDeposito; + private String numDeposito; + private String fechaLancamientoDeposito; + private String banco; + private String numConta; + private String numAgencia; + private BigDecimal valorDeposito; + /** + * @return the empresa + */ + public String getEmpresa() { + return empresa; + } + /** + * @param empresa the empresa to set + */ + public void setEmpresa(String empresa) { + this.empresa = empresa; + } + public String getNombPuntoVenta() { + return nombPuntoVenta; + } + public void setNombPuntoVenta(String nombPuntoVenta) { + this.nombPuntoVenta = nombPuntoVenta; + } + public String getFechaDeposito() { + return fechaDeposito; + } + public void setFechaDeposito(String fechaDeposito) { + this.fechaDeposito = fechaDeposito; + } + public String getNumDeposito() { + return numDeposito; + } + public void setNumDeposito(String numDeposito) { + this.numDeposito = numDeposito; + } + public String getFechaLancamientoDeposito() { + return fechaLancamientoDeposito; + } + public void setFechaLancamientoDeposito(String fechaLancamientoDeposito) { + this.fechaLancamientoDeposito = fechaLancamientoDeposito; + } + public String getBanco() { + return banco; + } + public void setBanco(String banco) { + this.banco = banco; + } + public String getNumConta() { + return numConta; + } + public void setNumConta(String numConta) { + this.numConta = numConta; + } + public String getNumAgencia() { + return numAgencia; + } + public void setNumAgencia(String numAgencia) { + this.numAgencia = numAgencia; + } + public BigDecimal getValorDeposito() { + return valorDeposito; + } + public void setValorDeposito(BigDecimal valorDeposito) { + this.valorDeposito = valorDeposito; + } + + + + + + + +} diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/relatorios/RelatorioDepositosDetalhadosController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/relatorios/RelatorioDepositosDetalhadosController.java new file mode 100644 index 000000000..07c483cc2 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/relatorios/RelatorioDepositosDetalhadosController.java @@ -0,0 +1,116 @@ +/** + * + */ +package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios; + +import java.sql.Timestamp; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import javax.sql.DataSource; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Scope; +import org.springframework.stereotype.Controller; +import org.zkoss.util.resource.Labels; +import org.zkoss.zk.ui.Component; +import org.zkoss.zk.ui.event.Event; +import org.zkoss.zul.Comboitem; +import org.zkoss.zul.Datebox; +import org.zkoss.zul.Messagebox; + +import com.rjconsultores.ventaboletos.entidad.Empresa; +import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioDepositosDetalhado; +import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio; +import com.rjconsultores.ventaboletos.service.EmpresaService; +import com.rjconsultores.ventaboletos.utilerias.DateUtil; +import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar; +import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer; + +/** + * @author Thiago + * + */ +@Controller("relatorioDepositosDetalhadosController") +@Scope("prototype") +public class RelatorioDepositosDetalhadosController extends MyGenericForwardComposer { + +private static final long serialVersionUID = 1L; + + @Autowired + private DataSource dataSourceRead; + + @Autowired + private EmpresaService empresaService; + + private MyComboboxEstandar cmbEmpresa; + private List lsEmpresa; + + private Datebox dataInicial; + private Datebox dataFinal; + + @Override + public void doAfterCompose(Component comp) throws Exception { + setLsEmpresa(empresaService.obtenerTodos()); + super.doAfterCompose(comp); + } + + public void onClick$btnExecutarRelatorio(Event ev) throws Exception { + SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); + Date dataDe = dataInicial.getValue(); + Date dataAte = dataFinal.getValue(); + + Timestamp fecVentaInicial = new Timestamp(DateUtil.inicioFecha(dataDe).getTime()); + Timestamp fecVentaFinal = new Timestamp(DateUtil.fimFecha(dataAte).getTime()); + + if(fecVentaFinal.before(fecVentaInicial)){ + Messagebox.show( + Labels.getLabel("relatorioDepositosDetalhadosController.MSG.busquedaPeriodo"), + Labels.getLabel("relatorioDepositosDetalhadosController.window.title"), + Messagebox.OK, Messagebox.INFORMATION); + return; + } + + Map parametros = new HashMap(); + parametros.put("fecInicio", sdf.format(dataDe)); + parametros.put("fecFinal", sdf.format(dataAte)); + + parametros.put("dataFiltroInicial", fecVentaInicial); + parametros.put("dataFiltroFinal", fecVentaFinal); + + Comboitem itemEmpresa = cmbEmpresa.getSelectedItem(); + if (itemEmpresa != null) { + Empresa empresa = (Empresa) itemEmpresa.getValue(); + parametros.put("MARCA_ID", empresa.getEmpresaId()); + parametros.put("empresa", empresa.getNombempresa()); + } else{ + parametros.put("empresa", "Todas;"); + } + + Relatorio relatorio = new RelatorioDepositosDetalhado(parametros, dataSourceRead.getConnection()); + + Map args = new HashMap(); + args.put("relatorio", relatorio); + + openWindow("/component/reportView.zul", + Labels.getLabel("indexController.mniRelatorioDepositosDetalhados.label"), args, MODAL); + } + + /** + * @return the lsEmpresa + */ + public List getLsEmpresa() { + return lsEmpresa; + } + + /** + * @param lsEmpresa the lsEmpresa to set + */ + public void setLsEmpresa(List lsEmpresa) { + this.lsEmpresa = lsEmpresa; + } + +} diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/contacorrente/ItemMenuRelatorioDepositosDetalhados.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/contacorrente/ItemMenuRelatorioDepositosDetalhados.java new file mode 100644 index 000000000..f47f7072c --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/contacorrente/ItemMenuRelatorioDepositosDetalhados.java @@ -0,0 +1,32 @@ +/** + * + */ +package com.rjconsultores.ventaboletos.web.utilerias.menu.item.contacorrente; + +import org.zkoss.util.resource.Labels; + +import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria; +import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema; + +/** + * @author Thiago + * + */ +public class ItemMenuRelatorioDepositosDetalhados extends DefaultItemMenuSistema { + + + public ItemMenuRelatorioDepositosDetalhados() { + super("indexController.mniRelatorioDepositosDetalhados.label"); + } + + @Override + public String getClaveMenu() { + return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIODEPOSITOSDETALHADOS"; + } + + @Override + public void ejecutar() { + PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioDepositosDetalhados.zul", + Labels.getLabel("indexController.mniRelatorioDepositosDetalhados.label"), getArgs() ,desktop); + } +} diff --git a/web/WEB-INF/i3-label_es_MX.label b/web/WEB-INF/i3-label_es_MX.label index 794fb0ae8..19f6cc7e0 100644 --- a/web/WEB-INF/i3-label_es_MX.label +++ b/web/WEB-INF/i3-label_es_MX.label @@ -277,6 +277,7 @@ indexController.mniPracaPedagio.label = Caseta Peaje indexController.mniRelatorioDescontos.label = Reporte Descuentos indexController.mniRelatorioDepositos.label=Cierre Cnt Contábil / Depósitos +indexController.mniRelatorioDepositosDetalhados.label=Depósitos Detallados #PARTE REALIZADA POR MANUEL indexController.mnCortesias.label = Cortesias para empleados @@ -5912,6 +5913,11 @@ relatorioVendasComissaoController.lbDataIni.value = Fecha Inicio relatorioVendasComissaoController.lbDataFin.value = Fecha Final relatorioVendasComissaoController.lbEmpresa.value = Empresa +# Relatorio de Depósitos Detalhados +relatorioDepositosDetalhadosController.lbDataIni.value = Fecha Inicio +relatorioDepositosDetalhadosController.lbDataFin.value = Fecha Final +relatorioDepositosDetalhadosController.lbEmpresa.value = Empresa + # Calculo Comissao busquedaCalculoComissaoController.window.title = Cálculo de Comisión busquedaCalculoComissaoController.lbRelatorio.value = Emisión Cálculo Reporter diff --git a/web/WEB-INF/i3-label_pt_BR.label b/web/WEB-INF/i3-label_pt_BR.label index 590691cee..a140c3e55 100644 --- a/web/WEB-INF/i3-label_pt_BR.label +++ b/web/WEB-INF/i3-label_pt_BR.label @@ -289,6 +289,7 @@ indexController.mniPracaPedagio.label = Praça Pedágio indexController.mniRelatorioDescontos.label = Relatório Descontos indexController.mniRelatorioDepositos.label=Fechamento Cnt Corrente / Depósitos +indexController.mniRelatorioDepositosDetalhados.label=Depósitos Detalhados #PARTE REALIZADA POR MANUEL indexController.mnCortesias.label = Cortesias Para Funcionários @@ -6056,6 +6057,13 @@ relatorioVendasComissaoController.lbDataIni.value = Data Início relatorioVendasComissaoController.lbDataFin.value = Data Final relatorioVendasComissaoController.lbEmpresa.value = Empresa +# Relatorio de Depósitos Detalhados +relatorioDepositosDetalhadosController.lbDataIni.value = Data Início +relatorioDepositosDetalhadosController.lbDataFin.value = Data Final +relatorioDepositosDetalhadosController.lbEmpresa.value = Empresa +relatorioDepositosDetalhadosController.window.title=Depósitos Detalhados +relatorioDepositosDetalhadosController.MSG.busquedaPeriodo = Data de início posterior a data Final. + # Calculo Comissao busquedaCalculoComissaoController.window.title = Cálculo de Comissão busquedaCalculoComissaoController.lbRelatorio.value = Emitir Relatório de Cálculo diff --git a/web/gui/relatorios/filtroRelatorioDepositosDetalhados.zul b/web/gui/relatorios/filtroRelatorioDepositosDetalhados.zul new file mode 100644 index 000000000..78b537546 --- /dev/null +++ b/web/gui/relatorios/filtroRelatorioDepositosDetalhados.zul @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + +