<?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="RelatorioAnaliticoFinanceiro" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0e8aff42-5ba8-48ac-9950-da8178561888">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="inicio" class="java.util.Date"/>
	<parameter name="fim" class="java.util.Date"/>
	<field name="empresa" class="java.lang.String"/>
	<field name="movimentacao" class="java.lang.String"/>
	<field name="tipoVenta" class="java.lang.String"/>
	<field name="valorEnCaja" class="java.math.BigDecimal"/>
	<variable name="somatorio" class="java.math.BigDecimal" resetType="Group" resetGroup="movimentacao" calculation="Sum">
		<variableExpression><![CDATA[$F{valorEnCaja}]]></variableExpression>
	</variable>
	<group name="movimentacao">
		<groupExpression><![CDATA[$F{movimentacao}]]></groupExpression>
		<groupHeader>
			<band/>
		</groupHeader>
		<groupFooter>
			<band height="22">
				<staticText>
					<reportElement x="0" y="1" width="407" height="20" uuid="e8af2b08-de05-4002-8806-7764e68ff020"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="10" isBold="true"/>
					</textElement>
					<text><![CDATA[Resumo:]]></text>
				</staticText>
				<textField pattern="¤ #,##0.00">
					<reportElement x="407" y="1" width="148" height="20" uuid="a1bd63ab-8beb-4f63-bef1-a1aec1c332f7"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$V{somatorio}]]></textFieldExpression>
				</textField>
				<line>
					<reportElement x="343" y="0" width="212" height="1" uuid="8fd833bc-b3e5-4251-8199-a083d9aab7cf"/>
				</line>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="65" splitType="Stretch">
			<textField>
				<reportElement x="84" y="40" width="471" height="23" uuid="63ce47a3-7e94-42a2-8325-eceef777fbe2"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="0" width="276" height="20" uuid="2e2e9caa-4076-4209-bdaf-0017ddf83a56"/>
				<textElement verticalAlignment="Middle">
					<font size="14" isBold="true"/>
				</textElement>
				<text><![CDATA[ANALITICO FINANCEIRO]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement x="276" y="0" width="279" height="20" uuid="6b4f1375-4f4b-4b80-83b8-7650e62e107e"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="20" width="80" height="20" uuid="3f1d0681-30be-4c3a-ae90-cf34dd4ede3c"/>
				<textElement verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Período: "]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="40" width="84" height="23" uuid="cf05ce5a-615b-41ac-b24d-2c45ca1bc60e"/>
				<textElement verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Empresa:]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="80" y="20" width="78" height="20" uuid="7f5ee01d-f86d-49a4-a2a1-f1c671621ef0"/>
				<textElement textAlignment="Left" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{inicio}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="158" y="20" width="28" height="20" uuid="c1dec10a-743d-4569-916d-f1b65d4475b7"/>
				<textElement verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[" a "]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="186" y="20" width="369" height="20" uuid="0b39fe78-5378-404c-b364-8be6ca288e25"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{fim}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="63" width="555" height="1" uuid="481b2107-ee62-4815-8a89-8435d34384c8"/>
			</line>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="22" splitType="Stretch">
			<staticText>
				<reportElement x="407" y="0" width="148" height="20" uuid="58727baf-8cf7-43a4-8feb-486a89e1b629"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Valor]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="0" width="186" height="20" uuid="99d36c23-170f-482a-acf6-6bffe1511399"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Movimentação]]></text>
			</staticText>
			<staticText>
				<reportElement x="186" y="0" width="221" height="20" uuid="dedacc0a-a1d5-4d61-bf02-e4fcdf903f07"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Tipo de Venta]]></text>
			</staticText>
			<line>
				<reportElement x="2" y="20" width="553" height="1" uuid="cd1b96dd-2097-4af7-a025-7962bc5d7bee"/>
			</line>
		</band>
	</columnHeader>
	<detail>
		<band height="22" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement x="0" y="0" width="186" height="20" uuid="6ef05dfb-fea9-451c-a45a-1dc3f766af84"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{movimentacao}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="186" y="0" width="221" height="20" uuid="1ec545f5-b8f3-48cd-bc35-3c5f0c90db2e"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{tipoVenta}]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="407" y="0" width="148" height="20" uuid="f9a1f174-373e-45e2-a79e-66cb4e1d2427"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorEnCaja}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="33" splitType="Stretch"/>
	</summary>
</jasperReport>
