alexandre.lima 2017-10-18 18:18:57 +00:00
parent 6adc926731
commit 0676e47bd0
1 changed files with 0 additions and 1 deletions

View File

@ -87,7 +87,6 @@ public class RelatorioBilhetesVendidos extends Relatorio {
sql.append(" AND b.INDSTATUSBOLETO = 'V' AND B.MOTIVOCANCELACION_ID IS NULL"); sql.append(" AND b.INDSTATUSBOLETO = 'V' AND B.MOTIVOCANCELACION_ID IS NULL");
} }
} }
sql.append(" and B.BOLETOORIGINAL_ID is null ");
sql.append(" and B.ACTIVO = 1 "); sql.append(" and B.ACTIVO = 1 ");
sql.append(" order by u.CVEUSUARIO, "); sql.append(" order by u.CVEUSUARIO, ");
sql.append(" u.NOMBUSUARIO, "); sql.append(" u.NOMBUSUARIO, ");