<?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="relatorioFormaPagamentoAgencia" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="832cc8a2-6330-4063-9b36-f96514ae8283">
	<property name="ireport.zoom" value="1.0000000000000073"/>
	<property name="ireport.x" value="112"/>
	<property name="ireport.y" value="0"/>
	<parameter name="DATA_INICIAL" class="java.util.Date"/>
	<parameter name="DATA_FINAL" class="java.util.Date"/>
	<queryString language="SQL">
		<![CDATA[]]>
	</queryString>
	<field name="FECHORVENTA" class="java.lang.String"/>
	<field name="DESCMOTIVO" class="java.lang.String"/>
	<field name="NOMBPUNTOVENTA" class="java.lang.String"/>
	<field name="NOMBEMPRESA" class="java.lang.String"/>
	<field name="DESCGRUPO" class="java.lang.String"/>
	<field name="PRECIOPAGADO" class="java.lang.Double"/>
	<variable name="TOTAL" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{PRECIOPAGADO}]]></variableExpression>
	</variable>
	<group name="grupoLinha">
		<groupExpression><![CDATA[$F{NOMBPUNTOVENTA}]]></groupExpression>
		<groupHeader>
			<band height="24">
				<textField isBlankWhenNull="true">
					<reportElement uuid="151a46f2-5c54-4a0e-91c2-a49986a08cff" x="66" y="0" width="300" height="20" isPrintWhenDetailOverflows="true"/>
					<textElement>
						<font isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{NOMBPUNTOVENTA}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement uuid="1fee5538-4ea6-478e-b565-0733f1433db8" x="0" y="0" width="66" height="20"/>
					<textElement>
						<font isBold="true"/>
					</textElement>
					<text><![CDATA[AGÊNCIA:]]></text>
				</staticText>
				<line>
					<reportElement uuid="dc28a147-134b-4d45-bed6-1480b4d3a4c6" x="0" y="21" width="801" height="1"/>
				</line>
				<line>
					<reportElement uuid="ec3398d1-80da-48c7-8ded-9aedf86a3306" x="0" y="-5" width="801" height="1"/>
				</line>
			</band>
		</groupHeader>
		<groupFooter>
			<band/>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="62" splitType="Stretch">
			<staticText>
				<reportElement uuid="7f9cea32-d0e7-4c05-9efc-233cdd5137ab" x="0" y="39" width="66" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[PERÍODO:]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="367cee8b-2874-4078-b9c4-90285e81ec06" x="0" y="0" width="802" height="20"/>
				<textElement textAlignment="Center">
					<font size="14" isBold="true"/>
				</textElement>
				<text><![CDATA[Relatório Financeiro por Grupo de Linhas]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="c45a1ecd-8b5e-4bd7-9139-56e0844cea7e" x="137" y="39" width="10" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[ - ]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy">
				<reportElement uuid="07dfa225-148c-4de6-a428-3c91f83c4081" x="67" y="39" width="70" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement uuid="3948e59f-21d8-47c8-8077-a57af30605c5" x="147" y="39" width="70" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<columnHeader>
		<band height="27">
			<staticText>
				<reportElement uuid="a355fd56-2041-4ca0-b9bd-c3ed0173f704" x="0" y="0" width="66" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[DATA]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="70c670fb-e9a0-49b8-8332-1eb625b27fc6" x="67" y="0" width="300" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[MOTIVO]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="73e6808f-fb41-4017-b857-2a1611fd8006" x="367" y="0" width="219" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[EMPRESA]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="97055f24-9341-4ac3-8445-7f2d2ebc76e2" x="586" y="0" width="107" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[LINHA]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="d381d9e7-bb72-431f-af00-3584f9ca9f7b" x="693" y="0" width="107" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[PREÇO]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="22" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement uuid="e873a0b8-5b07-4883-8be6-edf75307e9ab" x="66" y="1" width="300" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{DESCMOTIVO}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="true">
				<reportElement uuid="d2f490c1-e807-4243-a3e0-b86229a83c6b" x="366" y="1" width="220" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{NOMBEMPRESA}]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement uuid="a3119d26-2d10-40c5-98dc-bf0f6be3fc25" x="586" y="1" width="107" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{DESCGRUPO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="ccad4f84-243a-47cf-904a-15c4ba7feee4" x="693" y="1" width="107" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$F{PRECIOPAGADO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="66455995-be07-4062-8234-ade8ccfd79c0" x="0" y="1" width="66" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{FECHORVENTA}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band/>
	</columnFooter>
	<lastPageFooter>
		<band/>
	</lastPageFooter>
	<summary>
		<band height="50">
			<staticText>
				<reportElement uuid="23836f01-2215-4ba5-8d68-59a493e7f45a" x="586" y="6" width="107" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Total]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="c2d79e24-3592-4e71-956c-fe3e794d71db" x="693" y="6" width="107" height="20"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TOTAL}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="0655900a-c532-4eea-add9-6c2f3d78299d" x="1" y="3" width="801" height="1"/>
			</line>
		</band>
	</summary>
	<noData>
		<band height="45">
			<textField>
				<reportElement uuid="6c28de84-ceae-409b-bde5-04f66cb9a805" x="175" y="12" width="553" height="20"/>
				<textElement markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
