diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioReceitaServico.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioReceitaServico.java index 90fb8ad88..2ffccc683 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioReceitaServico.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioReceitaServico.java @@ -119,6 +119,8 @@ public class RelatorioReceitaServico extends Relatorio { sql.append(" where cj.feccorrida >= :DATA_INICIAL "); sql.append(" and cj.feccorrida <= :DATA_FINAL "); + sql.append(" and cj.INDREIMPRESION = 0 "); + sql.append(" and cj.MOTIVOCANCELACION_ID is null "); if (servicoSelected) { sql.append(" and cj.corrida_id IN (:CORRIDA_ID) ");