<?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="RelatorioVendasComissao" 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.0980750000000008"/>
	<property name="ireport.x" value="34"/>
	<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="banco" class="java.lang.String"/>
	<parameter name="nombPuntoVenta" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="valorDeposito" class="java.math.BigDecimal"/>
	<field name="fechaDeposito" class="java.lang.String"/>
	<field name="numDeposito" class="java.lang.String"/>
	<field name="fechaMovimiento" class="java.lang.String"/>
	<field name="banco" class="java.lang.String"/>
	<field name="numConta" class="java.lang.String"/>
	<field name="numAgencia" class="java.lang.String"/>
	<field name="nombPuntoVenta" class="java.lang.String"/>
	<field name="empresa" class="java.lang.String"/>
	<field name="fechaInclusion" class="java.lang.String"/>
	<variable name="subtotal" class="java.math.BigDecimal" resetType="Group" resetGroup="deposito" calculation="Sum">
		<variableExpression><![CDATA[$F{valorDeposito}]]></variableExpression>
	</variable>
	<variable name="total" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{valorDeposito}]]></variableExpression>
	</variable>
	<group name="deposito">
		<groupExpression><![CDATA[$F{numDeposito}]]></groupExpression>
		<groupHeader>
			<band height="5"/>
		</groupHeader>
		<groupFooter>
			<band height="22">
				<textField isStretchWithOverflow="true" pattern="¤ #,##0.00">
					<reportElement uuid="d9967577-1a2d-4e8c-afc3-5aa8fa18ae63" stretchType="RelativeToTallestObject" x="660" y="0" width="141" height="20"/>
					<textElement textAlignment="Right">
						<font isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{subtotal}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement uuid="8028606d-ad70-4197-b011-d2ade8e44267" x="560" y="0" width="100" height="20"/>
					<textElement textAlignment="Center">
						<font isBold="true"/>
					</textElement>
					<text><![CDATA[Subtotal]]></text>
				</staticText>
				<line>
					<reportElement uuid="c8dfd524-14cc-454c-afc0-3ce9f8d0ead8" positionType="Float" x="-1" y="19" width="802" height="1"/>
				</line>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="110" 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="fd05bd35-30d9-4baf-aa56-f8e5d3c3268b" x="0" y="20" width="620" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.periodo} + " " + $P{fecInicio} + " " + $R{cabecalho.periodoA} + " " + $P{fecFinal}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="8fa1c53b-1da7-4d4d-a75c-ab1543acae2a" x="60" y="41" width="263" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{empresa}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="a91f6081-4740-4e36-8965-41b6cde4cc20" x="0" y="41" width="60" height="20"/>
				<textElement/>
				<text><![CDATA[Empresa:]]></text>
			</staticText>
			<textField>
				<reportElement uuid="a0d7c1c5-7a17-477e-929a-b0d9665b409c" x="60" y="61" width="263" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{banco}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="2a1c0967-7154-4aa5-bc93-577d682a1e5a" x="0" y="61" width="60" height="20"/>
				<textElement/>
				<text><![CDATA[Banco:]]></text>
			</staticText>
			<textField>
				<reportElement uuid="d65cc40d-662b-4159-b0ed-a1b5b3148d30" x="0" y="81" width="60" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{label.puntoVenta}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="d5a28828-ff2f-407c-b0b3-7c9154a27d5d" x="60" y="81" width="181" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{nombPuntoVenta}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="21" splitType="Stretch">
			<textField>
				<reportElement uuid="73d3d9f7-45ed-4fde-99d9-4f55e43bbd0f" x="682" y="1" width="80" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$R{cabecalho.pagina} +" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="5080d897-9bd0-41d7-b0d5-1a62485e2480" x="762" y="1" width="40" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="22" splitType="Stretch">
			<textField>
				<reportElement uuid="8a39b1b1-6ebd-4f33-adea-c28a9988eaae" x="181" y="0" width="106" height="20"/>
				<textElement textAlignment="Left">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.fechaDeposito}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="2d666aaf-65a6-4c3f-acd3-e65483a78256" x="287" y="1" width="81" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.numDeposito}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="a2ea7cea-d8ab-4c0e-bee0-4dafb3866c1f" x="368" y="0" width="80" height="20"/>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.fechaLancamientoDeposito}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="43d6ee75-8459-4b9e-8cbe-ca2819d3198a" x="597" y="0" width="63" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.numConta}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="12a7a0b1-f60c-4819-972a-2ea87f1f07b3" x="528" y="0" width="69" height="20"/>
				<textElement textAlignment="Left">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.banco}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="811af238-a027-48e9-bd6f-eee885474929" positionType="Float" x="0" y="21" width="802" height="1"/>
			</line>
			<textField>
				<reportElement uuid="cfac237e-06b7-4c98-b7f1-285f5ec2c8b3" x="0" y="0" width="181" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.nombPuntoVenta}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="f1e309cf-c3e3-461e-86a3-bb8a3dd5eab0" x="660" y="0" width="62" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.numAgencia}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="d778da2b-cbb2-45a0-b40f-5547eadc225a" x="722" y="1" width="80" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.valorDeposito}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="a2ce5783-cb4c-4cb4-9e86-c166f73c88aa" x="448" y="0" width="80" height="20"/>
				<textElement markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.fechaInclusion}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="23" splitType="Prevent">
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="2e83e648-f95f-42ae-9069-862e6ad79b21" stretchType="RelativeToTallestObject" x="528" y="0" width="69" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[$F{banco}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="8cdbdd14-c9f1-45d8-bf41-a4066930f5a4" stretchType="RelativeToTallestObject" x="181" y="0" width="106" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[$F{fechaDeposito}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="040c8de3-f836-40bc-96bd-761a7f5b46ef" stretchType="RelativeToTallestObject" x="597" y="0" width="63" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{numConta}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="b18fae2e-6454-42b0-a68c-04cf790ddfd6" stretchType="RelativeToTallestObject" x="368" y="1" width="80" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[$F{fechaMovimiento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="5fc60f32-0c1e-43ba-8dec-cfc5d6c085fc" stretchType="RelativeToTallestObject" x="660" y="0" width="62" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{numAgencia}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement uuid="c546149b-31a4-4a1c-bb24-dcb6681075d1" stretchType="RelativeToTallestObject" x="722" y="0" width="80" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$F{valorDeposito}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="cebb836f-d485-4d50-98e0-0678bb715fb9" stretchType="RelativeToTallestObject" x="0" y="0" width="181" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{nombPuntoVenta}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement uuid="09b0cd36-1946-406f-923a-172b8a4f1ac6" stretchType="RelativeToTallestObject" x="287" y="0" width="81" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{numDeposito}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="73306897-830c-4101-a1cc-758f37515d2b" x="448" y="1" width="80" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{fechaInclusion}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="26" splitType="Stretch">
			<textField isStretchWithOverflow="true" pattern="¤ #,##0.00">
				<reportElement uuid="d9967577-1a2d-4e8c-afc3-5aa8fa18ae63" stretchType="RelativeToTallestObject" x="660" y="6" width="141" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="8028606d-ad70-4197-b011-d2ade8e44267" x="560" y="6" width="100" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Total]]></text>
			</staticText>
		</band>
	</summary>
	<noData>
		<band height="27">
			<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>
