<?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="RelatorioVendasPacotesBoletos" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="empresa" class="java.lang.String"/>
	<parameter name="noDataRelatorio" class="java.lang.String"/>
	<parameter name="subreporte" class="net.sf.jasperreports.engine.JasperReport"/>
	<parameter name="SUBREPORT_RESOURCE_BUNDLE_1" class="java.util.ResourceBundle"/>
	<parameter name="trecho" class="java.lang.String"/>
	<parameter name="origem" class="java.lang.String"/>
	<parameter name="destino" class="java.lang.String"/>
	<parameter name="usuario" class="java.lang.String"/>
	<parameter name="SUBREPORT_RESOURCE_BUNDLE_2" class="java.util.ResourceBundle"/>
	<parameter name="subreporteTotais" class="net.sf.jasperreports.engine.JasperReport"/>
	<parameter name="totais" class="java.util.List"/>
	<parameter name="tipoTarifaPacote" class="java.lang.String"/>
	<parameter name="periodoPacote" class="java.lang.String"/>
	<parameter name="periodoVenda" class="java.lang.String"/>
	<parameter name="situacaoBilhete" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="relatorioVendasPacotesBoletosItemBeans" class="java.util.List"/>
	<field name="descorigen" class="java.lang.String"/>
	<field name="descdestino" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="160" splitType="Stretch">
			<textField>
				<reportElement x="0" y="0" width="620" height="20" uuid="43b2c28d-4760-4890-b00d-25e931e79c74"/>
				<textElement markup="none">
					<font size="14" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.nome}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement x="638" y="0" width="164" height="20" uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="20" width="620" height="20" uuid="a16eb33b-78ca-4fb4-80c2-f5c85a0d09c3"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.empresa} + " " + $P{empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="40" width="620" height="20" uuid="fd05bd35-30d9-4baf-aa56-f8e5d3c3268b"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.periodoVenda} + " " + $P{periodoVenda}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="80" width="802" height="20" uuid="bc1ac781-2bb6-40ef-92dd-d4f07f327d18"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.origem} + " " + $P{origem} + " / " + $R{cabecalho.destino} + " " + $P{destino}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="100" width="802" height="20" uuid="1cfececb-aab4-4ec7-a002-b7a45c567252"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.usuario} + " " + $P{usuario}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="120" width="802" height="20" uuid="8b436394-0e3c-420e-b2dd-2b62ee7ed988"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.tipoTarifaPacote} + " " + $P{tipoTarifaPacote}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="60" width="620" height="20" uuid="5cf60597-1643-473f-ad7d-9a5748fcf2a6"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.periodoPacote} + " " + $P{periodoPacote}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="140" width="802" height="20" uuid="10191622-490c-4eb8-800c-efe85abed02b"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.situacaoBilhete} + " " + $P{situacaoBilhete}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="26" splitType="Stretch">
			<textField>
				<reportElement x="607" y="0" width="195" height="20" uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.pagina} + " " + $V{PAGE_NUMBER}+ " " + $R{cabecalho.de} + " " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="79" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement positionType="Float" x="0" y="7" width="802" height="20" isPrintWhenDetailOverflows="true" uuid="752263b1-e76b-41c5-a728-c17367094dab"/>
				<textElement verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.trecho} + " " + $F{descorigen} + "/" + $F{descdestino}]]></textFieldExpression>
			</textField>
			<subreport isUsingCache="true">
				<reportElement positionType="Float" x="0" y="33" width="802" height="38" uuid="75fad27f-9275-4535-844a-316ac8365073"/>
				<subreportParameter name="REPORT_RESOURCE_BUNDLE">
					<subreportParameterExpression><![CDATA[$P{SUBREPORT_RESOURCE_BUNDLE_1}]]></subreportParameterExpression>
				</subreportParameter>
				<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{relatorioVendasPacotesBoletosItemBeans})]]></dataSourceExpression>
				<subreportExpression><![CDATA[$P{subreporte}]]></subreportExpression>
			</subreport>
			<line>
				<reportElement positionType="Float" x="0" y="4" width="802" height="1" uuid="29d8e10c-62eb-4a5b-b71a-05bb44438009"/>
			</line>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<noData>
		<band height="24">
			<textField isBlankWhenNull="true">
				<reportElement positionType="Float" x="0" y="0" width="555" height="20" isPrintWhenDetailOverflows="true" uuid="d7df66c6-4dc0-4f3b-88f4-b22094d29091"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
