fixes bug#AL-3934

master
Gleison da Cruz 2024-04-24 16:12:54 -03:00
parent 8d7638604c
commit 5997001375
4 changed files with 114 additions and 64 deletions

View File

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

View File

@ -74,6 +74,8 @@ public class RelatorioReceitaServico extends Relatorio {
dataResult.put("dataHoraCompra", rset.getTimestamp("dataHoraCompra"));
dataResult.put("passageiro", !(rset.getString("passageiro") == null) ? rset.getString("passageiro") : "");
dataResult.put("nrBilhete", !(rset.getString("nrBilhete") == null) ? rset.getString("nrBilhete") : "");
dataResult.put("tipoServico", !(rset.getString("tipoServico") == null) ? rset.getString("tipoServico") : "");
dataResult.put("prefixo", !(rset.getString("prefixo") == null) ? rset.getString("prefixo") : "");
this.dados.add(dataResult);
}
@ -106,8 +108,20 @@ public class RelatorioReceitaServico extends Relatorio {
sql.append("b.fechorventa AS dataHoraCompra, ");
sql.append("b.nombpasajero AS passageiro, ");
sql.append("b.desctelefono AS telefone, ");
sql.append("b.NUMFOLIOSISTEMA AS nrBilhete ");
sql.append("b.NUMFOLIOSISTEMA AS nrBilhete, ");
sql.append(" CASE ");
sql.append(" WHEN c.tiposervicio_id = 1 THEN 'O' ");
sql.append(" WHEN c.tiposervicio_id = 2 THEN 'E' ");
sql.append(" ELSE '' ");
sql.append(" END AS tipoServico,");
sql.append(" r.prefixo ");
sql.append("FROM BOLETO b ");
sql.append(" left join corrida c on (b.corrida_id = c.corrida_id and b.feccorrida = c.feccorrida)");
sql.append(" left join ruta r on (b.ruta_id = r.ruta_id and r.activo = 1) ");
sql.append("INNER JOIN marca mar ON b.marca_id = mar.marca_id ");
sql.append("INNER JOIN clase_servicio cl_ser ON cl_ser.claseservicio_id = b.claseservicio_id ");
sql.append("LEFT JOIN PARADA levante ON levante.parada_id = b.levante_id ");

View File

@ -1,7 +1,7 @@
<?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="RelatorioReceitaServico" pageWidth="885" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="845" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
<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="RelatorioReceitaServico" pageWidth="985" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="945" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
<property name="ireport.zoom" value="1.331000000000001"/>
<property name="ireport.x" value="86"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.1" value="columnHeader"/>
@ -30,6 +30,8 @@
<field name="nrBilhete" class="java.lang.String"/>
<field name="preciobase" class="java.math.BigDecimal"/>
<field name="telefone" class="java.lang.String"/>
<field name="tipoServico" class="java.lang.String"/>
<field name="prefixo" class="java.lang.String"/>
<variable name="totalizador" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{total}]]></variableExpression>
</variable>
@ -48,7 +50,7 @@
<pageHeader>
<band height="65" splitType="Stretch">
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="136a5066-d141-4362-af36-0780f0d16542" mode="Transparent" x="1" y="0" width="699" height="28" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="136a5066-d141-4362-af36-0780f0d16542" mode="Transparent" x="1" y="0" width="799" height="28" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="15" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -88,14 +90,14 @@
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="a9d471fb-1e1d-4d9a-9783-bbf988931192" x="700" y="0" width="57" height="13"/>
<reportElement uuid="a9d471fb-1e1d-4d9a-9783-bbf988931192" x="800" y="0" width="57" height="13"/>
<textElement textAlignment="Left">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement uuid="0d200750-aabf-4c7e-b27b-c0e7af4802a9" mode="Transparent" x="757" y="0" width="88" height="13" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="0d200750-aabf-4c7e-b27b-c0e7af4802a9" mode="Transparent" x="857" y="0" width="88" height="13" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -103,7 +105,7 @@
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="bae9bec6-8c42-4bee-a070-34b0a7f1aee4" mode="Transparent" x="700" y="13" width="57" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="bae9bec6-8c42-4bee-a070-34b0a7f1aee4" mode="Transparent" x="800" y="13" width="57" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -111,7 +113,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement uuid="314e312c-8f24-42de-8354-3c1f7241a985" mode="Transparent" x="757" y="13" width="88" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="314e312c-8f24-42de-8354-3c1f7241a985" mode="Transparent" x="857" y="13" width="88" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -119,7 +121,7 @@
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="4e030613-9cee-443e-9eaa-b19fa3090976" mode="Transparent" x="700" y="28" width="57" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="4e030613-9cee-443e-9eaa-b19fa3090976" mode="Transparent" x="800" y="28" width="57" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -127,7 +129,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="b29d0494-2695-420b-bdc1-b13c08bdbcda" x="0" y="51" width="845" height="14"/>
<reportElement uuid="b29d0494-2695-420b-bdc1-b13c08bdbcda" x="0" y="51" width="945" height="14"/>
<box>
<topPen lineWidth="0.75"/>
<bottomPen lineWidth="0.75"/>
@ -138,7 +140,7 @@
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="469acc35-aa0a-41d9-ad44-544cf484879a" mode="Transparent" x="757" y="28" width="88" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="469acc35-aa0a-41d9-ad44-544cf484879a" mode="Transparent" x="857" y="28" width="88" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -160,7 +162,7 @@
<text><![CDATA[Data]]></text>
</staticText>
<staticText>
<reportElement uuid="fa0a31b5-6a94-4b0c-b730-4b6ef8f2304c" x="42" y="0" width="48" height="12"/>
<reportElement uuid="fa0a31b5-6a94-4b0c-b730-4b6ef8f2304c" x="43" y="0" width="35" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -170,7 +172,7 @@
<text><![CDATA[Serviço]]></text>
</staticText>
<staticText>
<reportElement uuid="a797bc17-1810-47b7-a3e1-510cc6403454" x="90" y="0" width="66" height="12"/>
<reportElement uuid="a797bc17-1810-47b7-a3e1-510cc6403454" x="144" y="0" width="63" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -180,7 +182,7 @@
<text><![CDATA[Empresa]]></text>
</staticText>
<staticText>
<reportElement uuid="765ebd99-b6de-4c8e-910d-b3e5bf9db573" x="156" y="0" width="30" height="12"/>
<reportElement uuid="765ebd99-b6de-4c8e-910d-b3e5bf9db573" x="258" y="0" width="29" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -190,7 +192,7 @@
<text><![CDATA[Origem]]></text>
</staticText>
<staticText>
<reportElement uuid="2f3b9ac0-165c-4718-96c8-a37f005b5b82" x="186" y="0" width="30" height="12"/>
<reportElement uuid="2f3b9ac0-165c-4718-96c8-a37f005b5b82" x="288" y="0" width="29" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -200,7 +202,7 @@
<text><![CDATA[Destino]]></text>
</staticText>
<staticText>
<reportElement uuid="9eb87b55-da02-478a-b21d-c7b727dbaafe" x="216" y="0" width="68" height="12"/>
<reportElement uuid="9eb87b55-da02-478a-b21d-c7b727dbaafe" x="318" y="0" width="66" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -210,7 +212,7 @@
<text><![CDATA[Classe]]></text>
</staticText>
<staticText>
<reportElement uuid="52d26417-4766-44b3-aaa7-b468c124feda" x="361" y="0" width="34" height="12"/>
<reportElement uuid="52d26417-4766-44b3-aaa7-b468c124feda" x="461" y="0" width="34" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -220,7 +222,7 @@
<text><![CDATA[TUT]]></text>
</staticText>
<staticText>
<reportElement uuid="3f6afcbf-9dfe-4f1b-b937-45dbc9ace8a2" x="395" y="0" width="41" height="12"/>
<reportElement uuid="3f6afcbf-9dfe-4f1b-b937-45dbc9ace8a2" x="496" y="0" width="40" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -230,7 +232,7 @@
<text><![CDATA[Pedágio]]></text>
</staticText>
<staticText>
<reportElement uuid="182474d6-668a-4847-9db6-ba65c41119aa" x="436" y="0" width="40" height="12"/>
<reportElement uuid="182474d6-668a-4847-9db6-ba65c41119aa" x="536" y="0" width="40" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -240,7 +242,7 @@
<text><![CDATA[Total]]></text>
</staticText>
<staticText>
<reportElement uuid="a7b14fa8-3b89-4f4d-b265-63eb3d930b04" x="476" y="0" width="40" height="12"/>
<reportElement uuid="a7b14fa8-3b89-4f4d-b265-63eb3d930b04" x="576" y="0" width="40" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -250,7 +252,7 @@
<text><![CDATA[Tipo]]></text>
</staticText>
<staticText>
<reportElement uuid="10f27b7d-5cc9-423c-a196-330c78cdb69e" x="516" y="0" width="71" height="12"/>
<reportElement uuid="10f27b7d-5cc9-423c-a196-330c78cdb69e" x="617" y="0" width="69" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -260,7 +262,7 @@
<text><![CDATA[Agência]]></text>
</staticText>
<staticText>
<reportElement uuid="f2097833-6bd3-4523-b457-44ed6cc4abd6" x="587" y="0" width="41" height="12"/>
<reportElement uuid="f2097833-6bd3-4523-b457-44ed6cc4abd6" x="687" y="0" width="41" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -270,7 +272,7 @@
<text><![CDATA[Data]]></text>
</staticText>
<staticText>
<reportElement uuid="44b2bf55-871a-4eaa-97d4-74bee2a89769" x="661" y="0" width="76" height="12"/>
<reportElement uuid="44b2bf55-871a-4eaa-97d4-74bee2a89769" x="763" y="0" width="74" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -280,7 +282,7 @@
<text><![CDATA[Passageiro]]></text>
</staticText>
<staticText>
<reportElement uuid="2abbc372-a813-4da6-8ce1-e5901a15b430" x="785" y="0" width="39" height="12"/>
<reportElement uuid="2abbc372-a813-4da6-8ce1-e5901a15b430" x="886" y="0" width="38" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -290,7 +292,7 @@
<text><![CDATA[Nr bilhete ]]></text>
</staticText>
<staticText>
<reportElement uuid="2bd47a58-e591-4b32-bdd4-fa43ece0c581" x="824" y="0" width="21" height="12"/>
<reportElement uuid="2bd47a58-e591-4b32-bdd4-fa43ece0c581" x="925" y="0" width="20" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -300,7 +302,7 @@
<text><![CDATA[Status]]></text>
</staticText>
<staticText>
<reportElement uuid="bceca474-7703-4bf0-a0da-d8e15b70aeca" x="628" y="0" width="33" height="12"/>
<reportElement uuid="bceca474-7703-4bf0-a0da-d8e15b70aeca" x="729" y="0" width="33" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -310,7 +312,7 @@
<text><![CDATA[Hora]]></text>
</staticText>
<staticText>
<reportElement uuid="39e49959-967f-4fd2-8b92-a0331dcce1e3" x="324" y="0" width="37" height="12"/>
<reportElement uuid="39e49959-967f-4fd2-8b92-a0331dcce1e3" x="426" y="0" width="35" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -320,7 +322,7 @@
<text><![CDATA[Original]]></text>
</staticText>
<staticText>
<reportElement uuid="ba3a04df-c753-4e07-88b8-132742d097a0" x="737" y="0" width="48" height="12"/>
<reportElement uuid="ba3a04df-c753-4e07-88b8-132742d097a0" x="838" y="0" width="47" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -330,7 +332,7 @@
<text><![CDATA[Telefone]]></text>
</staticText>
<staticText>
<reportElement uuid="fe1e6ace-6d95-4089-8f28-d926554bf65d" x="284" y="0" width="40" height="12"/>
<reportElement uuid="fe1e6ace-6d95-4089-8f28-d926554bf65d" x="385" y="0" width="40" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
@ -339,149 +341,183 @@
</textElement>
<text><![CDATA[Tarifa]]></text>
</staticText>
<staticText>
<reportElement uuid="ec65b050-54da-42e5-b579-734ae6d2a362" x="208" y="0" width="49" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
<textElement textAlignment="Left">
<font size="7" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Prefixo Linha]]></text>
</staticText>
<staticText>
<reportElement uuid="8dcfa607-a3f6-48c5-b13d-4c9fbabe1bf6" x="79" y="0" width="64" height="12"/>
<box>
<bottomPen lineWidth="0.75"/>
</box>
<textElement textAlignment="Left">
<font size="7" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Tipo de Serviço H.]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="13" splitType="Stretch">
<textField>
<reportElement uuid="b15ada19-a1c0-4feb-9734-3a6c624bbfe6" stretchType="RelativeToTallestObject" x="42" y="0" width="48" height="12"/>
<textElement>
<band height="14" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement uuid="b15ada19-a1c0-4feb-9734-3a6c624bbfe6" stretchType="RelativeToTallestObject" x="43" y="1" width="35" height="12"/>
<textElement textAlignment="Left">
<font size="7" isBold="true" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{servico}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="c35afacb-b160-4ace-b7be-c2e2f54ac1c0" stretchType="RelativeToTallestObject" x="90" y="0" width="66" height="12"/>
<reportElement uuid="c35afacb-b160-4ace-b7be-c2e2f54ac1c0" stretchType="RelativeToTallestObject" x="144" y="1" width="63" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="fd8ae360-3ae2-4adc-8c3a-fcfb19551d22" stretchType="RelativeToTallestObject" x="156" y="0" width="30" height="12"/>
<reportElement uuid="fd8ae360-3ae2-4adc-8c3a-fcfb19551d22" stretchType="RelativeToTallestObject" x="258" y="1" width="29" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="29ae3fa8-9db1-46c8-bcf7-cb9aa7bc6eb3" stretchType="RelativeToTallestObject" x="186" y="0" width="30" height="12"/>
<reportElement uuid="29ae3fa8-9db1-46c8-bcf7-cb9aa7bc6eb3" stretchType="RelativeToTallestObject" x="288" y="1" width="29" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="7265d085-4188-44a0-8e04-e5efdb0d5ccf" stretchType="RelativeToTallestObject" x="216" y="0" width="68" height="12"/>
<reportElement uuid="7265d085-4188-44a0-8e04-e5efdb0d5ccf" stretchType="RelativeToTallestObject" x="318" y="1" width="66" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{classe}]]></textFieldExpression>
</textField>
<textField pattern="¤ #,##0.00">
<reportElement uuid="6430daa4-d318-4f4a-87ff-2ea4de9d492e" stretchType="RelativeToTallestObject" x="284" y="0" width="41" height="12"/>
<reportElement uuid="6430daa4-d318-4f4a-87ff-2ea4de9d492e" stretchType="RelativeToTallestObject" x="385" y="1" width="40" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
</textField>
<textField pattern="¤ #,##0.00">
<reportElement uuid="49faea3b-2ce4-469a-b07c-3b4869aaa9e5" stretchType="RelativeToTallestObject" x="361" y="0" width="34" height="12"/>
<reportElement uuid="49faea3b-2ce4-469a-b07c-3b4869aaa9e5" stretchType="RelativeToTallestObject" x="461" y="1" width="34" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tut}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="¤ #,##0.00">
<reportElement uuid="16461919-04ea-48df-af5c-7f0d7dcb7fab" stretchType="RelativeToTallestObject" x="395" y="0" width="41" height="12"/>
<reportElement uuid="16461919-04ea-48df-af5c-7f0d7dcb7fab" stretchType="RelativeToTallestObject" x="496" y="1" width="40" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
</textField>
<textField pattern="¤ #,##0.00">
<reportElement uuid="97be07ba-bdb1-4bf2-91af-554b580ee3fa" stretchType="RelativeToTallestObject" x="436" y="0" width="40" height="12"/>
<reportElement uuid="97be07ba-bdb1-4bf2-91af-554b580ee3fa" stretchType="RelativeToTallestObject" x="536" y="1" width="40" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="8cf0c102-4e42-4f6d-8922-8edc808fdc0f" stretchType="RelativeToTallestObject" x="476" y="0" width="40" height="12"/>
<reportElement uuid="8cf0c102-4e42-4f6d-8922-8edc808fdc0f" stretchType="RelativeToTallestObject" x="576" y="1" width="40" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="0ecedfc0-febb-40e0-b5ca-168b5a296646" stretchType="RelativeToTallestObject" x="516" y="0" width="71" height="12"/>
<reportElement uuid="0ecedfc0-febb-40e0-b5ca-168b5a296646" stretchType="RelativeToTallestObject" x="617" y="1" width="69" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{agencia}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="8229beec-daa6-4357-a4c9-f475d7a873aa" stretchType="RelativeToTallestObject" x="587" y="0" width="41" height="12"/>
<reportElement uuid="8229beec-daa6-4357-a4c9-f475d7a873aa" stretchType="RelativeToTallestObject" x="687" y="1" width="41" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataHoraCompra})]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="8e67c346-5c72-4a92-beee-9dd9ad647bb1" stretchType="RelativeToTallestObject" x="661" y="0" width="76" height="12"/>
<reportElement uuid="8e67c346-5c72-4a92-beee-9dd9ad647bb1" stretchType="RelativeToTallestObject" x="763" y="1" width="74" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{passageiro}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="9a639996-146c-42c9-a8fd-f947a59310f4" stretchType="RelativeToTallestObject" x="785" y="0" width="39" height="12"/>
<textField isStretchWithOverflow="true">
<reportElement uuid="9a639996-146c-42c9-a8fd-f947a59310f4" stretchType="RelativeToTallestObject" x="886" y="1" width="38" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{nrBilhete}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="8d419689-a353-4332-8e39-222dde198168" stretchType="RelativeToTallestObject" x="628" y="0" width="33" height="12"/>
<reportElement uuid="8d419689-a353-4332-8e39-222dde198168" stretchType="RelativeToTallestObject" x="729" y="1" width="33" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("HH:mm:ss").format($F{dataHoraCompra})]]></textFieldExpression>
</textField>
<textField pattern="¤ #,##0.00">
<reportElement uuid="48c368c2-dd11-4724-a5e9-b3f139464d4a" stretchType="RelativeToTallestObject" x="325" y="0" width="36" height="12"/>
<reportElement uuid="48c368c2-dd11-4724-a5e9-b3f139464d4a" stretchType="RelativeToTallestObject" x="426" y="1" width="35" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{preciobase}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="1f6449f5-835f-41f2-8c41-94eb91e54fa2" stretchType="RelativeToTallestObject" x="824" y="0" width="21" height="12"/>
<textField isStretchWithOverflow="true">
<reportElement uuid="1f6449f5-835f-41f2-8c41-94eb91e54fa2" stretchType="RelativeToTallestObject" x="925" y="1" width="20" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[""]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy">
<reportElement uuid="bfb9d635-bbc1-4e92-890a-df8299bc8daa" stretchType="RelativeToTallestObject" x="1" y="0" width="41" height="12"/>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy">
<reportElement uuid="bfb9d635-bbc1-4e92-890a-df8299bc8daa" stretchType="RelativeToTallestObject" x="1" y="1" width="41" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{data}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="7dedf3ee-5d5b-48e0-b56c-5fea86d1d80c" stretchType="RelativeToTallestObject" x="737" y="0" width="48" height="12"/>
<reportElement uuid="7dedf3ee-5d5b-48e0-b56c-5fea86d1d80c" stretchType="RelativeToTallestObject" x="838" y="1" width="47" height="12"/>
<textElement>
<font size="7" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{telefone}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="a9e1d24d-dc75-444a-a137-6464a3bf74df" stretchType="RelativeToTallestObject" x="208" y="1" width="49" height="12"/>
<textElement>
<font size="7" isBold="false" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{prefixo}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="4450dcbf-e5da-4437-898e-713b2018aa57" stretchType="RelativeToTallestObject" x="79" y="1" width="64" height="12"/>
<textElement textAlignment="Center">
<font size="7" isBold="false" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipoServico}]]></textFieldExpression>
</textField>
</band>
</detail>
<summary>
<band height="77" splitType="Stretch">
<textField pattern="¤ #,##0.00">
<reportElement uuid="4bbf9db6-cc01-4cc0-98fa-7522eb890d4c" x="186" y="60" width="98" height="14"/>
<reportElement uuid="4bbf9db6-cc01-4cc0-98fa-7522eb890d4c" x="318" y="60" width="107" height="14"/>
<box leftPadding="1"/>
<textElement textAlignment="Right">
<font isBold="true"/>
@ -489,40 +525,40 @@
<textFieldExpression><![CDATA[$V{totalizador}]]></textFieldExpression>
</textField>
<textField pattern="¤ #,##0.00">
<reportElement uuid="381ba8fc-878f-4419-8c93-758a607e9ba3" x="186" y="18" width="98" height="14"/>
<reportElement uuid="381ba8fc-878f-4419-8c93-758a607e9ba3" x="318" y="18" width="107" height="14"/>
<box leftPadding="1"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{TOTAL_TARIFA}]]></textFieldExpression>
</textField>
<textField pattern="¤ #,##0.00">
<reportElement uuid="a36d2d34-3721-4796-93ec-3cf838aebf85" x="186" y="32" width="98" height="14"/>
<reportElement uuid="a36d2d34-3721-4796-93ec-3cf838aebf85" x="318" y="32" width="107" height="14"/>
<box leftPadding="1"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{TOTAL_TUT}]]></textFieldExpression>
</textField>
<textField pattern="¤ #,##0.00">
<reportElement uuid="219227d5-1615-4876-a810-c6393957ccd0" x="186" y="46" width="98" height="14"/>
<reportElement uuid="219227d5-1615-4876-a810-c6393957ccd0" x="318" y="46" width="107" height="14"/>
<box leftPadding="1"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{TOTAL_PEDAGIO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="d4600e8d-457a-47cf-aa81-84b1231728fe" x="1" y="18" width="185" height="14"/>
<reportElement uuid="d4600e8d-457a-47cf-aa81-84b1231728fe" x="1" y="18" width="316" height="14"/>
<textElement textAlignment="Right"/>
<text><![CDATA[Total Tarifa]]></text>
</staticText>
<staticText>
<reportElement uuid="5b0f4977-d53a-4fcb-a16f-88c1edd8493b" x="1" y="32" width="185" height="14"/>
<reportElement uuid="5b0f4977-d53a-4fcb-a16f-88c1edd8493b" x="1" y="32" width="316" height="14"/>
<textElement textAlignment="Right"/>
<text><![CDATA[Total Tut]]></text>
</staticText>
<staticText>
<reportElement uuid="f6849b27-f317-458b-b4f3-8d96a150962e" x="1" y="46" width="185" height="14"/>
<reportElement uuid="f6849b27-f317-458b-b4f3-8d96a150962e" x="1" y="46" width="316" height="14"/>
<textElement textAlignment="Right"/>
<text><![CDATA[Total Pedágio]]></text>
</staticText>
<staticText>
<reportElement uuid="9f5fda19-bdf2-4600-ba05-aa2ded9c6a89" x="1" y="60" width="185" height="14"/>
<reportElement uuid="9f5fda19-bdf2-4600-ba05-aa2ded9c6a89" x="1" y="60" width="316" height="14"/>
<textElement textAlignment="Right"/>
<text><![CDATA[Total Receita]]></text>
</staticText>
@ -531,7 +567,7 @@
<noData>
<band height="50">
<textField>
<reportElement uuid="6f13c961-dd50-4e44-ba73-65e0752b8b83" x="-1" y="0" width="843" height="50"/>
<reportElement uuid="6f13c961-dd50-4e44-ba73-65e0752b8b83" x="-1" y="0" width="946" height="50"/>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font size="11" isBold="true"/>
</textElement>