<?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_edades_resum_par" language="groovy" pageWidth="1250" pageHeight="612" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1210" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.1000000000000028"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/cartera/inf_edades_resum_par"/>
	<property name="ireport.jasperserver.url" value="http://192.168.2.43:8090/jasperserver/services/repository"/>
	<parameter name="NomPuntoVenta" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="nom_periodo" class="java.lang.String"/>
	<parameter name="id_anhos" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="NomPuntoVentaFiltro" class="java.lang.String"/>
	<parameter name="wherePuntoVenta" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="id_meses" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="whereNitocc" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="quitarTercero" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="per_fin" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="vig_fin" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="anhmes" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereCompetencia" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereDesNovedad" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="format" class="java.lang.String">
		<defaultValueExpression><![CDATA["PDF"]]></defaultValueExpression>
	</parameter>
	<parameter name="whereAplicaIntereses" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[select
tab0.*

from(

    select

    novca.des_novedad_cartera as des_novedad_cartera,
    prti.descripcion AS descripcion_prti,
    NVL(pro.codigo, ' ') as codigo,
    NVL(pro.descripcion, ' ') as descripcion,
    tab1.id_debito_detalle,
    tab1.id_referencia2,
    NVL(tab0.observaciones, ' ') as observaciones2,

    tab0.*,

    trunc(last_day(to_date($P{id_meses}||'/'||$P{id_anhos},'mm/yyyy'))) - tab0.fecha_vence as dias_vencidos,

    0 AS por_vencer,
    0 AS  bloque_1,
    0 AS  bloque_2,
    0 AS vencido_mas,


    nvl(cancar.id_competencia,can.id_competencia) as id_competencia,
    nvl(cancar.nombre,can.nombre) as par,

    case when novcacc.des_novedad_cartera is null then 'No' else 'Si' end as tag_cc,

    pro.aplica_intereses

    from ca_debito_saldos tab0

    left join  (
            SELECT  deb.id_debito,
             det.id_debito_detalle,
             det.id_producto,
             debref.id_referencia2,
             ROW_NUMBER() OVER (
              PARTITION BY deb.id_debito
              ORDER BY det.id_debito_detalle
             ) AS rn
            FROM    ca_debito deb
            join ca_debito_detalle det
            ON   deb.id_debito = det.id_debito

            left join ca_debito_ref debref
            on debref.id_debito = deb.id_debito
    )tab1
    on tab1.id_debito = tab0.id_debito
    and tab1.rn = 1

    left join ca_producto pro
    on pro.id_producto = tab1.id_producto

    left join ts_gi gi
    on gi.id = pro.id_grupo

    left join pr_tipo_ingre prti
    on prti.id = gi.id_pr_tipo_ingre

    left join  (
        select
        distinct
        --to_char(wm_concat(tab.desc_corta)) as des,
        tab.id_debito,
        --tab.desc_corta
        to_char(wm_concat(distinct tab.desc_corta)) as des_novedad_cartera
        /*,
        tab.id_novedad_cartera,
        tab.id_debito*/
        from
        (
            SELECT
            tipnov.desc_corta,
            novcar.*
            FROM ca_novedad_cartera novcar
            join ca_tipo_novedad tipnov
            ON  tipnov.id_tipo_novedad = novcar.id_tipo_novedad
            where
            tipnov.desc_corta = 'CC'
            and novcar.abierto = 1
            and novcar.anulado = 0
            and extract(year from novcar.fecha_novedad) || lpad(extract(month from novcar.fecha_novedad), 2, '0')  <= $P{id_anhos} || lpad($P{id_meses}, 2, '0')
        )tab
        group by
        tab.id_debito
    )novcacc
    on novcacc.id_debito = tab0.id_debito

    left join  (
        select
        distinct
        --to_char(wm_concat(tab.desc_corta)) as des,
        tab.id_debito,
        --tab.desc_corta
        to_char(wm_concat(distinct tab.desc_corta)) as des_novedad_cartera
        /*,
        tab.id_novedad_cartera,
        tab.id_debito*/
        from
        (
            SELECT
            tipnov.desc_corta,
            novcar.*
            FROM ca_novedad_cartera novcar
            join ca_tipo_novedad tipnov
            ON  tipnov.id_tipo_novedad = novcar.id_tipo_novedad
            and novcar.abierto = 1
            and novcar.anulado = 0
            and extract(year from novcar.fecha_novedad) || lpad(extract(month from novcar.fecha_novedad), 2, '0')  <= $P{id_anhos} || lpad($P{id_meses}, 2, '0')
        )tab
        group by
        tab.id_debito
    )novca
    on novca.id_debito = tab0.id_debito

    left join  (
        SELECT
        det.id_competencia,
        compt.nombre,
        deb.*,
         deb.COD_TITULO as id_referencia2,
         ROW_NUMBER() OVER (
          PARTITION BY deb.COD_TITULO
          ORDER BY deb.COD_TITULO,det.fecha_asignacion
         ) AS rn
        FROM rmn_titulo@CAN.ANM.LOCAL deb

        join in_titulo_competencia@CAN.ANM.LOCAL det
        ON deb.ID_TITULO = det.ID_TITULO

        join rmn_competencia@CAN.ANM.LOCAL compt
        on compt.id_competencia = det.id_competencia

        where
        det.actual = 1
    )can
    on can.id_referencia2 = tab1.id_referencia2
    and can.rn = 1

    left join(
        select
        titpar.id_titulo,
        titpar.id_competencia,
        titpar.par,
        compt.nombre

        from ca_titulo_par titpar

        join rmn_competencia@CAN.ANM.LOCAL compt
        on compt.id_competencia = titpar.id_competencia
    )cancar
    on cancar.id_titulo = tab1.id_referencia2

    where
    tab0.id_meses_sal = $P{id_meses} and tab0.id_anhos_sal = $P{id_anhos}
    --and tab0.estado_ven = 1

    and tab0.fecha_proceso <= trunc(last_day(to_date($P{anhmes},'mm-yyyy')))
    and (case when tab0.fecha_anu_ven<=last_day(to_date($P{anhmes},'MM-YYYY')) then 1 else 0 END  = 0)



    $P!{whereNitocc}
    $P!{quitarTercero}
    $P!{wherePuntoVenta}

    and tab0.saldo_actual != 0

)tab0

where
1 = 1
$P!{whereCompetencia}
$P!{whereDesNovedad}
$P!{whereAplicaIntereses}

order by
tab0.aplica_intereses,
tab0.codigo,
tab0.num_doc,
tab0.sec_debito,
tab0.fecha_vence,
tab0.id_anhos_sal,
tab0.id_meses_sal]]>
	</queryString>
	<field name="DES_NOVEDAD_CARTERA" class="java.lang.String"/>
	<field name="DESCRIPCION_PRTI" class="java.lang.String"/>
	<field name="CODIGO" class="java.lang.String"/>
	<field name="DESCRIPCION" class="java.lang.String"/>
	<field name="ID_DEBITO_DETALLE" class="java.math.BigDecimal"/>
	<field name="ID_REFERENCIA2" class="java.lang.String"/>
	<field name="OBSERVACIONES2" class="java.lang.String"/>
	<field name="BOTON" class="java.lang.String"/>
	<field name="ID_PR_TIPO_INGRE" class="java.math.BigDecimal"/>
	<field name="ID_DEBITO" class="java.math.BigDecimal"/>
	<field name="ID_ANHOS" class="java.math.BigDecimal"/>
	<field name="ID_PUNTO_VENTA" class="java.math.BigDecimal"/>
	<field name="ID_TIPO_DEBITO" class="java.math.BigDecimal"/>
	<field name="SEC_DEBITO" class="java.math.BigDecimal"/>
	<field name="ID_MAE_TER" class="java.math.BigDecimal"/>
	<field name="FECHA_PROCESO" class="java.sql.Timestamp"/>
	<field name="DIAS_PAGO" class="java.math.BigDecimal"/>
	<field name="VALOR_BRUTO" class="java.math.BigDecimal"/>
	<field name="VALOR_IVA" class="java.math.BigDecimal"/>
	<field name="VALOR_DCTO" class="java.math.BigDecimal"/>
	<field name="PORCEN_DCTO" class="java.math.BigDecimal"/>
	<field name="VALOR_TOTAL" class="java.math.BigDecimal"/>
	<field name="ID_MAE_TER_VEN" class="java.math.BigDecimal"/>
	<field name="OBSERVACIONES" class="java.lang.String"/>
	<field name="ID_TIP_MON" class="java.math.BigDecimal"/>
	<field name="VALOR_MONEDA" class="java.math.BigDecimal"/>
	<field name="TRM_DEBITO" class="java.math.BigDecimal"/>
	<field name="ESTADO" class="java.math.BigDecimal"/>
	<field name="FECHA_ANU" class="java.sql.Timestamp"/>
	<field name="MOTIVO_ANU" class="java.lang.String"/>
	<field name="PERIODO_INI" class="java.sql.Timestamp"/>
	<field name="PERIODO_FIN" class="java.sql.Timestamp"/>
	<field name="USUARIOLOG" class="java.lang.String"/>
	<field name="FECHA_VENCIMIENTO" class="java.sql.Timestamp"/>
	<field name="ORDEN_SERVICIO" class="java.lang.String"/>
	<field name="ID_TIPO_FACTURA" class="java.math.BigDecimal"/>
	<field name="NOMBRE_PV" class="java.lang.String"/>
	<field name="ABREVIATURA_PV" class="java.lang.String"/>
	<field name="DESCRIPCION_TIPDEB" class="java.lang.String"/>
	<field name="DESC_CORTA_TIPDEB" class="java.lang.String"/>
	<field name="CODIGO_TIPMON" class="java.lang.String"/>
	<field name="DESCRIPCION_TIPMON" class="java.lang.String"/>
	<field name="CODIGO_TIPING" class="java.lang.String"/>
	<field name="DESCRIPCION_TIPING" class="java.lang.String"/>
	<field name="ID_VENCIMIENTO" class="java.math.BigDecimal"/>
	<field name="VALOR" class="java.math.BigDecimal"/>
	<field name="FECHA_VENCE" class="java.sql.Timestamp"/>
	<field name="ESTADO_VEN" class="java.math.BigDecimal"/>
	<field name="FECHA_ANU_VEN" class="java.sql.Timestamp"/>
	<field name="MOTIVO_ANU_VEN" class="java.lang.String"/>
	<field name="CANCELADO" class="java.math.BigDecimal"/>
	<field name="NUM_DOC" class="java.lang.String"/>
	<field name="RAZON_SOC" class="java.lang.String"/>
	<field name="PNOMBRE" class="java.lang.String"/>
	<field name="SNOMBRE" class="java.lang.String"/>
	<field name="PAPELLIDO" class="java.lang.String"/>
	<field name="SAPELLIDO" class="java.lang.String"/>
	<field name="ID_ANHOS_SAL" class="java.math.BigDecimal"/>
	<field name="ID_MESES_SAL" class="java.math.BigDecimal"/>
	<field name="SALDO_ANTERIOR" class="java.math.BigDecimal"/>
	<field name="DEBITOS_MES" class="java.math.BigDecimal"/>
	<field name="CREDITOS_MES" class="java.math.BigDecimal"/>
	<field name="SALDO_ACTUAL" class="java.math.BigDecimal"/>
	<field name="TITULO" class="java.lang.String"/>
	<field name="DIAS_VENCIDOS" class="java.math.BigDecimal"/>
	<field name="POR_VENCER" class="java.math.BigDecimal"/>
	<field name="BLOQUE_1" class="java.math.BigDecimal"/>
	<field name="BLOQUE_2" class="java.math.BigDecimal"/>
	<field name="VENCIDO_MAS" class="java.math.BigDecimal"/>
	<field name="ID_COMPETENCIA" class="java.math.BigDecimal"/>
	<field name="PAR" class="java.lang.String"/>
	<field name="TAG_CC" class="java.lang.String"/>
	<field name="APLICA_INTERESES" class="java.math.BigDecimal"/>
	<variable name="total_saldo_actual" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{SALDO_ACTUAL}]]></variableExpression>
	</variable>
	<variable name="total_por_vencer" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{POR_VENCER}]]></variableExpression>
	</variable>
	<variable name="total_bloque_1" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{BLOQUE_1}]]></variableExpression>
	</variable>
	<variable name="total_bloque_2" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{BLOQUE_2}]]></variableExpression>
	</variable>
	<variable name="total_vencido_mas" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{VENCIDO_MAS}]]></variableExpression>
	</variable>
	<variable name="SumPar" class="java.math.BigDecimal" resetType="Group" resetGroup="par" calculation="Sum">
		<variableExpression><![CDATA[$F{SALDO_ACTUAL}]]></variableExpression>
	</variable>
	<group name="par">
		<groupExpression><![CDATA[$F{PAR}]]></groupExpression>
		<groupHeader>
			<band height="73">
				<staticText>
					<reportElement mode="Opaque" x="230" y="49" width="40" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Sec. Deb]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="200" y="49" width="30" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Tp Db]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="270" y="49" width="25" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Cod.
