Implementação de campos no relatorio tabela de preço feat #AL-2351

master
Fabio Faria 2023-05-08 16:52:37 -03:00
parent 103c946cf6
commit 1b250c9a54
6 changed files with 117 additions and 44 deletions

View File

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

View File

@ -53,7 +53,10 @@ public class RelatorioTabelaPreco extends Relatorio {
dataResult.put("destino", rset.getString("destino"));
dataResult.put("aliasorigem", rset.getString("aliasorigem"));
dataResult.put("aliasdestino", rset.getString("aliasdestino"));
dataResult.put("origemid", rset.getString("origemid"));
dataResult.put("destinoid", rset.getString("destinoid"));
dataResult.put("tarifa", rset.getBigDecimal("tarifa"));
dataResult.put("tarifaoriginal", rset.getBigDecimal("tarifaoriginal"));
dataResult.put("pedagio", rset.getBigDecimal("pedagio"));
dataResult.put("taxaEmbarque", rset.getBigDecimal("taxaEmbarque"));
dataResult.put("outros", rset.getBigDecimal("outros"));
@ -67,6 +70,7 @@ public class RelatorioTabelaPreco extends Relatorio {
dataResult.put("dataVigenciaFinal", rset.getDate("dataVigenciaFinal"));
dataResult.put("idLinha", rset.getInt("idLinha"));
dataResult.put("idVigencia", rset.getInt("idVigencia"));
dataResult.put("kmreal", rset.getString("kmReal"));
dataResult.put("orgao", rset.getString("orgao"));
this.dados.add(dataResult);
@ -98,16 +102,19 @@ public class RelatorioTabelaPreco extends Relatorio {
StringBuilder sql = new StringBuilder();
if (isLayoutArtesp) {
sql.append("SELECT DISTINCT origem,destino,tarifa,pedagio,taxaEmbarque,outros,tipoClasse,empresa,kmReal FROM (");
sql.append("SELECT dados.* FROM (");
}
sql.append(" SELECT ");
sql.append(" SELECT DISTINCT ");
sql.append(" po.cveparada as cveorigem, ");
sql.append(" pd.cveparada as cvedestino, ");
sql.append(" po.DESCPARADA as origem, ");
sql.append(" pd.DESCPARADA as destino, ");
sql.append(" pos.DESCPARADA as aliasorigem, ");
sql.append(" pds.DESCPARADA as aliasdestino, ");
sql.append(" po.parada_id as origemid, ");
sql.append(" pd.parada_id as destinoid, ");
sql.append(" COALESCE(t.precio,0) as tarifa, ");
sql.append(" coalesce(t.preciooriginal, 0) AS tarifaoriginal, ");
sql.append(" COALESCE(t.IMPORTEPEDAGIO, 0) as pedagio, ");
sql.append(" COALESCE(t.IMPORTETAXAEMBARQUE, 0) as taxaEmbarque, ");
sql.append(" COALESCE(t.IMPORTESEGURO, 0) as seguro, ");
@ -119,7 +126,6 @@ public class RelatorioTabelaPreco extends Relatorio {
sql.append(" vt.FECINICIOVIGENCIA as dataVigenciaInicial, ");
sql.append(" vt.FECFINVIGENCIA as dataVigenciaFinal, ");
sql.append(" vt.VIGENCIATARIFA_ID as idVigencia, ");
sql.append(" vt.FECINICIOVIGENCIA as dataVigenciaInicial, ");
sql.append(" r.RUTA_ID as idLinha, ");
sql.append(" tr.CANTKMREAL as kmReal, ");
sql.append(" o.descorgao as orgao ");
@ -175,7 +181,7 @@ public class RelatorioTabelaPreco extends Relatorio {
sql.append(" ORDER BY r.DESCRUTA, vt.FECINICIOVIGENCIA");
if (isLayoutArtesp) {
sql.append(") ORDER BY origem,destino");
sql.append(") dados ORDER BY origem,destino");
}
return sql.toString();

View File

@ -18,6 +18,7 @@ label.destino=Destino
label.origemalias=Origem Alias
label.destinoalias=Destino Alias
label.tarifa=Tarifa
label.tarifaoriginal =Tari. Orig.
label.pedagio=Pedágio
label.taxaEmbarque=Taxa
label.seguro=Seguro
@ -30,5 +31,7 @@ label.dataVigencia=Vig
label.total=Total
label.totalSeg=Total c/ Seg
label.cve=CVE
label.id=ID
label.km=KM
label.prefixo=Prefixo:
label.orgacaoConcedente=Orgão Concedente:

View File

@ -18,6 +18,7 @@ label.destino=Destino
label.origemalias=Origem Alias
label.destinoalias=Destino Alias
label.tarifa=Tarifa
label.tarifaoriginal =Tari. Orig.
label.pedagio=Pedágio
label.taxaEmbarque=Taxa
label.seguro=Seguro
@ -30,5 +31,7 @@ label.dataVigencia=Vig
label.total=Total
label.totalSeg=Total c/ Seg
label.cve=CVE
label.id=ID
label.km=KM
label.prefixo=Prefixo:
label.orgacaoConcedente=Orgão Concedente:

View File

@ -1,8 +1,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="RelatorioTabelaPreco" pageWidth="1300" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1260" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
<property name="ireport.zoom" value="2.3579476910000587"/>
<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="RelatorioTabelaPreco" pageWidth="1500" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1460" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
<property name="ireport.zoom" value="1.2100000000000308"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="39"/>
<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.3" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
@ -44,6 +44,10 @@
<field name="idVigencia" class="java.lang.Integer"/>
<field name="idLinha" class="java.lang.Integer"/>
<field name="orgao" class="java.lang.String"/>
<field name="origemid" class="java.lang.String"/>
<field name="destinoid" class="java.lang.String"/>
<field name="tarifaoriginal" class="java.math.BigDecimal"/>
<field name="kmreal" class="java.lang.String"/>
<variable name="totalbilhete" class="java.math.BigDecimal">
<variableExpression><![CDATA[$F{tarifa}
.add($F{pedagio})
@ -63,49 +67,49 @@
<groupHeader>
<band height="30">
<textField>
<reportElement uuid="cc799fe5-534d-457f-bd27-6bd4f751e9f1" x="880" y="15" width="83" height="15"/>
<reportElement uuid="cc799fe5-534d-457f-bd27-6bd4f751e9f1" x="1079" y="15" width="83" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.totalSeg}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="ac55c68a-58e3-4b69-a6f0-eba5cfb4e222" x="815" y="15" width="65" height="15"/>
<reportElement uuid="ac55c68a-58e3-4b69-a6f0-eba5cfb4e222" x="1014" y="15" width="65" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.seguro}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="ddc57a6d-d56b-418a-967d-c0b99ef3c047" x="604" y="15" width="65" height="15"/>
<reportElement uuid="ddc57a6d-d56b-418a-967d-c0b99ef3c047" x="803" y="15" width="65" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.taxaEmbarque}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="d49e2013-dad9-4eda-9663-d4541c736bb8" x="669" y="15" width="65" height="15"/>
<reportElement uuid="d49e2013-dad9-4eda-9663-d4541c736bb8" x="868" y="15" width="65" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.outros}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="5231cff6-33f4-4afb-bdc1-e1bbc5fd27f8" x="380" y="15" width="94" height="15"/>
<reportElement uuid="5231cff6-33f4-4afb-bdc1-e1bbc5fd27f8" x="482" y="15" width="126" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.tipoClasse}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="70beacf1-7122-49dc-bcde-524300505ee5" x="539" y="15" width="65" height="15"/>
<reportElement uuid="70beacf1-7122-49dc-bcde-524300505ee5" x="738" y="15" width="65" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.pedagio}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="0b205a4d-6128-4dac-bbd9-eb03ec6f3618" mode="Transparent" x="230" y="15" width="150" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="0b205a4d-6128-4dac-bbd9-eb03ec6f3618" mode="Transparent" x="298" y="15" width="150" 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"/>
@ -133,7 +137,7 @@
<textFieldExpression><![CDATA[$R{label.prefixo}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="ed84000c-a160-43f0-a858-72e94d57c44d" x="963" y="0" width="296" height="15"/>
<reportElement uuid="ed84000c-a160-43f0-a858-72e94d57c44d" x="963" y="0" width="497" height="15"/>
<box>
<bottomPen lineWidth="0.5"/>
</box>
@ -163,7 +167,7 @@
<textFieldExpression><![CDATA[$R{label.linha}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="f42ebb24-016c-47f0-8f28-2d079e9435ec" x="963" y="15" width="149" height="15" isPrintWhenDetailOverflows="true"/>
<reportElement uuid="f42ebb24-016c-47f0-8f28-2d079e9435ec" x="1162" y="15" width="149" height="15" isPrintWhenDetailOverflows="true"/>
<box leftPadding="1"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="9" isBold="true"/>
@ -171,7 +175,7 @@
<textFieldExpression><![CDATA[$R{label.origemalias}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="eaf0e2f0-44fb-4940-8aab-bd2902d138bc" mode="Transparent" x="1112" y="15" width="149" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="eaf0e2f0-44fb-4940-8aab-bd2902d138bc" mode="Transparent" x="1311" y="15" width="149" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Center" 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"/>
@ -196,34 +200,63 @@
<textFieldExpression><![CDATA[$F{idLinha}+" - "+ $F{linha}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="d332e48b-a0ae-4382-96bd-cf5c708b560b" mode="Transparent" x="474" y="15" width="65" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="d332e48b-a0ae-4382-96bd-cf5c708b560b" mode="Transparent" x="608" y="15" width="65" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" 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"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.tarifa}]]></textFieldExpression>
<textFieldExpression><![CDATA[$R{label.tarifaoriginal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="5790b9cc-35da-4f6d-85da-66acc015483b" x="40" y="15" width="150" height="15" isPrintWhenDetailOverflows="true"/>
<reportElement uuid="5790b9cc-35da-4f6d-85da-66acc015483b" x="74" y="15" width="150" height="15" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.origem}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="02ef0f70-3a78-4322-a914-6a57c1ba7469" x="190" y="15" width="40" height="15"/>
<reportElement uuid="02ef0f70-3a78-4322-a914-6a57c1ba7469" x="224" y="15" width="40" height="15"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.cve}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="ac0b6878-08b8-4118-9ef1-b7e516c36521" x="734" y="15" width="81" height="15"/>
<reportElement uuid="ac0b6878-08b8-4118-9ef1-b7e516c36521" x="933" y="15" width="81" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="dda12ef8-7076-48aa-8add-f08c6a04ba84" x="40" y="15" width="34" height="15"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.id}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="aef7b990-d3ef-4d47-a559-cc8c7d2a3a3e" x="264" y="15" width="34" height="15"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.id}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="bbec6972-83a7-45a5-a066-bf885530fb6e" mode="Transparent" x="673" y="15" width="65" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" 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"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.tarifa}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="77628380-1b3a-482e-93ba-de9db5a7e9b0" x="448" y="15" width="34" height="15"/>
<textElement textAlignment="Left" verticalAlignment="Top">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.km}]]></textFieldExpression>
</textField>
</band>
</groupHeader>
</group>
@ -233,7 +266,7 @@
<title>
<band height="67">
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="0f6ea959-18ce-45fc-be6c-a814a0476c4e" mode="Transparent" x="963" y="15" width="270" height="16" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="0f6ea959-18ce-45fc-be6c-a814a0476c4e" mode="Transparent" x="1164" y="15" width="270" height="16" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" 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"/>
@ -249,7 +282,7 @@
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="ad4046fb-5ef4-410f-85a5-17cca2f7cf4c" stretchType="RelativeToBandHeight" mode="Transparent" x="963" y="31" width="296" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="ad4046fb-5ef4-410f-85a5-17cca2f7cf4c" stretchType="RelativeToBandHeight" mode="Transparent" x="1164" y="31" width="296" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" 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"/>
@ -257,14 +290,14 @@
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO_NOME}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="1e11c007-fe9f-4ae1-b7dd-5b3574ef9cee" x="963" y="0" width="214" height="15"/>
<reportElement uuid="1e11c007-fe9f-4ae1-b7dd-5b3574ef9cee" x="1164" y="0" width="214" height="15"/>
<textElement textAlignment="Right">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="9eee37bf-9dc9-441c-96f7-01562efffce8" x="0" y="46" width="1259" height="21"/>
<reportElement uuid="9eee37bf-9dc9-441c-96f7-01562efffce8" x="32" y="46" width="1428" height="21"/>
<box leftPadding="2">
<topPen lineWidth="0.75"/>
<bottomPen lineWidth="0.75"/>
@ -275,7 +308,7 @@
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement uuid="d925825f-4cfd-4dd0-8088-20a6810f1a48" mode="Transparent" x="1179" y="0" width="80" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="d925825f-4cfd-4dd0-8088-20a6810f1a48" mode="Transparent" x="1380" y="0" width="80" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" 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"/>
@ -283,7 +316,7 @@
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement uuid="27212e2f-7312-4bd4-b218-d9aef0e24a14" mode="Transparent" x="1233" y="15" width="26" height="16" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="27212e2f-7312-4bd4-b218-d9aef0e24a14" mode="Transparent" x="1434" y="15" width="26" height="16" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" 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"/>
@ -295,77 +328,77 @@
<detail>
<band height="17" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="4a0efda0-b112-4092-8164-292ab7fb1950" x="40" y="1" width="150" height="15"/>
<reportElement uuid="4a0efda0-b112-4092-8164-292ab7fb1950" x="74" y="1" width="150" height="15"/>
<textElement textAlignment="Left">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="f544e769-3f8c-4200-86ed-01f6c4024334" x="230" y="1" width="150" height="15"/>
<reportElement uuid="f544e769-3f8c-4200-86ed-01f6c4024334" x="298" y="1" width="150" height="15"/>
<textElement textAlignment="Left">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="b81fcb18-2337-4514-be27-fe7d3c88acc5" x="474" y="1" width="65" height="15"/>
<reportElement uuid="b81fcb18-2337-4514-be27-fe7d3c88acc5" x="608" y="1" width="65" height="15"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
<textFieldExpression><![CDATA[$F{tarifaoriginal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="8a545d22-875e-46cd-8011-444a8e884bca" x="539" y="1" width="65" height="15"/>
<reportElement uuid="8a545d22-875e-46cd-8011-444a8e884bca" x="738" y="1" width="65" height="15"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="6f76912d-0eef-439c-9fb8-236181d94033" x="669" y="1" width="65" height="15"/>
<reportElement uuid="6f76912d-0eef-439c-9fb8-236181d94033" x="868" y="1" width="65" height="15"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{outros}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="ac958e4e-b8ad-4abc-b58a-1aaca4992db6" x="604" y="1" width="65" height="15"/>
<reportElement uuid="ac958e4e-b8ad-4abc-b58a-1aaca4992db6" x="803" y="1" width="65" height="15"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{taxaEmbarque}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="72858663-765d-4843-bc51-ec6a80a0b7d0" x="815" y="1" width="65" height="15"/>
<reportElement uuid="72858663-765d-4843-bc51-ec6a80a0b7d0" x="1014" y="1" width="65" height="15"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{seguro}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="11f32d65-9824-47f6-95f5-482cce626d4b" x="380" y="1" width="94" height="15"/>
<reportElement uuid="11f32d65-9824-47f6-95f5-482cce626d4b" x="482" y="1" width="126" height="15"/>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipoClasse}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="722229cf-1b78-459d-92fc-1a30615054a2" x="880" y="1" width="83" height="15"/>
<reportElement uuid="722229cf-1b78-459d-92fc-1a30615054a2" x="1079" y="1" width="83" height="15"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$V{totalgeral}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="0966b1d4-66b6-4e84-b2a6-644808edae46" x="1112" y="1" width="149" height="15"/>
<reportElement uuid="0966b1d4-66b6-4e84-b2a6-644808edae46" x="1311" y="1" width="149" height="15"/>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{aliasdestino}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="d2d3da3e-b81c-4812-8bc1-42762136be8d" x="963" y="1" width="149" height="15"/>
<reportElement uuid="d2d3da3e-b81c-4812-8bc1-42762136be8d" x="1162" y="1" width="149" height="15"/>
<box leftPadding="1"/>
<textElement textAlignment="Center">
<font size="9"/>
@ -380,25 +413,53 @@
<textFieldExpression><![CDATA[$F{cveorigem}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="909ed476-9b33-47c7-be4d-c72ea5746f99" x="190" y="1" width="40" height="15"/>
<reportElement uuid="909ed476-9b33-47c7-be4d-c72ea5746f99" x="224" y="1" width="40" height="15"/>
<textElement textAlignment="Left">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{cvedestino}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="1c762c23-20a3-4164-ba71-96dfbca0e47f" x="734" y="1" width="81" height="15"/>
<reportElement uuid="1c762c23-20a3-4164-ba71-96dfbca0e47f" x="933" y="1" width="81" height="15"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$V{totalbilhete}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="6d520501-02bb-4a32-bc37-6dd492385df9" x="40" y="1" width="34" height="15"/>
<textElement textAlignment="Left">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{origemid}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="f55ff12a-4cfe-4282-bdc0-24099ef44875" x="264" y="1" width="34" height="15"/>
<textElement textAlignment="Left">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{destinoid}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="165538d2-ca46-497c-9be7-4e4a679a0dd6" x="673" y="1" width="65" height="15"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="37126179-d4c3-4189-8245-3f348338df1e" x="448" y="1" width="34" height="15"/>
<textElement textAlignment="Left">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{kmreal}]]></textFieldExpression>
</textField>
</band>
</detail>
<noData>
<band height="28">
<textField>
<reportElement uuid="6f13c961-dd50-4e44-ba73-65e0752b8b83" x="-1" y="0" width="1261" height="28"/>
<reportElement uuid="6f13c961-dd50-4e44-ba73-65e0752b8b83" x="-1" y="0" width="1429" height="28"/>
<textElement textAlignment="Center" markup="none">
<font size="12" isBold="true"/>
</textElement>