<?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_bien_aseg_cenop_entidad_res" pageWidth="1000" pageHeight="595" orientation="Landscape" columnWidth="960" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="114"/>
	<property name="ireport.y" value="0"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/inventario/inf_bien_aseg_cenop_entidad_res"/>
	<property name="ireport.jasperserver.url" value="http://10.0.100.66:8080/jasperserver/services/repository"/>
	<parameter name="vigencia" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="id_meses" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="whereCenOp" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereTercero" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereEstructura" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereEspacio" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereTipoAlmacenamiento" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereLinea" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereClase" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereCatalogo" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereCostoInicial" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereTipoSeguro" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereEntidad" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="fecha_ini" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="fecha_fin" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="entidad_cliente" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT * FROM(
select
case
when anm.id_cen_op is null then sgr.id_cen_op
else anm.id_cen_op
end as id_cen_op,
case
when anm.nom_cen_op is null then sgr.nom_cen_op
else anm.nom_cen_op
end as nom_cen_op,
case
when anm.prefijo is null then sgr.prefijo
else anm.prefijo
end as prefijo,
case
when anm.id_tipo_seguro is null then sgr.id_tipo_seguro
else anm.id_tipo_seguro
end as id_tipo_seguro,
case
when anm.desc_seguro is null then sgr.desc_seguro
else anm.desc_seguro
end as desc_seguro,

nvl(anm.costo_inicial_anm,0) + nvl(sgr.costo_inicial_anm,0) as costo_inicial_anm,
nvl(anm.costo_inicial_sgr,0) + nvl(sgr.costo_inicial_sgr,0) as costo_inicial_sgr,
nvl(anm.costo_inicial_anm,0) + nvl(sgr.costo_inicial_anm,0) + nvl(anm.costo_inicial_sgr,0) + nvl(sgr.costo_inicial_sgr,0) as costo_inicial_entidad


from (
select
sum(tab0.costo_inicial) as costo_inicial_anm,
0 AS costo_inicial_sgr,
seg.id_tipo_seguro,
seg.descripcion as desc_seguro,
tab5.id_cen_op,
tab5.nom_cen_op,
tab5.prefijo
from in_inventario_dv tab0
join in_codigo_elemento_v tab2 on tab2.id_catalogo = tab0.id_catalogo and tab2.id_clase = tab0.id_clase and tab0.id_linea  = tab2.id_linea
join in_tipo_seguro seg on tab2.id_tipo_seguro =seg.id_tipo_seguro
join in_espacio tab3 on tab3.id_espacio = tab0.id_espacio
join in_estructura tab4 on tab4.id_estructura = tab3.id_estructura
join centro_operacion tab5 on tab5.id_cen_op = tab0.id_cen_op
join interceros_v tab6 on tab6.id_mae_ter = tab0.id_mae_ter
join in_tipo_almacenamiento tab7 on tab7.id_tipo_almacenamiento  = tab0.id_tipo_almacenamiento
join in_unidad_medida tab10 on tab10.id_unidad_medida = tab2.id_unidad_medida

where tab0.estado=1
and tab0.fecha_ingreso between to_date($P{fecha_ini}, 'dd/mm/yyyy') and to_date($P{fecha_fin}, 'dd/mm/yyyy')
$P!{whereCenOp}


group by tab5.id_cen_op, tab5.prefijo, tab5.nom_cen_op, seg.id_tipo_seguro, seg.descripcion

)anm

full join (
select
0 as costo_inicial_anm,
sum(tab0.costo_inicial) as costo_inicial_sgr,
seg.id_tipo_seguro,
seg.descripcion as desc_seguro,
tab5.id_cen_op,
tab5.nom_cen_op,
tab5.prefijo
from in_inventario_dv@SGR.ANM.LOCAL tab0
join in_codigo_elemento_v@SGR.ANM.LOCAL tab2 on tab2.id_catalogo = tab0.id_catalogo and tab2.id_clase = tab0.id_clase and tab0.id_linea  = tab2.id_linea
join in_tipo_seguro@SGR.ANM.LOCAL seg on tab2.id_tipo_seguro =seg.id_tipo_seguro
join in_espacio@SGR.ANM.LOCAL tab3 on tab3.id_espacio = tab0.id_espacio
join in_estructura@SGR.ANM.LOCAL tab4 on tab4.id_estructura = tab3.id_estructura
join centro_operacion@SGR.ANM.LOCAL tab5 on tab5.id_cen_op = tab0.id_cen_op
join interceros_v@SGR.ANM.LOCAL tab6 on tab6.id_mae_ter = tab0.id_mae_ter
join in_tipo_almacenamiento@SGR.ANM.LOCAL tab7 on tab7.id_tipo_almacenamiento  = tab0.id_tipo_almacenamiento
join in_unidad_medida@SGR.ANM.LOCAL tab10 on tab10.id_unidad_medida = tab2.id_unidad_medida

where tab0.estado=1
and tab0.fecha_ingreso between to_date($P{fecha_ini}, 'dd/mm/yyyy') and to_date($P{fecha_fin}, 'dd/mm/yyyy')
$P!{whereCenOp}


group by tab5.id_cen_op, tab5.prefijo, tab5.nom_cen_op, seg.id_tipo_seguro, seg.descripcion

)sgr

ON anm.id_cen_op = sgr.id_cen_op and anm.id_tipo_seguro=sgr.id_tipo_seguro
)TAB0

