fixes bug#20183

qua:
dev:Aristides
Alteração para adicionar campos no relatorio. 

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@104056 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdevir 2020-10-29 20:04:25 +00:00
parent 15d5b6d31b
commit b4fd70b6b2
7 changed files with 342 additions and 73 deletions

View File

@ -57,17 +57,23 @@ public class RelatorioBPe extends Relatorio {
dataResult.put("dtvenda", rset.getString("dtvenda"));
dataResult.put("hrvenda", rset.getString("hrvenda"));
dataResult.put("locpuntoventa", rset.getString("locpuntoventa"));
dataResult.put("origem", rset.getString("origem"));
dataResult.put("destino", rset.getString("destino"));
dataResult.put("dtviagem", rset.getString("dtviagem"));
dataResult.put("vlbpe", rset.getString("vlbpe"));
dataResult.put("vlbpe", rset.getBigDecimal("vlbpe"));
dataResult.put("chbpe", rset.getString("chbpe"));
dataResult.put("num_bpe", rset.getString("num_bpe"));
dataResult.put("numserie_bpe", rset.getString("numserie_bpe"));
dataResult.put("status", rset.getString("status"));
dataResult.put("obs", rset.getString("obs"));
dataResult.put("qrcode", rset.getString("qrcode"));
dataResult.put("errocontingencia", rset.getString("errocontingencia"));
dataResult.put("valortarifa", rset.getBigDecimal("valortarifa"));
dataResult.put("valortaxa", rset.getBigDecimal("valortaxa"));
dataResult.put("valorpedagio", rset.getBigDecimal("valorpedagio"));
dataResult.put("valorseguro", rset.getBigDecimal("valorseguro"));
dataResult.put("valoroutros", rset.getBigDecimal("valoroutros"));
dataResult.put("errocontingencia", rset.getBigDecimal("errocontingencia"));
this.dados.add(dataResult);
}
@ -104,13 +110,19 @@ public class RelatorioBPe extends Relatorio {
sql.append(" COALESCE(oriA.DESCPARADA, ori.DESCPARADA) as origem, ");
sql.append(" COALESCE(destA.DESCPARADA, dest.DESCPARADA) as destino,");
}
sql.append(" locpv.DESCPARADA as locpuntoventa, ");
sql.append(" ori.DESCPARADA as origem, ");
sql.append(" dest.DESCPARADA as destino,");
sql.append(" TO_CHAR(bol.FECHORVIAJE,'dd/mm/yyyy HH24:MI') as dtviagem, ");
sql.append(" TO_CHAR(COALESCE(bol.PRECIOPAGADO,0) + coalesce(bol.IMPORTETAXAEMBARQUE,0) + coalesce(bol.IMPORTESEGURO,0) + coalesce(bol.IMPORTEPEDAGIO,0) + coalesce(bol.IMPORTEOUTROS,0)) as vlbpe, ");
sql.append(" COALESCE(bol.PRECIOPAGADO,0) + coalesce(bol.IMPORTETAXAEMBARQUE,0) + coalesce(bol.IMPORTESEGURO,0) + coalesce(bol.IMPORTEPEDAGIO,0) + coalesce(bol.IMPORTEOUTROS,0) as vlbpe, ");
sql.append(" COALESCE(bol.PRECIOPAGADO,0) as valortarifa, ");
sql.append(" COALESCE(bol.IMPORTETAXAEMBARQUE,0) as valortaxa, ");
sql.append(" COALESCE(bol.IMPORTEPEDAGIO,0) as valorpedagio, ");
sql.append(" COALESCE(bol.IMPORTESEGURO,0) as valorseguro, ");
sql.append(" COALESCE(bol.IMPORTEOUTROS,0) as valoroutros, ");
sql.append(" bpe.CHBPE, ");
sql.append(" bol.NUM_BPE as num_bpe, ");
sql.append(" COALESCE(bol.NUMSERIE_BPE, '1') as numserie_bpe, ");
@ -170,6 +182,10 @@ public class RelatorioBPe extends Relatorio {
sql.append(" LEFT JOIN PARADA ori on bol.ORIGEN_ID = ori.PARADA_ID ");
sql.append(" LEFT JOIN PARADA dest on bol.DESTINO_ID = dest.PARADA_ID ");
sql.append(" LEFT JOIN PUNTO_VENTA pv ");
sql.append(" ON bol.PUNTOVENTA_ID = pv.PUNTOVENTA_ID ");
sql.append(" LEFT JOIN PARADA locpv ");
sql.append(" ON pv.PARADA_ID = locpv.PARADA_ID AND locpv.activo = 1");
sql.append(" WHERE e.ACTIVO = 1 ");

View File

@ -16,7 +16,13 @@ label.horaVenda=Hora Venda
label.origem=Origem
label.destino=Destino
label.dataViagem=Data Viagem
label.valorBPe=Valor
label.valorBPe=Valor Tot
label.origemPV= Loc. Venda
label.valortarifa=Tarifa
label.valortaxa=Taxa
label.valorpedagio=Pedágio
label.valorseguro=Seguro
label.valoroutros=Outros
label.chaveAcesso=Chave Acesso
label.numBPe=Número BPe
label.serie=Série

View File

@ -16,7 +16,13 @@ label.horaVenda=Hora Venda
label.origem=Origem
label.destino=Destino
label.dataViagem=Data Viagem
label.valorBPe=Valor
label.valorBPe=Valor Tot
label.origemPV= Loc. Venda
label.valortarifa=Tarifa
label.valortaxa=Taxa
label.valorpedagio=Pedágio
label.valorseguro=Seguro
label.valoroutros=Outros
label.chaveAcesso=Chave Acesso
label.numBPe=Número BPe
label.serie=Série

View File

@ -17,8 +17,15 @@ label.origem=Origem
label.destino=Destino
label.dataViagem=Data Viagem
label.valorBPe=Valor
label.origemPV= Loc. Venda
label.valortarifa=Tarifa
label.valortaxa=Taxa
label.valorpedagio=Pedágio
label.valorseguro=Seguro
label.valoroutros=Outros
label.chaveAcesso=Chave Acesso
label.numBPe=Número BPe
label.serie=Série
label.status=Status
label.obs=Observação
header.filtro.total=Total Geral:

View File

@ -10,6 +10,7 @@ cabecalho.impressorPor=Impressor por:
cabecalho.pagina=Página
cabecalho.de=de
cabecalho.filtros=Filtros:
header.filtro.total=Total Geral:
label.dataVenda=Data Venda
label.horaVenda=Hora Venda
@ -17,6 +18,12 @@ label.origem=Origem
label.destino=Destino
label.dataViagem=Data Viagem
label.valorBPe=Valor
label.origemPV= Loc. Venda
label.valortarifa=Tarifa
label.valortaxa=Taxa
label.valorpedagio=Pedágio
label.valorseguro=Seguro
label.valoroutros=Outros
label.chaveAcesso=Chave Acesso
label.numBPe=Número BPe
label.serie=Série

View File

@ -1,12 +1,18 @@
<?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="RelatorioBPe" pageWidth="1350" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="1310" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2de20ee0-535e-49d2-a7be-c24a30351d9f">
<property name="ireport.zoom" value="0.75"/>
<property name="ireport.x" value="271"/>
<property name="ireport.zoom" value="1.0980750000000004"/>
<property name="ireport.x" value="229"/>
<property name="ireport.y" value="0"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.1" value="title"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
<style name="zebrado">
<conditionalStyle>
<conditionExpression><![CDATA[$V{REPORT_COUNT}%2==1]]></conditionExpression>
<style backcolor="#CCCCCC"/>
</conditionalStyle>
</style>
<parameter name="USUARIO" class="java.lang.String"/>
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
<parameter name="FILTROS" class="java.lang.String"/>
@ -15,17 +21,59 @@
<field name="origem" class="java.lang.String"/>
<field name="destino" class="java.lang.String"/>
<field name="dtviagem" class="java.lang.String"/>
<field name="vlbpe" class="java.lang.String"/>
<field name="vlbpe" class="java.math.BigDecimal"/>
<field name="chbpe" class="java.lang.String"/>
<field name="num_bpe" class="java.lang.String"/>
<field name="numserie_bpe" class="java.lang.String"/>
<field name="status" class="java.lang.String"/>
<field name="obs" class="java.lang.String"/>
<field name="qrcode" class="java.lang.String"/>
<field name="locpuntoventa" class="java.lang.String"/>
<field name="valortarifa" class="java.math.BigDecimal"/>
<field name="valortaxa" class="java.math.BigDecimal"/>
<field name="valorpedagio" class="java.math.BigDecimal"/>
<field name="valorseguro" class="java.math.BigDecimal"/>
<field name="valoroutros" class="java.math.BigDecimal"/>
<variable name="totalTarifa" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{valortarifa}]]></variableExpression>
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
</variable>
<variable name="totalTaxa" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{valortaxa}]]></variableExpression>
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
</variable>
<variable name="totalPedagio" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{valorpedagio}]]></variableExpression>
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
</variable>
<variable name="totalOutros" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{valoroutros}]]></variableExpression>
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
</variable>
<variable name="totalSeguro" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{valorseguro}]]></variableExpression>
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
</variable>
<variable name="totalGeral" class="java.math.BigDecimal">
<variableExpression><![CDATA[$V{total}]]></variableExpression>
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
</variable>
<variable name="totalBilhetes" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{vlbpe}]]></variableExpression>
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
</variable>
<variable name="total" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[($F{valortarifa}
.add( $F{valortaxa} )
.add( $F{valorpedagio} )
.add( $F{valoroutros} )
.add( $F{valorseguro} ))]]></variableExpression>
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
</variable>
<title>
<band height="79" splitType="Stretch">
<textField pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="0" y="0" width="1021" height="41" forecolor="#000000" backcolor="#FFFFFF" uuid="da52f710-3882-4beb-ba6f-870e03f6800d"/>
<reportElement uuid="da52f710-3882-4beb-ba6f-870e03f6800d" mode="Transparent" x="0" y="0" width="1021" height="41" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="16" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -33,7 +81,7 @@
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="1289" y="25" width="21" height="16" forecolor="#000000" backcolor="#FFFFFF" uuid="2f4f1314-9363-4e6d-822f-c85c1890998b"/>
<reportElement uuid="2f4f1314-9363-4e6d-822f-c85c1890998b" mode="Transparent" x="1289" y="25" width="21" height="16" 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"/>
@ -41,7 +89,7 @@
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="1021" y="42" width="289" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="c8a70b8d-369e-48ae-a911-a5d9692316f7"/>
<reportElement uuid="c8a70b8d-369e-48ae-a911-a5d9692316f7" mode="Transparent" x="1021" y="42" width="289" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -49,7 +97,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement mode="Transparent" x="1206" y="0" width="104" height="25" forecolor="#000000" backcolor="#FFFFFF" uuid="ad4bbfb8-582d-4aa2-904d-8dfe60e54442"/>
<reportElement uuid="ad4bbfb8-582d-4aa2-904d-8dfe60e54442" mode="Transparent" x="1206" y="0" width="104" height="25" 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"/>
@ -57,7 +105,7 @@
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="1021" y="25" width="267" height="16" forecolor="#000000" backcolor="#FFFFFF" uuid="8601bf20-f5f8-4fed-9445-7adfe580d236"/>
<reportElement uuid="8601bf20-f5f8-4fed-9445-7adfe580d236" mode="Transparent" x="1021" y="25" width="267" 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"/>
@ -65,73 +113,66 @@
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1021" y="0" width="185" height="25" uuid="b48a0903-0b2a-4ae5-ae04-811d097a9f91"/>
<reportElement uuid="b48a0903-0b2a-4ae5-ae04-811d097a9f91" x="1021" y="0" width="185" height="25"/>
<textElement textAlignment="Right">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField>
<line>
<reportElement x="-1" y="58" width="1311" height="1" uuid="3c577f75-c6d6-4c11-a846-bfe71a8a1b42"/>
<reportElement uuid="3c577f75-c6d6-4c11-a846-bfe71a8a1b42" x="-1" y="58" width="1311" height="1"/>
</line>
<textField isStretchWithOverflow="true">
<reportElement x="-1" y="59" width="1311" height="15" uuid="aff6535e-c25b-4f31-ad3a-baacc52e4974"/>
<reportElement uuid="aff6535e-c25b-4f31-ad3a-baacc52e4974" x="-1" y="57" width="1311" height="21"/>
<textElement verticalAlignment="Middle">
<font size="10"/>
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField>
<line>
<reportElement positionType="Float" x="-1" y="78" width="1311" height="1" uuid="84641d2c-21a5-47f0-b4a8-afe7bf700cb6"/>
<reportElement uuid="84641d2c-21a5-47f0-b4a8-afe7bf700cb6" positionType="Float" x="-1" y="78" width="1311" height="1"/>
</line>
</band>
</title>
<columnHeader>
<band height="15">
<band height="18">
<textField>
<reportElement x="0" y="0" width="54" height="15" uuid="2d8bc8b7-05a7-493a-ac4f-52f7f39cfa8b"/>
<reportElement uuid="2d8bc8b7-05a7-493a-ac4f-52f7f39cfa8b" x="0" y="0" width="65" height="15"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dataVenda}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="54" y="0" width="49" height="15" uuid="aae9977c-b656-4daf-8b9f-8fd3248542e3"/>
<reportElement uuid="aae9977c-b656-4daf-8b9f-8fd3248542e3" x="65" y="0" width="40" height="15"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.horaVenda}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="103" y="0" width="117" height="15" uuid="38753499-ea21-4051-aaa0-a8cdc36e087d"/>
<reportElement uuid="38753499-ea21-4051-aaa0-a8cdc36e087d" x="195" y="0" width="90" height="15"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.origem}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="220" y="0" width="116" height="15" uuid="8080038d-0253-4fe8-a21b-75c7257d81c5"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.destino}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="336" y="0" width="63" height="15" uuid="3998308e-b9fe-465e-b251-47d19d7c4ddd"/>
<textElement>
<reportElement uuid="3998308e-b9fe-465e-b251-47d19d7c4ddd" x="381" y="0" width="70" height="15"/>
<textElement textAlignment="Right">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dataViagem}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="399" y="0" width="48" height="15" uuid="924ae914-4074-4746-97c0-b11119029cc0"/>
<reportElement uuid="924ae914-4074-4746-97c0-b11119029cc0" x="451" y="0" width="56" height="15"/>
<textElement textAlignment="Right">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.valorBPe}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="448" y="0" width="270" height="15" uuid="f9f9f464-c0da-4d85-ad06-06567943eaa8"/>
<reportElement uuid="f9f9f464-c0da-4d85-ad06-06567943eaa8" x="720" y="0" width="275" height="15"/>
<box leftPadding="5"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
@ -139,81 +180,130 @@
<textFieldExpression><![CDATA[$R{label.chaveAcesso}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="718" y="0" width="81" height="15" uuid="fa7c03df-c59f-4e31-96fa-8a508c19746d"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.numBPe}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="799" y="0" width="61" height="15" uuid="abec744e-661d-407e-b21b-92cedc682316"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.serie}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="860" y="0" width="157" height="15" uuid="aaabe6ae-6466-4b39-8f39-b94460463dc8"/>
<reportElement uuid="aaabe6ae-6466-4b39-8f39-b94460463dc8" x="1080" y="0" width="100" height="15"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.status}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1017" y="0" width="293" height="15" uuid="bdb50181-e913-4a43-9344-c599b323706a"/>
<reportElement uuid="bdb50181-e913-4a43-9344-c599b323706a" x="1184" y="0" width="126" height="15"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.obs}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="b930a70b-3907-4075-b4b4-7abd52944701" x="105" y="0" width="90" height="15"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.origemPV}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="7a964b4c-f05b-47d5-9133-3857ac17793b" x="594" y="0" width="46" height="15"/>
<textElement textAlignment="Right">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.valorpedagio}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="61f831c0-e2f4-41b8-bd2c-09cd8f327e72" x="640" y="0" width="40" height="15"/>
<textElement textAlignment="Right">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.valorseguro}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="6eb33a55-1523-4031-9157-04b92fd09603" x="680" y="0" width="40" height="15"/>
<textElement textAlignment="Right">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.valoroutros}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="3d88eb39-b6ea-40d6-93c9-ecba691cfb45" x="562" y="0" width="32" height="15"/>
<textElement textAlignment="Right">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.valortaxa}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="84e806d9-098f-4a0a-8436-415b4517f1e8" x="507" y="0" width="55" height="15"/>
<textElement textAlignment="Right">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.valortarifa}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="abec744e-661d-407e-b21b-92cedc682316" x="1045" y="0" width="30" height="15"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.serie}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="fa7c03df-c59f-4e31-96fa-8a508c19746d" x="995" y="0" width="45" height="15"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.numBPe}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="8080038d-0253-4fe8-a21b-75c7257d81c5" x="285" y="0" width="96" height="15"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.destino}]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="15" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="54" height="15" isPrintWhenDetailOverflows="true" uuid="e29821d0-e770-43f3-a6a2-082204e4a2c4"/>
<reportElement uuid="e29821d0-e770-43f3-a6a2-082204e4a2c4" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="0" width="65" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{dtvenda}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="54" y="0" width="49" height="15" isPrintWhenDetailOverflows="true" uuid="b8ccaac1-5267-48a0-b637-b595f74b73a7"/>
<reportElement uuid="b8ccaac1-5267-48a0-b637-b595f74b73a7" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="65" y="0" width="40" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{hrvenda}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="103" y="0" width="117" height="15" isPrintWhenDetailOverflows="true" uuid="2a28ff64-e39c-456c-9dc0-514a15406ed2"/>
<reportElement uuid="2a28ff64-e39c-456c-9dc0-514a15406ed2" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="195" y="0" width="90" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="220" y="0" width="116" height="15" isPrintWhenDetailOverflows="true" uuid="319b345c-ad14-4025-8fd3-3e34e8cacd54"/>
<reportElement uuid="319b345c-ad14-4025-8fd3-3e34e8cacd54" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="285" y="0" width="96" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="336" y="0" width="63" height="15" isPrintWhenDetailOverflows="true" uuid="e6244540-af1b-4d94-8b0f-d2c3e501db61"/>
<reportElement uuid="e6244540-af1b-4d94-8b0f-d2c3e501db61" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="381" y="0" width="70" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{dtviagem}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="399" y="0" width="48" height="15" isPrintWhenDetailOverflows="true" uuid="6e5187d9-591a-42ab-a394-3f990ea8adc1"/>
<reportElement uuid="6e5187d9-591a-42ab-a394-3f990ea8adc1" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="451" y="0" width="56" height="15" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{vlbpe}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" hyperlinkType="Reference" hyperlinkTarget="Blank">
<reportElement stretchType="RelativeToTallestObject" x="448" y="0" width="270" height="15" isPrintWhenDetailOverflows="true" uuid="6db62c93-f853-4396-89ce-afcc6d510d91"/>
<reportElement uuid="6db62c93-f853-4396-89ce-afcc6d510d91" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="720" y="0" width="275" height="15" isPrintWhenDetailOverflows="true"/>
<box leftPadding="5"/>
<textElement>
<font size="9"/>
@ -222,39 +312,176 @@
<hyperlinkReferenceExpression><![CDATA[$F{qrcode}]]></hyperlinkReferenceExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="718" y="0" width="81" height="15" isPrintWhenDetailOverflows="true" uuid="07f16df1-fd27-46ba-9262-835eb8dddc96"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{num_bpe}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="799" y="0" width="61" height="15" isPrintWhenDetailOverflows="true" uuid="fe71d802-0ba0-4336-b76a-f72a37b23075"/>
<reportElement uuid="fe71d802-0ba0-4336-b76a-f72a37b23075" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="1045" y="0" width="35" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{numserie_bpe}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="860" y="0" width="157" height="15" isPrintWhenDetailOverflows="true" uuid="66eaa400-673d-4b37-b2ef-982910e6c78c"/>
<reportElement uuid="564725ab-4203-41c1-bcb1-9a189d524012" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="105" y="0" width="90" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
<textFieldExpression><![CDATA[$F{locpuntoventa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="a5e99430-53c7-4a72-b80e-222d65555557" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="507" y="0" width="55" height="15" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{valortarifa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="b08970a6-b8fc-4210-a7ba-1cafd0166131" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="562" y="0" width="32" height="15" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{valortaxa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="a975cfcb-153b-4b43-ac6e-023701d75283" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="594" y="0" width="44" height="15" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{valorpedagio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="021b8a1b-3497-4eed-b96e-985ec4329c5b" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="638" y="0" width="42" height="15" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{valorseguro}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="5d4d7677-7d6f-493c-87bd-a15faedee6e0" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="680" y="0" width="40" height="15" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{valoroutros}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1017" y="0" width="293" height="15" isPrintWhenDetailOverflows="true" uuid="7b8ce326-5e48-4b4f-ba2d-60fabfdc4119"/>
<reportElement uuid="07f16df1-fd27-46ba-9262-835eb8dddc96" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="995" y="0" width="50" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{num_bpe}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="7b8ce326-5e48-4b4f-ba2d-60fabfdc4119" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="1184" y="0" width="126" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{obs}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="66eaa400-673d-4b37-b2ef-982910e6c78c" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="1080" y="0" width="104" height="15" isPrintWhenDetailOverflows="true"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
</textField>
</band>
</detail>
<lastPageFooter>
<band height="8"/>
</lastPageFooter>
<summary>
<band height="30">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="95d7aa90-90da-4ddb-b63d-16a69e4996aa" stretchType="RelativeToTallestObject" x="0" y="0" width="86" height="18"/>
<box leftPadding="0">
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{header.filtro.total}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="f51d8633-b5be-438d-938a-d9ab8001fac0" stretchType="RelativeToTallestObject" x="562" y="0" width="32" height="18"/>
<box>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="styled">
<font fontName="SansSerif" size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{totalTaxa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="2998b4f4-b73e-4a24-9a40-d645ffe3b542" stretchType="RelativeToTallestObject" x="507" y="0" width="55" height="18"/>
<box>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="styled">
<font fontName="SansSerif" size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{totalTarifa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="933b9f19-86f6-40c1-a117-ac27ada061b7" stretchType="RelativeToTallestObject" x="680" y="0" width="40" height="18"/>
<box>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="styled">
<font fontName="SansSerif" size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{totalOutros}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="b5c7952a-dda9-4351-ae90-2a281d2ecebd" stretchType="RelativeToTallestObject" x="638" y="0" width="42" height="18"/>
<box>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="styled">
<font fontName="SansSerif" size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{totalSeguro}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="37014472-c5d8-4e1a-bf58-1b59a55bf44d" stretchType="RelativeToTallestObject" x="1155" y="0" width="155" height="18"/>
<box>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="styled">
<font fontName="SansSerif" size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{totalGeral}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="9a5cf2aa-0e3e-430f-9e66-773c4ab97da6" stretchType="RelativeToTallestObject" x="594" y="0" width="44" height="18"/>
<box>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="styled">
<font fontName="SansSerif" size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{totalPedagio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="3ab6c285-6689-4eb8-8d8c-3e6d80f6df1f" stretchType="RelativeToTallestObject" x="409" y="0" width="98" height="18"/>
<box>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="styled">
<font fontName="SansSerif" size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{totalBilhetes}]]></textFieldExpression>
</textField>
</band>
</summary>
<noData>
<band height="29">
<textField>
<reportElement x="0" y="2" width="575" height="26" uuid="6b9f63c1-76d9-4dd7-8fce-9bc0d91292af"/>
<reportElement uuid="6b9f63c1-76d9-4dd7-8fce-9bc0d91292af" x="0" y="2" width="575" height="26"/>
<textElement markup="none">
<font size="11" isBold="true"/>
</textElement>