<?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="RelatorioCaixaOrgaoConcedente" pageWidth="950" pageHeight="585" orientation="Landscape" columnWidth="930" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" uuid="3ee05e26-199e-4ad2-a96b-dd421627aceb">
	<property name="ireport.zoom" value="1.239669421487605"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="9"/>
	<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"/>
	<style name="cancelados_devolvidos" forecolor="#000000">
		<conditionalStyle>
			<conditionExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") || $F{tipo}.equals("QUITACAO OCD")]]></conditionExpression>
			<style forecolor="#FF0000"/>
		</conditionalStyle>
	</style>
	<parameter name="USUARIO_ID" class="java.lang.String"/>
	<parameter name="linhas" class="java.lang.String"/>
	<parameter name="TITULO" class="java.lang.String"/>
	<parameter name="fecInicio" class="java.lang.String"/>
	<parameter name="fecFinal" class="java.lang.String"/>
	<parameter name="nomb_empresa" class="java.lang.String"/>
	<parameter name="orgaoConcedente" class="java.lang.String"/>
	<parameter name="nombPuntoVenta" class="java.lang.String"/>
	<parameter name="nombUsuario" class="java.lang.String"/>
	<field name="qtde" class="java.lang.Integer"/>
	<field name="tarifa" class="java.math.BigDecimal"/>
	<field name="taxaembarque" class="java.math.BigDecimal"/>
	<field name="pedagio" class="java.math.BigDecimal"/>
	<field name="outros" class="java.math.BigDecimal"/>
	<field name="seguro" class="java.math.BigDecimal"/>
	<field name="tipo" class="java.lang.String"/>
	<field name="orgaoConcedenteId" class="java.lang.Number"/>
	<field name="descOrgaoConcedente" class="java.lang.String"/>
	<field name="categoria" class="java.lang.String"/>
	<variable name="soma" class="java.math.BigDecimal" resetType="None">
		<variableExpression><![CDATA[$F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} )]]></variableExpression>
	</variable>
	<variable name="total" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") || $F{tipo}.equals("QUITACAO OCD")
?
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} )).multiply( new java.math.BigDecimal("-1") )
:
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} ))]]></variableExpression>
		<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<variable name="totalQte" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[($F{tipo}.equals("CANCELADO")) || ($F{tipo}.equals("DEVOLUCAO")) || $F{tipo}.equals("QUITACAO OCD")
?
$F{qtde}* -1
:
$F{qtde}]]></variableExpression>
	</variable>
	<variable name="totalTarifa" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[($F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO")) || $F{tipo}.equals("QUITACAO OCD")
?
$F{tarifa}.multiply( new java.math.BigDecimal("-1") )
:
$F{tarifa}]]></variableExpression>
	</variable>
	<variable name="totalTaxaEmbarque" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[($F{tipo}.equals("CANCELADO")) || ($F{tipo}.equals("DEVOLUCAO")) || $F{tipo}.equals("QUITACAO OCD")
?
$F{taxaembarque}.multiply( new java.math.BigDecimal("-1") )
:
$F{taxaembarque}]]></variableExpression>
	</variable>
	<variable name="totalPedagio" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") || $F{tipo}.equals("QUITACAO OCD")
?
$F{pedagio}.multiply( new java.math.BigDecimal("-1") )
:
$F{pedagio}]]></variableExpression>
	</variable>
	<variable name="totalOutros" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") || $F{tipo}.equals("QUITACAO OCD")
?
$F{outros}.multiply( new java.math.BigDecimal("-1") )
:
$F{outros}]]></variableExpression>
	</variable>
	<variable name="totalSeguro" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") || $F{tipo}.equals("QUITACAO OCD")
?
$F{seguro}.multiply( new java.math.BigDecimal("-1") )
:
$F{seguro}]]></variableExpression>
	</variable>
	<variable name="totalGeral" class="java.math.BigDecimal">
		<variableExpression><![CDATA[$V{total}]]></variableExpression>
		<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<variable name="totalOrgaoQte" class="java.lang.Integer" resetType="Group" resetGroup="descorgao" calculation="Sum">
		<variableExpression><![CDATA[($F{tipo}.equals("CANCELADO")) || ($F{tipo}.equals("DEVOLUCAO")) || $F{tipo}.equals("QUITACAO OCD")
?
$F{qtde}* -1
:
$F{qtde}]]></variableExpression>
	</variable>
	<variable name="totalOrgaoTarifa" class="java.math.BigDecimal" resetType="Group" resetGroup="descorgao" calculation="Sum">
		<variableExpression><![CDATA[($F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO")) || $F{tipo}.equals("QUITACAO OCD")
?
$F{tarifa}.multiply( new java.math.BigDecimal("-1") )
:
$F{tarifa}]]></variableExpression>
	</variable>
	<variable name="totalOrgaoSeguro" class="java.math.BigDecimal" resetType="Group" resetGroup="descorgao" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") || $F{tipo}.equals("QUITACAO OCD")
?
$F{seguro}.multiply( new java.math.BigDecimal("-1") )
:
$F{seguro}]]></variableExpression>
	</variable>
	<variable name="totalOrgaoOutros" class="java.math.BigDecimal" resetType="Group" resetGroup="descorgao" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") || $F{tipo}.equals("QUITACAO OCD")
