<?xml version="1.0" encoding="UTF-8"  ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
		 name="INDIVIDUAL_PAGAMENTO_TRANSP_AGREGADO"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Landscape"
		 pageWidth="842"
		 pageHeight="595"
		 columnWidth="782"
		 columnSpacing="0"
		 leftMargin="30"
		 rightMargin="30"
		 topMargin="20"
		 bottomMargin="20"
		 whenNoDataType="NoPages"
		 isTitleNewPage="false"
		 isSummaryNewPage="false">
	<property name="ireport.zoom" value="1.5" />
	<property name="ireport.x" value="0" />
	<property name="ireport.y" value="48" />
	<property name="ireport.scriptlethandling" value="0" />
	<property name="ireport.encoding" value="UTF-8" />
	<import value="java.util.*" />
	<import value="net.sf.jasperreports.engine.*" />
	<import value="net.sf.jasperreports.engine.data.*" />

	<parameter name="NOME_RELATORIO" isForPrompting="true" class="java.lang.String"/>
	<parameter name="CNPJ" isForPrompting="true" class="java.lang.String"/>
	<parameter name="INSCRICAO_ESTADUAL" isForPrompting="true" class="java.lang.String"/>
	<parameter name="NOME_EMPRESA" isForPrompting="true" class="java.lang.String"/>
	<parameter name="FECHO" isForPrompting="true" class="java.lang.String"/>
	<parameter name="LOGO_RELATORIO" isForPrompting="true" class="net.sf.jasperreports.engine.JRImageRenderer"/>
	<parameter name="SINTETICO_ANALITICO" isForPrompting="true" class="java.lang.Short"/>
	<parameter name="QUEBRAR_TRANS_AGREG" isForPrompting="true" class="java.lang.Short"/>
	<parameter name="FILTRAR_TRANS_AGREG" isForPrompting="true" class="java.lang.Short"/>
	<parameter name="ID_TRANS_AGREG_INICIAL" isForPrompting="true" class="java.lang.Long"/>
	<parameter name="ID_TRANS_AGREG_FINAL" isForPrompting="true" class="java.lang.Long"/>
	<parameter name="SUB_DIR_SINGLE" isForPrompting="false" class="java.lang.String"/>
	<parameter name="DATA_INICIAL" isForPrompting="false" class="java.util.Date"/>
	<parameter name="DATA_FINAL" isForPrompting="false" class="java.util.Date"/>
	<queryString language="hql"><![CDATA[select
distinct
a.identificador as idAdiantMes,
a.valor as valorAdiantMes,
p.identificador as identificadorPagtoAgreg,
p.valorLiquido as valorLiquido,
p.valorProventos as valorProventos,
p.valorDescontos as valorDescontos,
p.valorAdiantamentos as valorAdiantamentos,
p.valorConsumo as valorConsumo,
p.valorAdiantamentoMes as valorAdiantamentoMes,
p.grupoPagtoTranspAgregado.identificador as identificadorGrupoPagamento,
p.grupoPagtoTranspAgregado.dataInicial as dataInicial,
p.grupoPagtoTranspAgregado.dataFinal as dataFinal,
t.identificador as idTitulo,
t.valor as valorTitulo,
t.dataVencimento as dataVencTitulo,
p.transportadorAgregado.pessoa.nome as transAgregado,
p.transportadorAgregado.pessoa.complemento.cnpj as cnpj,
p.grupoPagtoTranspAgregado.formaPagamento.descricao as formaPagamento
 from PagtoTranspAgregado p
left join p.titulo t
left join p.adiantamentoTranspAgregado a
WHERE
p.grupoPagtoTranspAgregado.dataPagto BETWEEN $P{DATA_INICIAL} AND $P{DATA_FINAL}
AND ( $P{FILTRAR_TRANS_AGREG} <> 1 OR
    p.transportadorAgregado.identificador between $P{ID_TRANS_AGREG_INICIAL} AND $P{ID_TRANS_AGREG_FINAL} )]]></queryString>

	<field name="identificadorPagtoAgreg" class="java.lang.Long"/>
	<field name="valorLiquido" class="java.lang.Double"/>
	<field name="valorProventos" class="java.lang.Double"/>
	<field name="valorDescontos" class="java.lang.Double"/>
	<field name="valorAdiantamentos" class="java.lang.Double"/>
	<field name="valorConsumo" class="java.lang.Double"/>
	<field name="valorAdiantamentoMes" class="java.lang.Double"/>
	<field name="identificadorGrupoPagamento" class="java.lang.Long"/>
	<field name="dataInicial" class="java.util.Date"/>
	<field name="dataFinal" class="java.util.Date"/>
	<field name="idTitulo" class="java.lang.Long"/>
	<field name="valorTitulo" class="java.lang.Double"/>
	<field name="dataVencTitulo" class="java.util.Date"/>
	<field name="transAgregado" class="java.lang.String"/>
	<field name="cnpj" class="java.lang.String"/>
	<field name="formaPagamento" class="java.lang.String"/>
	<field name="idAdiantMes" class="java.lang.Long"/>
	<field name="valorAdiantMes" class="java.lang.Double"/>

		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="77"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="299"
						y="35"
						width="27"
						height="12"
						key="staticText-1"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement>
						<font pdfFontName="Helvetica-BoldOblique" size="8" isBold="true" isItalic="true"/>
					</textElement>
				<text><![CDATA[CNPJ :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="HH.mm.ss" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="608"
						y="34"
						width="67"
						height="14"
						key="textField-1"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="574"
						y="34"
						width="35"
						height="14"
						key="staticText-2"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement>
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Hora :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd/MM/yyyy" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="608"
						y="18"
						width="67"
						height="14"
						key="textField-2"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="295"
						y="11"
						width="279"
						height="17"
						key="textField-3"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{NOME_EMPRESA}]]></textFieldExpression>
				</textField>
				<image  evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="140"
						y="2"
						width="154"
						height="52"
						key="image-1"/>
					<box></box>
					<graphicElement stretchType="NoStretch"/>
					<imageExpression class="net.sf.jasperreports.engine.JRRenderable"><![CDATA[$P{LOGO_RELATORIO}]]></imageExpression>
				</image>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="327"
						y="35"
						width="80"
						height="12"
						key="textField-4"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{CNPJ}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="574"
						y="18"
						width="35"
						height="14"
						key="staticText-3"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement>
						<font pdfFontName="Helvetica-Bold" size="8" isBold="true"/>
					</textElement>
				<text><![CDATA[Data :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="486"
						y="35"
						width="85"
						height="12"
						key="textField-5"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{INSCRICAO_ESTADUAL}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="408"
						y="35"
						width="77"
						height="12"
						key="staticText-4"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement>
						<font pdfFontName="Helvetica-BoldOblique" size="8" isBold="true" isItalic="true"/>
					</textElement>
				<text><![CDATA[Inscrição Estadual :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="54"
						width="782"
						height="21"
						key="textField-6"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["Pagamento de Transportadores Agregados"]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="75"
						width="782"
						height="1"
						key="line-1"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="248"
						y="-152"
						width="35"
						height="10"
						key="staticText-6"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Parcela]]></text>
				</staticText>
			</band>
		</columnHeader>
		<detail>
			<band height="84"  isSplitAllowed="true" >
				<rectangle>
					<reportElement
						x="0"
						y="14"
						width="782"
						height="11"
						forecolor="#CCCCCC"
						backcolor="#CCCCCC"
						key="rectangle"/>
					<graphicElement stretchType="NoStretch"/>
				</rectangle>
				<staticText>
					<reportElement
						x="400"
						y="14"
						width="53"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Id. Pagamento]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="731"
						y="14"
						width="49"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Liquido]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="507"
						y="14"
						width="55"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Proventos]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="562"
						y="14"
						width="60"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Descontos]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="625"
						y="14"
						width="53"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Adiantamentos]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="679"
						y="14"
						width="51"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Consumo]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="455"
						y="14"
						width="52"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Adiantamentos]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="3"
						y="14"
						width="45"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Id. Gr. Pagto]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="47"
						y="14"
						width="51"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Data Inicial]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="97"
						y="14"
						width="54"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Data Final]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="150"
						y="14"
						width="44"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Id. Titulo]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="193"
						y="14"
						width="49"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Valor Ttiulo]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="241"
						y="14"
						width="56"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Dt. Venc. Tit.]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="362"
						y="2"
						width="40"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[CNPJ:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="486"
						y="2"
						width="85"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Forma Pagamento:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="0"
						y="2"
						width="73"
						height="10"
						key="staticText"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Transp. Agregado:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="400"
						y="26"
						width="53"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Long"><![CDATA[$F{identificadorPagtoAgreg}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="731"
						y="26"
						width="49"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{valorLiquido}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="507"
						y="26"
						width="55"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{valorProventos}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="562"
						y="26"
						width="60"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{valorDescontos}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="625"
						y="26"
						width="53"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{valorAdiantamentos}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="679"
						y="26"
						width="51"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{valorConsumo}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="455"
						y="26"
						width="52"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{valorAdiantamentoMes}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="3"
						y="26"
						width="45"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Long"><![CDATA[$F{identificadorGrupoPagamento}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="dd/MM/yyyy" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="47"
						y="26"
						width="51"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{dataInicial}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="dd/MM/yyyy" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="97"
						y="26"
						width="54"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{dataFinal}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="150"
						y="26"
						width="44"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Long"><![CDATA[$F{idTitulo}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="193"
						y="26"
						width="49"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{valorTitulo}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="dd/MM/yyyy" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="241"
						y="26"
						width="56"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{dataVencTitulo}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="78"
						y="2"
						width="284"
						height="10"
						key="textField"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{transAgregado}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="574"
						y="2"
						width="192"
						height="10"
						key="textField"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{formaPagamento}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="405"
						y="2"
						width="80"
						height="10"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{cnpj}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="82"
						width="782"
						height="1"
						key="line"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<subreport  isUsingCache="true">
					<reportElement
						x="0"
						y="37"
						width="782"
						height="5"
						key="subreport-1"
						isRemoveLineWhenBlank="true">
							<printWhenExpression><![CDATA[new Boolean($P{SINTETICO_ANALITICO}.intValue()==1)]]></printWhenExpression>
						</reportElement>
					<subreportParameter  name="ID_PAGAMENTO_TRANS_AGREG">
						<subreportParameterExpression><![CDATA[$F{identificadorPagtoAgreg}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="HIBERNATE_SESSION">
						<subreportParameterExpression><![CDATA[$P{HIBERNATE_SESSION}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_SINGLE}+"SUB_IND_PAGAMENTO_TRANS_AGREGADO_CTE.jasper"]]></subreportExpression>
				</subreport>
				<subreport  isUsingCache="true">
					<reportElement
						x="0"
						y="44"
						width="782"
						height="5"
						key="subreport-2"
						positionType="Float"
						isRemoveLineWhenBlank="true">
							<printWhenExpression><![CDATA[new Boolean($P{SINTETICO_ANALITICO}.intValue()==1)]]></printWhenExpression>
						</reportElement>
					<subreportParameter  name="ID_PAGAMENTO_TRANS_AGREG">
						<subreportParameterExpression><![CDATA[$F{identificadorPagtoAgreg}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="HIBERNATE_SESSION">
						<subreportParameterExpression><![CDATA[$P{HIBERNATE_SESSION}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_SINGLE}+"SUB_IND_PAGAMENTO_TRANS_AGREGADO_RPS.jasper"]]></subreportExpression>
				</subreport>
				<subreport  isUsingCache="true">
					<reportElement
						x="0"
						y="58"
						width="782"
						height="5"
						key="subreport-3"
						positionType="Float"
						isRemoveLineWhenBlank="true">
							<printWhenExpression><![CDATA[new Boolean($P{SINTETICO_ANALITICO}.intValue()==1)]]></printWhenExpression>
						</reportElement>
					<subreportParameter  name="ID_PAGAMENTO_TRANS_AGREG">
						<subreportParameterExpression><![CDATA[$F{identificadorPagtoAgreg}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="HIBERNATE_SESSION">
						<subreportParameterExpression><![CDATA[$P{HIBERNATE_SESSION}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_SINGLE}+"SUB_IND_PAGAMENTO_TRANS_AGREGADO_CONSUMO.jasper"]]></subreportExpression>
				</subreport>
				<subreport  isUsingCache="true">
					<reportElement
						x="0"
						y="66"
						width="782"
						height="5"
						key="subreport-4"
						positionType="Float"
						isRemoveLineWhenBlank="true">
							<printWhenExpression><![CDATA[new Boolean($P{SINTETICO_ANALITICO}.intValue()==1)]]></printWhenExpression>
						</reportElement>
					<subreportParameter  name="ID_PAGAMENTO_TRANS_AGREG">
						<subreportParameterExpression><![CDATA[$F{identificadorPagtoAgreg}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="HIBERNATE_SESSION">
						<subreportParameterExpression><![CDATA[$P{HIBERNATE_SESSION}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_SINGLE}+"SUB_IND_PAGAMENTO_TRANS_AGREGADO_ADIANTAMENTOS.jasper"]]></subreportExpression>
				</subreport>
				<subreport  isUsingCache="true">
					<reportElement
						x="0"
						y="74"
						width="782"
						height="5"
						key="subreport-5"
						positionType="Float"
						isRemoveLineWhenBlank="true">
							<printWhenExpression><![CDATA[new Boolean($P{SINTETICO_ANALITICO}.intValue()==1)]]></printWhenExpression>
						</reportElement>
					<subreportParameter  name="ID_PAGAMENTO_TRANS_AGREG">
						<subreportParameterExpression><![CDATA[$F{identificadorPagtoAgreg}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="HIBERNATE_SESSION">
						<subreportParameterExpression><![CDATA[$P{HIBERNATE_SESSION}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_SINGLE}+"SUB_IND_PAGAMENTO_TRANS_AGREGADO_EVENTOS.jasper"]]></subreportExpression>
				</subreport>
				<break>
					<reportElement
						x="0"
						y="82"
						width="782"
						height="0"
						key="element-75">
							<printWhenExpression><![CDATA[new Boolean($P{QUEBRAR_TRANS_AGREG}.intValue()==1)]]></printWhenExpression>
						</reportElement>
				</break>
				<staticText>
					<reportElement
						x="296"
						y="14"
						width="53"
						height="10"
						key="staticText-7"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Id. Adiant. Mês]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="296"
						y="26"
						width="53"
						height="10"
						key="textField-10"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Long"><![CDATA[$F{idAdiantMes}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="348"
						y="14"
						width="52"
						height="10"
						key="staticText-8"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<text><![CDATA[Adian. Mes:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="348"
						y="26"
						width="52"
						height="10"
						key="textField-11"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{valorAdiantMes}]]></textFieldExpression>
				</textField>
				<subreport  isUsingCache="true">
					<reportElement
						x="0"
						y="52"
						width="782"
						height="5"
						key="subreport-6"
						positionType="Float"
						isRemoveLineWhenBlank="true">
							<printWhenExpression><![CDATA[new Boolean($P{SINTETICO_ANALITICO}.intValue()==1)]]></printWhenExpression>
						</reportElement>
					<subreportParameter  name="ID_PAGAMENTO_TRANS_AGREG">
						<subreportParameterExpression><![CDATA[$F{identificadorPagtoAgreg}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="HIBERNATE_SESSION">
						<subreportParameterExpression><![CDATA[$P{HIBERNATE_SESSION}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUB_DIR_SINGLE}+"SUB_IND_PAGAMENTO_TRANS_AGREGADO_PRERPS.jasper"]]></subreportExpression>
				</subreport>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="27"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="694"
						y="16"
						width="26"
						height="10"
						key="textField-7"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
				</textField>
				<line direction="BottomUp">
					<reportElement
						x="723"
						y="16"
						width="9"
						height="10"
						key="line-2"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="732"
						y="16"
						width="30"
						height="10"
						key="textField-8"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="592"
						y="15"
						width="100"
						height="10"
						forecolor="#0066CC"
						key="staticText-5"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Bottom">
						<font pdfFontName="Helvetica-Oblique" size="7" isItalic="true" isUnderline="true"/>
					</textElement>
				<text><![CDATA[TOUCHcomp.com.br]]></text>
				</staticText>
			</band>
		</pageFooter>
		<summary>
			<band height="25"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="782"
						height="25"
						key="textField-9"
						isRemoveLineWhenBlank="true"/>
					<box></box>
					<textElement textAlignment="Center" markup="html">
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{FECHO}]]></textFieldExpression>
				</textField>
			</band>
		</summary>
</jasperReport>
