diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioMovimentacaoBilhete.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioMovimentacaoBilhete.java index e054d9fc2..75611fddb 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioMovimentacaoBilhete.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioMovimentacaoBilhete.java @@ -178,11 +178,11 @@ public class RelatorioMovimentacaoBilhete extends Relatorio { gratuidadeBean.setHoraMD(rset.getTimestamp("feccreacion") != null ? hora.format(rset.getTimestamp("feccreacion")) : ""); gratuidadeBean.setHoraEmissao(rset.getTimestamp("fechorventa") != null ? hora.format(rset.getTimestamp("fechorventa")) : ""); - if (indstatusboleto.equalsIgnoreCase("TROCA PASSAGEM") - || indstatusboleto.equalsIgnoreCase("TRANSFERÊNCIA") - || indstatusboleto.equalsIgnoreCase("REATIVADO") - || indstatusboleto.equalsIgnoreCase("TROCA DE TITULARIDADE") - || indstatusboleto.equalsIgnoreCase("TROCA POLTRONA")) { + if (indstatusboleto.equalsIgnoreCase(RelatorioMovimentacaoBilheteStatusEnum.TROCA.getStatusRelatorioAnterior()) + || indstatusboleto.equalsIgnoreCase(RelatorioMovimentacaoBilheteStatusEnum.TRANSFERENCIA.getStatusRelatorioAnterior()) + || indstatusboleto.equalsIgnoreCase(RelatorioMovimentacaoBilheteStatusEnum.REATIVACAO.getStatusRelatorioAnterior()) + || indstatusboleto.equalsIgnoreCase(RelatorioMovimentacaoBilheteStatusEnum.TROCA_TITULARIDADE.getStatusRelatorioAnterior()) + || indstatusboleto.equalsIgnoreCase(RelatorioMovimentacaoBilheteStatusEnum.TROCA_POLTRONA.getStatusRelatorioAnterior())) { gratuidadeBean.setSerienovo(rset.getString("serienovo")); gratuidadeBean.setSubserienovo(rset.getString("subserienovo")); gratuidadeBean.setCcfnovo(rset.getString("ccfnovo"));