<?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_reparto_leg" language="groovy" pageWidth="1500" pageHeight="612" orientation="Landscape" columnWidth="1460" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.7715610000000022"/>
	<property name="ireport.x" value="1657"/>
	<property name="ireport.y" value="0"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/presupuesto/inf_reparto_leg"/>
	<property name="ireport.jasperserver.url" value="http://3.22.202.200:8080/jasperserver/services/repository"/>
	<parameter name="whereIdRp" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="vigencia" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="whereIdTercero" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereBeneficiario" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereFecha" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereTerceroReparto" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[select DISTINCT

'$' as pesos,

substr( tab0.id , 4 ) as no_egreso,
com.codare,
area.descripcion as dependencia,
leg.fecha_proceso as fecha_leg,
lpad(to_char(leg.fecha_proceso,'dd'),2,'0') as dia_leg,
trim(initcap(to_char(leg.fecha_proceso,'MONTH','nls_date_language=spanish'))) as mes_leg,
to_char(leg.fecha_proceso,'yyyy') as anho_leg,
res.resolucion,
avan.fecha_ini_comi as fecha_comis,
lpad(to_char(avan.fecha_ini_comi,'dd'),2,'0') as dia_comis,
trim(initcap(to_char(avan.fecha_ini_comi,'MONTH','nls_date_language=spanish'))) as mes_comis,
to_char(avan.fecha_ini_comi,'yyyy') as anho_comis,
avan.fecha_fin_comi as fecha_comis_reg,
lpad(to_char(avan.fecha_fin_comi,'dd'),2,'0') as dia_comis_reg,
trim(initcap(to_char(avan.fecha_fin_comi,'MONTH','nls_date_language=spanish'))) as mes_comis_reg,
to_char(avan.fecha_fin_comi,'yyyy') as anho_comis_reg,
case when comis.tip = 1 then 'Nombre del funcionario:' else 'Nombre del contratista:' end as tip,
ter.nitocc,
ter.razsoc,
comis.dias,

avan.observaciones as observaciones_avan,
to_number(avan.dias_comi) as dias_comi,

nvl(inter.num_doc,' ') as num_doc_jefe,
nvl(inter.razon_soc,' ') as jefe,
nvl(tervo.num_doc,' ') as num_doc_vobo,
nvl(tervo.razon_soc,' ') as vobo,
avan.firmado,
avan.USUARIO_FIRMA,
avan.FECHA_FIRMA,

tab0.id,
tab0.id_tercero,
tab0.id_clase_admin,
tab0.no_acto_admin,
tab0.id_pago,
tab0.objeto,
tab0.observaciones,
tab0.destinos,
tab0.actividades,
tab0.id_cdp,
tab0.id_comision,
tab0.fecha,
tab0.fecha_proceso,
tab0.id_vigencia,
tab0.vigencia,
tab0.estado,
tab0.id_mae_ter,
tab0.destinos_add,
tab0.usuariolog,

nvl(sopleg.cant,0) as cant,
reparto.fecha_proceso as fecha_reparto,
nvl(ter_reparto.num_doc,' ') as num_doc_reparto,
nvl(ter_reparto.razon_soc,' ') as usuario_reparto,

rad.fecha_proceso as fecha_radicado

from pr_rp_comis tab0

left join PR_REPARTO_COMISION reparto on reparto.id_rp_comis = tab0.id
    and reparto.id_vigencia = tab0.id_vigencia
    and reparto.vigencia = tab0.vigencia
left join interceros_v ter_reparto on ter_reparto.id_mae_ter = reparto.id_mae_ter

left join comisiones com
on tab0.id_comision = com.id
and tab0.vigencia = com.vigencia

left join areas area
on area.codigo = com.codare

left join pr_legalizacion_comis leg
on leg.id_rp_comis = tab0.id
and leg.id_vigencia = tab0.id_vigencia
and leg.vigencia = tab0.vigencia
and leg.secuencia = 1

left join pr_resol_comis res
on res.id = tab0.no_acto_admin
and res.id_vigencia = tab0.id_vigencia
and res.vigencia = tab0.vigencia

