<?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="RelatorioPosicaoVendaBilheteIdosoPorPassageiro" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="7e37af0b-caa1-4f25-831c-5cbb2bb78560">
	<property name="ireport.zoom" value="1.2100000000000002"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="NOME_RELATORIO" class="java.lang.String"/>
	<parameter name="empresa" class="java.lang.String"/>
	<parameter name="linha" class="java.lang.String"/>
	<parameter name="tipoData" class="java.lang.String"/>
	<parameter name="periodo" class="java.lang.String"/>
	<parameter name="orgao" class="java.lang.String"/>
	<field name="origem" class="java.lang.String"/>
	<field name="destino" class="java.lang.String"/>
	<field name="data_venda" class="java.lang.String"/>
	<field name="data_viagem" class="java.lang.String"/>
	<field name="nome_passageiro" class="java.lang.String"/>
	<field name="documento" class="java.lang.String"/>
	<field name="descRuta" class="java.lang.String"/>
	<field name="descCategoria" class="java.lang.String"/>
	<variable name="contador" class="java.lang.Integer" resetType="Group" resetGroup="ruta" calculation="Count">
		<variableExpression><![CDATA[$F{origem}]]></variableExpression>
	</variable>
	<group name="ruta">
		<groupExpression><![CDATA[$F{descRuta}]]></groupExpression>
		<groupHeader>
			<band height="42">
				<textField>
					<reportElement uuid="973583ee-63e4-4b32-a10e-b908debc4284" x="12" y="0" width="256" height="20"/>
					<textElement>
						<font isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{descRuta}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement uuid="ab86ac11-f143-40c3-8abf-f3666b2e7407" x="42" y="22" width="256" height="20"/>
					<textElement>
						<font isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{descCategoria}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="25">
				<textField>
					<reportElement uuid="b89cb198-1a50-430e-903e-d0059749b880" x="453" y="5" width="100" height="20"/>
					<textElement/>
					<textFieldExpression><![CDATA[$V{contador}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement uuid="8293e033-f13f-414b-901c-3428fbafff42" x="402" y="5" width="51" height="20"/>
					<textElement/>
					<text><![CDATA[Qtde]]></text>
				</staticText>
				<line>
					<reportElement uuid="6661d4ec-4f67-44b6-95de-e7245a0ef65e" x="0" y="2" width="553" height="1"/>
				</line>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<pageHeader>
		<band height="141" splitType="Stretch">
			<textField isStretchWithOverflow="true">
				<reportElement uuid="e4d992c9-eb58-4b1e-878c-51ae5c729ab5" x="0" y="0" width="555" height="25"/>
				<textElement textAlignment="Center">
					<font size="14" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="b6b378f0-944f-4749-9a9d-3e472361e7f7" x="0" y="39" width="100" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="8c699a77-f856-411f-9fac-501e7302c091" x="130" y="39" width="424" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="50284f0b-f675-46bb-8631-39946652702e" x="0" y="59" width="99" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.linhas}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="82bb8887-102e-4aac-a389-754fc985b623" x="130" y="59" width="424" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{linha}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="28aef032-0c0f-4e29-9f6a-5ae97f7be996" x="130" y="79" width="424" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{tipoData}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="acfcccfb-73e8-41a6-ac90-9aa1a86f6487" x="0" y="79" width="99" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.tipoData}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="9d5eb781-7cdf-4c6e-95a6-d16b53a2d20e" x="0" y="99" width="99" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="173b3e52-5b2e-4876-b40d-2774497dfbbe" x="130" y="99" width="424" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{periodo}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="ef42d3b8-d503-4309-a5ea-8f2b934d6ca9" x="0" y="139" width="554" height="1"/>
			</line>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="de253e75-48e4-4e9b-9dc7-726cce57dc72" x="0" y="119" width="99" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.orgao}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="35a35927-834b-4e52-83f8-a7e344cc8ce2" x="130" y="119" width="424" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{orgao}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="20" splitType="Stretch">
			<staticText>
				<reportElement uuid="7dfac679-5777-44d4-ad71-1d3f9a357d6c" x="0" y="0" width="100" height="20"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<text><![CDATA[Origem]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="97304743-de9a-4844-8e9d-379d072740cf" x="100" y="0" width="100" height="20"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<text><![CDATA[Destino]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="8d03ea0b-eb6f-4747-81d8-864d399fd64a" x="200" y="0" width="71" height="20"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<text><![CDATA[Data Movimento]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="4c1e5926-c37e-456d-94ce-5e31e7c27757" x="271" y="0" width="85" height="20"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<text><![CDATA[Data Partida]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="d00c3059-6ba6-49f0-bd00-8b6152b9dae5" x="356" y="0" width="127" height="20"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<text><![CDATA[Nome]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="4f35ab49-374e-4e2c-9e74-228d741e9b57" x="483" y="0" width="72" height="20"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<text><![CDATA[Documento]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="20" splitType="Stretch">
			<textField isStretchWithOverflow="true">
				<reportElement uuid="69fbf8f0-42ff-4ac1-b4c3-98cb8981756d" x="0" y="0" width="100" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="736fff80-1a77-49d3-ac6e-6db0455dea25" x="100" y="0" width="100" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="24dc6a67-c61b-455b-92cf-6513bf0dd395" x="200" y="0" width="71" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{data_venda}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="1c152ef7-6a39-4213-89f2-6c132b72fec2" x="271" y="0" width="85" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{data_viagem}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="baef4435-91db-4234-a7dd-4f4c68dd4934" x="356" y="0" width="127" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{nome_passageiro}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="7b56a17d-dce8-44c3-9bfc-4e662ddb039a" x="483" y="0" width="72" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{documento}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<summary>
		<band height="20" splitType="Stretch">
			<staticText>
				<reportElement uuid="d454cd13-ae90-46ff-8068-b10367b2dbad" x="402" y="0" width="51" height="20"/>
				<textElement/>
				<text><![CDATA[Qtde Total]]></text>
			</staticText>
			<textField>
				<reportElement uuid="73cbc35e-9bc9-4bb0-a6e6-51ca0f2b49c5" x="455" y="0" width="100" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$V{REPORT_COUNT}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="50">
			<textField>
				<reportElement uuid="09b96c81-b864-4947-8a86-27e7e007139d" x="24" y="24" width="530" height="26"/>
				<textElement markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
