<?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="RelatorioCorridas" pageWidth="1205" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1165" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="dc003bfe-c791-4f88-acc6-736e8c97f7e2">
	<property name="ireport.zoom" value="1.5026296018031564"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="title"/>
	<property name="net.sf.jasperreports.export.xls.exclude.origin.band.3" 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"/>
	<parameter name="DATA" class="java.util.Date"/>
	<field name="nit" class="java.lang.String"/>
	<field name="razaoSocial" class="java.lang.String"/>
	<field name="numContrato" class="java.lang.String"/>
	<field name="dataInicio" class="java.util.Date"/>
	<field name="valorContrato" class="java.math.BigDecimal"/>
	<field name="adicional" class="java.math.BigDecimal"/>
	<field name="executado" class="java.math.BigDecimal"/>
	<field name="saldoAtual" class="java.math.BigDecimal"/>
	<variable name="totalValorContrato" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{valorContrato}]]></variableExpression>
	</variable>
	<variable name="totalAdicional" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{adicional}]]></variableExpression>
	</variable>
	<variable name="totalExecutado" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{executado}]]></variableExpression>
	</variable>
	<variable name="totalSaldo" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{saldoAtual}]]></variableExpression>
	</variable>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="62" splitType="Stretch">
			<textField>
				<reportElement uuid="96572021-01f9-4d05-938c-11ca5721f81c" x="0" y="20" width="149" height="20"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="f6fe1c2b-09af-45e6-9883-f6aa7fe3016c" x="0" y="0" width="1015" height="20"/>
				<textElement markup="none">
					<font size="14" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.titulo.relatorio}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="20" splitType="Stretch">
			<textField isStretchWithOverflow="true">
				<reportElement uuid="c06195d4-ba58-47be-aef7-1563b191de27" stretchType="RelativeToTallestObject" x="0" y="0" width="70" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.nit}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="1ecd7528-3828-4cf5-a9c8-f85e07e4ba28" stretchType="RelativeToTallestObject" x="312" y="0" width="51" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center" markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.contrato}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="1f6c0d70-a694-43e9-8ad3-aebfb91eed3c" stretchType="RelativeToTallestObject" x="503" y="0" width="90" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.adicional}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="838fd9f8-3595-4eb7-8b1c-a593b306bce3" stretchType="RelativeToTallestObject" x="593" y="0" width="59" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center" markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.executado}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="162ffd2f-696a-459d-ae23-2df0b308fa43" stretchType="RelativeToTallestObject" x="363" y="0" width="51" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center" markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.inicio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="a7946998-7bb2-4936-b0c4-c54ca8749dfa" stretchType="RelativeToTallestObject" x="70" y="0" width="242" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.razaoSocial}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="1f8dae8e-1925-477d-b9de-059ba69c84f5" stretchType="RelativeToTallestObject" x="414" y="0" width="89" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center" markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.valorContrato}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="21c168b8-f4de-4072-a332-f747335b42e1" stretchType="RelativeToTallestObject" x="652" y="0" width="69" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center" markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.saldo}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="20" splitType="Stretch">
			<textField isStretchWithOverflow="true">
				<reportElement uuid="7a8c77d7-97f8-4e37-8ebc-97c6ab05eaed" stretchType="RelativeToTallestObject" x="0" y="0" width="70" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nit}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="b31c9ab2-0cfe-4db1-83ca-57aba183a88b" stretchType="RelativeToTallestObject" x="312" y="0" width="51" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{numContrato}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="¤ #,##0.00">
				<reportElement uuid="4768cf26-74b8-48a5-b8eb-cbcc63d5d968" stretchType="RelativeToTallestObject" x="503" y="0" width="90" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{adicional}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm">
				<reportElement uuid="301029ea-db8d-48bd-8e13-ed67f6140081" stretchType="RelativeToTallestObject" x="70" y="0" width="242" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{razaoSocial}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy">
				<reportElement uuid="7da11eed-f034-4eb3-bba2-0c7547074136" stretchType="RelativeToTallestObject" x="363" y="0" width="51" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Center">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataInicio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="¤ #,##0.00">
				<reportElement uuid="cf5d37e0-ce0e-4089-bcaa-edf01bf46fc3" stretchType="RelativeToTallestObject" x="593" y="0" width="59" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{executado}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="¤ #,##0.00">
				<reportElement uuid="5a0bd7e9-4f49-4024-8b2b-6444f3f23cb4" stretchType="RelativeToTallestObject" x="652" y="0" width="69" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{saldoAtual}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="¤ #,##0.00">
				<reportElement uuid="1f7cb37d-4f34-448b-9438-b4a2b858552e" stretchType="RelativeToTallestObject" x="414" y="0" width="89" height="20"/>
				<box>
					<topPen lineWidth="0.25"/>
					<leftPen lineWidth="0.25"/>
					<bottomPen lineWidth="0.25"/>
					<rightPen lineWidth="0.25"/>
				</box>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorContrato}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="24" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="031670b3-591b-4717-8bb1-e867b1e8f1b2" stretchType="RelativeToTallestObject" x="325" y="0" width="89" height="20"/>
				<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" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="d169ead1-c200-4cea-b249-e8a257d16fa5" stretchType="RelativeToTallestObject" x="652" y="0" width="69" height="20"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalSaldo}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="437c41be-28e9-4440-9e30-5a84160ddbed" stretchType="RelativeToTallestObject" x="593" y="0" width="59" height="20"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalExecutado}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="3039dd63-6e97-4d8d-bc6e-8a17eaf962c3" stretchType="RelativeToTallestObject" x="503" y="0" width="90" height="20"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalAdicional}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="3424d8bf-d824-430a-922a-b42b5ba230ae" stretchType="RelativeToTallestObject" x="414" y="0" width="89" height="20"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{totalValorContrato}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="35">
			<textField>
				<reportElement uuid="ed192bd7-4c3c-4f7f-a805-6d71234d513c" x="0" y="8" width="910" height="20"/>
				<textElement markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
