diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioResumoLinhas.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioResumoLinhas.jasper index d8af85e83..76218760c 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioResumoLinhas.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioResumoLinhas.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioResumoLinhas.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioResumoLinhas.jrxml index ce789fe83..a43d2c56c 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioResumoLinhas.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioResumoLinhas.jrxml @@ -115,7 +115,8 @@ CR.FECCORRIDA || CR.CORRIDA_ID ELSE NULL - END) VIAGENS + END) VIAGENS, + CS.CVECLASE CVE_CLASE_SERVICIO FROM RUTA RT, BOLETO BL, CORRIDA CR, @@ -128,8 +129,10 @@ PARADA PO, PARADA PD, CIUDAD CO, - CIUDAD CD + CIUDAD CD, + CLASE_SERVICIO CS WHERE RT.RUTA_ID = CR.RUTA_ID + AND CS.CLASESERVICIO_ID = RT.CLASESERVICIO_ID AND CR.FECCORRIDA = BL.FECCORRIDA AND CR.RUTA_ID = NVL( $P{RUTA_ID} , CR.RUTA_ID) AND CR.CORRIDA_ID = BL.CORRIDA_ID @@ -159,7 +162,8 @@ AND CR.FECCORRIDA BETWEEN $P{DATA_INICIAL} AND $P{DATA_FINAL} - GROUP BY RT.RUTA_ID, + GROUP BY CS.CVECLASE, + RT.RUTA_ID, RT.NUMRUTA, PO.CVEPARADA||' - '||PD.CVEPARADA, TF.PRECIO, @@ -198,6 +202,7 @@ + @@ -936,6 +941,11 @@ + + + + + @@ -960,11 +970,6 @@ - - - - - @@ -1060,6 +1065,11 @@ + + + + +