diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioSegundaViaSeguroOpcional.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioSegundaViaSeguroOpcional.java index 00da7f53e..82a84a66c 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioSegundaViaSeguroOpcional.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioSegundaViaSeguroOpcional.java @@ -119,7 +119,7 @@ public class RelatorioSegundaViaSeguroOpcional extends Relatorio { sql.append("INNER JOIN SEGPOLV SEG ON (SEG.BOLETO_ID = B.BOLETO_ID) "); - sql.append("WHERE EE.INDSEGUNDAVIAIMPRESSA = 1 AND B.MOTIVOREIMPRESION_ID = 99 "); + sql.append("WHERE EE.INDSEGUNDAVIAIMPRESSA = 1 "); if (dataInicial != null && dataFinal != null) { sql.append(" AND EE.FECSEGUNDAVIA BETWEEN :dataInicial and :dataFinal "); }