Merge pull request 'AL-2732' (!215) from AL-2732 into master

Reviewed-on: adm/VentaBoletosAdm#215
Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>
master 1.8.13
Julio Heredia 2023-07-07 13:05:55 +00:00
commit 7fc8067f2f
10 changed files with 263 additions and 234 deletions

View File

@ -56,4 +56,5 @@ ou usar o <a href='https://gitrj.rjconsultores.com.br/adm/ventaBoletosAdm/src/b
##### 6
* a geração de versão no gitea é feita de forma automática pelo jenkins
***

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId>
<version>1.8.12</version>
<version>1.8.13</version>
<packaging>war</packaging>
<properties>

View File

@ -37,7 +37,8 @@ public class RelatorioDescontos extends Relatorio {
Integer tipoPuntoVenta = (Integer) parametros.get("tipoPuntoVenta");
String query = getQuery(idPuntoVenta, codconvenio, tipoPuntoVenta);
String query = getQuery(idPuntoVenta, codconvenio, tipoPuntoVenta);
System.out.println(query);
NamedParameterStatement statement = new NamedParameterStatement(coneConnection, query);
statement.setTimestamp("fecVentaInicial", fecVentaInicial);
@ -89,78 +90,78 @@ public class RelatorioDescontos extends Relatorio {
}
}
private String getQuery(Integer idPuntoVenta, String codconvenio, Integer tipoPuntoVenta) {
StringBuilder query = new StringBuilder();
query.append(" SELECT ");
private String getQuery(Integer idPuntoVenta, String codconvenio, Integer tipoPuntoVenta) {
String query = " SELECT "
query.append(" (CONV.CVECONVENIO || ' - ' || CONV.DESCCONVENIO) AS codConvenio, ");
query.append(" PUNT_V.NOMBPUNTOVENTA AS nomeAgencia, ");
query.append(" BOL.FECHORVENTA AS dataEmissao, ");
query.append(" BOL.FECHORVIAJE AS dataViagem, ");
query.append(" BOL.CORRIDA_ID AS codServico, ");
query.append(" ORIG.CVEPARADA AS codOrigem, ");
query.append(" DEST.CVEPARADA AS codDestino, ");
+ " (CONV.CVECONVENIO || ' - ' || CONV.DESCCONVENIO) AS codConvenio, "
+ " PUNT_V.NOMBPUNTOVENTA AS nomeAgencia, "
+ " BOL.FECHORVENTA AS dataEmissao, "
+ " BOL.FECHORVIAJE AS dataViagem, "
+ " BOL.CORRIDA_ID AS codServico, "
+ " ORIG.CVEPARADA AS codOrigem, "
+ " DEST.CVEPARADA AS codDestino, "
+ " (case "
+ " when ( bol.indcancelacion = 1 ) "
+ " then (-1 *(Abs( BOL.PRECIOPAGADO ) )) "
+ " else "
+ " BOL.PRECIOPAGADO "
+ " END) AS tarifaComDesconto, "
query.append(" (case ");
query.append(" when ( bol.indcancelacion = 1 ) ");
query.append(" then (-1 *(Abs( BOL.PRECIOPAGADO ) )) ");
query.append(" else ");
query.append(" BOL.PRECIOPAGADO ");
query.append(" END) AS tarifaComDesconto, ");
query.append(" (case ");
query.append(" when ( bol.indcancelacion = 1 ) ");
query.append(" then (-1 *(Abs( BOL.IMPORTETAXAEMBARQUE ) )) ");
query.append(" else ");
query.append(" BOL.IMPORTETAXAEMBARQUE ");
query.append(" END) AS tut, ");
query.append(" (case ");
query.append(" when ( bol.indcancelacion = 1 ) ");
query.append(" then (-1 *(Abs( BOL.IMPORTEPEDAGIO ) )) ");
query.append(" else ");
query.append(" BOL.IMPORTEPEDAGIO ");
query.append(" END) AS pedagio, ");
query.append(" BOL.NOMBPASAJERO AS nomepassageiro, ");
query.append(" BOL.DESCNUMDOC AS documento,");
query.append(" U.CVEUSUARIO AS bilheteiro, ");
query.append(" BOL.EMPRESACORRIDA_ID AS empresacorrida, ");
query.append(" EMP.NOMBEMPRESA AS empresa ");
query.append(" FROM BOLETO BOL ");
query.append(" JOIN CONVENIO_DET CONV_D ON CONV_D.CONVENIODET_ID = BOL.CONVENIODET_ID ");
query.append(" JOIN CONVENIO CONV ON CONV.CONVENIO_ID = CONV_D.CONVENIO_ID ");
query.append(" JOIN PUNTO_VENTA PUNT_V ON PUNT_V.PUNTOVENTA_ID = BOL.PUNTOVENTA_ID ");
query.append(" JOIN TIPO_PTOVTA TPVTA ON PUNT_V.TIPOPTOVTA_ID = TPVTA.TIPOPTOVTA_ID ");
query.append(" JOIN PARADA ORIG ON ORIG.PARADA_ID = BOL.ORIGEN_ID ");
query.append(" JOIN PARADA DEST ON DEST.PARADA_ID = BOL.DESTINO_ID ");
query.append(" INNER JOIN USUARIO U ON U.USUARIO_ID = BOL.USUARIO_ID " );
query.append(" JOIN EMPRESA EMP ON EMP.EMPRESA_ID = BOL.EMPRESACORRIDA_ID ");
query.append(" WHERE ");
query.append(" BOL.INDSTATUSOPERACION = 'F' ");
query.append(" AND BOL.ACTIVO = 1 ");
query.append(" AND BOL.FECHORVENTA BETWEEN :fecVentaInicial AND :fecVentaFinal ");
+ " (case "
+ " when ( bol.indcancelacion = 1 ) "
+ " then (-1 *(Abs( BOL.IMPORTETAXAEMBARQUE ) )) "
+ " else "
+ " BOL.IMPORTETAXAEMBARQUE "
+ " END) AS tut, "
+ " (case "
+ " when ( bol.indcancelacion = 1 ) "
+ " then (-1 *(Abs( BOL.IMPORTEPEDAGIO ) )) "
+ " else "
+ " BOL.IMPORTEPEDAGIO "
+ " END) AS pedagio, "
+ " BOL.NOMBPASAJERO AS nomepassageiro, "
+ " BOL.DESCNUMDOC AS documento,"
+ " U.CVEUSUARIO AS bilheteiro, "
+ " BOL.EMPRESACORRIDA_ID AS empresacorrida, "
+ " EMP.NOMBEMPRESA AS empresa "
+ " FROM BOLETO BOL "
+ " JOIN CONVENIO_DET CONV_D ON CONV_D.CONVENIODET_ID = BOL.CONVENIODET_ID "
+ " JOIN CONVENIO CONV ON CONV.CONVENIO_ID = CONV_D.CONVENIO_ID "
+ " JOIN PUNTO_VENTA PUNT_V ON PUNT_V.PUNTOVENTA_ID = BOL.PUNTOVENTA_ID "
+ " JOIN TIPO_PTOVTA TPVTA ON PUNT_V.TIPOPTOVTA_ID = TPVTA.TIPOPTOVTA_ID "
+ " JOIN PARADA ORIG ON ORIG.PARADA_ID = BOL.ORIGEN_ID "
+ " JOIN PARADA DEST ON DEST.PARADA_ID = BOL.DESTINO_ID "
+ " INNER JOIN USUARIO U ON U.USUARIO_ID = BOL.USUARIO_ID "
+ " JOIN EMPRESA EMP ON EMP.EMPRESA_ID = BOL.EMPRESACORRIDA_ID "
+ " WHERE "
+ " BOL.INDSTATUSOPERACION = 'F' "
+ " AND BOL.ACTIVO = 1 "
+ " AND BOL.FECHORVENTA BETWEEN :fecVentaInicial AND :fecVentaFinal ";
if(!((String)parametros.get("EMPRESAIDS")).equals("")){
query.append(" AND BOL.EMPRESACORRIDA_ID IN ( " + (String)parametros.get("EMPRESAIDS") + ")");
query +=" AND BOL.EMPRESACORRIDA_ID IN ( " + (String)parametros.get("EMPRESAIDS") + ")" ;
}
if(idPuntoVenta != null && idPuntoVenta != -1) {
query.append(" AND (BOL.PUNTOVENTA_ID = :idPuntoVenta) ");
query += " AND (BOL.PUNTOVENTA_ID = :idPuntoVenta) ";
}
if (codconvenio != null && !codconvenio.isEmpty()) {
query.append(" AND (CONV.CVECONVENIO = :codconvenio)");
query += " AND (CONV.CVECONVENIO = :codconvenio)";
}
if (tipoPuntoVenta != null && tipoPuntoVenta != -1) {
query.append(" AND (PUNT_V.TIPOPTOVTA_ID = :tipoPuntoVenta)");
query += " AND (PUNT_V.TIPOPTOVTA_ID = :tipoPuntoVenta)";
}
query.append(" ORDER BY BOL.EMPRESACORRIDA_ID, (CONV.CVECONVENIO || ' - ' || CONV.DESCCONVENIO)");
query += " ORDER BY BOL.EMPRESACORRIDA_ID, (CONV.CVECONVENIO || ' - ' || CONV.DESCCONVENIO)";
return query.toString();
return query;
}
@Override

View File

@ -37,7 +37,8 @@ public class RelatorioDescontosTipo2 extends Relatorio {
Integer tipoPuntoVenta = (Integer) parametros.get("tipoPuntoVenta");
String query = getQuery(idPuntoVenta, codconvenio, tipoPuntoVenta);
String query = getQuery(idPuntoVenta, codconvenio, tipoPuntoVenta);
System.out.println(query);
NamedParameterStatement statement = new NamedParameterStatement(coneConnection, query);
statement.setTimestamp("fecVentaInicial", fecVentaInicial);
@ -92,85 +93,83 @@ public class RelatorioDescontosTipo2 extends Relatorio {
}
}
private String getQuery(Integer idPuntoVenta, String codconvenio, Integer tipoPuntoVenta) {
StringBuilder query = new StringBuilder();
private String getQuery(Integer idPuntoVenta, String codconvenio, Integer tipoPuntoVenta) {
String query = " SELECT "
query.append(" SELECT ");
query.append(" (CONV.CVECONVENIO || ' - ' || CONV.DESCCONVENIO) AS codConvenio, " );
query.append(" PUNT_V.NOMBPUNTOVENTA AS nomeAgencia, ");
query.append(" BOL.FECHORVENTA AS dataEmissao, ");
query.append(" BOL.FECHORVIAJE AS dataViagem, ");
query.append(" BOL.CORRIDA_ID AS codServico, ");
query.append(" ORIG.CVEPARADA AS codOrigem, ");
query.append(" DEST.CVEPARADA AS codDestino, ");
query.append(" (case ");
query.append(" when ( bol.indcancelacion = 1 ) ");
query.append(" then (-1 *(Abs( BOL.PRECIOPAGADO ) )) ");
query.append(" else ");
query.append(" BOL.PRECIOPAGADO ");
query.append(" END) AS tarifaComDesconto, ");
query.append(" (case ");
query.append(" when ( bol.indcancelacion = 1 ) ");
query.append(" then (-1 *(Abs( BOL.IMPORTETAXAEMBARQUE ) )) ");
query.append(" else ");
query.append(" BOL.IMPORTETAXAEMBARQUE ");
query.append(" END) AS tut, ");
+ " (CONV.CVECONVENIO || ' - ' || CONV.DESCCONVENIO) AS codConvenio, "
+ " PUNT_V.NOMBPUNTOVENTA AS nomeAgencia, "
+ " BOL.FECHORVENTA AS dataEmissao, "
+ " BOL.FECHORVIAJE AS dataViagem, "
+ " BOL.CORRIDA_ID AS codServico, "
+ " ORIG.CVEPARADA AS codOrigem, "
+ " DEST.CVEPARADA AS codDestino, "
+ " (case "
+ " when ( bol.indcancelacion = 1 ) "
+ " then (-1 *(Abs( BOL.PRECIOPAGADO ) )) "
+ " else "
+ " BOL.PRECIOPAGADO "
+ " END) AS tarifaComDesconto, "
+ " (case "
+ " when ( bol.indcancelacion = 1 ) "
+ " then (-1 *(Abs( BOL.IMPORTETAXAEMBARQUE ) )) "
+ " else "
+ " BOL.IMPORTETAXAEMBARQUE "
+ " END) AS tut, "
query.append(" (case ");
query.append(" when ( bol.indcancelacion = 1 ) ");
query.append(" then (-1 *(Abs( BOL.IMPORTEPEDAGIO ) )) ");
query.append(" else ");
query.append(" BOL.IMPORTEPEDAGIO " );
query.append(" END) AS pedagio, ");
+ " (case "
+ " when ( bol.indcancelacion = 1 ) "
+ " then (-1 *(Abs( BOL.IMPORTEPEDAGIO ) )) "
+ " else "
+ " BOL.IMPORTEPEDAGIO "
+ " END) AS pedagio, "
+ " BOL.NOMBPASAJERO AS nomepassageiro, "
+ " BOL.DESCNUMDOC AS documento,"
+ " U.CVEUSUARIO AS bilheteiro, "
+ " BOL.EMPRESACORRIDA_ID AS empresacorrida, "
+ " EMP.NOMBEMPRESA AS empresa, "
+ " TPVTA.desctipo AS CANAL_DE_VENDA, "
+ " BOL.DESCCORREO AS email, "
+ " BOL.DESCTELEFONO AS telefone "
+ " FROM BOLETO BOL "
+ " JOIN CONVENIO_DET CONV_D ON CONV_D.CONVENIODET_ID = BOL.CONVENIODET_ID "
+ " JOIN CONVENIO CONV ON CONV.CONVENIO_ID = CONV_D.CONVENIO_ID "
+ " JOIN PUNTO_VENTA PUNT_V ON PUNT_V.PUNTOVENTA_ID = BOL.PUNTOVENTA_ID "
+ " JOIN TIPO_PTOVTA TPVTA ON PUNT_V.TIPOPTOVTA_ID = TPVTA.TIPOPTOVTA_ID "
+ " JOIN PARADA ORIG ON ORIG.PARADA_ID = BOL.ORIGEN_ID "
+ " JOIN PARADA DEST ON DEST.PARADA_ID = BOL.DESTINO_ID "
+ " INNER JOIN USUARIO U ON U.USUARIO_ID = BOL.USUARIO_ID "
+ " JOIN EMPRESA EMP ON EMP.EMPRESA_ID = BOL.EMPRESACORRIDA_ID "
+ " WHERE "
+ " BOL.INDSTATUSOPERACION = 'F' "
+ " AND BOL.ACTIVO = 1 "
+ " AND BOL.FECHORVENTA BETWEEN :fecVentaInicial AND :fecVentaFinal ";
if(!((String)parametros.get("EMPRESAIDS")).equals("")){
query +=" AND BOL.EMPRESACORRIDA_ID IN ( " + (String)parametros.get("EMPRESAIDS") + ")" ;
}
if(idPuntoVenta != null && idPuntoVenta != -1) {
query += " AND (BOL.PUNTOVENTA_ID = :idPuntoVenta) ";
}
if (codconvenio != null && !codconvenio.isEmpty()) {
query += " AND (CONV.CVECONVENIO = :codconvenio)";
}
if (tipoPuntoVenta != null && tipoPuntoVenta != -1) {
query += " AND (PUNT_V.TIPOPTOVTA_ID = :tipoPuntoVenta)";
}
query.append(" BOL.NOMBPASAJERO AS nomepassageiro, " );
query.append(" BOL.DESCNUMDOC AS documento," );
query.append(" U.CVEUSUARIO AS bilheteiro, " );
query.append(" BOL.EMPRESACORRIDA_ID AS empresacorrida, " );
query.append(" EMP.NOMBEMPRESA AS empresa, ");
query += " ORDER BY BOL.EMPRESACORRIDA_ID, (CONV.CVECONVENIO || ' - ' || CONV.DESCCONVENIO)";
query.append(" TPVTA.desctipo AS CANAL_DE_VENDA, ");
query.append(" BOL.DESCCORREO AS email, ");
query.append(" BOL.DESCTELEFONO AS telefone ");
query.append(" FROM BOLETO BOL ");
query.append(" JOIN CONVENIO_DET CONV_D ON CONV_D.CONVENIODET_ID = BOL.CONVENIODET_ID ");
query.append(" JOIN CONVENIO CONV ON CONV.CONVENIO_ID = CONV_D.CONVENIO_ID ");
query.append(" JOIN PUNTO_VENTA PUNT_V ON PUNT_V.PUNTOVENTA_ID = BOL.PUNTOVENTA_ID ");
query.append(" JOIN TIPO_PTOVTA TPVTA ON PUNT_V.TIPOPTOVTA_ID = TPVTA.TIPOPTOVTA_ID ");
query.append(" JOIN PARADA ORIG ON ORIG.PARADA_ID = BOL.ORIGEN_ID ");
query.append(" JOIN PARADA DEST ON DEST.PARADA_ID = BOL.DESTINO_ID ");
query.append(" INNER JOIN USUARIO U ON U.USUARIO_ID = BOL.USUARIO_ID " );
query.append(" JOIN EMPRESA EMP ON EMP.EMPRESA_ID = BOL.EMPRESACORRIDA_ID ");
query.append(" WHERE ");
query.append( " BOL.INDSTATUSOPERACION = 'F' ");
query.append( " AND BOL.ACTIVO = 1 ");
query.append( " AND BOL.FECHORVENTA BETWEEN :fecVentaInicial AND :fecVentaFinal ");
if(!((String)parametros.get("EMPRESAIDS")).equals("")){
query.append(" AND BOL.EMPRESACORRIDA_ID IN ( " + (String)parametros.get("EMPRESAIDS") + ")" );
}
if(idPuntoVenta != null && idPuntoVenta != -1) {
query.append(" AND (BOL.PUNTOVENTA_ID = :idPuntoVenta) ");
}
if (codconvenio != null && !codconvenio.isEmpty()) {
query.append( " AND (CONV.CVECONVENIO = :codconvenio)");
}
if (tipoPuntoVenta != null && tipoPuntoVenta != -1) {
query.append( " AND (PUNT_V.TIPOPTOVTA_ID = :tipoPuntoVenta)");
}
query.append( " ORDER BY BOL.EMPRESACORRIDA_ID, (CONV.CVECONVENIO || ' - ' || CONV.DESCCONVENIO)");
return query.toString();
return query;
}
@Override

View File

@ -121,6 +121,7 @@ public class RelatorioGratuidade extends Relatorio {
gratuidadeBean.setFecdatviaje(rset.getTimestamp("fechorviaje") != null ? data.format(rset.getTimestamp("fechorviaje")) : "");
gratuidadeBean.setFechorviaje(rset.getTimestamp("fechorviaje") != null ? hora.format(rset.getTimestamp("fechorviaje")) : "");
gratuidadeBean.setKm(rset.getInt("numkmviaje"));
gratuidadeBean.setPrefixo(rset.getString("prefixo"));
gratuidadeBean.setLinha(rset.getString("descruta"));
gratuidadeBean.setNombpasajero(rset.getString("nombpasajero"));
gratuidadeBean.setNombpuntoventa(rset.getString("nombpuntoventa"));
@ -191,6 +192,7 @@ public class RelatorioGratuidade extends Relatorio {
sb.append(" ori.descparada descorigen,");
sb.append(" des.descparada descdestino,");
sb.append(" b.numkmviaje,");
sb.append(" r.prefixo,");
sb.append(" r.descruta,");
sb.append(" b.corrida_id,");
sb.append(" b.fechorviaje,");
@ -307,6 +309,7 @@ public class RelatorioGratuidade extends Relatorio {
sb.append(" descorigen, ");
sb.append(" descdestino, ");
sb.append(" numkmviaje, ");
sb.append(" prefixo, ");
sb.append(" descruta, ");
sb.append(" corrida_id, ");
sb.append(" fechorviaje, ");
@ -372,6 +375,7 @@ public class RelatorioGratuidade extends Relatorio {
sb.append(" ori.descparada descorigen,");
sb.append(" des.descparada descdestino,");
sb.append(" c.numkmviaje,");
sb.append(" r.prefixo,");
sb.append(" r.descruta,");
sb.append(" c.corrida_id,");
sb.append(" c.fechorviaje,");
@ -499,6 +503,7 @@ public class RelatorioGratuidade extends Relatorio {
sb.append(" descorigen, ");
sb.append(" descdestino, ");
sb.append(" numkmviaje, ");
sb.append(" prefixo, ");
sb.append(" descruta, ");
sb.append(" corrida_id, ");
sb.append(" fechorviaje, ");

View File

@ -21,6 +21,7 @@ detail.dataServico=Data Servi.
detail.origen=Origem
detail.destino=Destino
detail.km=Km
detail.prefixo=Prefixo
detail.linha=Linha
detail.servicio=Serviço
detail.hora=Hora

View File

@ -21,6 +21,7 @@ detail.dataServico=Data Servi.
detail.origen=Origem
detail.destino=Destino
detail.km=Km
detail.prefixo=Prefixo
detail.linha=Linha
detail.servicio=Serviço
detail.hora=Hora

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioEmpresaCorrida" pageWidth="1152" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1132" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" resourceBundle="RelatorioEmpresaCorrida" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
<!-- Created with Jaspersoft Studio version last-->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioEmpresaCorrida" pageWidth="1202" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1132" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" resourceBundle="RelatorioEmpresaCorrida" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
<property name="ireport.zoom" value="1.996500000000005"/>
<property name="ireport.x" value="1044"/>
<property name="ireport.y" value="0"/>
@ -57,6 +58,7 @@
<field name="chbpe" class="java.lang.String"/>
<field name="desctelefono" class="java.lang.String"/>
<field name="preciopagadoVendido" class="java.math.BigDecimal"/>
<field name="prefixo" class="java.lang.String"/>
<variable name="qtde" class="java.lang.Integer" calculation="Count">
<variableExpression><![CDATA[$F{km}]]></variableExpression>
</variable>
@ -71,297 +73,303 @@
<initialValueExpression><![CDATA[]]></initialValueExpression>
</variable>
<background>
<band splitType="Stretch"/>
<band splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="252" y="-312" width="50" height="23" uuid="95d111fc-a1f2-4f43-8e20-a12a9d2cb175"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{linha}]]></textFieldExpression>
</textField>
</band>
</background>
<title>
<band height="144">
<band height="145">
<textField>
<reportElement uuid="652312bd-292a-424d-a234-5f157e3699c6" x="0" y="0" width="314" height="37"/>
<textElement/>
<reportElement x="0" y="0" width="314" height="37" uuid="652312bd-292a-424d-a234-5f157e3699c6"/>
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716" x="0" y="37" width="109" height="23"/>
<textElement/>
<reportElement x="0" y="37" width="109" height="23" uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716"/>
<textFieldExpression><![CDATA[$R{header.periodo.viagem}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60" x="633" y="37" width="106" height="23"/>
<textElement/>
<reportElement x="633" y="37" width="106" height="23" uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60"/>
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f" x="811" y="37" width="30" height="23"/>
<reportElement x="811" y="37" width="30" height="23" uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="be1692e9-f130-4d08-9173-6ca3e4699030" x="739" y="37" width="39" height="23"/>
<textElement/>
<reportElement x="739" y="37" width="39" height="23" uuid="be1692e9-f130-4d08-9173-6ca3e4699030"/>
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50" x="109" y="37" width="205" height="23"/>
<textElement/>
<reportElement x="109" y="37" width="205" height="23" uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50"/>
<textFieldExpression><![CDATA[( $P{fecInicioViagem} != null ? ($P{fecInicioViagem} + " à " + $P{fecFinalViagem}) : "" )]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy HH:mm">
<reportElement uuid="6f671365-868e-41a6-81ee-a308d1d91e1d" x="739" y="0" width="102" height="37"/>
<reportElement x="739" y="0" width="102" height="37" uuid="6f671365-868e-41a6-81ee-a308d1d91e1d"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a" x="778" y="37" width="33" height="23"/>
<reportElement x="778" y="37" width="33" height="23" uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="a79c03e0-bbe4-4b1c-8297-533a0d137b27" x="0" y="60" width="109" height="21"/>
<textElement/>
<reportElement x="0" y="60" width="109" height="21" uuid="a79c03e0-bbe4-4b1c-8297-533a0d137b27"/>
<textFieldExpression><![CDATA[$R{header.periodo.venda}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="b31b00a3-1ced-4f9c-acb7-470646f7b335" x="109" y="60" width="205" height="21"/>
<textElement/>
<reportElement x="109" y="60" width="205" height="21" uuid="b31b00a3-1ced-4f9c-acb7-470646f7b335"/>
<textFieldExpression><![CDATA[( $P{fecInicioVenda} != null ? ($P{fecInicioVenda} + " à " + $P{fecFinalVenda}) : "" )]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="8fb67bb3-6ff2-40d1-b338-714f199ea7f0" x="0" y="81" width="109" height="20"/>
<textElement/>
<reportElement x="0" y="81" width="109" height="20" uuid="8fb67bb3-6ff2-40d1-b338-714f199ea7f0"/>
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="2c09f3ff-c554-4ce2-886e-eaab93fa15eb" x="361" y="114" width="55" height="26"/>
<reportElement x="412" y="114" width="55" height="26" uuid="2c09f3ff-c554-4ce2-886e-eaab93fa15eb"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.origen}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="e18edb89-17f4-417e-8041-664f11245cbd" x="449" y="114" width="55" height="26"/>
<reportElement x="500" y="114" width="55" height="26" uuid="e18edb89-17f4-417e-8041-664f11245cbd"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.destino}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="67851ba5-cc9c-4f37-8857-9e3c5be9b362" x="257" y="114" width="50" height="26"/>
<reportElement x="308" y="114" width="50" height="26" uuid="67851ba5-cc9c-4f37-8857-9e3c5be9b362"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.linha}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="93fedb4f-18e2-4d95-82e8-2108d3eb135c" x="224" y="114" width="33" height="26"/>
<reportElement x="224" y="114" width="33" height="26" uuid="93fedb4f-18e2-4d95-82e8-2108d3eb135c"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.servicio}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="3de0b54a-0b10-4556-9b0a-ba8f19989716" x="307" y="114" width="28" height="26"/>
<reportElement x="358" y="114" width="28" height="26" uuid="3de0b54a-0b10-4556-9b0a-ba8f19989716"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.hora}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="cc834009-ae90-46d4-8bbb-37578b69f621" x="735" y="114" width="39" height="26"/>
<reportElement x="786" y="114" width="39" height="26" uuid="cc834009-ae90-46d4-8bbb-37578b69f621"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.tipobilhete}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="842c2e2b-0a9e-4a28-9010-9b0c814c5bcb" x="591" y="114" width="44" height="26"/>
<reportElement x="642" y="114" width="44" height="26" uuid="842c2e2b-0a9e-4a28-9010-9b0c814c5bcb"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.pasajero}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="94fe9e9b-e231-43b8-aeb8-7bc3eb2d61af" x="665" y="114" width="32" height="26"/>
<reportElement x="716" y="114" width="32" height="26" uuid="94fe9e9b-e231-43b8-aeb8-7bc3eb2d61af"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.documento}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="952c3d60-ade1-4f57-8801-3ef6bc7f2333" x="837" y="114" width="28" height="26"/>
<reportElement x="888" y="114" width="28" height="26" uuid="952c3d60-ade1-4f57-8801-3ef6bc7f2333"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.precio}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="e14732be-42a0-4f54-9eb2-52f10ece154b" x="865" y="114" width="37" height="26"/>
<reportElement x="916" y="114" width="37" height="26" uuid="e14732be-42a0-4f54-9eb2-52f10ece154b"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.desconto}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="b34ce751-6969-47b0-aeb7-fff00a5de1e3" x="902" y="114" width="41" height="26"/>
<reportElement x="953" y="114" width="41" height="26" uuid="b34ce751-6969-47b0-aeb7-fff00a5de1e3"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.valorCobrado}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="bb3d2388-6bda-4727-ba30-0a5f4612f1a8" x="109" y="114" width="30" height="26"/>
<reportElement x="109" y="114" width="30" height="26" uuid="bb3d2388-6bda-4727-ba30-0a5f4612f1a8"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.bilheteiro}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="6b1fac8d-c098-4893-b1dd-7b64573f0173" x="774" y="114" width="33" height="26"/>
<reportElement x="825" y="114" width="33" height="26" uuid="6b1fac8d-c098-4893-b1dd-7b64573f0173"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.tipopassagem}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="0948a2fc-fc39-4f2d-ab06-d7c97a66df39" x="505" y="114" width="34" height="26"/>
<reportElement x="556" y="114" width="34" height="26" uuid="0948a2fc-fc39-4f2d-ab06-d7c97a66df39"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.numasiento}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="c4b5d11d-79a1-4850-8294-8ccaa0898bca" x="539" y="114" width="33" height="26"/>
<reportElement x="590" y="114" width="33" height="26" uuid="c4b5d11d-79a1-4850-8294-8ccaa0898bca"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.numfoliosistema}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="2af7bea7-e8bf-424a-9813-c9d2be7c0459" x="139" y="114" width="43" height="26"/>
<reportElement x="139" y="114" width="43" height="26" uuid="2af7bea7-e8bf-424a-9813-c9d2be7c0459"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.dataMD}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="7b62e459-04bc-4227-be76-24bf5938d552" x="807" y="114" width="30" height="26"/>
<reportElement x="858" y="114" width="30" height="26" uuid="7b62e459-04bc-4227-be76-24bf5938d552"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.tipo}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="069eab80-7d6d-4dae-a598-c5014deb81f4" x="635" y="114" width="30" height="26"/>
<reportElement x="686" y="114" width="30" height="26" uuid="069eab80-7d6d-4dae-a598-c5014deb81f4"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.tipoDoc}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="5105aee2-c3ec-4571-a14c-06b69218decc" x="1045" y="114" width="17" height="26"/>
<reportElement x="1096" y="114" width="17" height="26" uuid="5105aee2-c3ec-4571-a14c-06b69218decc"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.tpp}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="1fe1fad6-d193-4dc1-9696-5614ff9a10d0" x="1098" y="114" width="33" height="26"/>
<reportElement x="1149" y="114" width="33" height="26" uuid="1fe1fad6-d193-4dc1-9696-5614ff9a10d0"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.status}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="f3655778-94dd-4fb6-8c84-cf32416201e0" x="973" y="114" width="25" height="26"/>
<reportElement x="1024" y="114" width="25" height="26" uuid="f3655778-94dd-4fb6-8c84-cf32416201e0"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.seguro}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="b68a4e34-b6e9-4006-8373-707c4e37eb31" x="1028" y="114" width="17" height="26"/>
<reportElement x="1079" y="114" width="17" height="26" uuid="b68a4e34-b6e9-4006-8373-707c4e37eb31"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.utr}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="c74391a0-cc07-44f7-90af-3036910e6bb3" x="998" y="114" width="30" height="26"/>
<reportElement x="1049" y="114" width="30" height="26" uuid="c74391a0-cc07-44f7-90af-3036910e6bb3"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.pedagio}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="aed6f61a-6566-451b-ba78-6964fb2c9f4e" x="335" y="114" width="26" height="26"/>
<reportElement x="386" y="114" width="26" height="26" uuid="aed6f61a-6566-451b-ba78-6964fb2c9f4e"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.codOrigem}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="2f7626c2-fbea-4cb7-808c-2d7dbbd18ee2" x="416" y="114" width="33" height="26"/>
<reportElement x="467" y="114" width="33" height="26" uuid="2f7626c2-fbea-4cb7-808c-2d7dbbd18ee2"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.codDestino}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="421120df-7852-4311-95a8-93478f8c4a5e" x="0" y="114" width="54" height="26"/>
<reportElement x="0" y="114" width="54" height="26" uuid="421120df-7852-4311-95a8-93478f8c4a5e"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.empresa}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="24ef9240-77fe-4c43-b065-4aa214805b3e" x="54" y="114" width="55" height="26"/>
<reportElement x="54" y="114" width="55" height="26" uuid="24ef9240-77fe-4c43-b065-4aa214805b3e"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.agencia}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="9e0176f6-a8ff-4246-8038-34155064d017" x="572" y="114" width="19" height="26"/>
<reportElement x="623" y="114" width="19" height="26" uuid="9e0176f6-a8ff-4246-8038-34155064d017"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.ccf}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="97583aa4-45de-402c-8ce9-978c974d6e0c" x="943" y="114" width="30" height="26"/>
<reportElement x="994" y="114" width="30" height="26" uuid="97583aa4-45de-402c-8ce9-978c974d6e0c"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.tarifa}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="17200d3a-6195-42d1-bc36-ff2baffb56ce" x="182" y="114" width="42" height="26"/>
<reportElement x="182" y="114" width="42" height="26" uuid="17200d3a-6195-42d1-bc36-ff2baffb56ce"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.dataServico}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="8e2d6686-e4d7-43d5-b3a9-46adc3e58350" x="0" y="140" width="1132" height="1"/>
<reportElement x="0" y="140" width="1132" height="1" uuid="8e2d6686-e4d7-43d5-b3a9-46adc3e58350"/>
</line>
<textField>
<reportElement uuid="3541e1b0-8dfe-404e-9461-64d10d85531a" x="109" y="81" width="205" height="20"/>
<textElement/>
<reportElement x="109" y="81" width="205" height="20" uuid="3541e1b0-8dfe-404e-9461-64d10d85531a"/>
<textFieldExpression><![CDATA[$P{nomb_empresa}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="31514fcb-1c10-41ba-9e10-7903ee73f607" x="1062" y="114" width="36" height="26"/>
<reportElement x="1113" y="114" width="36" height="26" uuid="31514fcb-1c10-41ba-9e10-7903ee73f607"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.chaveBPe}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="72f2ffff-f6a7-4a82-a884-a2c6c3f38d31" x="697" y="114" width="38" height="26"/>
<reportElement x="748" y="114" width="38" height="26" uuid="72f2ffff-f6a7-4a82-a884-a2c6c3f38d31"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.telefone}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="258" y="114" width="50" height="26" uuid="9c91c7b3-76a9-4198-8f24-d9a80110ea4c"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.prefixo}]]></textFieldExpression>
</textField>
</band>
</title>
<columnHeader>
@ -370,285 +378,292 @@
<detail>
<band height="28" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="3111776a-f727-4313-841c-55dabd804df4" stretchType="RelativeToBandHeight" x="224" y="0" width="33" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="224" y="0" width="33" height="23" uuid="3111776a-f727-4313-841c-55dabd804df4"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{corridaId}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement uuid="4a68f71a-7be1-467a-b3eb-641a0c1f9a48" stretchType="RelativeToBandHeight" x="307" y="0" width="28" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="358" y="0" width="28" height="23" uuid="4a68f71a-7be1-467a-b3eb-641a0c1f9a48"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{fechorviaje}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="6cc780bc-645e-4f03-a7d0-b4ecf7d4eb6c" stretchType="RelativeToBandHeight" x="735" y="0" width="39" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="786" y="0" width="39" height="23" uuid="6cc780bc-645e-4f03-a7d0-b4ecf7d4eb6c"/>
<textElement textAlignment="Center">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{desctipoventa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="37fa056d-c401-4268-a455-c5caf5e4eb54" stretchType="RelativeToBandHeight" x="665" y="0" width="32" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="716" y="0" width="32" height="23" uuid="37fa056d-c401-4268-a455-c5caf5e4eb54"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{descnumdoc}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="d7019a40-a617-43c7-9ad2-b7c47fb38d60" stretchType="RelativeToBandHeight" x="865" y="0" width="37" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="916" y="0" width="37" height="23" uuid="d7019a40-a617-43c7-9ad2-b7c47fb38d60"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{porccategoria}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="f0161d55-b853-4318-8028-8aec04c0487d" stretchType="RelativeToBandHeight" x="902" y="0" width="41" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="953" y="0" width="41" height="23" uuid="f0161d55-b853-4318-8028-8aec04c0487d"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{preciopagado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="3343aea7-212b-4bd5-a29c-8dcab3cb7568" stretchType="RelativeToBandHeight" x="449" y="0" width="55" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="500" y="0" width="55" height="23" uuid="3343aea7-212b-4bd5-a29c-8dcab3cb7568"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{descdestino}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement uuid="b36dbddb-2fa9-48a5-809e-0e15ad54c529" stretchType="RelativeToBandHeight" x="361" y="0" width="55" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="412" y="0" width="55" height="23" uuid="b36dbddb-2fa9-48a5-809e-0e15ad54c529"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{descorigen}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="695d5bfa-16e3-4163-82a0-36d2a2ba21ed" stretchType="RelativeToBandHeight" x="837" y="0" width="28" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="888" y="0" width="28" height="23" uuid="695d5bfa-16e3-4163-82a0-36d2a2ba21ed"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{preciooriginal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="f7539e74-4ab5-45e3-b3ca-b66967acc3e2" stretchType="RelativeToBandHeight" x="774" y="0" width="33" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="825" y="0" width="33" height="23" uuid="f7539e74-4ab5-45e3-b3ca-b66967acc3e2"/>
<textElement textAlignment="Center">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{cvecategoria}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="8b89e606-e89c-4b3d-a5b5-4dfd339de5df" stretchType="RelativeToBandHeight" x="505" y="0" width="34" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="556" y="0" width="34" height="23" uuid="8b89e606-e89c-4b3d-a5b5-4dfd339de5df"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{numasiento}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="9e5ccd79-6850-4b3c-bfa1-405a96d3f826" x="998" y="0" width="30" height="23"/>
<reportElement x="1049" y="0" width="30" height="23" uuid="9e5ccd79-6850-4b3c-bfa1-405a96d3f826"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="32e01305-63ee-444c-a4a7-e9246621ca83" x="1028" y="0" width="17" height="23"/>
<reportElement x="1079" y="0" width="17" height="23" uuid="32e01305-63ee-444c-a4a7-e9246621ca83"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{utr}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="bff1a8a9-115f-4abf-811a-92ac988ca380" x="973" y="0" width="25" height="23"/>
<reportElement x="1024" y="0" width="25" height="23" uuid="bff1a8a9-115f-4abf-811a-92ac988ca380"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{seguro}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="9df5776a-63e5-4480-81d5-34427fd79e23" x="635" y="0" width="30" height="23"/>
<reportElement x="686" y="0" width="30" height="23" uuid="9df5776a-63e5-4480-81d5-34427fd79e23"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipoDoc}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="d75d9725-26ac-47f5-94db-995e5b49f30a" x="807" y="0" width="30" height="23"/>
<reportElement x="858" y="0" width="30" height="23" uuid="d75d9725-26ac-47f5-94db-995e5b49f30a"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement uuid="fe98c2f8-b8cc-4f51-bf9d-9b767fe94088" x="1045" y="0" width="17" height="23"/>
<reportElement x="1096" y="0" width="17" height="23" uuid="fe98c2f8-b8cc-4f51-bf9d-9b767fe94088"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{tpp}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="c6379bbf-bdfb-4600-b6ec-e1e9a6640c6d" x="1098" y="0" width="33" height="23"/>
<reportElement x="1149" y="0" width="33" height="23" uuid="c6379bbf-bdfb-4600-b6ec-e1e9a6640c6d"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement uuid="8bdcad97-d2f3-443d-b2bb-2292e060a68e" stretchType="RelativeToBandHeight" x="335" y="0" width="26" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="386" y="0" width="26" height="23" uuid="8bdcad97-d2f3-443d-b2bb-2292e060a68e"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{codOrigem}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement uuid="1c2892df-b5e0-4ef7-a4f2-3479e022d73c" stretchType="RelativeToBandHeight" x="416" y="0" width="33" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="467" y="0" width="33" height="23" uuid="1c2892df-b5e0-4ef7-a4f2-3479e022d73c"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{codDestino}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yy" isBlankWhenNull="true">
<reportElement uuid="8caf3414-13cb-49df-a75c-ebfa9840e025" stretchType="RelativeToBandHeight" x="0" y="0" width="54" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="54" height="23" uuid="8caf3414-13cb-49df-a75c-ebfa9840e025"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{nombempresa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yy" isBlankWhenNull="true">
<reportElement uuid="b4bf2776-70de-48e8-8130-fd67cbbad3f3" stretchType="RelativeToBandHeight" x="54" y="0" width="55" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="54" y="0" width="55" height="23" uuid="b4bf2776-70de-48e8-8130-fd67cbbad3f3"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{nombpuntoventa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="1f3bab43-ae23-41b1-b5a6-a6c4c09fd359" stretchType="RelativeToBandHeight" x="109" y="0" width="30" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="109" y="0" width="30" height="23" uuid="1f3bab43-ae23-41b1-b5a6-a6c4c09fd359"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{cveusuario}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement uuid="230fcb25-af91-4a54-b98e-a4477a3f5935" x="139" y="0" width="43" height="23"/>
<reportElement x="139" y="0" width="43" height="23" uuid="230fcb25-af91-4a54-b98e-a4477a3f5935"/>
<textElement textAlignment="Center">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{feccreacion}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="cee727cd-cbc7-41d0-8020-d70aa33d8c9f" stretchType="RelativeToBandHeight" x="257" y="0" width="50" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="308" y="0" width="50" height="23" uuid="cee727cd-cbc7-41d0-8020-d70aa33d8c9f"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{linha}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="9c9861ac-780e-4e8b-aab8-9a4f506ce62b" stretchType="RelativeToBandHeight" x="591" y="0" width="44" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="642" y="0" width="44" height="23" uuid="9c9861ac-780e-4e8b-aab8-9a4f506ce62b"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{nombpasajero}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="7a2eccbc-06b0-450a-bd27-6b1c669f408c" stretchType="RelativeToBandHeight" x="943" y="0" width="30" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="994" y="0" width="30" height="23" uuid="7a2eccbc-06b0-450a-bd27-6b1c669f408c"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="4177f54f-ba97-4731-8c32-c8fc23ce483a" stretchType="RelativeToBandHeight" x="539" y="0" width="33" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="590" y="0" width="33" height="23" uuid="4177f54f-ba97-4731-8c32-c8fc23ce483a"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{numfoliosistema}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="56de76ac-7bd5-489d-bb2f-5fdba2eb8f67" stretchType="RelativeToBandHeight" x="572" y="0" width="19" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="623" y="0" width="19" height="23" uuid="56de76ac-7bd5-489d-bb2f-5fdba2eb8f67"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{ccf}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement uuid="dfd8ec54-db1c-49c7-b293-cd387e04dbb9" x="182" y="0" width="42" height="23"/>
<reportElement x="182" y="0" width="42" height="23" uuid="dfd8ec54-db1c-49c7-b293-cd387e04dbb9"/>
<textElement textAlignment="Center">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{fecdatviaje}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="c74335ef-0e0d-452a-9eac-3f9879d04bd1" stretchType="RelativeToBandHeight" x="1062" y="0" width="36" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="1113" y="0" width="36" height="23" uuid="c74335ef-0e0d-452a-9eac-3f9879d04bd1"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{chbpe}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="e28d50c2-ec86-477e-931c-99bc211e1162" stretchType="RelativeToBandHeight" x="697" y="0" width="38" height="23"/>
<reportElement stretchType="RelativeToBandHeight" x="748" y="0" width="38" height="23" uuid="e28d50c2-ec86-477e-931c-99bc211e1162"/>
<textElement textAlignment="Justified">
<font size="6"/>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{desctelefono}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="258" y="0" width="50" height="23" uuid="adee5160-942a-476f-80bc-3650a5c5ff6f"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{prefixo}]]></textFieldExpression>
</textField>
</band>
</detail>
<summary>
<band height="109">
<textField>
<reportElement uuid="5fdd8d50-c70b-4a5c-9621-5b91642257bf" x="0" y="0" width="139" height="18"/>
<reportElement x="0" y="0" width="139" height="18" uuid="5fdd8d50-c70b-4a5c-9621-5b91642257bf"/>
<textElement textAlignment="Right">
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.total}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="6005f63d-1abc-408d-9af2-adea341fadda" x="182" y="0" width="75" height="18"/>
<reportElement x="182" y="0" width="75" height="18" uuid="6005f63d-1abc-408d-9af2-adea341fadda"/>
<textElement>
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$V{qtde}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="91cfa7bb-414a-41a5-8971-4b91012dbc4d" x="814" y="18" width="129" height="18"/>
<reportElement x="865" y="18" width="129" height="18" uuid="91cfa7bb-414a-41a5-8971-4b91012dbc4d"/>
<textElement textAlignment="Right">
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$V{total_sem_desconto}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="779b8652-d8e3-4b84-85f2-d37ef88488b9" x="814" y="0" width="129" height="18"/>
<reportElement x="865" y="0" width="129" height="18" uuid="779b8652-d8e3-4b84-85f2-d37ef88488b9"/>
<textElement textAlignment="Right">
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$V{total_com_desconto}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="97a0b50b-6760-4619-86ea-ea6ac23547d9" x="814" y="36" width="129" height="18"/>
<reportElement x="865" y="36" width="129" height="18" uuid="97a0b50b-6760-4619-86ea-ea6ac23547d9"/>
<textElement textAlignment="Right">
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$V{total_vendido}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="7702e077-cc45-41e8-83d7-a6b45fcd5a80" x="650" y="18" width="164" height="18"/>
<reportElement x="701" y="18" width="164" height="18" uuid="7702e077-cc45-41e8-83d7-a6b45fcd5a80"/>
<textElement textAlignment="Right">
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.totalP}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="7d8e9e1e-3fb6-4b08-8b72-4ff02b598be5" x="650" y="0" width="164" height="18"/>
<reportElement x="701" y="0" width="164" height="18" uuid="7d8e9e1e-3fb6-4b08-8b72-4ff02b598be5"/>
<textElement textAlignment="Right">
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.totalC}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="1fe1943b-acc0-4514-8c0e-3c63aae5c329" x="650" y="36" width="164" height="18"/>
<reportElement x="701" y="36" width="164" height="18" uuid="1fe1943b-acc0-4514-8c0e-3c63aae5c329"/>
<textElement textAlignment="Right">
<font size="10"/>
</textElement>
@ -659,8 +674,7 @@
<noData>
<band height="25">
<textField>
<reportElement uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620" x="0" y="0" width="1132" height="20"/>
<textElement/>
<reportElement x="0" y="0" width="1132" height="20" uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620"/>
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
</textField>
</band>

View File

@ -11,6 +11,7 @@ public class RelatorioGratuidadeBean {
private String destino;
private String descdestino;
private Integer km;
private String prefixo;
private String linha;
private String corridaId;
private String fechorviaje;
@ -154,6 +155,12 @@ public class RelatorioGratuidadeBean {
public void setKm(Integer km) {
this.km = km;
}
public String getPrefixo() {
return prefixo;
}
public void setPrefixo(String prefixo) {
this.prefixo = prefixo;
}
public String getLinha() {
return linha;
}