diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioOCDNaoResgatadaEmpresa.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioOCDNaoResgatadaEmpresa.java index 9694ccc16..417d252c3 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioOCDNaoResgatadaEmpresa.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioOCDNaoResgatadaEmpresa.java @@ -116,6 +116,7 @@ public class RelatorioOCDNaoResgatadaEmpresa extends Relatorio { ocdBean.setNumfoliosistema(rset.getString("NUMFOLIOSISTEMA")); ocdBean.setFeccorrida(rset.getDate("FECCORRIDA")); ocdBean.setOcdId(rset.getLong("OCD_ID")); + ocdBean.setMotivocancelacionId(rset.getInt("MOTIVOCANCELACION_ID")); ocdBean.setTotalBilhete(rset.getBigDecimal("TOTAL_BILHETE")); ocdBean.setNumoperacion(OcdUtil.generaLocalizadorOCD(ocdBean.getNumoperacion(), ocdBean.getOcdId())); lsDadosRelatorio.add(ocdBean); @@ -146,7 +147,7 @@ public class RelatorioOCDNaoResgatadaEmpresa extends Relatorio { sql.append("SELECT O.OCD_ID, O.NUMOPERACION, E.NOMBEMPRESA, B.NUMFOLIOSISTEMA, "); sql.append("O.FECINC, PVO.NOMBPUNTOVENTA AS PV_OCD, O.PENALIZACION, (CASE O.VALOR_TARJETA WHEN 0 THEN O.VALOR_PAGAR ELSE O.VALOR_TARJETA END) AS VALOR_OCD, "); sql.append("PVV.NOMBPUNTOVENTA AS PV_VENDA, B.FECHORVENTA, B.FECCORRIDA, ORI.DESCPARADA AS ORIGEM, DES.DESCPARADA AS DESTINO, B.NUMASIENTO, "); - sql.append("(CASE O.VALOR_TARJETA WHEN 0 THEN 'DINHEIRO' ELSE 'CARTAO' END) AS FORMAPAGO, "); + sql.append("(CASE O.VALOR_TARJETA WHEN 0 THEN 'DINHEIRO' ELSE 'CARTAO' END) AS FORMAPAGO, B.MOTIVOCANCELACION_ID, "); sql.append("PVP.NOMBPUNTOVENTA AS PV_PAGO, O.FECPAGO, UP.CVEUSUARIO AS USUARIOPAGO, UI.CVEUSUARIO AS USUARIOINC, "); sql.append("(CASE O.INDPAGO WHEN 1 THEN (CASE O.VALOR_TARJETA WHEN 0 THEN O.VALOR_PAGAR ELSE O.VALOR_TARJETA END) ELSE NULL END) AS VALOR_PAGO, "); sql.append("NVL(B.PRECIOPAGADO,0) + NVL(B.IMPORTETAXAEMBARQUE,0) + NVL(B.IMPORTEOUTROS,0) + NVL(B.IMPORTEPEDAGIO,0) + NVL(B.IMPORTESEGURO,0) AS TOTAL_BILHETE "); diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioOCDNaoResgatadaEmpresa_es.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioOCDNaoResgatadaEmpresa_es.properties index 0e736565c..78da46b2f 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioOCDNaoResgatadaEmpresa_es.properties +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioOCDNaoResgatadaEmpresa_es.properties @@ -21,6 +21,8 @@ detail.fecpago=Fecha Pago detail.fecvenda=Fecha Venta detail.valorOcd=Valor OCD detail.penalizacion=Penalizacion +detail.multa=Multa +detail.motivo=Motivo detail.nombusuarioinc=Usuário Inc. detail.fecinc=Fecha OCD diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioOCDNaoResgatadaEmpresa_pt_BR.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioOCDNaoResgatadaEmpresa_pt_BR.properties index eeb7201b0..088e7e9a3 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioOCDNaoResgatadaEmpresa_pt_BR.properties +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioOCDNaoResgatadaEmpresa_pt_BR.properties @@ -21,6 +21,8 @@ detail.fecpago=Data Pagamento detail.fecvenda=Data Venda detail.valorOcd=Valor OCD detail.penalizacion=Penalização +detail.multa=Multa +detail.motivo=Motivo detail.nombusuarioinc=Usuário Geração detail.fecinc=Data OCD diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDevolucaoBilhetes.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDevolucaoBilhetes.jasper index 96383317d..86ded97fd 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDevolucaoBilhetes.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDevolucaoBilhetes.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDevolucaoBilhetes.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDevolucaoBilhetes.jrxml index 9449925a0..181d23253 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDevolucaoBilhetes.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDevolucaoBilhetes.jrxml @@ -1,8 +1,8 @@ - - + +