left join(
    select
    1 as tip,
    comisionados_planta.*
    from comisionados_planta
    union
    select
    0 as tip,
    comisionados_contrato.*
    from comisionados_contrato
)comis
on comis.nitocc = tab0.id_tercero
and comis.id_comision = tab0.id_comision
and comis.vigencia = tab0.vigencia

left join terceros ter
on ter.nitocc = tab0.id_tercero

left join pr_avances_comisiones avan
on avan.id_rp_comis = tab0.id
and avan.id_vigencia = tab0.id_vigencia
and avan.vigencia = tab0.vigencia

left join pr_radicado_comis rad
on rad.id_rp_comis = tab0.id
and rad.id_vigencia = tab0.id_vigencia
and rad.vigencia = tab0.vigencia

left join interceros_v inter
on inter.id_mae_ter = avan.id_mae_ter

left join interceros_v tervo
on tervo.id_mae_ter = avan.id_usuario_vobo

left join(

    select
    id_rp_comis,
    id_vigencia,
    vigencia,
    count(adjunto) as cant
    from(
        select
        1 as tag_or,
        to_char(legsop.id_objetos_soporte_digital) as orden,
        legsop.id_rp_comis,
        legsop.id_vigencia,
        legsop.vigencia,
        legsop.adjunto
        from pr_legalizacion_soporte_dig legsop

        where
        legsop.adjunto is not null

        union

        select
        2 as tag_or,
        leggas.documento as orden,
        leggas.id_rp_comis,
        leggas.id_vigencia,
        leggas.vigencia,
        leggas.adjunto
        from pr_legalizacion_gasto_sopdig leggas

        where
        leggas.adjunto is not null

    )
    group by
    id_rp_comis,
    id_vigencia,
    vigencia

)sopleg
on sopleg.id_rp_comis = tab0.id
and sopleg.id_vigencia = tab0.id_vigencia
and sopleg.vigencia = tab0.vigencia

where
tab0.id_vigencia = 1
and tab0.vigencia = $P{vigencia}
$P!{whereIdRp}
$P!{whereIdTercero}
$P!{whereBeneficiario}
$P!{whereFecha}
$P!{whereTerceroReparto}

