<?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="RelatorioTaxasLinha" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
	<property name="ireport.zoom" value="2.0"/>
	<property name="ireport.x" value="250"/>
	<property name="ireport.y" value="0"/>
	<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
	<style name="table">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<parameter name="DATA_INICIAL" class="java.util.Date"/>
	<parameter name="DATA_FINAL" class="java.util.Date"/>
	<parameter name="EMPRESA" class="java.lang.String"/>
	<parameter name="NOME_RELATORIO" class="java.lang.String"/>
	<parameter name="EMPRESA_ID" class="java.lang.Integer"/>
	<parameter name="USUARIO" class="java.lang.String"/>
	<parameter name="FILTROS" class="java.lang.String"/>
	<parameter name="TIPO_DATA" class="java.lang.Integer"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="dataVenda" class="java.util.Date"/>
	<field name="origem" class="java.lang.String"/>
	<field name="destino" class="java.lang.String"/>
	<field name="valorTaxa" class="java.math.BigDecimal"/>
	<field name="empresa" class="java.lang.String"/>
	<field name="agencia" class="java.lang.String"/>
	<field name="poltrona" class="java.lang.String"/>
	<field name="numBilhete" class="java.lang.Long"/>
	<field name="dataViaje" class="java.util.Date"/>
	<field name="status" class="java.lang.String"/>
	<variable name="valorTaxa_1" class="java.math.BigDecimal" resetType="Group" resetGroup="AgenciaGroup" calculation="Sum">
		<variableExpression><![CDATA[$F{valorTaxa}]]></variableExpression>
	</variable>
	<variable name="valorTaxa_2" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
		<variableExpression><![CDATA[$F{valorTaxa}]]></variableExpression>
	</variable>
	<variable name="valorTaxa_3" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{valorTaxa}]]></variableExpression>
	</variable>
	<group name="grpEmpresa">
		<groupExpression><![CDATA[$F{empresa}]]></groupExpression>
		<groupHeader>
			<band height="14">
				<textField>
					<reportElement uuid="95e0028f-60d8-4bbf-afea-a2f3d40b2deb" x="0" y="0" width="187" height="14"/>
					<textElement verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA["Empresa: "+$F{empresa}]]></textFieldExpression>
				</textField>
				<line>
					<reportElement uuid="d9f712d0-01a8-4241-a1e6-dc096b4ee773" x="0" y="0" width="552" height="1"/>
					<graphicElement>
						<pen lineWidth="0.5"/>
					</graphicElement>
				</line>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="12">
				<staticText>
					<reportElement uuid="2a963103-78f6-46c6-ac37-29ed4654df56" x="0" y="0" width="51" height="11"/>
					<textElement/>
					<text><![CDATA[Total Empresa: ]]></text>
				</staticText>
				<line>
					<reportElement uuid="7fc66df3-edd7-4149-847e-1375a3621e80" x="0" y="10" width="554" height="1" forecolor="#666666"/>
					<graphicElement>
						<pen lineWidth="0.5"/>
					</graphicElement>
				</line>
				<line>
					<reportElement uuid="c4a77336-68c6-4e8e-8cd0-ee9c5cdcea51" x="0" y="0" width="554" height="1" forecolor="#666666"/>
					<graphicElement>
						<pen lineWidth="0.5"/>
					</graphicElement>
				</line>
				<textField pattern="#,##0.00">
					<reportElement uuid="6f182823-9822-49ec-a0e1-76cca114addc" x="425" y="1" width="70" height="11"/>
					<textElement textAlignment="Right"/>
					<textFieldExpression><![CDATA[$V{valorTaxa_2}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="AgenciaGroup">
		<groupExpression><![CDATA[$F{agencia}]]></groupExpression>
		<groupHeader>
			<band height="11">
				<staticText>
					<reportElement uuid="32c20a27-414c-41be-86b2-0d23645acd18" x="0" y="0" width="88" height="11"/>
					<box leftPadding="10"/>
					<textElement>
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Agência]]></text>
				</staticText>
				<textField>
					<reportElement uuid="b2a45c9f-3da0-4273-9941-c9e31ee61723" x="88" y="0" width="88" height="11"/>
					<textElement>
						<font isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{agencia}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<pageHeader>
		<band height="58" splitType="Stretch">
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="2ed4524d-5c06-487c-a8f1-abc59a8ef7fc" mode="Transparent" x="1" y="1" width="257" 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"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="fc199edd-4f2f-4b5f-9397-44f4af50a920" mode="Transparent" x="1" y="16" 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 pattern="dd/MM/yyyy" isBlankWhenNull="false">
				<reportElement uuid="f64c2e3c-d936-4072-a0b1-d914f408bbbb" mode="Transparent" x="46" y="16" width="67" 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 pattern="dd/MM/yyyy" isBlankWhenNull="false">
				<reportElement uuid="00093c35-d3a5-4b0e-8a7a-26a86912dd25" mode="Transparent" x="123" y="16" width="67" 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="def1b81c-a286-4749-9ef7-f90984a3a5eb" mode="Transparent" x="113" y="16" 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>
			<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
				<reportElement uuid="ea4dfc22-27b5-4600-8e8b-7d74460ed744" mode="Transparent" x="461" y="0" width="89" 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>
			<line>
				<reportElement uuid="d9b398e6-2fe9-4a3d-bceb-f9db7a06e5a9" x="-4" y="43" width="554" height="1"/>
			</line>
			<textField>
				<reportElement uuid="a46c91f5-fb60-48d8-93c1-3814ce0160dd" x="379" 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="623b5d82-e7b3-4439-96c5-f44833fb8864" mode="Transparent" x="450" y="31" width="100" 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="ccec8b66-ed79-418b-b66d-15d9ed3bf2ce" mode="Transparent" x="1" y="44" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Middle" 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.filtros}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="98fc1c7e-3fee-4c70-924f-2cbb17fd243f" x="47" y="44" width="717" height="14"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="6aae4c9b-2e2a-4fd5-9115-760449d3c263" mode="Transparent" x="430" y="16" width="105" 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}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement uuid="5a57c3a1-ed8e-46fb-836f-d250116a238a" mode="Transparent" x="535" y="16" width="15" 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"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="12">
			<line>
				<reportElement uuid="04a75f17-3686-484b-be43-7b7e22e9def7" x="0" y="0" width="554" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement uuid="9c579f27-ee14-4804-b73d-64994a6e41ec" x="140" y="1" width="40" height="11"/>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<text><![CDATA[Poltrona]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f" x="0" y="1" width="70" height="11"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<text><![CDATA[Origem]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="4c091486-f854-428c-8123-185e03cdfcdd" x="70" y="1" width="70" height="11"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<text><![CDATA[Destino]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="2c9f7206-dbc2-4d83-a9d9-66848c0014d9" x="180" y="1" width="60" height="11"/>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<text><![CDATA[Numero Bilhete]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="d124642f-8c19-4b83-9c96-548cfceb83cf" x="240" y="1" width="70" height="11"/>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<text><![CDATA[Data Venda]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="4ea45d92-24ea-4336-b4f1-7465ebda8c0f" x="310" y="1" width="70" height="11"/>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<text><![CDATA[Data Viaje]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="442552d1-bdb7-44e3-a456-3578f64334ce" x="425" y="1" width="70" height="11"/>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<text><![CDATA[Valor Taxa]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="dbd45011-81da-45b3-95bf-8cef85f0d0a4" x="380" y="1" width="45" height="11"/>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<text><![CDATA[Status]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="12">
			<textField>
				<reportElement uuid="b12cbc2b-3eac-4c2c-b94c-cac2e746b2c2" x="0" y="1" width="70" height="11"/>
				<box rightPadding="5"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="f868a599-c0bb-4187-97b6-7681b753abbf" x="70" y="1" width="70" height="11"/>
				<box rightPadding="5"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
			</textField>
			<textField pattern="">
				<reportElement uuid="6454beed-fb72-4aa5-8bff-7eb4ea6c26ba" x="180" y="1" width="60" height="11"/>
				<box rightPadding="5"/>
				<textElement textAlignment="Right" markup="none">
					<font isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{numBilhete}]]></textFieldExpression>
			</textField>
			<textField pattern="">
				<reportElement uuid="1242bccb-ce44-47d6-ac13-6f4df97f707e" x="140" y="1" width="40" height="11"/>
				<box rightPadding="5"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$F{poltrona}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement uuid="2184d556-1501-4525-8d09-510f9d798b86" x="240" y="1" width="70" height="11"/>
				<box rightPadding="5"/>
				<textElement textAlignment="Right">
					<font isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataVenda}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement uuid="7059069b-3c22-416a-afc1-d05473a3d429" x="310" y="1" width="70" height="11"/>
				<box rightPadding="5"/>
				<textElement textAlignment="Right">
					<font isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataViaje}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="049ba79a-5ee9-4ee2-80d7-d498ad7d7125" x="380" y="1" width="45" height="11"/>
				<box rightPadding="5"/>
				<textElement textAlignment="Right">
					<font isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement uuid="c15ba1bc-2040-4a73-a221-52d574fbedb4" x="425" y="1" width="70" height="11"/>
				<textElement textAlignment="Right">
					<font isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorTaxa}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<lastPageFooter>
		<band height="11">
			<staticText>
				<reportElement uuid="f7ac3bf7-ac60-405e-b2a3-60c9150421a0" x="0" y="0" width="51" height="11"/>
				<textElement/>
				<text><![CDATA[Total Geral: ]]></text>
			</staticText>
			<line>
				<reportElement uuid="06fb8df2-dbea-44e7-9e45-21f8aa82f939" x="0" y="10" width="554" height="1" forecolor="#666666"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<textField pattern="#,##0.00">
				<reportElement uuid="58961ea4-a59e-4a77-b898-b2df93fc43cb" x="425" y="1" width="70" height="10"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$V{valorTaxa_3}]]></textFieldExpression>
			</textField>
		</band>
	</lastPageFooter>
	<noData>
		<band height="39">
			<textField>
				<reportElement uuid="a640c0eb-ead8-4a2a-bda4-675165e8bc7d" x="198" y="8" width="530" height="20"/>
				<textElement markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
