diff --git a/pom.xml b/pom.xml
index 9a8244bcc..82645c42e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
br.com.rjconsultores
ventaboletosadm
- 1.97.0
+ 1.97.1
war
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioIndiceIRK.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioIndiceIRK.java
index 27cb14fd8..82e93bea3 100644
--- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioIndiceIRK.java
+++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioIndiceIRK.java
@@ -171,7 +171,7 @@ public class RelatorioIndiceIRK extends Relatorio {
sb.append(" SELECT ");
sb.append(" coi.fechorsalida AS feccorrida, ");
sb.append(" cjj.corrida_id, ");
- sb.append(" cjj.tiposervicio_id ");
+ sb.append(" coi.tiposervicio_id ");
sb.append(" FROM ");
sb.append(" caja cjj ");
sb.append(" INNER JOIN ruta r ON ( cjj.ruta_id = r.ruta_id ) ");
@@ -190,8 +190,8 @@ public class RelatorioIndiceIRK extends Relatorio {
sb.append(" AND cjj.empresacorrida_id =:empresaId ");
sb.append(" GROUP BY ");
sb.append(" coi.fechorsalida, ");
- sb.append(" cjj.corrida_id ");
- sb.append(" cjj.tiposervicio_id ");
+ sb.append(" cjj.corrida_id, ");
+ sb.append(" coi.tiposervicio_id ");
sb.append("), corridas_count AS ( ");
sb.append(" SELECT ");
sb.append(" to_char(feccorrida, 'HH24:MI') AS hora, ");
@@ -299,7 +299,6 @@ public class RelatorioIndiceIRK extends Relatorio {
sb.append(" sentido,");
sb.append(" hora");
-
return sb.toString();
}
diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasInternetPTA.jrxml.bak b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasInternetPTA.jrxml.bak
deleted file mode 100644
index e337a398b..000000000
--- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasInternetPTA.jrxml.bak
+++ /dev/null
@@ -1,384 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-