<?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="RelatorioAnaliticoVoucherCancelados" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0e8aff42-5ba8-48ac-9950-da8178561888">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="15"/>
	<property name="ireport.y" value="0"/>
	<parameter name="nombempresa" class="java.lang.String"/>
	<parameter name="competencia" class="java.lang.String"/>
	<field name="tarifa" class="java.math.BigDecimal"/>
	<field name="pedagio" class="java.math.BigDecimal"/>
	<field name="embarque" class="java.math.BigDecimal"/>
	<field name="seguro" class="java.math.BigDecimal"/>
	<field name="situacao" class="java.lang.String"/>
	<field name="competenciaCancelamento" class="java.lang.String"/>
	<field name="competenciaVenda" class="java.lang.String"/>
	<field name="qtde" class="java.lang.Integer"/>
	<field name="total" class="java.math.BigDecimal"/>
	<variable name="vTotalQtde" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[$F{qtde}]]></variableExpression>
	</variable>
	<variable name="vTotalTarifa" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{tarifa}]]></variableExpression>
	</variable>
	<variable name="vTotalPedagio" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{pedagio}]]></variableExpression>
	</variable>
	<variable name="vTotalEmbarque" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{embarque}]]></variableExpression>
	</variable>
	<variable name="vTotalSeguro" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{seguro}]]></variableExpression>
	</variable>
	<variable name="vTotal" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{total}]]></variableExpression>
	</variable>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="65" splitType="Stretch">
			<textField>
				<reportElement x="84" y="40" width="471" height="23" uuid="63ce47a3-7e94-42a2-8325-eceef777fbe2"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{nombempresa}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="0" width="522" height="20" uuid="2e2e9caa-4076-4209-bdaf-0017ddf83a56"/>
				<textElement verticalAlignment="Middle">
					<font size="14" isBold="true"/>
				</textElement>
				<text><![CDATA[ANALITICO DE VOUCHERS CANCELADOS]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement x="522" y="0" width="279" height="20" uuid="6b4f1375-4f4b-4b80-83b8-7650e62e107e"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="20" width="80" height="20" uuid="3f1d0681-30be-4c3a-ae90-cf34dd4ede3c"/>
				<textElement verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Competência: "]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="40" width="84" height="23" uuid="cf05ce5a-615b-41ac-b24d-2c45ca1bc60e"/>
				<textElement verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Empresa:]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="80" y="20" width="205" height="20" uuid="7f5ee01d-f86d-49a4-a2a1-f1c671621ef0"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{competencia}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="24" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="0" y="2" width="147" height="20" uuid="e6dbc037-913e-4ccc-8c62-2b030b909d33"/>
				<textElement verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Situação"]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="1" width="802" height="1" uuid="481b2107-ee62-4815-8a89-8435d34384c8"/>
			</line>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="241" y="2" width="89" height="20" uuid="8e32858b-3bbe-453f-bc9c-e47cd03cbb72"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Competência Venda"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="330" y="2" width="46" height="20" uuid="25ca2035-0d91-479e-acb6-d542514d7d5b"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Qtde"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="716" y="2" width="85" height="20" uuid="2e674c44-07ff-4d6f-9643-2ba3bbbce4b9"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Total"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="376" y="2" width="85" height="20" uuid="3e9b6264-c5df-4ecd-b739-9030e097fc99"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Tarifa"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="461" y="2" width="85" height="20" uuid="d0e7d648-5347-4345-a95b-13a6895e77ed"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Pedagio"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="546" y="2" width="85" height="20" uuid="5f93a22b-64e8-4393-9d9c-fabb30e54b61"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Embarque"]]></textFieldExpression>
			</textField>
			<line>
				<reportElement positionType="Float" x="0" y="22" width="802" height="1" uuid="a33f21d9-c821-4fa9-8dd8-1768914351f2"/>
			</line>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="147" y="2" width="94" height="20" uuid="86784842-c177-49aa-82ed-9b06e59d4aa4"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Competência Cancelamento"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="631" y="2" width="85" height="20" uuid="8ba8c64a-e023-433b-9e42-2a96011c029e"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Seguro"]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="21" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="147" height="20" uuid="880453bc-b85e-49c3-996a-6441cf25df5f"/>
				<textElement verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{situacao}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="147" y="0" width="94" height="20" uuid="04367436-a76e-4e64-a157-4325ce7d98a5"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{competenciaCancelamento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="241" y="0" width="89" height="20" uuid="1e0ca195-eef6-46b7-ba9f-66af0ef33209"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{competenciaVenda}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="330" y="0" width="46" height="20" uuid="2564f9af-3487-4dda-bfaa-4467ea076db0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{qtde}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="716" y="0" width="85" height="20" uuid="5a614727-0d7b-41da-a7b7-293558bf2bdc"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="376" y="0" width="85" height="20" uuid="c3aa8f19-46d6-4c0b-9703-e74adaa2b5d7"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="461" y="0" width="85" height="20" uuid="655984a8-3e4a-4ac7-8816-317469c6a3ee"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="546" y="0" width="85" height="20" uuid="fced1969-520a-4be8-b126-45c7dc8fae72"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{embarque}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="631" y="0" width="85" height="20" uuid="f13ecbfe-3b3f-48ad-8c7c-e93b8bfe3445"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{seguro}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="24">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="330" y="3" width="46" height="20" uuid="6730eb69-2702-48c8-945b-e47c19c1fa1b"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{vTotalQtde}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="546" y="3" width="85" height="20" uuid="8705cf87-3709-41f9-9939-ebd197090831"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{vTotalEmbarque}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="461" y="3" width="85" height="20" uuid="9c25317a-a5b0-41e9-95d7-70c4b7ab124b"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{vTotalPedagio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="376" y="3" width="85" height="20" uuid="27d46076-e886-4dc9-b324-d579c67ba8df"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{vTotalTarifa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="631" y="3" width="85" height="20" uuid="1b28acca-3838-4ca7-a11f-73b42793a888"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{vTotalSeguro}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="716" y="3" width="85" height="20" uuid="a4e22ca1-4e61-49f8-8a28-4ece1cb9f127"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{vTotal}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="241" y="3" width="89" height="20" uuid="8e5281f5-8b41-407a-9cdf-5e79776bf269"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Total"]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="1" width="802" height="1" uuid="fb654034-ffac-46bd-85b3-13eb144ff5e2"/>
			</line>
		</band>
	</summary>
</jasperReport>
