<?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="RelatorioVendaBilhetePorEmpresaAutorizadora" pageWidth="1900" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1860" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
	<property name="ireport.zoom" value="1.610510000000003"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
	<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"/>
	<parameter name="DATA_INICIAL" class="java.util.Date"/>
	<parameter name="DATA_FINAL" class="java.util.Date"/>
	<parameter name="NOME_RELATORIO" class="java.lang.String"/>
	<parameter name="FILTROS" class="java.lang.String"/>
	<parameter name="USUARIO" class="java.lang.String"/>
	<parameter name="NUMPUNTOVENTA" class="java.lang.String"/>
	<parameter name="EMPRESA_ID" class="java.lang.Integer"/>
	<parameter name="EMPRESA" class="java.lang.String"/>
	<field name="CODIGO_AGENCIA" class="java.lang.String"/>
	<field name="NOME_AGENCIA" class="java.lang.String"/>
	<field name="CODIGO_BILHETEIRO" class="java.lang.String"/>
	<field name="NOME_BILHETEIRO" class="java.lang.String"/>
	<field name="NUMERO_PASSAGEM" class="java.math.BigDecimal"/>
	<field name="ORIGEM" class="java.lang.String"/>
	<field name="DESTINO" class="java.lang.String"/>
	<field name="TIPO_BILHETE" class="java.lang.String"/>
	<field name="STATUS_PASSAGEM" class="java.lang.String"/>
	<field name="DATA_VIAGEM" class="java.util.Date"/>
	<field name="SERVICO" class="java.math.BigDecimal"/>
	<field name="PEDAGIO" class="java.math.BigDecimal"/>
	<field name="TX_EMBARQUE" class="java.math.BigDecimal"/>
	<field name="TARIFA" class="java.math.BigDecimal"/>
	<field name="TOTAL_BILHETE" class="java.math.BigDecimal"/>
	<field name="CLASSE" class="java.lang.String"/>
	<field name="FORMAPAGO1" class="java.lang.String"/>
	<field name="VALORFORMAPAGO1" class="java.math.BigDecimal"/>
	<field name="FORMAPAGO2" class="java.lang.String"/>
	<field name="VALORFORMAPAGO2" class="java.math.BigDecimal"/>
	<field name="FORMAPAGO3" class="java.lang.String"/>
	<field name="VALORFORMAPAGO3" class="java.math.BigDecimal"/>
	<field name="EMPRESAAUTORIZADORA_ID" class="java.lang.String"/>
	<field name="EMPRESAAUTORIZADORA" class="java.lang.String"/>
	<field name="NUMBPE" class="java.lang.String"/>
	<field name="DATA_EVENTO" class="java.util.Date"/>
	<variable name="TOTAL_TARIFA" class="java.math.BigDecimal" resetType="Group" resetGroup="EMPRESA_AUTORIZADORA" calculation="Sum">
		<variableExpression><![CDATA[$F{TARIFA}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{TARIFA}.multiply(new java.math.BigDecimal("-1") ):$F{TARIFA}]]></variableExpression>
	</variable>
	<variable name="TOTALGERAL_TARIFA" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{TARIFA}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{TARIFA}.multiply(new java.math.BigDecimal("-1") ):$F{TARIFA}]]></variableExpression>
	</variable>
	<variable name="TOTAL_TXEMBARQUE" class="java.math.BigDecimal" resetType="Group" resetGroup="EMPRESA_AUTORIZADORA" calculation="Sum">
		<variableExpression><![CDATA[$F{TX_EMBARQUE}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{TX_EMBARQUE}.multiply(new java.math.BigDecimal("-1") ):$F{TX_EMBARQUE}]]></variableExpression>
	</variable>
	<variable name="TOTALGERAL_TXEMBARQUE" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{TX_EMBARQUE}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{TX_EMBARQUE}.multiply(new java.math.BigDecimal("-1") ):$F{TX_EMBARQUE}]]></variableExpression>
	</variable>
	<variable name="TOTAL_PEDAGIO" class="java.math.BigDecimal" resetType="Group" resetGroup="EMPRESA_AUTORIZADORA" calculation="Sum">
		<variableExpression><![CDATA[$F{PEDAGIO}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{PEDAGIO}.multiply(new java.math.BigDecimal("-1") ):$F{PEDAGIO}]]></variableExpression>
	</variable>
	<variable name="TOTALGERAL_PEDAGIO" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{PEDAGIO}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{PEDAGIO}.multiply(new java.math.BigDecimal("-1") ):$F{PEDAGIO}]]></variableExpression>
	</variable>
	<variable name="TOTAL_TOTALBILHETE" class="java.math.BigDecimal" resetType="Group" resetGroup="EMPRESA_AUTORIZADORA" calculation="Sum">
		<variableExpression><![CDATA[$F{TOTAL_BILHETE}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{TOTAL_BILHETE}.multiply(new java.math.BigDecimal("-1") ):$F{TOTAL_BILHETE}]]></variableExpression>
	</variable>
	<variable name="TOTALGERAL_TOTALBILHETE" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{TOTAL_BILHETE}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{TOTAL_BILHETE}.multiply(new java.math.BigDecimal("-1") ):$F{TOTAL_BILHETE}]]></variableExpression>
	</variable>
	<variable name="NEGATIVO" class="java.math.BigDecimal">
		<variableExpression><![CDATA[-1]]></variableExpression>
		<initialValueExpression><![CDATA[-1]]></initialValueExpression>
	</variable>
	<group name="EMPRESA_AUTORIZADORA">
		<groupExpression><![CDATA[$F{EMPRESAAUTORIZADORA_ID}]]></groupExpression>
		<groupHeader>
			<band height="14">
				<textField isStretchWithOverflow="true" isBlankWhenNull="false">
					<reportElement uuid="3ec93d43-1f08-475a-bd11-9bc53c203315" x="0" y="0" width="324" height="14"/>
					<textElement textAlignment="Left" markup="none">
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA["Empresa Autorizadora: "+$F{EMPRESAAUTORIZADORA}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="20">
				<textField isStretchWithOverflow="true" pattern="#,##0.00">
					<reportElement uuid="d4ba0dfb-85d4-4e41-9fd7-b624e4ad24c5" x="1096" y="0" width="50" height="20"/>
					<textElement textAlignment="Left">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{TOTAL_TARIFA}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement uuid="a2e25eb6-f853-493c-9852-0d1644153a75" mode="Transparent" x="0" y="0" width="996" height="20"/>
					<textElement>
						<font isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA["Total Empresa"]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00">
					<reportElement uuid="06ead246-abed-4d06-bb77-5545903c4b01" x="996" y="0" width="50" height="20"/>
					<textElement textAlignment="Left">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{TOTAL_TXEMBARQUE}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00">
					<reportElement uuid="05bfd805-a4f3-4c7f-9e9e-8678a608dc40" x="1046" y="0" width="50" height="20"/>
					<textElement textAlignment="Left">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{TOTAL_PEDAGIO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00">
					<reportElement uuid="65b21855-710a-4f81-a195-58478b535628" x="1146" y="0" width="70" height="20"/>
					<textElement textAlignment="Left">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{TOTAL_TOTALBILHETE}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<pageHeader>
		<band height="58">
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
				<reportElement uuid="42796e20-405c-441f-9fd9-b26238bc7cdb" mode="Transparent" x="44" y="15" width="51" height="14" 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"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
				<reportElement uuid="d2973779-79dc-4cc8-937a-e9167c42bab0" stretchType="RelativeToTallestObject" mode="Transparent" x="0" y="0" width="632" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="14" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
				<reportElement uuid="8730e85b-d436-42cd-beb6-1a881bad2478" mode="Transparent" x="105" y="15" width="51" height="14" 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"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="26bbd310-5e59-4975-a47f-b0048e80b1b6" mode="Transparent" x="0" y="15" width="44" height="14" 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"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="c486add3-94d7-419f-9f37-04f6a6da879e" x="43" y="43" width="1117" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="a179c478-4014-4b4a-abf0-4655e7588bf7" x="0" y="42" width="1860" height="1"/>
			</line>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="9630a784-5f92-4abe-805c-fd175e4f8241" mode="Transparent" x="0" y="43" width="43" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
				<reportElement uuid="91cded42-c53d-469a-abc7-6eb0d59f69af" mode="Transparent" x="1766" y="0" width="90" 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[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="62f6ba6e-1aaf-4449-aef6-2e9d6e541856" mode="Transparent" x="1686" y="30" width="170" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" 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"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="ba831a24-59f4-4f8f-888f-fd69711018e9" mode="Transparent" x="1686" y="15" width="170" 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{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}+$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="5cbb57ef-bd5e-4d1b-a077-d0ff398df801" x="1686" y="0" width="80" height="15"/>
				<textElement textAlignment="Right">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="6d6ab075-006c-4796-98d5-f047ae963876" mode="Transparent" x="95" y="15" width="10" height="14" 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"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="19" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="671f2713-5e23-417e-97da-02549215500a" mode="Transparent" x="504" y="0" width="60" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["N. BPE"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="175c2491-a0c4-47bb-bfb1-f8cbdfff876a" x="254" y="0" width="80" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Cód. Bilheteiro "]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="cf67c704-990d-476b-b216-6c6fc14f5016" x="74" y="0" width="40" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Cód. Agência"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="1469ff85-4d82-4fa7-9746-6adc51b556e5" x="334" y="0" width="110" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Nome Bilheteiro"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="6aff357a-a730-44d1-88cb-80544d6fba00" mode="Transparent" x="444" y="0" width="60" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["N. Sistema"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="e3bbc634-b28e-4fcb-a82b-988d8e080bb1" mode="Transparent" x="1046" y="0" width="50" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Pedágio"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="11dfc2fe-48d3-4288-a074-7eb075924340" mode="Transparent" x="706" y="0" width="140" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Destino"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="2809e7dc-46e7-4243-b0fa-166a2222c9f1" mode="Transparent" x="1096" y="0" width="50" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Tarifa"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="4e544fca-dc45-44b3-a40e-1f6b2982961f" x="114" y="0" width="140" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[" Descrição Agência"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="a9b82414-611c-4d1c-a369-e536f98ff6e4" mode="Transparent" x="564" y="0" width="142" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Origem"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="2b4c3898-232a-484b-8efc-fc7850cb5b25" mode="Transparent" x="996" y="0" width="50" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["T. Embarque"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="20a4a2ff-4ea0-4848-b708-f15afca68418" mode="Transparent" x="846" y="0" width="150" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Tipo do Bilhete"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="1c8e9abf-14c7-494d-a603-f747ac66ea29" mode="Transparent" x="1146" y="0" width="70" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Total Bilhetes"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="39b5610a-db3e-4f94-87bd-3d002a8cfef3" mode="Transparent" x="1517" y="0" width="104" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Status da Passagem"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="b3604fc8-3408-438f-81bb-8b45d3dc32eb" mode="Transparent" x="1621" y="0" width="45" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Serviço"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="052730da-5255-43f0-98f6-d684f498f3ab" mode="Transparent" x="1780" y="0" width="78" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Data Viagem"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="3e522921-6a78-489f-b7c8-9ca97f56e6f1" x="1666" y="0" width="114" height="19"/>
				<textElement markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Classe"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="55c20906-46ae-4431-81e5-07699fd6be50" x="1216" y="0" width="50" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["F. Pago1"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="48f23f9e-e535-4f9a-9cc8-2e2d94141ec3" x="1316" y="0" width="50" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["F. Pago2"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="4db63b6e-adf6-422d-a2f6-211502b60a08" x="1366" y="0" width="50" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Vlr. Pago2"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="6d900e09-0534-427c-a24d-c84f80e577f7" x="1416" y="0" width="50" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["F. Pago3"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="4a275045-5b3c-4e88-8e6f-0195934f7a7e" x="1466" y="0" width="50" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Vlr. Pago3"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="bb0765c8-5d83-4086-a854-ea5fa43dbf05" x="1266" y="0" width="50" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Vlr. Pago1"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="16673147-602d-4f0d-9a90-8ec5c0be12f8" x="0" y="0" width="74" height="19"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Data Mov."]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="20" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="e3a43e5d-2326-47c4-9d47-8c4d69d18d99" x="114" y="0" width="140" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{NOME_AGENCIA}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="82c36c16-1662-4af9-a285-c935ab350e79" x="254" y="0" width="80" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{CODIGO_BILHETEIRO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="ef45dd24-19e8-4e92-9759-f8e7a5c990eb" x="334" y="0" width="110" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{NOME_BILHETEIRO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="4cd8a33f-6aaa-47cb-949e-38c6b74d3d39" x="444" y="0" width="60" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{NUMERO_PASSAGEM}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="17011486-0d4c-4e22-b534-48e0bb025673" x="564" y="0" width="142" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{ORIGEM}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="a89c84e4-0e13-4e85-a565-9eb0bc6e5423" x="706" y="0" width="140" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{DESTINO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="7be97f5f-b36b-4679-befb-e5f2b4532963" x="846" y="0" width="150" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{TIPO_BILHETE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
				<reportElement uuid="7c1e2d86-f9ce-4730-866c-dc6cbdd0cf2c" x="996" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{TX_EMBARQUE}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{TX_EMBARQUE}.multiply(new java.math.BigDecimal("-1") ):$F{TX_EMBARQUE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
				<reportElement uuid="7c0246f5-739b-440c-a242-915117bd9fd1" x="1046" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{PEDAGIO}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{PEDAGIO}.multiply(new java.math.BigDecimal("-1") ):$F{PEDAGIO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
				<reportElement uuid="dd401917-6047-4e1b-9722-31fe8d096594" x="1096" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{TARIFA}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{TARIFA}.multiply(new java.math.BigDecimal("-1") ):$F{TARIFA}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="false">
				<reportElement uuid="27ec5d64-d949-4b02-a4a7-d6c5db93b3bd" x="1780" y="0" width="78" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{DATA_VIAGEM}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="f5f01da5-4ea3-41ba-8b58-b1f7e8e70601" x="1666" y="0" width="114" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{CLASSE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
				<reportElement uuid="4dafd61b-ce2b-4690-b029-2a1382113099" x="1146" y="0" width="70" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{TOTAL_BILHETE}!=null && $F{STATUS_PASSAGEM}.equals("CANCELADO")?$F{TOTAL_BILHETE}.multiply(new java.math.BigDecimal("-1") ):$F{TOTAL_BILHETE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="8ad565b3-b12c-4fef-a1c7-836e7415436d" x="1517" y="0" width="104" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{STATUS_PASSAGEM}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="b0200cfc-1b6b-4636-9f4b-5fe5d87c2687" x="1621" y="0" width="45" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{SERVICO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="f5f01da5-4ea3-41ba-8b58-b1f7e8e70601" x="1216" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{FORMAPAGO1}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="dd401917-6047-4e1b-9722-31fe8d096594" x="1266" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VALORFORMAPAGO1}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="f5f01da5-4ea3-41ba-8b58-b1f7e8e70601" x="1316" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{FORMAPAGO2}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="dd401917-6047-4e1b-9722-31fe8d096594" x="1366" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VALORFORMAPAGO2}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="f5f01da5-4ea3-41ba-8b58-b1f7e8e70601" x="1416" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{FORMAPAGO3}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="dd401917-6047-4e1b-9722-31fe8d096594" x="1466" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{VALORFORMAPAGO3}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="bc091860-adab-47d8-8352-982bc8e484a3" x="74" y="0" width="40" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{CODIGO_AGENCIA}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="55fef3d9-6429-411e-ac82-9a866f0c9548" x="504" y="0" width="60" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{NUMBPE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement uuid="7913b2bf-8633-4f59-8168-75ea82fbcfb3" x="0" y="0" width="74" height="20"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{DATA_EVENTO}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<summary>
		<band height="50">
			<textField isStretchWithOverflow="true" pattern="#,##0.00">
				<reportElement uuid="add74cc0-4939-49ac-b312-5728d0c84b3c" x="1096" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTALGERAL_TARIFA}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="4969aebc-8a77-4643-8656-be28253ecab9" mode="Transparent" x="0" y="0" width="996" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Total Geral"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00">
				<reportElement uuid="dedcc820-6920-4ebb-b20b-86552ef15c88" x="996" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTALGERAL_TXEMBARQUE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00">
				<reportElement uuid="74c9f5d0-242c-45a1-98e0-77ec4a50694a" x="1046" y="0" width="50" height="20"/>
				<textElement textAlignment="Left">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTALGERAL_PEDAGIO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00">
				<reportElement uuid="eda46e37-be64-4972-83c0-fcea207274e1" x="1146" y="0" width="70" height="20"/>
				<textElement textAlignment="Left">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTALGERAL_TOTALBILHETE}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="20">
			<textField>
				<reportElement uuid="995c4c61-6291-4e5f-8d92-b75502a10466" x="84" y="0" width="530" height="20"/>
				<textElement markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
