diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioBilhetesVendidos.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioBilhetesVendidos.java index a7ff04b76..7b73e5664 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioBilhetesVendidos.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioBilhetesVendidos.java @@ -81,6 +81,7 @@ public class RelatorioBilhetesVendidos extends Relatorio { if (parametros.get("STATUS") != null) { sql.append(" and b.INDSTATUSBOLETO in (" + parametros.get("STATUS") + ") "); } + sql.append(" and B.BOLETOORIGINAL_ID is null "); sql.append(" order by u.CVEUSUARIO, "); sql.append(" u.NOMBUSUARIO, "); sql.append(" pv.NUMPUNTOVENTA, ");