<?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="RelatorioBaixasVendasInternet" 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.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="fecInicio" class="java.lang.String"/>
	<parameter name="fecFinal" class="java.lang.String"/>
	<parameter name="noDataRelatorio" class="java.lang.String"/>
	<parameter name="empresa" class="java.lang.String"/>
	<parameter name="nombPuntoVenta" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="fecImpresion" class="java.util.Date"/>
	<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"/>
	<field name="usuarioId" class="java.lang.Integer"/>
	<field name="nombUsuario" class="java.lang.String"/>
	<field name="valorPago" class="java.math.BigDecimal"/>
	<variable name="sumValor" class="java.math.BigDecimal" resetType="Group" resetGroup="group_usuario" calculation="Sum">
		<variableExpression><![CDATA[$F{valor}]]></variableExpression>
	</variable>
	<variable name="sumValorPago" class="java.math.BigDecimal" resetType="Group" resetGroup="group_usuario" calculation="Sum">
		<variableExpression><![CDATA[$F{valorPago}]]></variableExpression>
	</variable>
	<variable name="countNumFolioSistema" class="java.lang.Integer" resetType="Group" resetGroup="group_usuario" calculation="Count">
		<variableExpression><![CDATA[$F{numFolioSistema}]]></variableExpression>
	</variable>
	<group name="group_usuario">
		<groupExpression><![CDATA[$F{usuarioId}]]></groupExpression>
		<groupHeader>
			<band height="46">
				<line>
					<reportElement positionType="Float" x="0" y="43" width="802" height="1" uuid="811af238-a027-48e9-bd6f-eee885474929"/>
				</line>
				<textField>
					<reportElement x="0" y="22" width="140" height="20" uuid="5af379ca-85ae-4850-a804-75d512d7cc9d"/>
					<textFieldExpression><![CDATA[$R{label.fecImpresion}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="140" y="22" width="120" height="20" uuid="0349258f-e494-4dff-9ac7-f7d70aa0132c"/>
					<textFieldExpression><![CDATA[$R{label.numFolioSistema}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="394" y="22" width="120" height="20" uuid="3be61cdf-8be1-4b15-8252-482c2339bfad"/>
					<textFieldExpression><![CDATA[$R{label.origen}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="516" y="22" width="120" height="20" uuid="3c02742d-db27-4608-82c1-e6a842310574"/>
					<textFieldExpression><![CDATA[$R{label.destino}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="642" y="22" width="160" height="20" uuid="2f0a3804-fefe-46fd-827d-e777bb23412b"/>
					<textElement textAlignment="Right"/>
					<textFieldExpression><![CDATA[$R{label.valor}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="0" y="0" width="181" height="20" uuid="f3f4d85a-499f-4273-ac5f-e1e404f7a538"/>
					<textFieldExpression><![CDATA[$R{cabecalho.usuario} + " " + $F{nombUsuario}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="263" y="22" width="130" height="20" uuid="0a47fb6b-bf37-4e7d-9997-6c6549634ba8"/>
					<textElement markup="none"/>
					<textFieldExpression><![CDATA[$R{label.valorPago}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="31">
				<line>
					<reportElement positionType="Float" x="0" y="1" width="802" height="1" uuid="c8dfd524-14cc-454c-afc0-3ce9f8d0ead8"/>
				</line>
				<textField>
					<reportElement x="516" y="2" width="205" height="20" uuid="38a0f957-1b50-46f9-b79f-c631baf8937b"/>
					<textElement textAlignment="Right"/>
					<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00">
					<reportElement x="721" y="2" width="81" height="20" uuid="d23d67e8-93ae-46ca-8f51-b90574818302"/>
					<textElement textAlignment="Right"/>
					<textFieldExpression><![CDATA[$V{sumValor}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00">
					<reportElement x="303" y="1" width="90" height="20" uuid="e685bff4-43e0-4123-b19c-b7ba79c24cd6"/>
					<textElement verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$V{sumValorPago}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="263" y="2" width="56" height="20" uuid="27c59497-a812-4144-9b4b-f2398ec66249"/>
					<textElement verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="141" y="3" width="40" height="20" uuid="dfea6e64-a65b-4ce5-8b1c-7810f15c3199"/>
					<textElement textAlignment="Center" verticalAlignment="Top"/>
					<textFieldExpression><![CDATA[$V{countNumFolioSistema}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="1" y="3" width="140" height="20" uuid="a4244669-425f-4594-bc61-e45065e77127"/>
					<textElement textAlignment="Right" verticalAlignment="Top"/>
					<textFieldExpression><![CDATA[$R{label.totalPassagens}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="81" splitType="Stretch">
			<textField>
				<reportElement x="0" y="0" width="620" height="20" uuid="43b2c28d-4760-4890-b00d-25e931e79c74"/>
				<textElement markup="none">
					<font size="14" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.nome}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement x="638" y="0" width="164" height="20" uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="20" width="620" height="20" uuid="fd05bd35-30d9-4baf-aa56-f8e5d3c3268b"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.periodo} + " " + $P{fecInicio} + " " + $R{cabecalho.periodoA} + " " + $P{fecFinal}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="41" width="263" height="20" uuid="a91f6081-4740-4e36-8965-41b6cde4cc20"/>
				<textFieldExpression><![CDATA[$R{label.nombPuntoVenta} + ": " + $P{nombPuntoVenta}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="21" splitType="Stretch">
			<textField>
				<reportElement x="607" y="0" width="195" height="20" uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec"/>
				<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>
	<detail>
		<band height="20" splitType="Stretch">
			<textField>
				<reportElement x="0" y="0" width="140" height="20" uuid="c6e24c5c-058d-4eab-8ceb-2ab9bd155da1"/>
				<textFieldExpression><![CDATA[$F{fecImpresion}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="140" y="0" width="120" height="20" uuid="eb9db181-e228-40df-ada1-10098ca99bfe"/>
				<textFieldExpression><![CDATA[$F{numFolioSistema}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="394" y="0" width="120" height="20" uuid="cc3db7ec-afda-474d-8e7e-5fb1ba1d499e"/>
				<textFieldExpression><![CDATA[$F{origen}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="516" y="0" width="120" height="20" uuid="1d2ad720-6a25-43fa-9e41-9a9b6436c036"/>
				<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement x="642" y="0" width="160" height="20" uuid="a6133da6-d69f-4fca-863c-d71c870c8575"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$F{valor}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement x="263" y="0" width="130" height="20" uuid="9ee0da34-ddc9-4698-829a-4ea072b659a2"/>
				<textFieldExpression><![CDATA[$F{valorPago}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<noData>
		<band height="24">
			<textField isBlankWhenNull="true">
				<reportElement positionType="Float" x="0" y="0" width="555" height="20" isPrintWhenDetailOverflows="true" uuid="d7df66c6-4dc0-4f3b-88f4-b22094d29091"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