where 1=1
$P!{whereTipoSeguro}

order by tab0.nom_cen_op asc, tab0.desc_seguro desc]]>
	</queryString>
	<field name="ID_CEN_OP" class="java.math.BigDecimal"/>
	<field name="NOM_CEN_OP" class="java.lang.String"/>
	<field name="PREFIJO" class="java.lang.String"/>
	<field name="ID_TIPO_SEGURO" class="java.math.BigDecimal"/>
	<field name="DESC_SEGURO" class="java.lang.String"/>
	<field name="COSTO_INICIAL_ANM" class="java.math.BigDecimal"/>
	<field name="COSTO_INICIAL_SGR" class="java.math.BigDecimal"/>
	<field name="COSTO_INICIAL_ENTIDAD" class="java.math.BigDecimal"/>
	<variable name="total_tipo_al" class="java.math.BigDecimal" resetType="Group" resetGroup="CenOp" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_INICIAL_ANM}]]></variableExpression>
	</variable>
	<variable name="total_item_cenop" class="java.math.BigDecimal" resetType="Group" resetGroup="CenOp" calculation="Count">
		<variableExpression><![CDATA[$F{ID_TIPO_SEGURO}]]></variableExpression>
	</variable>
	<variable name="tot_count" class="java.math.BigDecimal" calculation="Count">
		<variableExpression><![CDATA[$F{ID_TIPO_SEGURO}]]></variableExpression>
	</variable>
	<variable name="tot_costini" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_INICIAL_ANM}]]></variableExpression>
	</variable>
	<variable name="total_tipo_al_sgr" class="java.math.BigDecimal" resetType="Group" resetGroup="CenOp" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_INICIAL_SGR}]]></variableExpression>
	</variable>
	<variable name="tot_costini_sgr" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_INICIAL_SGR}]]></variableExpression>
	</variable>
	<variable name="total_tipo_al_tot" class="java.math.BigDecimal" resetType="Group" resetGroup="CenOp" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_INICIAL_ENTIDAD}]]></variableExpression>
	</variable>
	<variable name="tot_costini_tot" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_INICIAL_ENTIDAD}]]></variableExpression>
	</variable>
	<group name="CenOp">
		<groupExpression><![CDATA[$F{ID_CEN_OP}]]></groupExpression>
		<groupHeader>
			<band height="83">
				<staticText>
					<reportElement mode="Opaque" x="0" y="1" width="176" height="36" backcolor="#FFFFFF"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.0"/>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="15" isBold="true"/>
					</textElement>
					<text><![CDATA[Centro Operaciones:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="176" y="1" width="425" height="36"/>
					<box leftPadding="2" rightPadding="2">
						<bottomPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="14"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{NOM_CEN_OP}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="1" y="59" width="199" height="24" backcolor="#88C2F9"/>
					<box leftPadding="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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Centro Operación]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="200" y="59" width="200" height="24" backcolor="#88C2F9"/>
					<box leftPadding="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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Tipo Seguro]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="400" y="59" width="140" height="24" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<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" isBold="true"/>
					</textElement>
					<text><![CDATA[Costo Inicial ANM]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="540" y="59" width="140" height="24" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<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" isBold="true"/>
					</textElement>
					<text><![CDATA[Costo Inicial SGR]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="680" y="59" width="140" height="24" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<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" isBold="true"/>
					</textElement>
					<text><![CDATA[Costo Inicial Entidad]]></text>
				</staticText>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="30">
				<textField pattern="$ #,##0.00">
					<reportElement mode="Opaque" x="400" y="0" width="140" height="12" forecolor="#000000" backcolor="#BCBABA"/>
					<box leftPadding="2" rightPadding="2">
						<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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_tipo_al}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement mode="Opaque" x="1" y="0" width="399" height="12" backcolor="#BCBABA"/>
					<box>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle" markup="none">
						<font size="7" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["Total Tipos Seguros: "+$V{total_item_cenop}]]></textFieldExpression>
				</textField>
				<textField pattern="$ #,##0.00">
					<reportElement mode="Opaque" x="540" y="0" width="140" height="12" forecolor="#000000" backcolor="#BCBABA"/>
					<box leftPadding="2" rightPadding="2">
						<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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_tipo_al_sgr}]]></textFieldExpression>
				</textField>
				<textField pattern="$ #,##0.00">
					<reportElement mode="Opaque" x="680" y="0" width="140" height="12" forecolor="#000000" backcolor="#BCBABA"/>
					<box leftPadding="2" rightPadding="2">
						<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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_tipo_al_tot}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="144" splitType="Stretch">
			<textField pattern="dd/MM/yyyy h:mm a">
				<reportElement x="755" y="38" width="205" height="16"/>
				<box rightPadding="3"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="176" y="22" width="579" height="80"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="20" isBold="true"/>
				</textElement>
				<text><![CDATA[Control De Recursos Físicos
Informe resumido de bienes asegurados por centro de operaciones y tipo de seguro  ANM-SGR]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="755" y="22" width="205" height="16" 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 isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="192" y="81" width="563" height="21">
					<printWhenExpression><![CDATA[]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="2">
					<pen lineWidth="0.0"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="14" isBold="true"/>
				</textElement>
			</textField>
			<image>
				<reportElement x="1" y="23" width="175" height="58"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.jpg"]]></imageExpression>
			</image>
			<textField>
				<reportElement x="176" y="102" width="579" height="20"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression class="java.lang.String"><![CDATA["Periodo de "+$P{fecha_ini}+" hasta "+$P{fecha_fin}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy h:mm a">
				<reportElement x="755" y="70" width="205" height="16"/>
				<box rightPadding="3"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{entidad_cliente}.equals("2")?"ANM":"SGR"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="755" y="54" width="205" height="16" 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[Entidad]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="21" splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="18">
			<textField isStretchWithOverflow="true" pattern="$ #,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="140" height="18"/>
				<box leftPadding="2" rightPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{COSTO_INICIAL_ANM}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="1" y="0" width="199" height="18"/>
				<box leftPadding="2" rightPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{PREFIJO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="200" y="0" width="200" height="18"/>
				<box leftPadding="2" rightPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESC_SEGURO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="$ #,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="540" y="0" width="140" height="18"/>
				<box leftPadding="2" rightPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{COSTO_INICIAL_SGR}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="$ #,##0.00" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="680" y="0" width="140" height="18"/>
				<box leftPadding="2" rightPadding="2">
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{COSTO_INICIAL_ENTIDAD}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch">
			<printWhenExpression><![CDATA[]]></printWhenExpression>
		</band>
	</columnFooter>
	<pageFooter>
		<band height="51" splitType="Stretch">
			<printWhenExpression><![CDATA[]]></printWhenExpression>
			<staticText>
				<reportElement mode="Opaque" x="390" y="1" width="173" height="12" forecolor="#575757"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<text><![CDATA[Websafi - Control De Recursos Físicos
]]></text>
			</staticText>
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="499" 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.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement mode="Opaque" x="410" 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>
		</band>
	</pageFooter>
	<summary>
		<band height="77" splitType="Stretch">
			<textField pattern="$ #,##0.00">
				<reportElement mode="Opaque" x="402" y="11" width="140" height="12" forecolor="#000000" backcolor="#BCBABA"/>
				<box leftPadding="2" rightPadding="2">
					<topPen 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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{tot_costini}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement mode="Opaque" x="1" y="11" width="401" height="12" forecolor="#000000" backcolor="#BCBABA"/>
				<box>
					<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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Total  Items: "+$V{tot_count}]]></textFieldExpression>
			</textField>
			<textField pattern="$ #,##0.00">
				<reportElement mode="Opaque" x="542" y="11" width="140" height="12" forecolor="#000000" backcolor="#BCBABA"/>
				<box leftPadding="2" rightPadding="2">
					<topPen 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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{tot_costini_sgr}]]></textFieldExpression>
			</textField>
			<textField pattern="$ #,##0.00">
				<reportElement mode="Opaque" x="682" y="11" width="140" height="12" forecolor="#000000" backcolor="#BCBABA"/>
				<box leftPadding="2" rightPadding="2">
					<topPen 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="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{tot_costini_tot}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
</jasperReport>
