fixes bug#13278

qua:renato
dev:leo

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@90281 d1611594-4594-4d17-8e1d-87c2c4800839
master
walace 2019-02-26 19:24:09 +00:00
parent eca8b82ed3
commit 5a6d89359d
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ public class RelatorioGratuidade extends Relatorio {
SimpleDateFormat hora = new SimpleDateFormat("HH:mm");
SimpleDateFormat data = new SimpleDateFormat("dd/MM/yyyy");
while (rset.next()) {
RelatorioGratuidadeBean gratuidadeBean = new RelatorioGratuidadeBean();
@ -293,7 +293,7 @@ public class RelatorioGratuidade extends Relatorio {
sb.append(" when c.indstatusboleto = 'C' and c.motivocancelacion_id = 32 then 'DEVOLVIDO' ");
sb.append(" when c.indstatusboleto = 'C' and c.motivocancelacion_id = 37 then 'CANCEC. EMERG' ");
sb.append(" when c.indstatusboleto = 'E' and c.indreimpresion = 1 then 'ENTREGUE' ");
sb.append(" when (c.indstatusboleto = 'T' and c.motivocancelacion_id = 10 or c.tipoventa_id = 8) or (c.indstatusboleto = 'T' and c.tipoventa_id = 18) then 'TROCA' ");
sb.append(" when (c.indstatusboleto = 'T' and c.motivocancelacion_id = 10 or c.tipoventa_id = 8) or (c.indstatusboleto = 'T' and c.motivocancelacion_id is null) then 'TROCA' ");
sb.append(" when c.indstatusboleto = 'T' and c.tipoventa_id = 81 or c.tipoventa_id = 81 then 'TRANSFERÊNCIA' " );
sb.append(" when c.indstatusboleto = 'T' and c.tipoventa_id = 82 then 'CONFIRM.ABERTO' " );
sb.append(" when c.indstatusboleto = 'C' and c.motivocancelacion_id = 10 then 'TROCA PASSAGEM' " );