<?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="RelatorioFinanceiroReceitasDespesas" pageWidth="1243" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1203" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
	<property name="ireport.zoom" value="8.33987597023839"/>
	<property name="ireport.x" value="8612"/>
	<property name="ireport.y" value="861"/>
	<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"/>
	<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
	<style name="zebrado">
		<conditionalStyle>
			<conditionExpression><![CDATA[$V{REPORT_COUNT}%2==1]]></conditionExpression>
			<style backcolor="#CCCCCC"/>
		</conditionalStyle>
	</style>
	<parameter name="fecInicioFiltro" class="java.lang.String"/>
	<parameter name="fecFinalFiltro" class="java.lang.String"/>
	<parameter name="noDataRelatorio" class="java.lang.String"/>
	<parameter name="nombEmpresa" class="java.lang.String"/>
	<parameter name="USUARIO" class="java.lang.String"/>
	<parameter name="filtros" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="fecHorVta" class="java.util.Date"/>
	<field name="puntoVentaId" class="java.lang.Integer"/>
	<field name="nombPuntoVenta" class="java.lang.String"/>
	<field name="tipoEventoExtraId" class="java.lang.String"/>
	<field name="descTipoEvento" class="java.lang.String"/>
	<field name="precio" class="java.math.BigDecimal"/>
	<field name="numPuntoVenta" class="java.lang.String"/>
	<field name="indtipo" class="java.lang.Integer"/>
	<field name="numSeriePreImpresa" class="java.lang.String"/>
	<field name="numFolioPreImpreso" class="java.lang.String"/>
	<field name="numDocumento" class="java.lang.String"/>
	<field name="formaPagamento1" class="java.lang.String"/>
	<field name="formaPagamento2" class="java.lang.String"/>
	<field name="formaPagamento3" class="java.lang.String"/>
	<field name="valorFormaPagamento3" class="java.math.BigDecimal"/>
	<field name="valorFormaPagamento2" class="java.math.BigDecimal"/>
	<field name="valorFormaPagamento1" class="java.math.BigDecimal"/>
	<field name="descricao" class="java.lang.String"/>
	<variable name="vTotal" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{precio}]]></variableExpression>
	</variable>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band splitType="Stretch"/>
	</title>
	<pageHeader>
		<band height="81" splitType="Stretch">
			<textField>
				<reportElement x="1041" y="20" width="139" height="20" uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec"/>
				<textElement textAlignment="Right">
					<font isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.pagina} + " " + $V{PAGE_NUMBER}+ " " + $R{cabecalho.de}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="0" width="1041" 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="1041" y="0" width="161" height="20" uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5"/>
				<textElement textAlignment="Right">
					<font isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField pattern="">
				<reportElement x="0" y="20" width="1041" height="20" uuid="fd05bd35-30d9-4baf-aa56-f8e5d3c3268b"/>
				<textElement>
					<font isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.periodo} + " " + $P{fecInicioFiltro} + " " + $R{cabecalho.periodoA} + " " + $P{fecFinalFiltro}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement x="1180" y="20" width="22" height="20" uuid="b3192d34-b55c-4a4e-9d38-227fbcd2f2bb"/>
				<textElement>
					<font size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="102" y="40" width="939" height="20" uuid="cbf22091-2856-4cb1-8115-c3fee5ce5299"/>
				<textFieldExpression><![CDATA[$P{nombEmpresa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="102" y="60" width="1100" height="20" uuid="b1cf4373-eaf7-44ea-a501-f860094844df"/>
				<textFieldExpression><![CDATA[$P{filtros}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="40" width="102" height="20" uuid="3c46e28b-2bd3-4839-aacb-c60759cdbe19"/>
				<textElement markup="none"/>
				<textFieldExpression><![CDATA[$R{cabecalho.empresa}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement mode="Transparent" x="1041" y="40" width="161" height="20" forecolor="#000000" backcolor="#FFFFFF" uuid="2112e0ea-6df2-448f-8761-5c211d3012d3"/>
				<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="60" width="102" height="20" uuid="718f0c7e-92f9-4204-8405-4b65faf995c6"/>
				<textElement markup="none"/>
				<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="21" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="102" height="20" uuid="a3dea313-f2a7-4388-bd91-5c02e8612b8e"/>
				<textFieldExpression><![CDATA[$R{label.data}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement positionType="Float" x="0" y="20" width="1203" height="1" uuid="811af238-a027-48e9-bd6f-eee885474929"/>
			</line>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="102" y="0" width="102" height="20" uuid="1ee34c25-6f62-4fec-88b8-09678b2bfd18"/>
				<textFieldExpression><![CDATA[$R{label.agenciaCodigo}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="204" y="0" width="173" height="20" uuid="a228f320-6e89-45a4-aef6-d1e8e76fa7a7"/>
				<textFieldExpression><![CDATA[$R{label.agenciaDescricao}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="427" y="0" width="98" height="20" uuid="6724b194-ae32-48c6-ac74-578fe785e768"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$R{label.operacaoDescricao}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="377" y="0" width="50" height="20" uuid="4aec7219-59e5-4942-9887-363a961fb6f1"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[$R{label.operacaoCodigo}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="905" y="0" width="60" height="20" uuid="083fbdd9-6c4b-4876-91d3-e5f16ca1bb43"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$R{label.serie}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="965" y="0" width="80" height="20" uuid="ba0b9ea8-1174-4521-a19a-efc7ea2c9306"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$R{label.numero}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="605" y="0" width="50" height="20" uuid="6d430f80-9725-4277-8eb7-9c36b8d0496c"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$R{label.formaPagamento1}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="1045" y="0" width="80" height="20" uuid="2623c86d-602e-44af-bfbc-7a13150d1201"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$R{label.numeroDocumento}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="705" y="0" width="50" height="20" uuid="98852ec0-40cc-46f6-8e15-d243abbef01e"/>
				<textElement textAlignment="Center" markup="none"/>
				<textFieldExpression><![CDATA[$R{label.formaPagamento2}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="525" y="0" width="80" height="20" uuid="97964207-4388-4f8b-be2b-befe4264210c"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$R{label.valor}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="805" y="0" width="50" height="20" uuid="ec59317f-459d-40ce-ae3e-b3c4403b8398"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$R{label.formaPagamento3}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="855" y="0" width="50" height="20" uuid="3e1ddb02-ca37-431f-b072-76b9720119a5"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$R{label.valorFormaPagamento3}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="755" y="0" width="50" height="20" uuid="53bb879c-643a-4dd8-b9d9-4b978bec7df2"/>
				<textElement textAlignment="Right" markup="none"/>
				<textFieldExpression><![CDATA[$R{label.valorFormaPagamento2}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="655" y="0" width="50" height="20" uuid="72be8326-4994-4155-b95a-bd7735d2a3c7"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$R{label.valorFormaPagamento1}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="1125" y="0" width="78" height="20" uuid="3130c634-e02d-48cd-a327-0fa62f0b46dd"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$R{label.descricao}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="20" splitType="Stretch">
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="0" width="102" height="20" isPrintWhenDetailOverflows="true" uuid="c98526c0-c36f-42df-9308-452ac671044c"/>
				<textFieldExpression><![CDATA[$F{fecHorVta}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="102" y="0" width="102" height="20" isPrintWhenDetailOverflows="true" uuid="15424f70-9d6b-436a-a844-4ff5a828e9a1"/>
				<textFieldExpression><![CDATA[$F{numPuntoVenta}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="204" y="0" width="173" height="20" isPrintWhenDetailOverflows="true" uuid="aad51f92-6577-4404-9c57-1d47c0c64c6a"/>
				<textFieldExpression><![CDATA[$F{nombPuntoVenta}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="377" y="0" width="50" height="20" isPrintWhenDetailOverflows="true" uuid="54df7028-fdb6-489b-bfe9-63a5ccf0a54b"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[$F{tipoEventoExtraId}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="427" y="0" width="98" height="20" isPrintWhenDetailOverflows="true" uuid="e2841610-831d-4379-96ff-e5806f4c1ceb"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{descTipoEvento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="525" y="0" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="77d7eb39-6b9d-448d-981b-01813e97d038"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$F{precio}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="905" y="0" width="60" height="20" isPrintWhenDetailOverflows="true" uuid="0e52dd5f-4863-4f27-b949-222494f73b06"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{numSeriePreImpresa}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="965" y="0" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="74841386-7603-436e-82cd-b1eaf08a5c44"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{numFolioPreImpreso}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="1045" y="0" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="d0037045-52bd-42b7-b074-1c79cd87fd74"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{numDocumento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="605" y="0" width="50" height="20" isPrintWhenDetailOverflows="true" uuid="a9a0a244-8f87-4ebf-8557-dfde197b4287"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{formaPagamento1}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="655" y="0" width="50" height="20" uuid="be7f0c15-3826-4f96-a4ce-1c869ccfeaae"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Top" markup="styled">
					<font fontName="SansSerif" size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorFormaPagamento1}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="755" y="0" width="50" height="20" uuid="87447828-a63c-4c13-b39e-6c9f8a218db2"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Top" markup="styled">
					<font fontName="SansSerif" size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorFormaPagamento2}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="855" y="0" width="50" height="20" uuid="2993afe4-7410-4498-b8a0-39d03f2bcbb5"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Top" markup="styled">
					<font fontName="SansSerif" size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorFormaPagamento3}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="1125" y="0" width="78" height="20" isPrintWhenDetailOverflows="true" uuid="ce7d9cf4-2d9c-42e4-b962-b7fe813a433e"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="805" y="0" width="50" height="20" uuid="5e041247-1ea0-4af1-a4bb-445dc2ddd06f"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Top" markup="styled">
					<font fontName="SansSerif" size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{formaPagamento3}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="705" y="0" width="50" height="20" uuid="607ce7fb-25e5-4400-88f6-49e6c5aa4a04"/>
				<box>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Top" markup="styled">
					<font fontName="SansSerif" size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{formaPagamento2}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="21" splitType="Stretch">
			<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="605" y="1" width="150" height="20" isPrintWhenDetailOverflows="true" uuid="417ed1de-ce71-42fa-8108-33a37f6a0626"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{vTotal}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement positionType="Float" x="0" y="0" width="1203" height="1" uuid="c8dfd524-14cc-454c-afc0-3ce9f8d0ead8"/>
			</line>
			<textField>
				<reportElement x="0" y="1" width="605" height="20" uuid="38a0f957-1b50-46f9-b79f-c631baf8937b"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="24">
			<textField isBlankWhenNull="true">
				<reportElement positionType="Float" x="0" y="0" width="1202" height="24" isPrintWhenDetailOverflows="true" uuid="d7df66c6-4dc0-4f3b-88f4-b22094d29091"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