?
$F{outros}.multiply( new java.math.BigDecimal("-1") )
:
$F{outros}]]></variableExpression>
	</variable>
	<variable name="totalOrgaoTaxaEmbarque" class="java.math.BigDecimal" resetType="Group" resetGroup="descorgao" calculation="Sum">
		<variableExpression><![CDATA[($F{tipo}.equals("CANCELADO")) || ($F{tipo}.equals("DEVOLUCAO")) || $F{tipo}.equals("QUITACAO OCD")
?
$F{taxaembarque}.multiply( new java.math.BigDecimal("-1") )
:
$F{taxaembarque}]]></variableExpression>
	</variable>
	<variable name="totalOrgaoPedagio" class="java.math.BigDecimal" resetType="Group" resetGroup="descorgao" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") || $F{tipo}.equals("QUITACAO OCD")
?
$F{pedagio}.multiply( new java.math.BigDecimal("-1") )
:
$F{pedagio}]]></variableExpression>
	</variable>
	<variable name="totalOrgao" class="java.math.BigDecimal" resetType="Group" resetGroup="descorgao" calculation="Sum">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") || $F{tipo}.equals("QUITACAO OCD")
?
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} )).multiply( new java.math.BigDecimal("-1") )
:
($F{tarifa}
.add( $F{taxaembarque} )
.add( $F{pedagio} )
.add( $F{outros} )
.add( $F{seguro} ))]]></variableExpression>
		<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<variable name="categoriaTipo" class="java.lang.String">
		<variableExpression><![CDATA[$F{tipo}.equals("CANCELADO") || $F{tipo}.equals("DEVOLUCAO") ||  $F{tipo}.equals("QUITACAO OCD")
?
$F{tipo}
:
$F{categoria}]]></variableExpression>
	</variable>
	<group name="descorgao">
		<groupExpression><![CDATA[$F{descOrgaoConcedente}]]></groupExpression>
		<groupHeader>
			<band height="38">
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="c538ad5d-9df5-49b5-b316-dda40273ff4a" stretchType="RelativeToTallestObject" x="29" y="0" width="902" height="20"/>
					<box leftPadding="5">
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="11" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{orgaoConcedenteId} + " - " + $F{descOrgaoConcedente}]]></textFieldExpression>
				</textField>
				<rectangle>
					<reportElement uuid="9c8c771e-3752-48a8-923f-ab9b0ee028d6" mode="Opaque" x="1" y="2" width="28" height="18" forecolor="#CCCCCC" backcolor="#CCCCCC"/>
				</rectangle>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="6a8dbaf0-404d-4b97-871d-2112e24ecab3" stretchType="RelativeToBandHeight" x="714" y="18" width="76" height="20"/>
					<box>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.outros}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="2db43f28-8921-4bba-9bb9-3af6af681b1f" stretchType="RelativeToBandHeight" x="240" y="18" width="91" height="20"/>
					<box>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.quantidade}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="7fb81315-eb36-4edf-bbf8-fe0359e230c0" stretchType="RelativeToBandHeight" x="788" y="18" width="143" height="20"/>
					<box>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.valortotal}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="ca614f45-9e46-49a5-a32c-8b9b942c435a" stretchType="RelativeToBandHeight" x="1" y="18" width="240" height="20"/>
					<box leftPadding="20">
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.categoria}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="9b9e167c-9f00-4baa-a975-23ec7fbf1e3a" stretchType="RelativeToBandHeight" x="417" y="18" width="126" height="20"/>
					<box>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.pedagio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="db643b1a-6714-40b3-89a1-90e4ff391208" stretchType="RelativeToBandHeight" x="543" y="18" width="84" height="20"/>
					<box>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.seguro}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="1b659025-f549-4b56-b518-6d73d57818a2" stretchType="RelativeToBandHeight" x="628" y="18" width="86" height="20"/>
					<box>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.taxaembarque}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="4481f8b6-c816-4943-988d-9fcd4ef7df7b" stretchType="RelativeToBandHeight" x="331" y="18" width="86" height="20"/>
					<box>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{detail.tarifa}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="21">
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="505fe081-3f7d-4fca-96ef-2de84e39c8bc" stretchType="RelativeToTallestObject" x="714" y="0" width="76" height="18"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.5"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalOrgaoOutros}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="9d4f80a7-fc6b-4b24-a8ea-9c9f4813e695" stretchType="RelativeToTallestObject" x="544" y="0" width="84" height="18"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.5"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalOrgaoSeguro}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="f53c81f6-50c8-4edc-8fc6-9afcaa0b17bd" stretchType="RelativeToTallestObject" x="419" y="1" width="126" height="17"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.5"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalOrgaoPedagio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="7b52d9f7-ad7a-4e6a-8caa-7f9fd8389593" stretchType="RelativeToTallestObject" x="628" y="0" width="86" height="18"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.5"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalOrgaoTaxaEmbarque}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="4e531ef1-acd3-4879-a522-328550e584e2" stretchType="RelativeToTallestObject" x="1" y="0" width="240" height="18"/>
					<box leftPadding="0">
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.5"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{header.filtro.total.orgaoConcedente}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="36f0d667-08f3-4dda-9dbb-4aa6bde3bec4" stretchType="RelativeToTallestObject" x="790" y="0" width="141" height="18"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.5"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalOrgao}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="9ddc1837-784b-4d9a-aafb-a8b7bb5c01a6" style="cancelados_devolvidos" stretchType="RelativeToTallestObject" x="331" y="0" width="88" height="18"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.5"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalOrgaoTarifa}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="25fa4457-a828-4a49-ae56-a7c30c785ec4" stretchType="RelativeToTallestObject" x="240" y="0" width="92" height="18"/>
					<box>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.5"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
						<font fontName="SansSerif" size="9" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalOrgaoQte}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="categoria">
		<groupExpression><![CDATA[$F{categoria}]]></groupExpression>
		<groupHeader>
			<band height="1"/>
		</groupHeader>
		<groupFooter>
			<band/>
		</groupFooter>
	</group>
	<pageHeader>
		<band height="30">
			<textField>
				<reportElement uuid="12b3d65f-d956-477d-8b65-5ea6f0d2b533" mode="Opaque" x="0" y="0" width="771" height="30" backcolor="#D7D7D7"/>
				<textElement markup="styled">
					<font size="16" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement uuid="52e12d24-5bb1-4fc1-af61-f420e798c66a" mode="Opaque" x="833" y="0" width="97" height="15" backcolor="#D7D7D7"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="cfa42b69-85c9-4d48-9b1b-d8f2582879b0" mode="Opaque" x="872" y="15" width="29" height="15" backcolor="#D7D7D7"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="c5f15e11-33dc-41c8-be0f-7f055efada1d" mode="Opaque" x="771" y="0" width="62" height="15" backcolor="#D7D7D7"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="761f8d56-3236-45ff-a746-81ec2dc02d36" mode="Opaque" x="771" y="15" width="62" height="15" backcolor="#D7D7D7"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="1180fadc-8df9-49ca-a2b4-4b4740dd9edd" mode="Opaque" x="901" y="15" width="29" height="15" backcolor="#D7D7D7"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="bec16308-4285-498f-97f9-a3888a5f4285" mode="Opaque" x="833" y="15" width="39" height="15" backcolor="#D7D7D7"/>
				<textElement textAlignment="Right"/>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="81">
			<printWhenExpression><![CDATA[$V{PAGE_NUMBER} < 2]]></printWhenExpression>
			<textField>
				<reportElement uuid="033d8246-bdcb-4f51-99fb-9a7e1e040846" x="0" y="32" width="130" height="16" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.filtro.agencia}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="bc4fb484-e5b9-4e00-a875-fa1a34fb1b5a" x="130" y="0" width="799" height="16"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{fecInicio} != null ? ($P{fecInicio} + " à " + $P{fecFinal}) : ""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="0a122127-8dc3-48ee-8d8d-1996a5d48095" x="131" y="14" width="799" height="18" isRemoveLineWhenBlank="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{nomb_empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="30cc417c-ec71-4991-9038-c22af291bcfa" x="130" y="32" width="799" height="16" isRemoveLineWhenBlank="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{nombPuntoVenta}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="9cd4764a-478f-4eb1-9659-23f4e59706d6" x="0" y="0" width="130" height="16"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.periodo.venda}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="5b59df28-472e-4312-b332-5970a3abfca4" x="1" y="16" width="130" height="16" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="5d1fea05-0b03-4867-b507-e37de00d07a6" x="0" y="64" width="131" height="16" isRemoveLineWhenBlank="true"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.5"/>
				</box>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.filtro.orgaoConcedente}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="9da35454-3fc3-4987-b8e9-65e67cfc2e95" x="131" y="64" width="798" height="16" isRemoveLineWhenBlank="true"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.5"/>
				</box>
				<textElement/>
				<textFieldExpression><![CDATA[$P{orgaoConcedente}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="97b69fb8-8db9-4f60-b216-0b2ef5559397" x="1" y="48" width="130" height="16" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.filtro.bilheteiro}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="a7103f61-9422-414d-8b5b-cd03bb40024e" x="131" y="48" width="799" height="16" isRemoveLineWhenBlank="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{nombUsuario}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="20" splitType="Prevent">
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="e91ddf3d-5ee2-42d3-b8d4-01c92a2f462a" style="cancelados_devolvidos" stretchType="RelativeToTallestObject" x="417" y="0" width="126" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="d9ec1d06-efc7-4a65-96a2-e88e89f4ca91" style="cancelados_devolvidos" stretchType="RelativeToTallestObject" x="543" y="0" width="85" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{seguro}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement uuid="6a5746f1-e112-4ea2-ac52-f3c4bf6f7c96" style="cancelados_devolvidos" stretchType="RelativeToTallestObject" x="240" y="0" width="91" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{qtde}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="1ae38af7-3815-4fc0-ba8c-a87f6a26914a" style="cancelados_devolvidos" stretchType="RelativeToTallestObject" x="331" y="0" width="86" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="7e10a3dc-7e63-49cf-ab5a-87bd2e7aa213" style="cancelados_devolvidos" stretchType="RelativeToTallestObject" x="628" y="0" width="86" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{taxaembarque}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="e4dc6a7f-049d-45e1-9c6d-231303fb288c" style="cancelados_devolvidos" stretchType="RelativeToTallestObject" x="788" y="0" width="142" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{soma}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="aeca5093-6645-4f7d-814f-48abec2773bc" style="cancelados_devolvidos" stretchType="RelativeToTallestObject" x="1" y="0" width="240" height="18"/>
				<box leftPadding="20">
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{categoriaTipo}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="bde0e80b-872a-4b26-b882-83efc01c25b7" style="cancelados_devolvidos" stretchType="RelativeToTallestObject" x="713" y="0" width="77" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{outros}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<lastPageFooter>
		<band height="27">
			<textField>
				<reportElement uuid="6e34466e-354e-4f5a-a7a3-9ef69073fbc7" x="1" y="0" width="930" height="27"/>
				<textElement>
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Obs.: Neste relatório é considerado bilhete devolvido somente o bilhete tenha gerado caixa, ou seja, tenha sido pago ao cliente (como é o caso da devolução por OCD, será considerado somente após a quitação)"]]></textFieldExpression>
			</textField>
		</band>
	</lastPageFooter>
	<summary>
		<band height="19">
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="5476b82a-2529-4b0f-baca-6f68e9a5f3bc" stretchType="RelativeToTallestObject" x="418" y="0" width="126" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalPedagio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="6430a76b-5907-4783-9efc-08f108b1a19b" stretchType="RelativeToTallestObject" x="1" y="0" width="240" height="18"/>
				<box leftPadding="0">
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.filtro.total}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="45b3533b-d863-423d-b6a0-682d2336d6ca" stretchType="RelativeToTallestObject" x="790" y="0" width="139" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalGeral}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="40caa383-bae0-43f5-9a2a-b93264740668" stretchType="RelativeToTallestObject" x="240" y="0" width="92" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalQte}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="892dea7f-0a9d-40ab-8f69-7e950fefd73b" stretchType="RelativeToTallestObject" x="628" y="0" width="86" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalTaxaEmbarque}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="8dbbd30a-18f8-4c7d-bf8a-e526b28971fa" stretchType="RelativeToTallestObject" x="332" y="0" width="86" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalTarifa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="e423dc37-408c-4d74-bcb2-cd0e199b37aa" stretchType="RelativeToTallestObject" x="714" y="0" width="76" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalOutros}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="df545e3c-3cd3-40e2-a440-c3ae45c27a5d" stretchType="RelativeToTallestObject" x="544" y="0" width="84" height="18"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalSeguro}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="45">
			<textField>
				<reportElement uuid="254c9278-71b2-4ffa-926c-5b0055e02cda" x="1" y="0" width="930" height="22"/>
				<textElement>
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
