<?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="inf_traza_novedad_rp" language="groovy" pageWidth="850" pageHeight="612" orientation="Landscape" columnWidth="810" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.4641000000000013"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/presupuesto/informe_mensual_cdp"/>
	<property name="ireport.jasperserver.url" value="http://3.22.202.200:8080/jasperserver/services/repository"/>
	<subDataset name="Query">
		<queryString language="SQL">
			<![CDATA[select id, fecha, objeto, descripcion, id_vigencia, vigencia, fecha_nov, adicion, reduccion, valor_ini
from(
select cdp.id, cdp.fecha as fecha, cdp.objeto, nov.fecha as fecha_nov,
                  tip.descripcion, cdp.id_vigencia, cdp.ano_fiscal as vigencia,
                  0 as valor_ini,
                  case
                    when tip.descripcion ='Adición'
                      then val.valor
                    else 0
                  end as Adicion,
                  case
                    when tip.descripcion ='Reducción' OR tip.descripcion='Anulación' OR tip.descripcion='Cierre'
                      then val.valor*(-1)
                    else 0
                  end as Reduccion
              from  PR_CDP cdp
              join PR_NOVEDAD_CDP nov ON nov.id_cdp = cdp.id
                  and nov.id_vigencia = cdp.id_vigencia
                  and nov.vigencia = cdp.ano_fiscal
              join (select cval.id_novedad_cdp, sum(nvl(cval.debito,0) - nvl(cval.credito,0)) as valor
                    from PR_NOVEDAD_CDP_VAL cval group by cval.id_novedad_cdp
              )val ON nov.id_novedad_cdp= val.id_novedad_cdp
              join PR_TIPO_NOVEDAD_CDP tip ON nov.id_tipo_novedad = tip.id_tipo_novedad_cdp
              union
                select cdp.id, cdp.fecha as fecha, cdp.objeto, nov.fecha as fecha_nov,
                  tip.descripcion, cdp.id_vigencia, cdp.ano_fiscal as vigencia,
                  0 as valor_ini,
                  case
                    when tip.descripcion ='Adición'
                      then val.valor
                    else 0
                  end as Adicion,
                  case
                    when tip.descripcion ='Reducción' OR tip.descripcion='Anulación' OR tip.descripcion='Cierre'
                      then val.valor*(-1)
                    else 0
                  end as Reduccion
              from  PR_CDP cdp
              join PR_NOVEDAD_CDP nov ON nov.id_cdp = cdp.id
                  and nov.id_vigencia = cdp.id_vigencia
                  and nov.vigencia = cdp.ano_fiscal
	            join (select cval.id_novedad_cdp, sum(nvl(cval.debito,0) - nvl(cval.credito,0)) as valor
                    from PR_NOVEDAD_CDP_VAL cval group by cval.id_novedad_cdp
              )val ON nov.id_novedad_cdp= val.id_novedad_cdp
              join PR_TIPO_NOVEDAD_CDP tip ON nov.id_tipo_novedad = tip.id_tipo_novedad_cdp
              union
              --CDPS de comisiones
              select cdp.id, cdp.fecha as fecha, cdp.objeto, nov.fecha as fecha_nov,
                  tip.descripcion, cdp.id_vigencia, cdp.ano_fiscal as vigencia,
                  0 as valor_ini,
                  case
                    when tip.descripcion ='Adición'
                      then val.valor
                    else 0
                  end as Adicion,
                  case
                    when tip.descripcion ='Reducción' OR tip.descripcion='Anulación' OR tip.descripcion='Cierre'
                      then val.valor*(-1)
                    else 0
                  end as Reduccion
              from  PR_CDP cdp
              join PR_NOVEDAD_CDP nov ON nov.id_cdp = cdp.id
                  and nov.id_vigencia = cdp.id_vigencia
                  and nov.vigencia = cdp.ano_fiscal
              join (select cval.id_novedad_cdp, sum(nvl(cval.debito,0) - nvl(cval.credito,0)) as valor
                    from PR_NOVEDAD_CDP_VAL cval group by cval.id_novedad_cdp
              )val ON nov.id_novedad_cdp= val.id_novedad_cdp
              join PR_TIPO_NOVEDAD_CDP tip ON nov.id_tipo_novedad = tip.id_tipo_novedad_cdp
              union
                select cdp.id, cdp.fecha as fecha, cdp.objeto, nov.fecha as fecha_nov,
                  tip.descripcion, cdp.id_vigencia, cdp.ano_fiscal as vigencia,
                  0 as valor_ini,
                  case
                    when tip.descripcion ='Adición'
                      then val.valor
                    else 0
                  end as Adicion,
                  case
                    when tip.descripcion ='Reducción' OR tip.descripcion='Anulación' OR tip.descripcion='Cierre'
                      then val.valor*(-1)
                    else 0
                  end as Reduccion
              from  PR_CDP_COMIS cdp
              join PR_NOVEDAD_CDP nov ON nov.id_cdp = cdp.id
                  and nov.id_vigencia = cdp.id_vigencia
                  and nov.vigencia = cdp.ano_fiscal
	            join (select cval.id_novedad_cdp, sum(nvl(cval.debito,0) - nvl(cval.credito,0)) as valor
                    from PR_NOVEDAD_CDP_VAL cval group by cval.id_novedad_cdp
              )val ON nov.id_novedad_cdp= val.id_novedad_cdp
              join PR_TIPO_NOVEDAD_CDP tip ON nov.id_tipo_novedad = tip.id_tipo_novedad_cdp
 )
 order by id]]>
		</queryString>
	</subDataset>
	<parameter name="id_rp" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="vigencia" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[select
cie.ID_CIERRE_COMISION,
cie.ID_RP_COMIS,
cie.ID_VIGENCIA,
cie.VIGENCIA,
cie.ID_TIPO_NOV_COMIS,
cie.FECHA_PROCESO,
cie.NO_FOLIOS,
cie.OBSERVACIONES,
cie.USUARIO,
cie.FECHA_SYS,
tip.descripcion as tipo_nov,
avan.no_legal_siif,
to_char(avan.fecha_legal_siif,'yyyy-mm-dd') as fecha_legal_siif,
ter.num_doc,
ter.razon_soc,
upper(usucie.nombre || ' ' || usucie.apellido ) as usuario_siif

from pr_cierre_comision cie

left join pr_tipo_nov_comis tip
on tip.ID_TIPO_NOV_COMIS = cie.ID_TIPO_NOV_COMIS

left join pr_avances_comisiones avan
on cie.id_rp_comis = avan.id_rp_comis
and cie.id_vigencia = avan.id_vigencia
and cie.vigencia = avan.vigencia

left join pr_rp_comis rp
on rp.id = cie.id_rp_comis
and rp.id_vigencia = cie.id_vigencia
and rp.vigencia = cie.vigencia

left join interceros_v ter
on ter.id_mae_ter = rp.id_mae_ter

left join usuario usucie
on usucie.username = avan.usuario_legal_siif

where
cie.id_rp_comis = $P{id_rp}
and cie.vigencia = $P{vigencia}

order by
cie.fecha_sys,
cie.ID_TIPO_NOV_COMIS]]>
	</queryString>
	<field name="ID_CIERRE_COMISION" class="java.math.BigDecimal"/>
	<field name="ID_RP_COMIS" class="java.math.BigDecimal"/>
	<field name="ID_VIGENCIA" class="java.math.BigDecimal"/>
	<field name="VIGENCIA" class="java.lang.String"/>
	<field name="ID_TIPO_NOV_COMIS" class="java.math.BigDecimal"/>
	<field name="FECHA_PROCESO" class="java.sql.Timestamp"/>
	<field name="NO_FOLIOS" class="java.math.BigDecimal"/>
	<field name="OBSERVACIONES" class="java.lang.String"/>
	<field name="USUARIO" class="java.lang.String"/>
	<field name="FECHA_SYS" class="java.sql.Timestamp"/>
	<field name="TIPO_NOV" class="java.lang.String"/>
	<field name="NO_LEGAL_SIIF" class="java.lang.String"/>
	<field name="FECHA_LEGAL_SIIF" class="java.lang.String"/>
	<field name="NUM_DOC" class="java.lang.String"/>
	<field name="RAZON_SOC" class="java.lang.String"/>
	<field name="USUARIO_SIIF" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="60" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="610" y="28" width="200" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha de Impresión:]]></text>
			</staticText>
			<textField pattern="dd-MMM-yyyy   hh:mm aaa">
				<reportElement x="611" y="40" width="199" height="12"/>
				<box rightPadding="3"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="176" y="0" width="434" height="40"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Informe Trazabilidad de Novedades"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="177" y="40" width="433" height="20"/>
				<textElement textAlignment="Center">
					<font size="12" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Registro Presupuestal: "+$P{id_rp}+" de "+$P{vigencia}]]></textFieldExpression>
			</textField>
			<image>
				<reportElement x="0" y="0" width="176" height="60"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.png"]]></imageExpression>
			</image>
		</band>
	</title>
	<pageHeader>
		<band height="122" splitType="Stretch">
			<textField>
				<reportElement x="0" y="13" width="510" height="20"/>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Novedades Registradas en el Registro Presupuestal No. " + $F{ID_RP_COMIS}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="33" width="510" height="20"/>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["BENEFICIARIO: " + $F{NUM_DOC} + " - " + $F{RAZON_SOC}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="53" width="510" height="20" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[$F{NO_LEGAL_SIIF} != null]]></printWhenExpression>
				</reportElement>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Legalización SIIF No."+$F{NO_LEGAL_SIIF}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="73" width="510" height="20" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[$F{NO_LEGAL_SIIF} != null]]></printWhenExpression>
				</reportElement>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Fecha Legalización SIIF: " + $F{FECHA_LEGAL_SIIF}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="93" width="510" height="20" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[$F{NO_LEGAL_SIIF} != null]]></printWhenExpression>
				</reportElement>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Usuario Legalización SIIF: " + $F{USUARIO_SIIF}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="27" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="210" y="0" width="56" height="27" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="0">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[No. de Folios]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="510" y="0" width="100" height="27" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="0">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha Proceso]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="0" y="0" width="210" height="27" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="0">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Tipo de Novedad]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="610" y="0" width="100" height="27" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="0">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Usuario Registro]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="266" y="0" width="244" height="27" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="0">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Observaciones]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="710" y="0" width="100" height="27" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="0">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha Registro]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="21" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="210" y="0" width="56" height="21"/>
				<box leftPadding="0">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{NO_FOLIOS}]]></textFieldExpression>
			</textField>
			<textField pattern="yyyy-MM-dd" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="510" y="0" width="100" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
				<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.sql.Timestamp"><![CDATA[$F{FECHA_PROCESO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="0" y="0" width="210" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
				<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Justified" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TIPO_NOV}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="610" y="0" width="100" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
				<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{USUARIO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="266" y="0" width="244" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
				<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Justified" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{OBSERVACIONES}]]></textFieldExpression>
			</textField>
			<textField pattern="yyyy-MM-dd HH.mm.ss" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="710" y="0" width="100" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
				<box topPadding="2" leftPadding="2" bottomPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.sql.Timestamp"><![CDATA[$F{FECHA_SYS}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band height="26"/>
	</columnFooter>
	<pageFooter>
		<band height="24" splitType="Stretch">
			<textField>
				<reportElement mode="Opaque" x="360" y="12" width="89" height="12" forecolor="#575757" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Página "+$V{PAGE_NUMBER}+" de "]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="450" y="12" width="60" height="12" forecolor="#575757" backcolor="#FFFFFF"/>
				<textElement verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="360" y="0" width="150" height="12" forecolor="#575757"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<text><![CDATA[Websafi - Presupuesto]]></text>
			</staticText>
		</band>
	</pageFooter>
	<noData>
		<band height="20">
			<staticText>
				<reportElement x="0" y="0" width="810" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[No hay objetos a mostrar.]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
