diff --git a/pom.xml b/pom.xml
index af16e7115..344344f64 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
br.com.rjconsultores
ventaboletosadm
- 1.48.6
+ 1.49.0
war
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioFormaPagamentoAgenciaNovo.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioFormaPagamentoAgenciaNovo.java
new file mode 100644
index 000000000..e564ca370
--- /dev/null
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioFormaPagamentoAgenciaNovo.java
@@ -0,0 +1,116 @@
+/**
+ *
+ */
+package com.rjconsultores.ventaboletos.relatorios.impl;
+
+import java.sql.Connection;
+import java.sql.ResultSet;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Map;
+
+import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
+import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
+
+public class RelatorioFormaPagamentoAgenciaNovo extends RelatorioDemandas {
+ public RelatorioFormaPagamentoAgenciaNovo(Map parametros, Connection conexao) throws Exception {
+ super(parametros, conexao);
+ this.setCustomDataSource(new ArrayDataSource(this) {
+ @Override
+ public void initDados() throws Exception {
+
+ Connection conexao = this.relatorio.getConexao();
+ Map parametros = this.relatorio.getParametros();
+
+ Date dataInicial = (Date) parametros.get("DATA_INICIAL");
+ Date dataFinal = (Date) parametros.get("DATA_FINAL");
+ Integer empresa = (Integer) parametros.get("EMPRESA");
+ Integer agencia = (Integer) parametros.get("AGENCIA");
+ Short formaPagoId = (Short) parametros.get("FORMA_PAGO");
+
+ StringBuilder sql = new StringBuilder();
+ sql.append(" SELECT " );
+ sql.append(" c.fechorventa AS data, " );
+ sql.append(" c.numfoliosistema AS bilhete, " );
+ sql.append(" pv.nombpuntoventa AS agencia, " );
+ sql.append(" p_origen.CVEPARADA AS origem , " );
+ sql.append(" p_destino.CVEPARADA AS destino, " );
+ sql.append(" fp.descpago AS forma_pagamento, " );
+ sql.append(" coalesce(c.preciopagado, 0) AS tarifa, " );
+ sql.append(" coalesce(c.importepedagio, 0) AS pedagio, " );
+ sql.append(" coalesce(c.importeseguro, 0) AS seguro, " );
+ sql.append(" coalesce(c.importetaxaembarque, 0) AS taxa, " );
+ sql.append(" coalesce(cfp.importe, 0) AS valor, " );
+ sql.append(" coalesce(seg.valor, 0) AS seg_opcional " );
+ sql.append(" FROM " );
+ sql.append(" caja c " );
+ sql.append(" JOIN caja_formapago cfp ON c.caja_id = cfp.caja_id " );
+ sql.append(" JOIN forma_pago fp ON cfp.formapago_id = fp.formapago_id " );
+ sql.append(" JOIN punto_venta pv ON pv.puntoventa_id = c.puntoventa_id " );
+ sql.append(" JOIN marca m ON m.marca_id = c.marca_id AND m.activo = 1 " );
+ sql.append(" JOIN parada p_origen ON p_origen.parada_id = c.origen_id " );
+ sql.append(" JOIN parada p_destino ON p_destino.parada_id = c.destino_id " );
+ sql.append(" LEFT JOIN segpolv seg ON c.transacao_id = seg.boleto_id " );
+ sql.append(" WHERE " );
+ sql.append(" c.activo = 1 " );
+ sql.append(" AND c.indreimpresion = 0 " );
+ sql.append(" AND c.fechorventa >= :dataInicial " );
+ sql.append(" AND c.fechorventa <= :dataFinal " );
+
+ if (empresa != null) {
+ sql.append(" AND c.empresa_id = :empresaId ");
+ }
+
+ if (agencia != null) {
+ sql.append(" AND c.puntoventa_id = :agenciaId ");
+ }
+
+ if (formaPagoId != null) {
+ sql.append(" AND cfp.FORMAPAGO_ID = :formaPagoId ");
+ }
+
+ sql.append(" ORDER BY data, agencia, bilhete " );
+
+ NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql.toString());
+
+ stmt.setDate("dataInicial", new java.sql.Date(dataInicial.getTime()));
+ stmt.setDate("dataFinal", new java.sql.Date(dataFinal.getTime()));
+
+ if (empresa != null) {
+ stmt.setInt("empresaId", empresa);
+ }
+
+ if (agencia != null) {
+ stmt.setInt("agenciaId", agencia);
+ }
+
+ if (formaPagoId != null ) {
+ stmt.setInt("formapagoId", formaPagoId);
+ }
+
+ ResultSet rset = stmt.executeQuery();
+
+ while (rset.next()) {
+ Map dataResult = new HashMap();
+
+ dataResult.put("DATA", rset.getDate("data"));
+ dataResult.put("BILHETE", rset.getString("bilhete"));
+ dataResult.put("ORIGEM", rset.getString("ORIGEM"));
+ dataResult.put("DESTINO", rset.getString("DESTINO"));
+ dataResult.put("AGENCIA", rset.getString("agencia"));
+ dataResult.put("FORMA_PAGAMENTO", rset.getString("forma_pagamento"));
+ dataResult.put("TARIFA", rset.getBigDecimal("tarifa"));
+ dataResult.put("PEDAGIO", rset.getBigDecimal("PEDAGIO"));
+ dataResult.put("SEGURO", rset.getBigDecimal("SEGURO"));
+ dataResult.put("SEG_OPCIONAL", rset.getBigDecimal("seg_opcional"));
+ dataResult.put("TAXA", rset.getBigDecimal("taxa"));
+ dataResult.put("VALOR", rset.getBigDecimal("valor"));
+
+ this.dados.add(dataResult);
+ }
+
+ this.resultSet = rset;
+ }
+ });
+ }
+}
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgenciaNovo_es.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgenciaNovo_es.properties
new file mode 100644
index 000000000..f97abf049
--- /dev/null
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgenciaNovo_es.properties
@@ -0,0 +1,31 @@
+TITULO = Relatório de Forma de Pagamento por Agência
+PERIODO = PERÍODO
+header.data.hora=Data/Hora\:
+cabecalho.impressorPor=Impresso por
+
+DATA = DATA
+AGENCIA = AGÊNCIA:
+FORMA_PAG = FORMA DE PAG.
+VALOR = TARIFA
+PEDAGIO = PEDÁGIO
+SEGURO = SEGURO
+SEGURO_OPCIONAL = SEG. OPCI.
+TAXAS = TAXAS
+TOTAL = TOTAL
+BILHETE = BILHETE
+ORIGEM = ORIGEM
+DESTINO = DESTINO
+TOTAL_GERAL = Total Geral:
+TOTAL_PV = Total Agência:
+
+#Labels cabeçalho
+cabecalho.relatorio=Relatório:
+cabecalho.periodo=Período:
+cabecalho.periodoA=à
+cabecalho.dataHora=Data/Hora:
+cabecalho.impressorPor=Impresso por:
+cabecalho.pagina=Página
+cabecalho.de=de
+cabecalho.filtros=Filtros:
+
+msg.noData=Não foi possivel obter dados com os parâmetros informados.
\ No newline at end of file
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgenciaNovo_pt_BR.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgenciaNovo_pt_BR.properties
new file mode 100644
index 000000000..f97abf049
--- /dev/null
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgenciaNovo_pt_BR.properties
@@ -0,0 +1,31 @@
+TITULO = Relatório de Forma de Pagamento por Agência
+PERIODO = PERÍODO
+header.data.hora=Data/Hora\:
+cabecalho.impressorPor=Impresso por
+
+DATA = DATA
+AGENCIA = AGÊNCIA:
+FORMA_PAG = FORMA DE PAG.
+VALOR = TARIFA
+PEDAGIO = PEDÁGIO
+SEGURO = SEGURO
+SEGURO_OPCIONAL = SEG. OPCI.
+TAXAS = TAXAS
+TOTAL = TOTAL
+BILHETE = BILHETE
+ORIGEM = ORIGEM
+DESTINO = DESTINO
+TOTAL_GERAL = Total Geral:
+TOTAL_PV = Total Agência:
+
+#Labels cabeçalho
+cabecalho.relatorio=Relatório:
+cabecalho.periodo=Período:
+cabecalho.periodoA=à
+cabecalho.dataHora=Data/Hora:
+cabecalho.impressorPor=Impresso por:
+cabecalho.pagina=Página
+cabecalho.de=de
+cabecalho.filtros=Filtros:
+
+msg.noData=Não foi possivel obter dados com os parâmetros informados.
\ No newline at end of file
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgencia_pt_BR.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgencia_pt_BR.properties
index f0f1a5f0c..900a7b6fd 100644
--- a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgencia_pt_BR.properties
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioFormaPagamentoAgencia_pt_BR.properties
@@ -9,7 +9,7 @@ FORMA_PAG = FORMA DE PAG.
VALOR = TARIFA
PEDAGIO = PEDÁGIO
SEGURO = SEGURO
-SEGURO_OPCIONAL = SEGURO OPCIONAL
+SEGURO_OPCIONAL = SEG. OPCIO.
TAXAS = TAXAS
TOTAL = TOTAL
QTDE = QTDE
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioFormaPagamentoAgenciaNovo.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioFormaPagamentoAgenciaNovo.jasper
new file mode 100644
index 000000000..2a9431ac8
Binary files /dev/null and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioFormaPagamentoAgenciaNovo.jasper differ
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioFormaPagamentoAgenciaNovo.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioFormaPagamentoAgenciaNovo.jrxml
new file mode 100644
index 000000000..cdfb3bf2c
--- /dev/null
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioFormaPagamentoAgenciaNovo.jrxml
@@ -0,0 +1,582 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/financeiro/FormaPagamentoAgenciaController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/financeiro/FormaPagamentoAgenciaController.java
index 9e8b525cb..a1b1b0480 100644
--- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/financeiro/FormaPagamentoAgenciaController.java
+++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/financeiro/FormaPagamentoAgenciaController.java
@@ -19,14 +19,17 @@ 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.Checkbox;
import org.zkoss.zul.Datebox;
+import org.zkoss.zul.Radiogroup;
+import org.zkoss.zul.Row;
+import org.zkoss.zul.Toolbar;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.FormaPago;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
import com.rjconsultores.ventaboletos.entidad.Ruta;
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioFormaPagamentoAgencia;
+import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioFormaPagamentoAgenciaNovo;
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioFormaPagamentoAgenciaRutaTramo;
import com.rjconsultores.ventaboletos.service.FormaPagamentoAgenciaService;
import com.rjconsultores.ventaboletos.service.FormaPagoService;
@@ -66,7 +69,6 @@ public class FormaPagamentoAgenciaController extends MyGenericForwardComposer {
private List lsEmpresas;
private MyComboboxPuntoVenta cmbAgencia;
- private Checkbox considerarRuta;
private MyComboboxEstandar cmbRuta;
private MyComboboxEstandar cmbFormaPago;
@@ -76,6 +78,9 @@ public class FormaPagamentoAgenciaController extends MyGenericForwardComposer {
private MyListbox selectedRutasList;
private List lsFormaPago;
+ private Radiogroup rgLayout;
+ private Toolbar toolbar;
+ private Row rowLinha;
@Override
@@ -155,27 +160,27 @@ public class FormaPagamentoAgenciaController extends MyGenericForwardComposer {
SimpleDateFormat dt = new SimpleDateFormat("dd/MM/yyyy");
- Map argsInforme = new HashMap<>();
+ Map parametros = new HashMap<>();
- if(!considerarRuta.isChecked()){
- argsInforme.put("DATA_INICIAL", dataInicio);
- argsInforme.put("DATA_FINAL", dataFinal);
+ if(rgLayout.getSelectedItem().getValue().equals("LINHA")){
+ parametros.put("DATA_INICIAL", dt.format(dataInicio));
+ parametros.put("DATA_FINAL", dt.format(dataFinal));
}else{
- argsInforme.put("DATA_INICIAL", dt.format(dataInicio));
- argsInforme.put("DATA_FINAL", dt.format(dataFinal));
+ parametros.put("DATA_INICIAL", dataInicio);
+ parametros.put("DATA_FINAL", dataFinal);
}
filtro.append("Periodo: ");
filtro.append(dt.format(dataInicio)).append(" a ");
filtro.append(dt.format(dataFinal)).append("; ");
- argsInforme.put("USUARIO_ID", UsuarioLogado.getUsuarioLogado().getUsuarioId().toString());
- argsInforme.put("USUARIO", UsuarioLogado.getUsuarioLogado().getNombusuario());
+ parametros.put("USUARIO_ID", UsuarioLogado.getUsuarioLogado().getUsuarioId().toString());
+ parametros.put("USUARIO", UsuarioLogado.getUsuarioLogado().getNombusuario());
filtro.append("Empresa: ");
if (cmbEmpresa.isValid() && cmbEmpresa.getSelectedItem() != null) {
Empresa empresa = ((Empresa)cmbEmpresa.getSelectedItem().getValue());
- argsInforme.put("EMPRESA", empresa.getEmpresaId());
+ parametros.put("EMPRESA", empresa.getEmpresaId());
filtro.append(empresa.getNombempresa()).append("; ");
}else {
filtro.append(TODAS);
@@ -184,14 +189,16 @@ public class FormaPagamentoAgenciaController extends MyGenericForwardComposer {
filtro.append("Agência: ");
if (cmbAgencia.getSelectedItem() != null) {
PuntoVenta agencia = ((PuntoVenta) cmbAgencia.getSelectedItem().getValue());
- argsInforme.put("AGENCIA", agencia.getPuntoventaId());
+ parametros.put("AGENCIA", agencia.getPuntoventaId());
filtro.append(agencia.getNombpuntoventa()).append("; ");
}else {
filtro.append(TODAS);
}
filtro.append("Linha: ");
- if (considerarRuta.isChecked() && listSelectedRutas != null && !listSelectedRutas.isEmpty()) {
+ if( rgLayout.getSelectedItem().getValue().equals("LINHA")
+ && listSelectedRutas != null
+ && !listSelectedRutas.isEmpty()) {
StringBuilder idsRutas = new StringBuilder();
StringBuilder linhas = new StringBuilder();
for(Ruta r : listSelectedRutas){
@@ -199,7 +206,7 @@ public class FormaPagamentoAgenciaController extends MyGenericForwardComposer {
linhas.append(r.getDescruta()).append(", ");
}
- argsInforme.put("RUTAS_IDS", idsRutas.substring(0, idsRutas.length()-2));
+ parametros.put("RUTAS_IDS", idsRutas.substring(0, idsRutas.length()-2));
filtro.append(linhas.substring(0, idsRutas.length()-2));
}else {
filtro.append(TODAS);
@@ -208,29 +215,30 @@ public class FormaPagamentoAgenciaController extends MyGenericForwardComposer {
filtro.append("Forma de Pagamento: ");
if (cmbFormaPago.getSelectedItem() != null) {
FormaPago formaPago= ((FormaPago) cmbFormaPago.getSelectedItem().getValue());
- argsInforme.put("FORMA_PAGO", formaPago.getFormapagoId());
+ parametros.put("FORMA_PAGO", formaPago.getFormapagoId());
filtro.append(formaPago.getDescpago()).append("; ");
}else {
filtro.append(TODAS);
}
- RelatorioFormaPagamentoAgencia relatorio =null;
- RelatorioFormaPagamentoAgenciaRutaTramo relatorioRutaTramo =null;
- argsInforme.put("FILTROS", filtro.toString());
- if(!considerarRuta.isChecked()){
- relatorio = new RelatorioFormaPagamentoAgencia(argsInforme, dataSourceRead.getConnection());
- }else{
- relatorioRutaTramo = new RelatorioFormaPagamentoAgenciaRutaTramo(argsInforme, dataSourceRead.getConnection());
+ if(rgLayout.getSelectedItem().getValue().equals("DATA_VENDA")) {
+ parametros.put("TIPO_DATA", "DATA_VENDA");
}
+ parametros.put("FILTROS", filtro.toString());
Map args = new HashMap<>();
- if(!considerarRuta.isChecked()){
+ if(rgLayout.getSelectedItem().getValue().equals("PADRAO")){
+ RelatorioFormaPagamentoAgencia relatorio = new RelatorioFormaPagamentoAgencia(parametros, dataSourceRead.getConnection());
args.put("relatorio", relatorio);
- }else{
- args.put("relatorio", relatorioRutaTramo);
- }
-
+ }else if(rgLayout.getSelectedItem().getValue().equals("LINHA")){
+ RelatorioFormaPagamentoAgenciaRutaTramo relatorio = new RelatorioFormaPagamentoAgenciaRutaTramo(parametros, dataSourceRead.getConnection());
+ args.put("relatorio", relatorio);
+ }else if(rgLayout.getSelectedItem().getValue().equals("NOVO")){
+ RelatorioFormaPagamentoAgenciaNovo relatorio = new RelatorioFormaPagamentoAgenciaNovo(parametros, dataSourceRead.getConnection());
+ args.put("relatorio", relatorio);
+ }
+
openWindow("/component/reportView.zul",
Labels.getLabel("formaPagamentoAgenciaController.window.title"), args, MODAL);
@@ -243,6 +251,24 @@ public class FormaPagamentoAgenciaController extends MyGenericForwardComposer {
cmbRuta.setSelectedItem(null);
}
}
+
+ public void onClick$rdLinha(Event ev) {
+ habilitaLinha(true);
+ }
+
+ public void onClick$rdPadrao(Event ev) {
+ habilitaLinha(false);
+ }
+
+ public void onClick$rdNovo(Event ev) {
+ habilitaLinha(false);
+ }
+
+ private void habilitaLinha( boolean view) {
+ rowLinha.setVisible(view);
+ toolbar.setVisible(view);
+ selectedRutasList.setVisible(view);
+ }
public void onClick$btnRemoveRuta(Event ev) {
Ruta ruta = (Ruta) selectedRutasList.getSelected();
@@ -258,22 +284,18 @@ public class FormaPagamentoAgenciaController extends MyGenericForwardComposer {
this.lsRuta = lsRuta;
}
-
public List getListSelectedRutas() {
return listSelectedRutas;
}
-
public void setListSelectedRutas(List listSelectedRutas) {
this.listSelectedRutas = listSelectedRutas;
}
-
public MyListbox getSelectedRutasList() {
return selectedRutasList;
}
-
public void setSelectedRutasList(MyListbox selectedRutasList) {
this.selectedRutasList = selectedRutasList;
}
@@ -281,9 +303,25 @@ public class FormaPagamentoAgenciaController extends MyGenericForwardComposer {
public List getLsFormaPago() {
return lsFormaPago;
}
+
public void setLsFormaPago(List lsFormaPago) {
this.lsFormaPago = lsFormaPago;
}
-
+
+ public Radiogroup getRgLayout() {
+ return rgLayout;
+ }
+
+ public void setRgLayout(Radiogroup rgLayout) {
+ this.rgLayout = rgLayout;
+ }
+
+ public Toolbar getToolbar() {
+ return toolbar;
+ }
+
+ public void setToolbar(Toolbar toolbar) {
+ this.toolbar = toolbar;
+ }
}
diff --git a/web/WEB-INF/i3-label_en.label b/web/WEB-INF/i3-label_en.label
index c83779943..516b44fe4 100644
--- a/web/WEB-INF/i3-label_en.label
+++ b/web/WEB-INF/i3-label_en.label
@@ -103,7 +103,8 @@ relatorio.parametro.msgNoData = Não foi possivel obter dados com os parâmetros
relatorio.lb.btnExecutarRelatorioEstavel = Executar Relatório - Versão Estável
relatorio.parametro.dataMenorDataAtual=Data não pode ser menor do que a Data Atual
relatorio.lb.btnGerarArquivo=Gerar Arquivo
-
+relatorio.lbPadrao.value=Padrão
+relatorio.lbNovo.label=Novo
# tooltip botões
tooltiptext.btnFechar = Fechar
diff --git a/web/WEB-INF/i3-label_es_MX.label b/web/WEB-INF/i3-label_es_MX.label
index 564321ece..59f768325 100644
--- a/web/WEB-INF/i3-label_es_MX.label
+++ b/web/WEB-INF/i3-label_es_MX.label
@@ -101,7 +101,8 @@ relatorio.lb.btnSalvarRelatorioXls = Guardar reporte en XLS
relatorio.parametro.msgNoData = No fue posible obtener datos con los parámetros informados.
relatorio.parametro.dataMenorDataAtual=Data não pode ser menor do que a Data Atual
relatorio.lb.btnGerarArquivo=Generar Arquivo
-
+relatorio.lbPadrao.value=Padrão
+relatorio.lbNovo.label=Novo
# tooltip botões
tooltiptext.btnFechar = Cerrar
diff --git a/web/WEB-INF/i3-label_pt_BR.label b/web/WEB-INF/i3-label_pt_BR.label
index 14617be04..3c1193a3d 100644
--- a/web/WEB-INF/i3-label_pt_BR.label
+++ b/web/WEB-INF/i3-label_pt_BR.label
@@ -102,6 +102,8 @@ relatorio.parametro.msgNoData = Não foi possivel obter dados com os parâmetros
relatorio.lb.btnExecutarRelatorioEstavel = Executar Relatório - Versão Estável
relatorio.parametro.dataMenorDataAtual=Data não pode ser menor do que a Data Atual
relatorio.lb.btnGerarArquivo=Gerar Arquivo
+relatorio.lbPadrao.value=Padrão
+relatorio.lbNovo.label=Novo
# tooltip botões
@@ -303,9 +305,9 @@ indexController.mniAnalitico.label = Relatórios
indexController.mniIntegracion.label = Integração
indexController.mniRelatoriosBpe.label = Relatórios BPe
indexController.mniRelatoriosOperacionais.label = Relatórios Operacionais
-indexController.mniRelatoriosFinanceiro.label = Relatórios Financeiro
+indexController.mniRelatoriosFinanceiro.label = Relatórios Financeiros
indexController.mniRelatoriosEstatisticos.label = Relatórios EstatÃsticos
-indexController.mniRelatoriosPacote.label = Relatórios Pacote
+indexController.mniRelatoriosPacote.label = Relatórios Pacotes
indexController.mniIntegracion.bgm.label = BGM
indexController.mnSubMenuContaCorrente.label = Fechamento Conta Corrente
indexController.mniRelatorioEmbarqueLocalidade.label=Relatório Embarque por Localidade
diff --git a/web/gui/informes/formaPagamentoAgencia/formaPagamentoAgencia.zul b/web/gui/informes/formaPagamentoAgencia/formaPagamentoAgencia.zul
index 086c9fe47..36c19c61d 100644
--- a/web/gui/informes/formaPagamentoAgencia/formaPagamentoAgencia.zul
+++ b/web/gui/informes/formaPagamentoAgencia/formaPagamentoAgencia.zul
@@ -10,100 +10,95 @@
apply="${formaPagamentoAgenciaController}"
contentStyle="overflow:auto" width="560px" border="normal">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+ model="@{winFiltroRelatorioRecargaRvhub$composer.lsEmpresa}"
+ width="95%" />
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- cmbRuta.setVisible(!cmbRuta.isVisible());
- toolbar.setVisible(!toolbar.isVisible());
- selectedRutasList.setVisible(!selectedRutasList.isVisible());
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file