diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioBilhetesVendidos.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioBilhetesVendidos.java index c3efdf48a..2fb2cdcd6 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioBilhetesVendidos.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioBilhetesVendidos.java @@ -36,6 +36,7 @@ public class RelatorioBilhetesVendidos extends Relatorio { StringBuilder sql = new StringBuilder(); sql.append(" select "); + sql.append(" B.TIPOVENTA_ID IMPRESSAO_POSTERIOR, "); sql.append(" B.NUMFOLIOSISTEMA NUMERO_PASSAGEM, "); sql.append(" B.NUMSERIEPREIMPRESA SERIE, "); sql.append(" B.NUMSERIEPREIMPRESA SUB_SERIE, "); @@ -113,6 +114,7 @@ public class RelatorioBilhetesVendidos extends Relatorio { dataResult.put("SUB_SERIE", rset.getString("SERIE").split("-")[1]); } } + dataResult.put("IMPRESSAO_POSTERIOR", rset.getInt("IMPRESSAO_POSTERIOR")); dataResult.put("PRE_IMPRESSO", rset.getString("PRE_IMPRESSO")); dataResult.put("COD_ORIGEM", rset.getString("COD_ORIGEM")); dataResult.put("ORIGEM", rset.getString("ORIGEM")); diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioBilhetesVendidos.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioBilhetesVendidos.jasper index 49efca530..a363a4a38 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioBilhetesVendidos.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioBilhetesVendidos.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioBilhetesVendidos.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioBilhetesVendidos.jrxml index 6bff5f688..907bbc243 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioBilhetesVendidos.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioBilhetesVendidos.jrxml @@ -2,7 +2,7 @@ - + @@ -60,6 +60,7 @@ + @@ -275,7 +276,7 @@ - + @@ -283,14 +284,14 @@ - + - + @@ -298,7 +299,7 @@ - + @@ -306,7 +307,7 @@ - + @@ -314,7 +315,7 @@ - + @@ -327,14 +328,22 @@ - + - + + + + + + + + + @@ -411,32 +420,32 @@ - + - + - + - + - + - + @@ -450,6 +459,11 @@ + + + + +