<?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="RelatorioImpressaoPosterior" pageWidth="1167" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1127" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" resourceBundle="RelatorioImpressaoPosterior" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
	<property name="ireport.zoom" value="1.1269722013523684"/>
	<property name="ireport.x" value="324"/>
	<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"/>
	<property name="collapseRowSpan" value="false"/>
	<parameter name="datVendaInicial" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="datVendaFinal" class="java.lang.String"/>
	<parameter name="horVendaInicial" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="horVendaFinal" class="java.lang.String"/>
	<parameter name="TITULO" class="java.lang.String"/>
	<parameter name="empresaNome" class="java.lang.String"/>
	<parameter name="datViagemInicial" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="datViagemFinal" class="java.lang.String"/>
	<parameter name="horViagemInicial" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="horViagemFinal" class="java.lang.String"/>
	<parameter name="DESCORIGEM" class="java.lang.String"/>
	<parameter name="DESCDESTINO" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="empresa" class="java.lang.String"/>
	<field name="documento" class="java.lang.String"/>
	<field name="localizador" class="java.lang.String"/>
	<field name="nome" class="java.lang.String"/>
	<field name="reserva" class="java.lang.String"/>
	<field name="origem" class="java.lang.String"/>
	<field name="destino" class="java.lang.String"/>
	<field name="telefone" class="java.lang.String"/>
	<field name="dataVenda" class="java.util.Date"/>
	<field name="dataEmbarque" class="java.util.Date"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<pageHeader>
		<band height="59" splitType="Stretch">
			<textField>
				<reportElement x="748" y="0" width="56" height="20" uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60"/>
				<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement x="968" y="0" width="32" height="20" uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="902" y="0" width="42" height="20" uuid="be1692e9-f130-4d08-9173-6ca3e4699030"/>
				<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="0" width="231" height="20" uuid="652312bd-292a-424d-a234-5f157e3699c6"/>
				<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement x="804" y="0" width="98" height="20" uuid="6f671365-868e-41a6-81ee-a308d1d91e1d"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="944" y="0" width="24" height="20" uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de " + $V{PAGE_COUNT}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="0" y="19" width="48" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="08817d2b-5f71-4c7a-9880-51c1a791ad04"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{empresaNome}.equals("") ?"":$R{header.empresa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="48" y="19" width="265" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="64d97814-2298-4fd7-bb29-dc868f21c951"/>
				<textElement textAlignment="Left" markup="none">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{empresaNome}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="655" y="19" width="82" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="1830cc44-0cd0-40c3-a352-9fd6d5ad0471"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[($P{datViagemInicial}.equals("")
    && $P{datViagemFinal}.equals("") )?"":$R{header.dataViagem}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="737" y="19" width="53" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="1e35ee01-765e-4934-9ea5-6856a1575acd"/>
				<textFieldExpression><![CDATA[$P{datViagemInicial}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="832" y="19" width="53" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="3b02a561-0da9-4913-96d2-e9774d7f6464"/>
				<textFieldExpression><![CDATA[$P{datViagemFinal}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="HH:mm" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="790" y="19" width="40" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="ba8a39ea-b2cb-4a17-ae10-11f3b9e34070"/>
				<textFieldExpression><![CDATA[$P{horViagemInicial}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="HH:mm" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="885" y="19" width="40" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="3b2d3d8e-7349-4b5a-8e2c-8b9f06fc0068"/>
				<textFieldExpression><![CDATA[$P{horViagemFinal}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="HH:mm" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="593" y="19" width="40" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="6e49c88c-fbbe-4bf2-87ca-8ca98928443a"/>
				<textFieldExpression><![CDATA[$P{horVendaFinal}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="HH:mm" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="498" y="19" width="40" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="c3848264-d704-4f24-93d9-cb79c3671ad6"/>
				<textFieldExpression><![CDATA[$P{horVendaInicial}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="445" y="19" width="53" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="12fc5149-e7b4-444f-9b2d-963fd15e985c"/>
				<textFieldExpression><![CDATA[$P{datVendaInicial}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="540" y="19" width="53" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="a8e3d548-876e-4516-a996-ca14e281abb9"/>
				<textFieldExpression><![CDATA[$P{datVendaFinal}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="363" y="19" width="82" height="20" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="960691c6-1430-4295-b83b-45a01e3a053d"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[($P{datVendaInicial}.equals("")
    && $P{datVendaFinal}.equals("")) ?"":$R{header.dataVenda}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="48" y="39" width="435" height="20" isRemoveLineWhenBlank="true" uuid="24f832ad-1ab4-4f55-80fd-fbd43e5de83a"/>
				<textFieldExpression><![CDATA[$P{DESCORIGEM}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="558" y="39" width="443" height="20" isRemoveLineWhenBlank="true" uuid="a739eead-b988-4a95-8826-e8c67c20a65f"/>
				<textFieldExpression><![CDATA[$P{DESCDESTINO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="0" y="39" width="48" height="20" isRemoveLineWhenBlank="true" uuid="f1f50222-31cf-45d2-9727-ebea094330de"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DESCORIGEM}.equals("") ?null:$R{header.origem}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="510" y="39" width="48" height="20" isRemoveLineWhenBlank="true" uuid="8206c776-c0e7-487d-a0d8-e7ef85db65d8"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DESCDESTINO}.equals("") ?null:$R{header.destino}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="24" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="220" y="2" width="78" height="20" isPrintWhenDetailOverflows="true" uuid="bbaa5f53-76e0-491e-9145-e522122709e5"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.localizador}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="469" y="2" width="74" height="20" isPrintWhenDetailOverflows="true" uuid="e3f4df4e-24a9-45b3-8ac3-f8b66d46a15f"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.reserva}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="933" y="2" width="97" height="20" isPrintWhenDetailOverflows="true" uuid="2b25ca5a-2c25-4c7d-87d1-5bfd205177a9"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.dataVenda}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="1030" y="2" width="97" height="20" isPrintWhenDetailOverflows="true" uuid="ab6b6770-67e8-4224-9304-8de30d3c1384"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.dataEmbarque}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="835" y="2" width="98" height="20" isPrintWhenDetailOverflows="true" uuid="79775d53-3de4-4c0c-8ec7-3be13738dc14"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.telefone}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="543" y="2" width="139" height="20" isPrintWhenDetailOverflows="true" uuid="746627ad-15b0-4435-93ce-6d370b75e594"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.origem}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="682" y="2" width="153" height="20" isPrintWhenDetailOverflows="true" uuid="0844b500-feab-477d-ade1-2d943491de32"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.destino}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="298" y="2" width="171" height="20" isPrintWhenDetailOverflows="true" uuid="662a695a-05d9-452e-986f-01b921bc1eb4"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.nome}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement mode="Transparent" x="0" y="23" width="1127" height="1" uuid="ae94e51c-f84c-405c-a9c3-d8fd0c48f03a"/>
			</line>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="0" y="2" width="165" height="20" isPrintWhenDetailOverflows="true" uuid="2cbc8ddc-38e5-4914-8189-5761ddeb2ce9"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="165" y="2" width="55" height="20" isPrintWhenDetailOverflows="true" uuid="7965e761-2e24-4f17-84eb-9431c98ce72c"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.documento}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="0" width="1127" height="1" uuid="ee05e1fa-6963-4ff9-b3c8-c6cd1bb54e94"/>
			</line>
		</band>
	</columnHeader>
	<detail>
		<band height="17" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="682" y="0" width="153" height="17" isPrintWhenDetailOverflows="true" uuid="784343f8-f7aa-4997-82e7-312878bd9a27"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="165" y="0" width="55" height="17" isPrintWhenDetailOverflows="true" uuid="ad46494b-0240-46d1-a775-f91f0035d7f8"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{documento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="220" y="0" width="78" height="17" isPrintWhenDetailOverflows="true" uuid="1ed844e5-7aa4-49ee-8024-765e5ae49f74"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{localizador}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="835" y="0" width="98" height="17" isPrintWhenDetailOverflows="true" uuid="92017408-1781-4e17-90b7-5ff86457cf6d"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{telefone}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="1030" y="0" width="97" height="17" isPrintWhenDetailOverflows="true" uuid="7f08e540-2cf9-4da3-b40a-fb7d5275751f"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataEmbarque}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="933" y="0" width="97" height="17" isPrintWhenDetailOverflows="true" uuid="16c5bcd4-ac1c-4c49-b065-5794fb9c2e32"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataVenda}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="165" height="17" isPrintWhenDetailOverflows="true" uuid="16f536ed-9001-4b34-85f4-a01198390b7d"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="298" y="0" width="171" height="17" isPrintWhenDetailOverflows="true" uuid="55e91fa2-9525-4763-aea0-15d1632b9bad"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nome}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="469" y="0" width="74" height="17" isPrintWhenDetailOverflows="true" uuid="0ed9578b-73d5-4f51-b21c-07d9419bbc08"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{reserva}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="543" y="0" width="139" height="17" isPrintWhenDetailOverflows="true" uuid="36f5d507-0340-4c7e-b44b-5057c1e8bee6"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="11" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<noData>
		<band height="20">
			<textField>
				<reportElement x="0" y="0" width="754" height="20" uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620"/>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
