<?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="RelatorioVendasPercurso" 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.5"/>
	<property name="ireport.x" value="9"/>
	<property name="ireport.y" value="21"/>
	<parameter name="fecInicio" class="java.lang.String"/>
	<parameter name="fecFinal" class="java.lang.String"/>
	<parameter name="estacion" class="java.lang.String"/>
	<parameter name="lsNombPuntoVenta" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="corridaId" class="java.lang.Integer"/>
	<field name="numFolioSistema" class="java.lang.String"/>
	<field name="origen" class="java.lang.String"/>
	<field name="destino" class="java.lang.String"/>
	<field name="valor" class="java.math.BigDecimal"/>
	<variable name="sumValor" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{valor}]]></variableExpression>
	</variable>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="97" splitType="Stretch">
			<textField>
				<reportElement uuid="43b2c28d-4760-4890-b00d-25e931e79c74" x="0" y="0" width="620" height="20"/>
				<textElement markup="none">
					<font size="14" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.nome}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5" x="638" y="0" width="164" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="96d6ce56-5bf3-460a-b3ba-a81890a2caed" x="0" y="42" width="104" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{label.puntoVenta}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="35e8e5cd-52e2-4f14-bbd7-e3a2233ad637" x="104" y="62" width="139" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{estacion}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="b75cac86-9c93-40ec-b667-afd66f26103d" x="104" y="42" width="139" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{lsNombPuntoVenta}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="4f5a4fd1-5164-4865-8b05-73fe7a5b64e1" x="0" y="62" width="104" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{label.estacion}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="aef7159d-4131-49d3-85dd-75f63f92c5af" x="0" y="22" width="104" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="62f02d34-2844-48b6-bb97-274de2247bd6" x="104" y="22" width="56" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{fecInicio}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="e2bf6ff8-8d8e-4bab-bc3d-e1e690d707a0" x="181" y="22" width="56" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{fecFinal}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="6a9e5919-6b5b-430a-88a6-856957e20dea" x="160" y="22" width="21" height="20"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="21" splitType="Stretch">
			<textField>
				<reportElement uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec" x="607" y="0" width="195" height="20"/>
				<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 height="23" splitType="Stretch">
			<textField>
				<reportElement uuid="a3dea313-f2a7-4388-bd91-5c02e8612b8e" x="0" y="0" width="160" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{label.numCorrida}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="811af238-a027-48e9-bd6f-eee885474929" positionType="Float" x="0" y="21" width="802" height="1"/>
			</line>
			<textField>
				<reportElement uuid="a7ca2540-97de-4ec5-a2fe-234a004c5ab9" x="160" y="0" width="160" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{label.numFolio}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="e5daa47c-a71c-42ca-9d6f-101ae1375b47" x="642" y="0" width="160" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$R{label.valor}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="4a2760f3-4cff-4bbb-ba28-600b516af474" x="382" y="0" width="130" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{label.origen}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="2d00e354-68ea-4d46-94a3-28c9fef225e0" x="512" y="0" width="130" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{label.destino}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="22" splitType="Stretch">
			<textField>
				<reportElement uuid="cfe5a284-65a4-427b-acde-8c6f8297e5d1" x="0" y="0" width="160" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{corridaId}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="c1389933-83ab-4e81-a0a4-20a081751b5e" x="160" y="0" width="160" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{numFolioSistema}]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00">
				<reportElement uuid="41c9db9f-0dea-4369-a2e7-357a7898b86d" x="642" y="0" width="160" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$F{valor}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="0605d60f-eef2-4bab-9f86-b9599ed8f5e7" x="382" y="0" width="130" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{origen}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="2063095d-148c-4d6b-8d8f-04f712bbcedc" x="512" y="0" width="130" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="26" splitType="Stretch">
			<line>
				<reportElement uuid="c8dfd524-14cc-454c-afc0-3ce9f8d0ead8" positionType="Float" x="0" y="2" width="802" height="1"/>
			</line>
			<textField>
				<reportElement uuid="38a0f957-1b50-46f9-b79f-c631baf8937b" x="104" y="5" width="615" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement uuid="f22b1a6f-2e0b-4771-acf3-b7460874f730" stretchType="RelativeToTallestObject" x="721" y="5" width="80" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{sumValor}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="24">
			<textField isBlankWhenNull="true">
				<reportElement uuid="d7df66c6-4dc0-4f3b-88f4-b22094d29091" positionType="Float" x="0" y="0" width="555" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
