<?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="RelatorioDepositos_subreport" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" resourceBundle="RelatorioDepositos_subreport" uuid="dc2a5922-ed27-4539-90df-9f9cf1ef4263">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<style name="Title" fontName="Times New Roman" fontSize="50" isBold="true" pdfFontName="Times-Bold"/>
	<style name="SubTitle" forecolor="#736343" fontName="Arial" fontSize="18"/>
	<style name="Column header" forecolor="#666666" fontName="Arial" fontSize="12" isBold="true"/>
	<style name="Detail" fontName="Arial" fontSize="12"/>
	<style name="Row" mode="Transparent">
		<conditionalStyle>
			<conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression>
			<style backcolor="#E6DAC3"/>
		</conditionalStyle>
	</style>
	<parameter name="VALOR_TOTAL" class="java.math.BigDecimal"/>
	<field name="banco" class="java.lang.String"/>
	<field name="numdeposito" class="java.lang.String"/>
	<field name="fechaDeposito" class="java.util.Date"/>
	<field name="valor" class="java.math.BigDecimal"/>
	<variable name="total" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{valor}]]></variableExpression>
	</variable>
	<variable name="SALDO" class="java.lang.Double">
		<variableExpression><![CDATA[new Double($P{VALOR_TOTAL}.doubleValue() - $V{total}.doubleValue())]]></variableExpression>
	</variable>
	<columnHeader>
		<band height="20" splitType="Stretch">
			<textField>
				<reportElement uuid="b3133217-110c-48c5-b1b5-b5ce57a03350" x="0" y="0" width="185" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.banco}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="0cee84bb-fc9c-4d91-8392-5ba7f79f195a" x="185" y="0" width="100" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.numdeposito}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="b8eb5e42-6c04-45ef-85f6-c758d9680383" x="285" y="0" width="100" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.dataDeposito}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="331221a9-b0ce-4dbf-b637-feeaf3ae69e0" x="385" y="0" width="88" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.valorDeposito}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="20" splitType="Stretch">
			<textField>
				<reportElement uuid="e738de43-bae8-4410-b08d-ed7de5b8221c" x="0" y="0" width="185" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{banco}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="afc0f281-2205-47b0-83b6-8ec94df8790f" x="185" y="0" width="100" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{numdeposito}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="bb030034-58d9-41e3-b8a6-f274d6ad69bd" x="285" y="0" width="100" height="20" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{fechaDeposito}]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00">
				<reportElement uuid="5bc31157-244f-4409-8656-5c503b96b15b" x="385" y="0" width="88" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valor}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band height="54">
			<textField pattern="¤ #,##0.00">
				<reportElement uuid="2196c3a5-3510-49cb-a992-f958ef5c8409" x="383" y="12" width="88" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="3ea436c3-852c-4663-a7c4-72357e42eedd" x="227" y="12" width="146" height="20"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.totalDepositos}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Auto" pattern="¤ #,##0.00" isBlankWhenNull="false">
				<reportElement uuid="a352c9b8-e9da-4123-bca2-aed1284b7f08" x="383" y="32" width="88" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{SALDO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="b0ea90df-8683-409a-937b-7e739c31035a" x="227" y="32" width="146" height="20"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.saldo}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="03eb7834-507e-499b-a497-b521a8e3971f" x="0" y="0" width="473" height="1"/>
			</line>
		</band>
	</columnFooter>
</jasperReport>