Punto]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="350" y="49" width="80" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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
Débito]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="430" y="49" width="80" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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
Vencimiento]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="510" y="49" width="81" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Valor
Factura]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="720" y="49" width="260" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[ Producto /
Observaciones]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="671" y="49" width="49" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Dias
Ven.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="591" y="49" width="80" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Saldo Actual]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="295" y="49" width="55" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Título]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="49" width="60" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<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[Documento]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="60" y="49" width="140" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<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[Cliente]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="980" y="49" width="110" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Propio / Distribuible]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="1120" y="49" width="90" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Novedad Cartera]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="11" width="60" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<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[PAR]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="1090" y="49" width="30" height="24" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#CBE3F9">
						<printWhenExpression><![CDATA[$V{PAGE_NUMBER} == 1 || $P{format} == "PDF"]]></printWhenExpression>
					</reportElement>
					<box>
						<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[Nov. CC]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="60" y="11" width="170" height="24"/>
					<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 verticalAlignment="Middle">
						<font size="6"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[( $F{TAG_CC} == "No"
    ? $F{PAR}
    : "COBRO COACTIVO"
)]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="13">
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
					<reportElement mode="Opaque" x="591" y="0" width="80" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#BCBABA"/>
					<box 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="Right" verticalAlignment="Middle" rotation="None" markup="none">
						<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{SumPar}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="671" y="0" width="539" height="12" forecolor="#000000" backcolor="#BCBABA"/>
					<box>
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement 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[]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="591" height="12" forecolor="#000000" backcolor="#BCBABA"/>
					<box leftPadding="3">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement 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[Subtotales]]></text>
				</staticText>
			</band>
		</groupFooter>
	</group>
	<group name="aplica_intereses">
		<groupExpression><![CDATA[$F{CODIGO}]]></groupExpression>
		<groupHeader>
			<band height="12">
				<textField isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1210" height="12"/>
					<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 verticalAlignment="Middle">
						<font size="6"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{CODIGO} + " " + $F{DESCRIPCION}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="66" splitType="Stretch">
			<staticText>
				<reportElement x="200" y="0" width="780" height="40"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Sistema de Cartera y Facturación
