diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java index 7e2835807..3de5484e5 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java @@ -63,7 +63,7 @@ public class RelatorioVendasBilheteiro extends Relatorio { sql.append(" and c.FECCORRIDA >= :DATA_INICIAL "); sql.append(" and c.FECCORRIDA <= :DATA_FINAL "); if (parametros.get("NUMPUNTOVENTA") != null) { - sql.append(" and pv.NUMPUNTOVENTA IN (" + parametros.get("NUMPUNTOVENTA").toString() + ")"); + sql.append(" and pv.PUNTOVENTA_ID IN (" + parametros.get("NUMPUNTOVENTA").toString() + ")"); } if (parametros.get("BILHETEIRO") != null && !parametros.get("BILHETEIRO").equals("")) { sql.append(" and u.NOMBUSUARIO like '" + parametros.get("BILHETEIRO") + "%'"); diff --git a/web/gui/relatorios/filtroRelatorioVendasBilheteiro.zul b/web/gui/relatorios/filtroRelatorioVendasBilheteiro.zul index 1acb8651b..80a10f72b 100644 --- a/web/gui/relatorios/filtroRelatorioVendasBilheteiro.zul +++ b/web/gui/relatorios/filtroRelatorioVendasBilheteiro.zul @@ -24,7 +24,7 @@ format="dd/MM/yyyy" lenient="true" constraint="no empty" maxlength="10" />