diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioPassageirosViajar.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioPassageirosViajar.jasper index 48578c68b..f531fb34a 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioPassageirosViajar.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioPassageirosViajar.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioPassageirosViajar.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioPassageirosViajar.jrxml index f44d50d90..7a1125085 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioPassageirosViajar.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioPassageirosViajar.jrxml @@ -33,8 +33,8 @@ and pv.parada_id = pa.parada_id and pa.ciudad_id = ci.ciudad_id and ci.estado_id = es.estado_id - and cj.feccorrida between $P{DATA_INICIO} and $P{DATA_FINAL} - and ((to_char(cj.tipoventa_id) = $P{EMPRESA_ID}) or ($P{PASSAGEM_ABERTA} = 'T')) + and cj.fechorventa between $P{DATA_INICIO} and $P{DATA_FINAL} + and ((cj.feccorrida is null) or ($P{PASSAGEM_ABERTA} = 'T')) order by em.nombempresa, es.cveestado, cj.fechorventa]]>