Informe General Cartera por Edades Resumido PAR]]></text>
			</staticText>
			<image>
				<reportElement x="0" y="10" width="140" height="40"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.jpg"]]></imageExpression>
			</image>
			<staticText>
				<reportElement mode="Opaque" x="980" y="16" width="230" 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>
				<reportElement x="200" y="40" width="780" height="26"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Periodo: " + $P{nom_periodo} + " de " + $P{id_anhos}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="980" y="40" width="230" 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[Punto de venta:]]></text>
			</staticText>
			<textField pattern="dd-MMM-yyyy   hh:mm aaa">
				<reportElement mode="Opaque" x="980" y="54" width="230" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" 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[$P{NomPuntoVentaFiltro}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy  hh:mm aaa">
				<reportElement x="980" y="28" width="230" 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>
		</band>
	</title>
	<detail>
		<band height="10" splitType="Prevent">
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="230" y="0" width="40" height="10"/>
				<box 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="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SEC_DEBITO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="200" y="0" width="30" height="10"/>
				<box>
					<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="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESC_CORTA_TIPDEB}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="270" y="0" width="25" height="10"/>
				<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">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ABREVIATURA_PV}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement stretchType="RelativeToTallestObject" x="350" y="0" width="80" height="10"/>
				<box>
					<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="6"/>
				</textElement>
				<textFieldExpression class="java.sql.Timestamp"><![CDATA[$F{FECHA_PROCESO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement stretchType="RelativeToTallestObject" x="430" y="0" width="80" height="10"/>
				<box>
					<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="6"/>
				</textElement>
				<textFieldExpression class="java.sql.Timestamp"><![CDATA[$F{FECHA_VENCE}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement stretchType="RelativeToTallestObject" x="510" y="0" width="81" height="10"/>
				<box 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="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="260" height="10"/>
				<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 verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CODIGO} + " " + $F{DESCRIPCION} + "/ " + $F{OBSERVACIONES2}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="671" y="0" width="49" height="10"/>
				<box 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="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{DIAS_VENCIDOS}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement stretchType="RelativeToTallestObject" x="591" y="0" width="80" height="10"/>
				<box 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="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SALDO_ACTUAL}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="295" y="0" width="55" height="10"/>
				<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">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ID_REFERENCIA2}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="60" height="10"/>
				<box leftPadding="0" 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="Right" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="60" y="0" width="140" height="10"/>
				<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 verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{RAZON_SOC}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="1120" y="0" width="90" height="10"/>
				<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 verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DES_NOVEDAD_CARTERA}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="980" y="0" width="110" height="10"/>
				<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 verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESCRIPCION_PRTI}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToTallestObject" x="1090" y="0" width="30" height="10"/>
				<box>
					<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="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TAG_CC}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band height="24" splitType="Stretch">
			<printWhenExpression><![CDATA[$P{format} == "PDF"]]></printWhenExpression>
			<textField>
				<reportElement mode="Opaque" x="501" 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="591" y="12" width="60" height="12" forecolor="#575757" backcolor="#FFFFFF"/>
				<box leftPadding="2"/>
				<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="501" y="0" width="150" height="12" forecolor="#575757"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<text><![CDATA[Websafi - Cartera y Facturación]]></text>
			</staticText>
		</band>
	</pageFooter>
	<summary>
		<band height="27" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="0" y="0" width="591" height="12" forecolor="#000000" backcolor="#BCBABA"/>
				<box leftPadding="3">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement 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[TOTALES]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="671" y="0" width="539" height="12" forecolor="#000000" backcolor="#BCBABA"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement 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[]]></text>
			</staticText>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="591" y="0" width="80" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#BCBABA"/>
				<box 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="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_saldo_actual}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="20">
			<staticText>
				<reportElement x="0" y="0" width="1210" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[No hay objetos a mostrar.]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
