Merge pull request 'fixes bug#AL-4167' (!547) from AL-4167 into master

Reviewed-on: http://18.235.188.113:3000/adm/VentaBoletosAdm/pulls/547
Reviewed-by: Gleison da Cruz <gleison.cruz@totvs.com.br>
master 1.84.0
Célio de Souza Ribeiro JR 2024-06-17 02:08:04 +00:00
commit 1b4317be9f
6 changed files with 226 additions and 101 deletions

View File

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

View File

@ -3,12 +3,15 @@
*/ */
package com.rjconsultores.ventaboletos.relatorios.impl; package com.rjconsultores.ventaboletos.relatorios.impl;
import java.math.BigDecimal;
import java.sql.Connection; import java.sql.Connection;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.apache.commons.lang.StringUtils;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource; import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
import com.rjconsultores.ventaboletos.utilerias.DateUtil; import com.rjconsultores.ventaboletos.utilerias.DateUtil;
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement; import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
@ -33,6 +36,7 @@ public class RelatorioFormaPagamentoAgenciaNovo extends RelatorioDemandas {
sql.append(" SELECT " ); sql.append(" SELECT " );
sql.append(" c.fechorventa AS data, " ); sql.append(" c.fechorventa AS data, " );
sql.append(" c.numfoliosistema AS bilhete, " ); sql.append(" c.numfoliosistema AS bilhete, " );
sql.append(" bpe.NBP AS bpe, " );
sql.append(" pv.nombpuntoventa AS agencia, " ); sql.append(" pv.nombpuntoventa AS agencia, " );
sql.append(" p_origen.CVEPARADA AS origem , " ); sql.append(" p_origen.CVEPARADA AS origem , " );
sql.append(" p_destino.CVEPARADA AS destino, " ); sql.append(" p_destino.CVEPARADA AS destino, " );
@ -42,13 +46,18 @@ public class RelatorioFormaPagamentoAgenciaNovo extends RelatorioDemandas {
sql.append(" coalesce(c.importeseguro, 0) AS seguro, " ); sql.append(" coalesce(c.importeseguro, 0) AS seguro, " );
sql.append(" coalesce(c.importetaxaembarque, 0) AS taxa, " ); sql.append(" coalesce(c.importetaxaembarque, 0) AS taxa, " );
sql.append(" coalesce(cfp.importe, 0) AS valor, " ); sql.append(" coalesce(cfp.importe, 0) AS valor, " );
sql.append(" coalesce(seg.valor, 0) AS seg_opcional " ); sql.append(" coalesce(seg.valor, 0) AS seg_opcional, " );
sql.append(" c.indstatusboleto AS status, " );
sql.append(" c.indcancelacion, " );
sql.append(" mc.descmotivo AS motivo" );
sql.append(" FROM " ); sql.append(" FROM " );
sql.append(" caja c " ); sql.append(" caja c " );
sql.append(" JOIN caja_formapago cfp ON c.caja_id = cfp.caja_id " ); sql.append(" JOIN caja_formapago cfp ON c.caja_id = cfp.caja_id " );
sql.append(" JOIN forma_pago fp ON cfp.formapago_id = fp.formapago_id " ); sql.append(" JOIN forma_pago fp ON cfp.formapago_id = fp.formapago_id " );
sql.append(" JOIN punto_venta pv ON pv.puntoventa_id = c.puntoventa_id " ); sql.append(" JOIN punto_venta pv ON pv.puntoventa_id = c.puntoventa_id " );
sql.append(" JOIN marca m ON m.marca_id = c.marca_id AND m.activo = 1 " ); sql.append(" JOIN marca m ON m.marca_id = c.marca_id AND m.activo = 1 " );
sql.append(" LEFT JOIN motivo_cancelacion mc ON (mc.motivocancelacion_id = c.motivocancelacion_id) " );
sql.append(" LEFT JOIN BPE bpe on c.transacao_id = bpe.boleto_id " );
sql.append(" JOIN parada p_origen ON p_origen.parada_id = c.origen_id " ); sql.append(" JOIN parada p_origen ON p_origen.parada_id = c.origen_id " );
sql.append(" JOIN parada p_destino ON p_destino.parada_id = c.destino_id " ); sql.append(" JOIN parada p_destino ON p_destino.parada_id = c.destino_id " );
sql.append(" LEFT JOIN segpolv seg ON c.transacao_id = seg.boleto_id " ); sql.append(" LEFT JOIN segpolv seg ON c.transacao_id = seg.boleto_id " );
@ -93,19 +102,44 @@ public class RelatorioFormaPagamentoAgenciaNovo extends RelatorioDemandas {
while (rset.next()) { while (rset.next()) {
Map<String, Object> dataResult = new HashMap<String, Object>(); Map<String, Object> dataResult = new HashMap<String, Object>();
String motivoCancelamento = StringUtils.isNotBlank(rset.getString("motivo")) ? rset.getString("motivo") : StringUtils.EMPTY;
String indStatus = StringUtils.isNotBlank(rset.getString("status")) ? rset.getString("status") : StringUtils.EMPTY;
String bpe = StringUtils.isNotBlank(rset.getString("bpe")) ? rset.getString("bpe") : StringUtils.EMPTY;
Boolean isCancelamento = "1".equals(rset.getString("indcancelacion"));
BigDecimal tarifa = rset.getBigDecimal("tarifa");
BigDecimal pedagio = rset.getBigDecimal("PEDAGIO");
BigDecimal seguro = rset.getBigDecimal("SEGURO");
BigDecimal seguroOPC = rset.getBigDecimal("seg_opcional");
BigDecimal taxa = rset.getBigDecimal("taxa");
BigDecimal valor = rset.getBigDecimal("valor");
dataResult.put("DATA", rset.getDate("data")); dataResult.put("DATA", rset.getDate("data"));
dataResult.put("BILHETE", rset.getString("bilhete")); dataResult.put("BILHETE", rset.getString("bilhete"));
dataResult.put("ORIGEM", rset.getString("ORIGEM")); dataResult.put("ORIGEM", rset.getString("ORIGEM"));
dataResult.put("DESTINO", rset.getString("DESTINO")); dataResult.put("DESTINO", rset.getString("DESTINO"));
dataResult.put("AGENCIA", rset.getString("agencia")); dataResult.put("AGENCIA", rset.getString("agencia"));
dataResult.put("FORMA_PAGAMENTO", rset.getString("forma_pagamento")); dataResult.put("FORMA_PAGAMENTO", rset.getString("forma_pagamento"));
dataResult.put("TARIFA", rset.getBigDecimal("tarifa")); dataResult.put("NUMERO_BPE", bpe);
dataResult.put("PEDAGIO", rset.getBigDecimal("PEDAGIO")); dataResult.put("STATUS", indStatus);
dataResult.put("SEGURO", rset.getBigDecimal("SEGURO")); dataResult.put("MOTIVO_CANCELAMENTO", motivoCancelamento);
dataResult.put("SEG_OPCIONAL", rset.getBigDecimal("seg_opcional"));
dataResult.put("TAXA", rset.getBigDecimal("taxa")); if(isCancelamento) {
dataResult.put("VALOR", rset.getBigDecimal("valor")); dataResult.put("TARIFA", tarifa.compareTo(BigDecimal.ZERO) == 0 ? tarifa : tarifa.negate());
dataResult.put("PEDAGIO", pedagio.compareTo(BigDecimal.ZERO) == 0 ? pedagio : pedagio.negate());
dataResult.put("SEGURO", seguro.compareTo(BigDecimal.ZERO) == 0 ? seguro : seguro.negate());
dataResult.put("SEG_OPCIONAL", seguroOPC.compareTo(BigDecimal.ZERO) == 0 ? seguroOPC : seguroOPC.negate());
dataResult.put("TAXA", taxa.compareTo(BigDecimal.ZERO) == 0 ? taxa : taxa.negate());
dataResult.put("VALOR", valor.compareTo(BigDecimal.ZERO) == 0 ? valor : valor.negate());
} else {
dataResult.put("TARIFA", tarifa);
dataResult.put("PEDAGIO", pedagio);
dataResult.put("SEGURO", seguro);
dataResult.put("SEG_OPCIONAL", seguroOPC);
dataResult.put("TAXA", taxa);
dataResult.put("VALOR", valor);
}
this.dados.add(dataResult); this.dados.add(dataResult);
} }

View File

@ -17,6 +17,9 @@ ORIGEM = ORIGEM
DESTINO = DESTINO DESTINO = DESTINO
TOTAL_GERAL = Total Geral: TOTAL_GERAL = Total Geral:
TOTAL_PV = Total Agência: TOTAL_PV = Total Agência:
MOTIVO_CANCELAMENTO = Motivo Cancel.
STATUS = Status
NUMERO_BPE = Num. BPe
#Labels cabeçalho #Labels cabeçalho
cabecalho.relatorio=Relatório: cabecalho.relatorio=Relatório:

View File

@ -9,7 +9,7 @@ FORMA_PAG = FORMA DE PAG.
VALOR = TARIFA VALOR = TARIFA
PEDAGIO = PEDÁGIO PEDAGIO = PEDÁGIO
SEGURO = SEGURO SEGURO = SEGURO
SEGURO_OPCIONAL = SEG. OPCI. SEGURO_OPCIONAL = SEG. OP.
TAXAS = TAXAS TAXAS = TAXAS
TOTAL = TOTAL TOTAL = TOTAL
BILHETE = BILHETE BILHETE = BILHETE
@ -17,6 +17,9 @@ ORIGEM = ORIGEM
DESTINO = DESTINO DESTINO = DESTINO
TOTAL_GERAL = Total Geral: TOTAL_GERAL = Total Geral:
TOTAL_PV = Total Agência: TOTAL_PV = Total Agência:
MOTIVO_CANCELAMENTO = Motivo Cancel.
STATUS = Status
NUMERO_BPE = Num. BPe
#Labels cabeçalho #Labels cabeçalho
cabecalho.relatorio=Relatório: cabecalho.relatorio=Relatório:

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?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="RelatorioFormaPagamentoAgenciaNovo" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="832cc8a2-6330-4063-9b36-f96514ae8283"> <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="RelatorioFormaPagamentoAgenciaNovo" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="832cc8a2-6330-4063-9b36-f96514ae8283">
<property name="ireport.zoom" value="1.3310000000000064"/> <property name="ireport.zoom" value="2.5937424601000147"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="514"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="title"/> <property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="title"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.3" value="pageHeader"/> <property name="net.sf.jasperreports.export.xls.exclude.origin.band.3" value="pageHeader"/>
@ -27,6 +27,9 @@
<field name="TAXA" class="java.math.BigDecimal"/> <field name="TAXA" class="java.math.BigDecimal"/>
<field name="VALOR" class="java.math.BigDecimal"/> <field name="VALOR" class="java.math.BigDecimal"/>
<field name="SEG_OPCIONAL" class="java.math.BigDecimal"/> <field name="SEG_OPCIONAL" class="java.math.BigDecimal"/>
<field name="NUMERO_BPE" class="java.lang.String"/>
<field name="STATUS" class="java.lang.String"/>
<field name="MOTIVO_CANCELAMENTO" class="java.lang.String"/>
<variable name="TOTAL_PEDAGIO" class="java.math.BigDecimal" calculation="Sum"> <variable name="TOTAL_PEDAGIO" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{PEDAGIO}]]></variableExpression> <variableExpression><![CDATA[$F{PEDAGIO}]]></variableExpression>
</variable> </variable>
@ -68,7 +71,7 @@
<groupHeader> <groupHeader>
<band height="30"> <band height="30">
<textField> <textField>
<reportElement uuid="29bb0167-21cd-401c-94d9-f94bb1e9b9e4" x="0" y="0" width="90" height="15"> <reportElement x="0" y="0" width="90" height="15" uuid="29bb0167-21cd-401c-94d9-f94bb1e9b9e4">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
@ -80,7 +83,7 @@
<textFieldExpression><![CDATA[$R{AGENCIA}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{AGENCIA}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement uuid="e873a0b8-5b07-4883-8be6-edf75307e9ab" stretchType="RelativeToTallestObject" x="90" y="0" width="711" height="15" isPrintWhenDetailOverflows="true"> <reportElement stretchType="RelativeToTallestObject" x="90" y="0" width="711" height="15" isPrintWhenDetailOverflows="true" uuid="e873a0b8-5b07-4883-8be6-edf75307e9ab">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
@ -93,153 +96,180 @@
<textFieldExpression><![CDATA[$F{AGENCIA}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{AGENCIA}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="333a50a8-5d67-42b5-b3c6-2d70ceabfe25" x="0" y="15" width="100" height="15"> <reportElement x="0" y="15" width="100" height="15" uuid="333a50a8-5d67-42b5-b3c6-2d70ceabfe25">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box leftPadding="4"/> <box leftPadding="4"/>
<textElement textAlignment="Left" markup="none"> <textElement textAlignment="Left" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{DATA}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{DATA}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="9457e696-5c75-4983-98c3-9dc4fc54e976" x="100" y="15" width="139" height="15"> <reportElement x="100" y="15" width="123" height="15" uuid="9457e696-5c75-4983-98c3-9dc4fc54e976">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" markup="none"> <textElement textAlignment="Left" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{FORMA_PAG}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{FORMA_PAG}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="ab54d7e9-29fd-42da-9721-07fe99bb8874" x="440" y="15" width="60" height="15"> <reportElement x="530" y="15" width="45" height="15" uuid="ab54d7e9-29fd-42da-9721-07fe99bb8874">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right" markup="none"> <textElement textAlignment="Right" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{VALOR}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{VALOR}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="fafe4849-b6d5-4a20-ab2c-bb3551337bbd" x="500" y="15" width="60" height="15"> <reportElement x="575" y="15" width="45" height="15" uuid="fafe4849-b6d5-4a20-ab2c-bb3551337bbd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right" markup="none"> <textElement textAlignment="Right" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{PEDAGIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{PEDAGIO}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="52cf4306-6208-414e-8892-3085a69fa84a" x="560" y="15" width="60" height="15"> <reportElement x="620" y="15" width="45" height="15" uuid="52cf4306-6208-414e-8892-3085a69fa84a">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right" markup="none"> <textElement textAlignment="Right" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{SEGURO}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{SEGURO}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="be9f28a6-e16c-49af-a1ae-a806a4a835d8" x="680" y="15" width="60" height="15"> <reportElement x="710" y="15" width="45" height="15" uuid="be9f28a6-e16c-49af-a1ae-a806a4a835d8">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right" markup="none"> <textElement textAlignment="Right" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{TAXAS}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{TAXAS}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="218e15c9-18bd-4ec5-9ff1-36b5e016569e" x="740" y="15" width="60" height="15"> <reportElement x="755" y="15" width="45" height="15" uuid="218e15c9-18bd-4ec5-9ff1-36b5e016569e">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right" markup="none"> <textElement textAlignment="Right" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{TOTAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{TOTAL}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="fd782db0-7497-4596-8ace-8adbd28b895a" x="620" y="15" width="60" height="15"> <reportElement x="665" y="15" width="45" height="15" uuid="fd782db0-7497-4596-8ace-8adbd28b895a">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right" markup="none"> <textElement textAlignment="Right" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{SEGURO_OPCIONAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{SEGURO_OPCIONAL}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="b079540d-5716-4af8-b64f-243e44fa6f93" x="239" y="15" width="67" height="15"> <reportElement x="223" y="15" width="60" height="15" uuid="b079540d-5716-4af8-b64f-243e44fa6f93">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" markup="none"> <textElement textAlignment="Left" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{BILHETE}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{BILHETE}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="3240b389-a2bf-41c1-81c2-fcf8eb27104e" x="306" y="15" width="67" height="15"> <reportElement x="323" y="15" width="35" height="15" uuid="3240b389-a2bf-41c1-81c2-fcf8eb27104e">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" markup="none"> <textElement textAlignment="Left" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{ORIGEM}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{ORIGEM}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true"> <textField isStretchWithOverflow="true">
<reportElement uuid="f9446aba-43e2-49cd-8321-4ccdde3d0c67" x="373" y="15" width="67" height="15"> <reportElement x="358" y="15" width="36" height="15" uuid="f9446aba-43e2-49cd-8321-4ccdde3d0c67">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" markup="none"> <textElement textAlignment="Left" markup="none">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{DESTINO}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{DESTINO}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true">
<reportElement x="283" y="15" width="40" height="15" uuid="93aaad42-3327-4aac-aa3f-74de4fe0c705">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" markup="none">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{NUMERO_BPE}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="394" y="15" width="36" height="15" uuid="3a00f702-bbdf-40bd-b529-e41870016494">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" markup="none">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{STATUS}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="430" y="15" width="100" height="15" uuid="d24c6470-ecb2-43d1-b87a-74b25339e791">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" markup="none">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{MOTIVO_CANCELAMENTO}]]></textFieldExpression>
</textField>
</band> </band>
</groupHeader> </groupHeader>
<groupFooter> <groupFooter>
<band height="15"> <band height="15">
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="bea7b6c0-f9a0-485d-80bc-b7763bc4cf18" x="742" y="0" width="60" height="15"/> <reportElement x="755" y="0" width="47" height="15" uuid="bea7b6c0-f9a0-485d-80bc-b7763bc4cf18"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PV_VALOR}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PV_VALOR}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="fb5086d4-e470-4db4-86f8-0c0ac2bd59e6" x="620" y="0" width="60" height="15"/> <reportElement x="665" y="0" width="45" height="15" uuid="fb5086d4-e470-4db4-86f8-0c0ac2bd59e6"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PV_SEG_OPCIONAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PV_SEG_OPCIONAL}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="8490e6d1-a9a0-4ff2-937e-b8b369da4e2b" x="442" y="0" width="60" height="15"/> <reportElement x="530" y="0" width="45" height="15" uuid="8490e6d1-a9a0-4ff2-937e-b8b369da4e2b"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PV_TARIFA}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PV_TARIFA}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="ec1df278-6956-4237-a36b-8b84941bba30" x="502" y="0" width="60" height="15"/> <reportElement x="575" y="0" width="45" height="15" uuid="ec1df278-6956-4237-a36b-8b84941bba30"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PV_PEDAGIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PV_PEDAGIO}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="b6bbd64a-9c36-432c-85b0-82f8d74fe69c" x="560" y="0" width="60" height="15"/> <reportElement x="620" y="0" width="45" height="15" uuid="b6bbd64a-9c36-432c-85b0-82f8d74fe69c"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PV_SEGURO}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PV_SEGURO}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="3c596c44-6c41-4d89-a75f-d402a2534e3f" x="680" y="0" width="60" height="15"/> <reportElement x="710" y="0" width="45" height="15" uuid="3c596c44-6c41-4d89-a75f-d402a2534e3f"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PV_TAXA}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PV_TAXA}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="b8884e47-037e-4e2f-a4ff-e0186a7aed3b" x="0" y="0" width="440" height="15"/> <reportElement x="90" y="0" width="440" height="15" uuid="b8884e47-037e-4e2f-a4ff-e0186a7aed3b"/>
<textElement textAlignment="Right" markup="none"> <textElement textAlignment="Right" markup="none">
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
@ -255,7 +285,7 @@
<band height="43"> <band height="43">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/> <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
<textField> <textField>
<reportElement uuid="3152d9c0-592e-4136-b3d8-2a674e779468" mode="Opaque" x="0" y="16" width="59" height="16" backcolor="#FFFFFF"> <reportElement mode="Opaque" x="0" y="16" width="59" height="16" backcolor="#FFFFFF" uuid="3152d9c0-592e-4136-b3d8-2a674e779468">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" markup="none"> <textElement textAlignment="Left" markup="none">
@ -264,7 +294,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="50b8071e-9e65-49d2-bd12-b9354502caf3" mode="Opaque" x="0" y="0" width="492" height="16" backcolor="#FFFFFF"> <reportElement mode="Opaque" x="0" y="0" width="492" height="16" backcolor="#FFFFFF" uuid="50b8071e-9e65-49d2-bd12-b9354502caf3">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement markup="none"> <textElement markup="none">
@ -273,7 +303,7 @@
<textFieldExpression><![CDATA[$R{TITULO}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{TITULO}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy"> <textField pattern="dd/MM/yyyy">
<reportElement uuid="07dfa225-148c-4de6-a428-3c91f83c4081" stretchType="RelativeToTallestObject" mode="Opaque" x="59" y="16" width="573" height="15" backcolor="#FFFFFF"> <reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="59" y="16" width="573" height="15" backcolor="#FFFFFF" uuid="07dfa225-148c-4de6-a428-3c91f83c4081">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
@ -282,7 +312,7 @@
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement uuid="ca2c2d81-3bdc-4351-b3c5-3c8e492a9251" mode="Transparent" x="673" y="0" width="129" height="16" forecolor="#000000" backcolor="#FFFFFF"> <reportElement mode="Transparent" x="673" y="0" width="129" height="16" forecolor="#000000" backcolor="#FFFFFF" uuid="ca2c2d81-3bdc-4351-b3c5-3c8e492a9251">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
@ -292,7 +322,7 @@
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="eb7f6343-8d88-47bc-ad23-92998f284670" x="492" y="0" width="181" height="16"> <reportElement x="492" y="0" width="181" height="16" uuid="eb7f6343-8d88-47bc-ad23-92998f284670">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
@ -301,7 +331,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="20f88429-9716-45bb-8c22-b5c85b175bdf" mode="Transparent" x="632" y="16" width="139" height="15" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement mode="Transparent" x="632" y="16" width="139" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="20f88429-9716-45bb-8c22-b5c85b175bdf"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -309,7 +339,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField> </textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false"> <textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement uuid="5e1ad619-ea2d-41b4-ac61-1f3d750d4560" mode="Transparent" x="772" y="16" width="30" height="15" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement mode="Transparent" x="772" y="16" width="30" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="5e1ad619-ea2d-41b4-ac61-1f3d750d4560"/>
<box leftPadding="2"/> <box leftPadding="2"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
@ -318,7 +348,7 @@
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="3e7f1b34-a254-4931-a7d0-2a99f113d73f" stretchType="RelativeToBandHeight" mode="Transparent" x="562" y="31" width="239" height="12" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement stretchType="RelativeToBandHeight" mode="Transparent" x="562" y="31" width="239" height="12" forecolor="#000000" backcolor="#FFFFFF" uuid="3e7f1b34-a254-4931-a7d0-2a99f113d73f"/>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
@ -333,35 +363,41 @@
<detail> <detail>
<band height="15" splitType="Stretch"> <band height="15" splitType="Stretch">
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm:ss" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm:ss" isBlankWhenNull="true">
<reportElement uuid="66455995-be07-4062-8234-ade8ccfd79c0" x="0" y="0" width="100" height="15" isPrintWhenDetailOverflows="true"> <reportElement x="0" y="0" width="100" height="15" isPrintWhenDetailOverflows="true" uuid="66455995-be07-4062-8234-ade8ccfd79c0">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box leftPadding="4"/> <box leftPadding="4"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{DATA}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{DATA}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="151a46f2-5c54-4a0e-91c2-a49986a08cff" stretchType="RelativeToTallestObject" x="100" y="0" width="139" height="15" isPrintWhenDetailOverflows="true"> <reportElement stretchType="RelativeToTallestObject" x="100" y="0" width="123" height="15" isPrintWhenDetailOverflows="true" uuid="151a46f2-5c54-4a0e-91c2-a49986a08cff">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Left"/> <textElement textAlignment="Left">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{FORMA_PAGAMENTO}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{FORMA_PAGAMENTO}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="d2f490c1-e807-4243-a3e0-b86229a83c6b" x="440" y="0" width="60" height="15" isPrintWhenDetailOverflows="true"> <reportElement x="530" y="0" width="45" height="15" isPrintWhenDetailOverflows="true" uuid="d2f490c1-e807-4243-a3e0-b86229a83c6b">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{TARIFA}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{TARIFA}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="dcb305f9-8649-4440-a485-4ada6876b066" x="740" y="0" width="60" height="15" isPrintWhenDetailOverflows="true"> <reportElement x="755" y="0" width="45" height="15" isPrintWhenDetailOverflows="true" uuid="dcb305f9-8649-4440-a485-4ada6876b066">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
@ -370,79 +406,131 @@
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
<rightPen lineWidth="0.0"/> <rightPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{VALOR}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{VALOR}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="a3119d26-2d10-40c5-98dc-bf0f6be3fc25" x="500" y="0" width="60" height="15" isPrintWhenDetailOverflows="true"> <reportElement x="575" y="0" width="45" height="15" isPrintWhenDetailOverflows="true" uuid="a3119d26-2d10-40c5-98dc-bf0f6be3fc25">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{PEDAGIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{PEDAGIO}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="ccad4f84-243a-47cf-904a-15c4ba7feee4" x="560" y="0" width="60" height="15" isPrintWhenDetailOverflows="true"> <reportElement x="620" y="0" width="45" height="15" isPrintWhenDetailOverflows="true" uuid="ccad4f84-243a-47cf-904a-15c4ba7feee4">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{SEGURO}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{SEGURO}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="d098d054-0eef-474a-91d3-c7ea9090ab74" x="680" y="0" width="60" height="15" isPrintWhenDetailOverflows="true"> <reportElement x="710" y="0" width="45" height="15" isPrintWhenDetailOverflows="true" uuid="d098d054-0eef-474a-91d3-c7ea9090ab74">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{TAXA}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{TAXA}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="48f4dece-76dc-4445-89f3-73c0537c8bf9" x="620" y="0" width="60" height="15" isPrintWhenDetailOverflows="true"> <reportElement x="665" y="0" width="45" height="15" isPrintWhenDetailOverflows="true" uuid="48f4dece-76dc-4445-89f3-73c0537c8bf9">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{SEG_OPCIONAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{SEG_OPCIONAL}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="112c980b-43f4-4335-b7e0-a94248f4f516" stretchType="RelativeToTallestObject" x="239" y="0" width="67" height="15" isPrintWhenDetailOverflows="true"> <reportElement stretchType="RelativeToTallestObject" x="223" y="0" width="60" height="15" isPrintWhenDetailOverflows="true" uuid="112c980b-43f4-4335-b7e0-a94248f4f516">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Left"/> <textElement textAlignment="Left">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{BILHETE}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{BILHETE}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="58e6590f-61f3-4cbf-9c0b-326cc6880983" stretchType="RelativeToTallestObject" x="306" y="0" width="67" height="15" isPrintWhenDetailOverflows="true"> <reportElement stretchType="RelativeToTallestObject" x="323" y="0" width="35" height="15" isPrintWhenDetailOverflows="true" uuid="58e6590f-61f3-4cbf-9c0b-326cc6880983">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Left"/> <textElement textAlignment="Left">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{ORIGEM}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{ORIGEM}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="60440f04-2ec6-45eb-b332-5dc48c3b7154" stretchType="RelativeToTallestObject" x="373" y="0" width="67" height="15" isPrintWhenDetailOverflows="true"> <reportElement stretchType="RelativeToTallestObject" x="358" y="0" width="36" height="15" isPrintWhenDetailOverflows="true" uuid="60440f04-2ec6-45eb-b332-5dc48c3b7154">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<box> <box>
<bottomPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/>
</box> </box>
<textElement textAlignment="Left"/> <textElement textAlignment="Left">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{DESTINO}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{DESTINO}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="283" y="0" width="40" height="15" isPrintWhenDetailOverflows="true" uuid="26001c2d-1ca6-4337-8936-7ba7faa4dd9d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{NUMERO_BPE}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="394" y="0" width="36" height="15" isPrintWhenDetailOverflows="true" uuid="6fbd9552-479f-4d12-b9c1-e555aa223c16">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{STATUS}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="430" y="0" width="100" height="15" isPrintWhenDetailOverflows="true" uuid="e3be29f3-0113-4106-92c4-61b74e6894d9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{MOTIVO_CANCELAMENTO}]]></textFieldExpression>
</textField>
</band> </band>
</detail> </detail>
<columnFooter> <columnFooter>
@ -454,56 +542,56 @@
<summary> <summary>
<band height="63"> <band height="63">
<textField> <textField>
<reportElement uuid="f866e6d3-35b9-49b8-9228-a27ea9beae98" x="0" y="0" width="440" height="15"/> <reportElement x="90" y="0" width="440" height="15" uuid="f866e6d3-35b9-49b8-9228-a27ea9beae98"/>
<textElement textAlignment="Right" markup="none"> <textElement textAlignment="Right" markup="none">
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{TOTAL_GERAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{TOTAL_GERAL}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="26a2768f-98c4-40d6-8437-a3431e29767d" x="560" y="0" width="60" height="15"/> <reportElement x="620" y="0" width="45" height="15" uuid="26a2768f-98c4-40d6-8437-a3431e29767d"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{TOTAL_SEGURO}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{TOTAL_SEGURO}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="c3d56b38-e963-4eb8-8c1d-631bc26d3c68" x="500" y="0" width="60" height="15"/> <reportElement x="575" y="0" width="45" height="15" uuid="c3d56b38-e963-4eb8-8c1d-631bc26d3c68"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{TOTAL_PEDAGIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{TOTAL_PEDAGIO}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="0fa428cd-c4aa-434a-801a-4c7e78182391" x="680" y="0" width="60" height="15"/> <reportElement x="710" y="0" width="45" height="15" uuid="0fa428cd-c4aa-434a-801a-4c7e78182391"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{TOTAL_TAXA}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{TOTAL_TAXA}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="2e8ebe5a-ea49-4132-8b8b-2620bfbd0f60" x="740" y="0" width="60" height="15"/> <reportElement x="755" y="0" width="47" height="15" uuid="2e8ebe5a-ea49-4132-8b8b-2620bfbd0f60"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{TOTAL_VALOR}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{TOTAL_VALOR}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="6b7dcb42-1af8-4243-89d7-50d6bf0d9ba5" x="440" y="0" width="60" height="15"/> <reportElement x="530" y="0" width="45" height="15" uuid="6b7dcb42-1af8-4243-89d7-50d6bf0d9ba5"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{TOTAL_TARIFA}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{TOTAL_TARIFA}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="993c02bc-fc54-4efc-bd4a-5fd5f3226937" x="620" y="0" width="60" height="15"/> <reportElement x="665" y="0" width="45" height="15" uuid="993c02bc-fc54-4efc-bd4a-5fd5f3226937"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{TOTAL_SEG_OPCIONAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{TOTAL_SEG_OPCIONAL}]]></textFieldExpression>
</textField> </textField>
<crosstab isRepeatColumnHeaders="false" isRepeatRowHeaders="false"> <crosstab isRepeatColumnHeaders="false" isRepeatRowHeaders="false">
<reportElement uuid="e0606f96-28f5-4064-8e92-ece9376a82f0" x="239" y="24" width="381" height="25"/> <reportElement x="239" y="24" width="381" height="25" uuid="e0606f96-28f5-4064-8e92-ece9376a82f0"/>
<rowGroup name="FORMA_PAGAMENTO" width="210"> <rowGroup name="FORMA_PAGAMENTO" width="210">
<bucket class="java.lang.String"> <bucket class="java.lang.String">
<bucketExpression><![CDATA[$F{FORMA_PAGAMENTO}]]></bucketExpression> <bucketExpression><![CDATA[$F{FORMA_PAGAMENTO}]]></bucketExpression>
@ -511,7 +599,7 @@
<crosstabRowHeader> <crosstabRowHeader>
<cellContents backcolor="#FFFFFF" mode="Opaque"> <cellContents backcolor="#FFFFFF" mode="Opaque">
<textField> <textField>
<reportElement uuid="15f4cc70-6b11-4b98-b618-672fbe59aba3" style="Crosstab Data Text" x="0" y="0" width="210" height="20"/> <reportElement style="Crosstab Data Text" x="0" y="0" width="210" height="20" uuid="15f4cc70-6b11-4b98-b618-672fbe59aba3"/>
<textElement textAlignment="Left"/> <textElement textAlignment="Left"/>
<textFieldExpression><![CDATA["Total "+$V{FORMA_PAGAMENTO}]]></textFieldExpression> <textFieldExpression><![CDATA["Total "+$V{FORMA_PAGAMENTO}]]></textFieldExpression>
</textField> </textField>
@ -541,8 +629,7 @@
<crosstabCell height="25" rowTotalGroup="FORMA_PAGAMENTO"> <crosstabCell height="25" rowTotalGroup="FORMA_PAGAMENTO">
<cellContents backcolor="#BFE1FF" mode="Opaque"> <cellContents backcolor="#BFE1FF" mode="Opaque">
<textField> <textField>
<reportElement uuid="2ea76f60-8961-49b5-a689-9a49cafd4731" style="Crosstab Data Text" x="0" y="0" width="50" height="25"/> <reportElement style="Crosstab Data Text" x="0" y="0" width="50" height="25" uuid="2ea76f60-8961-49b5-a689-9a49cafd4731"/>
<textElement/>
<textFieldExpression><![CDATA[$V{TOTALMeasure}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{TOTALMeasure}]]></textFieldExpression>
</textField> </textField>
</cellContents> </cellContents>
@ -550,8 +637,7 @@
<crosstabCell width="120" height="20" columnTotalGroup="TOTAL"> <crosstabCell width="120" height="20" columnTotalGroup="TOTAL">
<cellContents backcolor="#FFFFFF" mode="Opaque" style="Crosstab Data Text"> <cellContents backcolor="#FFFFFF" mode="Opaque" style="Crosstab Data Text">
<textField pattern="###0.00"> <textField pattern="###0.00">
<reportElement uuid="d946453b-6412-4485-b2f8-cf74cebafaa3" style="Crosstab Data Text" x="0" y="0" width="120" height="20"/> <reportElement style="Crosstab Data Text" x="0" y="0" width="120" height="20" uuid="d946453b-6412-4485-b2f8-cf74cebafaa3"/>
<textElement/>
<textFieldExpression><![CDATA[$V{TOTALMeasure}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{TOTALMeasure}]]></textFieldExpression>
</textField> </textField>
</cellContents> </cellContents>
@ -559,8 +645,7 @@
<crosstabCell rowTotalGroup="FORMA_PAGAMENTO" columnTotalGroup="TOTAL"> <crosstabCell rowTotalGroup="FORMA_PAGAMENTO" columnTotalGroup="TOTAL">
<cellContents backcolor="#BFE1FF" mode="Opaque"> <cellContents backcolor="#BFE1FF" mode="Opaque">
<textField> <textField>
<reportElement uuid="6961a0e3-e27f-45d8-b6ec-5d4bf93a9862" style="Crosstab Data Text" x="0" y="0" width="50" height="25"/> <reportElement style="Crosstab Data Text" x="0" y="0" width="50" height="25" uuid="6961a0e3-e27f-45d8-b6ec-5d4bf93a9862"/>
<textElement/>
<textFieldExpression><![CDATA[$V{TOTALMeasure}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{TOTALMeasure}]]></textFieldExpression>
</textField> </textField>
</cellContents> </cellContents>
@ -571,7 +656,7 @@
<noData> <noData>
<band height="45"> <band height="45">
<textField> <textField>
<reportElement uuid="6c28de84-ceae-409b-bde5-04f66cb9a805" x="0" y="0" width="802" height="45"/> <reportElement x="0" y="0" width="802" height="45" uuid="6c28de84-ceae-409b-bde5-04f66cb9a805"/>
<textElement markup="none"> <textElement markup="none">
<font size="11" isBold="true"/> <font size="11" isBold="true"/>
</textElement> </textElement>