correções relatório histórico cliente / tela de cliente

bug#10328
dev:wilian
qua:veloso

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@79756 d1611594-4594-4d17-8e1d-87c2c4800839
master
frederico 2018-03-09 20:56:41 +00:00
parent d2e94e695e
commit 19cd08943c
1 changed files with 10 additions and 10 deletions

View File

@ -101,8 +101,7 @@ public class RelatorioBilhetesVendidosController extends MyGenericForwardCompose
}
private void executarPesquisaAgencia() {
HibernateSearchObject<PuntoVenta> puntoVentaBusqueda =
new HibernateSearchObject<PuntoVenta>(PuntoVenta.class, pagingPuntoVenta.getPageSize());
HibernateSearchObject<PuntoVenta> puntoVentaBusqueda = new HibernateSearchObject<PuntoVenta>(PuntoVenta.class, pagingPuntoVenta.getPageSize());
puntoVentaBusqueda.addFilterILike("nombpuntoventa", "%" + txtNombrePuntoVenta.getValue() + "%");
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
@ -147,6 +146,7 @@ public class RelatorioBilhetesVendidosController extends MyGenericForwardCompose
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
executarRelatorio(false);
}
public void onClick$btnExecutarRelatorioNovoLayout(Event ev) throws Exception {
executarRelatorio(true);
}
@ -195,7 +195,7 @@ public class RelatorioBilhetesVendidosController extends MyGenericForwardCompose
status += "'" + IndStatusBoleto.V + "',";
}
if (status.length() > 0) {
status = status.substring(0, status.length()-1);
status = status.substring(0, status.length() - 1);
} else {
status = null;
}
@ -218,14 +218,14 @@ public class RelatorioBilhetesVendidosController extends MyGenericForwardCompose
Estado estado = (Estado) itemEstado.getValue();
parametros.put("ESTADO_ID", estado.getEstadoId());
parametros.put("ESTADO", estado.getNombestado());
} else{
} else {
parametros.put("ESTADO", "TODOS");
}
if(novoLayout){
if (novoLayout) {
relatorio = new RelatorioBilhetesVendidosNovoLayout(parametros, dataSourceRead.getConnection());
parametros.put("TITULO", Labels.getLabel("relatorioBilhetesVendidosController.window.title"));
}else{
} else {
relatorio = new RelatorioBilhetesVendidos(parametros, dataSourceRead.getConnection());
}
parametros.put("FILTROS", filtro.toString());