<?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" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty" uuid="65274c35-4f3f-4196-bd84-f042e9ac12ea">
	<property name="ireport.zoom" value="2.8531167061100033"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="336"/>
	<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="TITULO" class="java.lang.String"/>
	<parameter name="FILTROS" class="java.lang.String"/>
	<parameter name="usuario_nome" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="nombempresa" class="java.lang.String"/>
	<field name="nombpuntoventa" class="java.lang.String"/>
	<field name="numpuntoventa" class="java.lang.String"/>
	<field name="dtfechamento" class="java.util.Date"/>
	<field name="dtvencimento" class="java.util.Date"/>
	<field name="dtbaixa" class="java.util.Date"/>
	<field name="vrboleto" class="java.math.BigDecimal"/>
	<field name="vrfechamento" class="java.math.BigDecimal"/>
	<field name="vrjuros" class="java.math.BigDecimal"/>
	<field name="vrpendente" class="java.math.BigDecimal"/>
	<field name="nossonumero" class="java.lang.String"/>
	<variable name="TOTAL_BOLETOS" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{vrboleto}]]></variableExpression>
	</variable>
	<variable name="TOTAL_SALDO" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{vrboleto}]]></variableExpression>
	</variable>
	<variable name="TOTAL_PENDENTE" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{vrpendente}]]></variableExpression>
	</variable>
	<variable name="TOTAL_JUROS" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{vrjuros}!=null?$F{vrjuros}:BigDecimal.ZERO]]></variableExpression>
		<initialValueExpression><![CDATA[java.math.BigDecimal.ZERO]]></initialValueExpression>
	</variable>
	<pageHeader>
		<band height="67" splitType="Stretch">
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="19f9289c-2636-4508-9384-ad62f71d3f99" mode="Transparent" x="0" y="0" width="586" height="46" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="16" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="3ff454e9-7165-4176-83bf-2a71dfb5a500" x="0" y="46" width="801" height="21"/>
				<box leftPadding="2">
					<topPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement uuid="79790297-7607-4ad0-ae33-8d8cf77015fa" mode="Transparent" x="775" y="15" width="26" height="16" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="b0ae7466-7d4c-49a2-ae86-c0860f0de583" mode="Transparent" x="586" y="15" width="189" height="16" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="832bd5f9-0d7d-4545-9488-e94812dbdc21" x="586" y="0" width="133" height="15"/>
				<textElement textAlignment="Right">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
				<reportElement uuid="1ed80332-28f2-40dd-81d4-ab806f843fd2" mode="Transparent" x="721" y="0" width="80" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="718d9d90-0c02-4323-bb9d-8b3fc1cf77d8" stretchType="RelativeToBandHeight" mode="Transparent" x="586" y="31" width="215" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{usuario_nome}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="18">
			<textField>
				<reportElement uuid="7580d1a8-f3f2-4f6f-8bf5-1ea9e7567f4d" stretchType="RelativeToTallestObject" x="0" y="0" width="232" height="17"/>
				<textElement textAlignment="Left" markup="none">
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.pontoVenda}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="a19f95cd-cc9c-493b-a1a4-0822cf0ffeb1" stretchType="RelativeToTallestObject" x="232" y="1" width="67" height="17"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.dataFechamento}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="2438c96f-0862-490e-9f8a-dfd2c2d8c87c" stretchType="RelativeToTallestObject" x="366" y="1" width="68" height="17"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.fechamento}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="6a734f01-5e7c-4bca-b2f4-f3365b636d7c" stretchType="RelativeToTallestObject" x="299" y="1" width="67" height="17"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.dataVencimento}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="b8d1f544-1a92-48a6-855d-5a3087d0f51b" stretchType="RelativeToTallestObject" x="705" y="1" width="70" height="17"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.nossoNumero}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="32cb089b-4e48-41f9-9964-b4ff250a7ed7" stretchType="RelativeToTallestObject" x="637" y="1" width="68" height="17"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.pendente}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="6df81adc-729b-4494-97c3-08dc2806eec4" stretchType="RelativeToTallestObject" x="434" y="1" width="68" height="17"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.valorBoleto}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="c7445bd4-4fa4-4cdb-a934-0fc60e95d73e" stretchType="RelativeToTallestObject" x="569" y="1" width="68" height="17"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.valorJuros}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="b3819bf3-b974-46a7-9717-ab6c0e2feab8" stretchType="RelativeToTallestObject" x="502" y="1" width="67" height="17"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.dataBaixa}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="15" splitType="Stretch">
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement uuid="ee8dabd0-5f1b-4bd6-be20-483ae6074a67" stretchType="RelativeToTallestObject" x="0" y="0" width="232" height="15"/>
				<box>
					<topPen lineWidth="0.5"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{numpuntoventa} +"-"+ $F{nombpuntoventa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement uuid="ef004e86-6826-459f-99c8-72ffcbcb40ac" stretchType="RelativeToTallestObject" x="705" y="0" width="70" height="15"/>
				<box>
					<topPen lineWidth="0.5"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nossonumero}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="a1477a4e-9fbc-44db-ba8f-3652c49ed2ce" stretchType="RelativeToTallestObject" x="366" y="0" width="68" height="15"/>
				<box>
					<topPen lineWidth="0.5"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{vrfechamento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement uuid="121453c8-d4fd-4083-b27b-6cf05dc7f266" stretchType="RelativeToTallestObject" x="502" y="0" width="67" height="15"/>
				<box>
					<topPen lineWidth="0.5"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dtbaixa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="99f8e3cb-c2ff-44d6-b608-39a89b4ece92" stretchType="RelativeToTallestObject" x="569" y="0" width="68" height="15"/>
				<box>
					<topPen lineWidth="0.5"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{vrjuros}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="f14b427a-0f52-45a2-9421-3a6838a89ee4" stretchType="RelativeToTallestObject" x="434" y="0" width="68" height="15"/>
				<box>
					<topPen lineWidth="0.5"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{vrboleto}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="812575da-7f71-4f33-b29e-0ea9d6d06a32" stretchType="RelativeToTallestObject" x="637" y="0" width="68" height="15"/>
				<box>
					<topPen lineWidth="0.5"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{vrpendente}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement uuid="7ec831fd-d834-4e40-b149-811f43144eb5" stretchType="RelativeToTallestObject" x="232" y="0" width="67" height="15"/>
				<box>
					<topPen lineWidth="0.5"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dtfechamento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement uuid="3bc7f49d-c4ba-4027-9e52-8b3ba7e8fb23" stretchType="RelativeToTallestObject" x="299" y="0" width="67" height="15"/>
				<box>
					<topPen lineWidth="0.5"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dtvencimento}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<summary>
		<band height="111">
			<staticText>
				<reportElement uuid="b4440540-2f18-4b9e-94d1-285e376ba362" x="0" y="12" width="128" height="20" backcolor="#999999"/>
				<textElement>
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Total Boletos]]></text>
			</staticText>
			<textField pattern="#,##0.00">
				<reportElement uuid="a8212576-8b4a-4b7d-9777-a727d1a86556" x="129" y="12" width="178" height="20"/>
				<textElement>
					<font size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTAL_BOLETOS}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="53594ff0-8b6d-4259-bea4-70f76933e536" x="0" y="32" width="128" height="20" backcolor="#CCCCCC"/>
				<textElement>
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Total Fechamento]]></text>
			</staticText>
			<textField pattern="#,##0.00">
				<reportElement uuid="46b3f5bb-1a6e-47da-9285-5f5a5fc759f8" x="129" y="32" width="178" height="20"/>
				<textElement>
					<font size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTAL_SALDO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="d746843f-a730-4bbb-9520-80954166d840" x="0" y="52" width="128" height="20" backcolor="#CCCCCC"/>
				<textElement>
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Total Pendente]]></text>
			</staticText>
			<textField pattern="#,##0.00">
				<reportElement uuid="5c04bbea-5e2e-4fcc-a965-4e91f5d8db76" x="129" y="52" width="178" height="20"/>
				<textElement>
					<font size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTAL_PENDENTE}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement uuid="bc837063-a510-4a77-9954-c2ab99d4aac1" x="129" y="72" width="178" height="20"/>
				<textElement>
					<font size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTAL_JUROS}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="9b508aad-2936-4883-9af2-9755eea5f5d4" x="0" y="72" width="128" height="20" backcolor="#CCCCCC"/>
				<textElement>
					<font size="8" isBold="true"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Total Juros]]></text>
			</staticText>
		</band>
	</summary>
	<noData>
		<band height="105">
			<textField>
				<reportElement uuid="670b2fb1-0952-49f5-8458-aa0e25fd839b" x="0" y="0" width="802" height="20"/>
				<textElement>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