order by
leg.fecha_proceso,
tab0.id]]>
	</queryString>
	<field name="PESOS" class="java.lang.String"/>
	<field name="NO_EGRESO" class="java.lang.String"/>
	<field name="CODARE" class="java.lang.String"/>
	<field name="DEPENDENCIA" class="java.lang.String"/>
	<field name="FECHA_LEG" class="java.sql.Timestamp"/>
	<field name="DIA_LEG" class="java.lang.String"/>
	<field name="MES_LEG" class="java.lang.String"/>
	<field name="ANHO_LEG" class="java.lang.String"/>
	<field name="RESOLUCION" class="java.lang.String"/>
	<field name="FECHA_COMIS" class="java.sql.Timestamp"/>
	<field name="DIA_COMIS" class="java.lang.String"/>
	<field name="MES_COMIS" class="java.lang.String"/>
	<field name="ANHO_COMIS" class="java.lang.String"/>
	<field name="FECHA_COMIS_REG" class="java.sql.Timestamp"/>
	<field name="DIA_COMIS_REG" class="java.lang.String"/>
	<field name="MES_COMIS_REG" class="java.lang.String"/>
	<field name="ANHO_COMIS_REG" class="java.lang.String"/>
	<field name="TIP" class="java.lang.String"/>
	<field name="NITOCC" class="java.math.BigDecimal"/>
	<field name="RAZSOC" class="java.lang.String"/>
	<field name="DIAS" class="java.math.BigDecimal"/>
	<field name="OBSERVACIONES_AVAN" class="java.lang.String"/>
	<field name="DIAS_COMI" class="java.math.BigDecimal"/>
	<field name="NUM_DOC_JEFE" class="java.lang.String"/>
	<field name="JEFE" class="java.lang.String"/>
	<field name="NUM_DOC_VOBO" class="java.lang.String"/>
	<field name="VOBO" class="java.lang.String"/>
	<field name="FIRMADO" class="java.math.BigDecimal"/>
	<field name="USUARIO_FIRMA" class="java.lang.String"/>
	<field name="FECHA_FIRMA" class="java.sql.Timestamp"/>
	<field name="ID" class="java.math.BigDecimal"/>
	<field name="ID_TERCERO" class="java.math.BigDecimal"/>
	<field name="ID_CLASE_ADMIN" class="java.math.BigDecimal"/>
	<field name="NO_ACTO_ADMIN" class="java.math.BigDecimal"/>
	<field name="ID_PAGO" class="java.math.BigDecimal"/>
	<field name="OBJETO" class="java.lang.String"/>
	<field name="OBSERVACIONES" class="java.lang.String"/>
	<field name="DESTINOS" class="java.lang.String"/>
	<field name="ACTIVIDADES" class="java.lang.String"/>
	<field name="ID_CDP" class="java.math.BigDecimal"/>
	<field name="ID_COMISION" class="java.math.BigDecimal"/>
	<field name="FECHA" class="java.sql.Timestamp"/>
	<field name="FECHA_PROCESO" class="java.sql.Timestamp"/>
	<field name="ID_VIGENCIA" class="java.math.BigDecimal"/>
	<field name="VIGENCIA" class="java.lang.String"/>
	<field name="ESTADO" class="java.math.BigDecimal"/>
	<field name="ID_MAE_TER" class="java.math.BigDecimal"/>
	<field name="DESTINOS_ADD" class="java.lang.String"/>
	<field name="USUARIOLOG" class="java.lang.String"/>
	<field name="CANT" class="java.math.BigDecimal"/>
	<field name="FECHA_REPARTO" class="java.sql.Timestamp"/>
	<field name="NUM_DOC_REPARTO" class="java.lang.String"/>
	<field name="USUARIO_REPARTO" class="java.lang.String"/>
	<field name="FECHA_RADICADO" class="java.sql.Timestamp"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="60" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="1093" y="16" width="197" 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="1093" y="28" width="197" 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="323" y="0" width="770" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Informe Reparto de las Legalizaciones"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="323" y="20" width="770" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["INFORMES LEGALIZACIÓN"]]></textFieldExpression>
			</textField>
			<image>
				<reportElement x="0" y="0" width="140" height="60"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:ANMLogoEmpresa003.png"]]></imageExpression>
			</image>
		</band>
	</title>
	<pageHeader>
		<band height="20" splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="26" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="0" y="0" width="73" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[RP No.]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="73" y="0" width="250" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Beneficiario]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="323" y="0" width="250" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Dependencia]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="573" y="0" width="70" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Nº Resolución]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="643" y="0" width="90" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha Legalización]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="733" y="0" width="200" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Jefe Inmediato]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="933" y="0" width="80" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha Radicado]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="1013" y="0" width="80" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha Reparto]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="1093" y="0" width="197" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Tercero Reparto]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="1290" y="0" width="170" height="26" forecolor="#000000" backcolor="#64B0F7"/>
				<box leftPadding="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="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[VoBo]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="16" splitType="Stretch">
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="73" height="16"/>
				<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>
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ID}.toString() + " de " + $F{VIGENCIA}.toString()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="73" y="0" width="250" height="16"/>
				<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>
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NITOCC}.toString()+" - "+$F{RAZSOC}]]></textFieldExpression>
			</textField>
			<textField pattern="">
				<reportElement stretchType="RelativeToTallestObject" x="323" y="0" width="250" height="16"/>
				<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>
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DEPENDENCIA}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="573" y="0" width="70" height="16"/>
				<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>
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{RESOLUCION}]]></textFieldExpression>
			</textField>
			<textField pattern="dd-MM-yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="643" y="0" width="90" height="16"/>
				<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">
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_LEG}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="733" y="0" width="200" height="16"/>
				<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">
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC_JEFE}+" - "+$F{JEFE}]]></textFieldExpression>
			</textField>
			<textField pattern="dd-MM-yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="1013" y="0" width="80" height="16"/>
				<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">
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_REPARTO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="1093" y="0" width="197" height="16"/>
				<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>
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC_REPARTO}+" - "+$F{USUARIO_REPARTO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd-MM-yyyy" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="933" y="0" width="80" height="16"/>
				<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">
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_RADICADO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="1290" y="0" width="170" height="16"/>
				<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>
					<font size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC_VOBO} +" - "+ $F{VOBO}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band height="24" splitType="Stretch">
			<textField>
				<reportElement mode="Opaque" x="573" 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="663" 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="573" 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="1290" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[No hay objetos a mostrar.]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
