<?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="LibroDiarioDetallado" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.652892561983475"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="nom_cen_op" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="id_vigencia" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="nom_periodo" class="java.lang.String"/>
	<parameter name="id_cia" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="id_cen_op" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="id_periodo_contable" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["/home/acontreras/php-dev/iReports/"]]></defaultValueExpression>
	</parameter>
	<parameter name="id_documento" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="nom_td" class="java.lang.String"/>
	<parameter name="doc_soporte" class="java.lang.String"/>
	<parameter name="whereCenOp" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="folio" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[1]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT

tab0.id_cad as id_cad,
tab0.id_vigencia as id_vigencia,
tab0.id_cen_op as id_cen_op,
tab0.id_cia as id_cia,
tab0.id_periodo_contable as id_periodo_contable,
tab0.id_tipo_comprobante as id_tipo_comprobante,
tab0.fecha_cad as fecha_cad,
tab0.tot_debito as tot_debito_cad,
tab0.tot_credito as tot_credito_cad,
tab0.tot_debito-tab0.tot_credito as diferencia,
tab0.id_ter_genero as id_ter_genero,
tab0.nombre_genero,
tab0.id_ter_reviso as id_ter_reviso,
tab0.nombre_reviso,
tab0.id_ter_aprobo as id_ter_aprobo,
tab0.nombre_aprobo,
tab1.id_cen_op||' - '||tab1.nom_cen_op as nom_cen_op,
tab2.nom_periodo as nom_periodo,
tab3.nom_corto||' - '||tab3.nom_tipo_comprobante as completo,
tab3.nom_corto,
---
tab4.id_documento as id_documento,
tab4.id_td as id_td,
tab4.id_mae_ter as id_mae_ter,
tab4.descr_mto as descr_mto,
tab4.doc_soporte as doc_soporte,
tab4.fecha_soporte as fecha_soporte,
tab4.tot_debito as tot_debito,
tab4.tot_credito as tot_credito,
---
tab8.id_mov_cont as id_mov_cont,
tab8.id_documento as id_documento,
tab8.id_catalogo as id_catalogo,
tab8.id_cuenta_mayor as id_cuenta_mayor,
tab8.id_grupo_cuenta as id_grupo_cuenta,
tab8.id_clase_cuenta as id_clase_cuenta,
tab8.id_mae_ter as id_mae_ter,
tab8.id_auxiliar as id_auxiliar,
tab8.id_sub_aux as id_sub_aux,
tab8.id_centro_costo as id_centro_costo,
tab8.id_sub_centro_costo as id_sub_centro_costo,
tab8.valor_base as valor_base,
tab8.debito as debito,
tab8.credito as credito,
NVL ( (
select cod_aux
from CN_SUBC_DIGITOS_AUX
where
            id_clase_cuenta = tab8.id_clase_cuenta
            AND id_grupo_cuenta = tab8.id_grupo_cuenta
            AND id_cuenta_mayor = tab8.id_cuenta_mayor
            AND id_catalogo = tab8.id_catalogo
            AND id_auxiliar =tab8.id_auxiliar
            AND id_cia = tab0.id_cia

),'') AS cod_aux,
NVL ( (
select nombre as nombre_auxiliar
from CN_SUBC_DIGITOS_AUX
where
            id_clase_cuenta = tab8.id_clase_cuenta
            AND id_grupo_cuenta = tab8.id_grupo_cuenta
            AND id_cuenta_mayor = tab8.id_cuenta_mayor
            AND id_catalogo = tab8.id_catalogo
            AND id_auxiliar =tab8.id_auxiliar
            AND id_cia = tab0.id_cia

),'') as nombre_auxiliar,
NVL ( (
select digitos
from CN_SUBC_DIGITOS
where
            id_clase_cuenta = tab8.id_clase_cuenta
            AND id_grupo_cuenta = tab8.id_grupo_cuenta
            AND id_cuenta_mayor = tab8.id_cuenta_mayor
            AND id_catalogo = tab8.id_catalogo
            AND id_cia = tab8.id_cia

),0)  as digitos,
NVL ( (
select nombre
from CN_SUBC_DIGITOS
where
            id_clase_cuenta = tab8.id_clase_cuenta
            AND id_grupo_cuenta = tab8.id_grupo_cuenta
            AND id_cuenta_mayor = tab8.id_cuenta_mayor
            AND id_catalogo = tab8.id_catalogo
            AND id_cia = tab8.id_cia

),0)  as nombre,

NVL ( (
select nombre
from CN_MAE_TER
where
           id_mae_ter = tab8.id_mae_ter

),' ')  as nombre_tercero,

NVL ( (
select nitocc
from CN_MAE_TER
where
           id_mae_ter = tab8.id_mae_ter

),' ')  as nitocc,
NVL ( (
select tab1.nombre
from CN_TD tab1
  where tab4.id_td = id_td
),' ')   as nom_td
---------------------------------------------------------------
FROM CN_CONTROL_CAD_TER tab0

JOIN CN_CENTRO_OPERACION tab1
ON tab0.id_cia = tab1.id_cia
AND tab0.id_cen_op = tab1.id_cen_op

JOIN CN_PERIODO_CONTABLE tab2
ON tab0.id_periodo_contable = tab2.id_periodo_contable

JOIN CN_TIPO_COMPROBANTE tab3
ON tab0.id_tipo_comprobante = tab3.id_tipo_comprobante

LEFT JOIN CN_DOCUMENTO_TOT tab4
ON tab0.id_cia = tab4.id_cia
AND tab0.id_cad = tab4.id_cad
AND tab0.id_cen_op = tab4.id_cen_op
AND tab0.id_vigencia = tab4.id_vigencia

LEFT JOIN CN_MOVIMIENTO_CONTABLE tab8
on  tab8.id_documento =tab4.id_documento
AND tab8.id_cia = tab4.id_cia
AND tab8.id_cad = tab4.id_cad
AND tab8.id_cen_op = tab4.id_cen_op
AND tab8.id_vigencia = tab4.id_vigencia

WHERE tab0.id_cia = $P{id_cia}
AND tab0.id_vigencia = $P{id_vigencia}
AND tab0.id_periodo_contable = $P{id_periodo_contable}
$P!{whereCenOp}

ORDER BY
tab0.fecha_cad,
tab0.id_cad,
tab3.nom_corto,
digitos]]>
	</queryString>
	<field name="ID_CAD" class="java.math.BigDecimal"/>
	<field name="ID_VIGENCIA" class="java.math.BigDecimal"/>
	<field name="ID_CEN_OP" class="java.math.BigDecimal"/>
	<field name="ID_CIA" class="java.math.BigDecimal"/>
	<field name="ID_PERIODO_CONTABLE" class="java.math.BigDecimal"/>
	<field name="ID_TIPO_COMPROBANTE" class="java.math.BigDecimal"/>
	<field name="FECHA_CAD" class="java.sql.Timestamp"/>
	<field name="TOT_DEBITO_CAD" class="java.math.BigDecimal"/>
	<field name="TOT_CREDITO_CAD" class="java.math.BigDecimal"/>
	<field name="DIFERENCIA" class="java.math.BigDecimal"/>
	<field name="ID_TER_GENERO" class="java.math.BigDecimal"/>
	<field name="NOMBRE_GENERO" class="java.lang.String"/>
	<field name="ID_TER_REVISO" class="java.math.BigDecimal"/>
	<field name="NOMBRE_REVISO" class="java.lang.String"/>
	<field name="ID_TER_APROBO" class="java.math.BigDecimal"/>
	<field name="NOMBRE_APROBO" class="java.lang.String"/>
	<field name="NOM_CEN_OP" class="java.lang.String"/>
	<field name="NOM_PERIODO" class="java.lang.String"/>
	<field name="COMPLETO" class="java.lang.String"/>
	<field name="NOM_CORTO" class="java.lang.String"/>
	<field name="ID_DOCUMENTO" class="java.math.BigDecimal"/>
	<field name="ID_TD" class="java.math.BigDecimal"/>
	<field name="ID_MAE_TER" class="java.math.BigDecimal"/>
	<field name="DESCR_MTO" class="java.lang.String"/>
	<field name="DOC_SOPORTE" class="java.lang.String"/>
	<field name="FECHA_SOPORTE" class="java.sql.Timestamp"/>
	<field name="TOT_DEBITO" class="java.math.BigDecimal"/>
	<field name="TOT_CREDITO" class="java.math.BigDecimal"/>
	<field name="ID_MOV_CONT" class="java.math.BigDecimal"/>
	<field name="ID_CATALOGO" class="java.math.BigDecimal"/>
	<field name="ID_CUENTA_MAYOR" class="java.math.BigDecimal"/>
	<field name="ID_GRUPO_CUENTA" class="java.math.BigDecimal"/>
	<field name="ID_CLASE_CUENTA" class="java.math.BigDecimal"/>
	<field name="ID_AUXILIAR" class="java.math.BigDecimal"/>
	<field name="ID_SUB_AUX" class="java.math.BigDecimal"/>
	<field name="ID_CENTRO_COSTO" class="java.math.BigDecimal"/>
	<field name="ID_SUB_CENTRO_COSTO" class="java.math.BigDecimal"/>
	<field name="VALOR_BASE" class="java.math.BigDecimal"/>
	<field name="DEBITO" class="java.math.BigDecimal"/>
	<field name="CREDITO" class="java.math.BigDecimal"/>
	<field name="COD_AUX" class="java.lang.String"/>
	<field name="NOMBRE_AUXILIAR" class="java.lang.String"/>
	<field name="DIGITOS" class="java.lang.String"/>
	<field name="NOMBRE" class="java.lang.String"/>
	<field name="NOMBRE_TERCERO" class="java.lang.String"/>
	<field name="NITOCC" class="java.lang.String"/>
	<field name="NOM_TD" class="java.lang.String"/>
	<variable name="sum_debito" class="java.math.BigDecimal" resetType="Group" resetGroup="CAD" calculation="Sum">
		<variableExpression><![CDATA[$F{DEBITO}]]></variableExpression>
		<initialValueExpression><![CDATA[0]]></initialValueExpression>
	</variable>
	<variable name="sum_credito" class="java.math.BigDecimal" resetType="Group" resetGroup="CAD" calculation="Sum">
		<variableExpression><![CDATA[$F{CREDITO}]]></variableExpression>
		<initialValueExpression><![CDATA[0]]></initialValueExpression>
	</variable>
	<variable name="sum_debito_1" class="java.math.BigDecimal" resetType="Group" resetGroup="Documento" calculation="Sum">
		<variableExpression><![CDATA[$F{TOT_DEBITO}]]></variableExpression>
		<initialValueExpression><![CDATA[0]]></initialValueExpression>
	</variable>
	<variable name="sum_credito_1" class="java.math.BigDecimal" resetType="Group" resetGroup="Documento" calculation="Sum">
		<variableExpression><![CDATA[$F{TOT_CREDITO}]]></variableExpression>
		<initialValueExpression><![CDATA[0]]></initialValueExpression>
	</variable>
	<group name="CAD">
		<groupExpression><![CDATA[$F{ID_CAD}]]></groupExpression>
		<groupHeader>
			<band height="27">
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="141" height="10" forecolor="#000000" backcolor="#88C2F9"/>
					<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[Tipo de comprobante]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="10" width="141" height="10" forecolor="#000000" backcolor="#88C2F9"/>
					<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[CAD]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="332" y="10" width="140" height="10" forecolor="#000000" backcolor="#88C2F9"/>
					<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 CAD]]></text>
				</staticText>
				<textField>
					<reportElement x="141" y="0" width="191" 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{COMPLETO}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="141" y="10" width="191" 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{ID_CAD}]]></textFieldExpression>
				</textField>
				<textField pattern="dd/MM/yyyy">
					<reportElement x="472" y="10" width="280" 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.util.Date"><![CDATA[$F{FECHA_CAD}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="332" y="0" width="140" height="10" forecolor="#000000" backcolor="#88C2F9"/>
					<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[Centro de Operación]]></text>
				</staticText>
				<textField>
					<reportElement x="472" y="0" width="280" 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{NOM_CEN_OP}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="25">
				<textField>
					<reportElement mode="Opaque" x="367" y="0" width="185" height="14" isRemoveLineWhenBlank="true" backcolor="#BCBABA">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="0">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0" lineStyle="Double"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{ID_CAD}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="274" y="0" width="93" height="14" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#BCBABA">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<box leftPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</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>
					<text><![CDATA[CAD: ]]></text>
				</staticText>
				<textField>
					<reportElement mode="Opaque" x="218" y="0" width="56" height="14" isRemoveLineWhenBlank="true" backcolor="#BCBABA">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="0">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0" lineStyle="Double"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{NOM_CORTO}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="652" y="0" width="100" height="14" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#BCBABA">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<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{sum_credito}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="218" height="14" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#BCBABA">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<box leftPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<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[Total de comprobante: ]]></text>
				</staticText>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="552" y="0" width="100" height="14" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#BCBABA">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<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{sum_debito}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="Documento">
		<groupExpression><![CDATA[$F{ID_DOCUMENTO}]]></groupExpression>
		<groupHeader>
			<band height="34">
				<staticText>
					<reportElement mode="Opaque" x="220" y="0" width="252" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#B1D6FB">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></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[Descripción]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="472" y="0" width="80" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#B1D6FB">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></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 Doc]]></text>
				</staticText>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
					<reportElement mode="Transparent" x="220" y="12" width="252" height="10" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<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 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[$F{DESCR_MTO}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
					<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="652" y="12" width="100" height="10" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<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" 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.math.BigDecimal"><![CDATA[$F{TOT_CREDITO}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="140" y="12" width="80" height="10" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<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 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[$F{DOC_SOPORTE}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="140" y="0" width="80" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#B1D6FB">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></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[Doc. Soporte]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="552" y="0" width="100" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#B1D6FB">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></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[Débito Doc]]></text>
				</staticText>
				<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
					<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="472" y="12" width="80" height="10" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<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" 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.util.Date"><![CDATA[$F{FECHA_SOPORTE}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
					<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="552" y="12" width="100" height="10" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<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="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.math.BigDecimal"><![CDATA[$F{TOT_DEBITO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="652" y="0" width="100" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#B1D6FB">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></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[Crédito Doc]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="140" height="12" isRemoveLineWhenBlank="true" backcolor="#B1D6FB">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Tipo de documento]]></text>
				</staticText>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
					<reportElement stretchType="RelativeToTallestObject" mode="Transparent" x="0" y="12" width="140" height="10" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
						<printWhenExpression><![CDATA[$F{ID_DOCUMENTO}!='']]></printWhenExpression>
					</reportElement>
					<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 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[$F{NOM_TD}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="552" y="22" width="100" height="12" isRemoveLineWhenBlank="true" backcolor="#CDE2F6">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Débito]]></text>
				</staticText>
				<staticText>
					<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="652" y="22" width="100" height="12" isRemoveLineWhenBlank="true" backcolor="#CDE2F6">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Crédito]]></text>
				</staticText>
				<staticText>
					<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="75" y="22" width="145" height="12" isRemoveLineWhenBlank="true" backcolor="#CDE2F6">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Subcuenta]]></text>
				</staticText>
				<staticText>
					<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="220" y="22" width="149" height="12" isRemoveLineWhenBlank="true" backcolor="#CDE2F6">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Auxiliar]]></text>
				</staticText>
				<staticText>
					<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="22" width="75" height="12" isRemoveLineWhenBlank="true" backcolor="#CDE2F6">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Subcuenta]]></text>
				</staticText>
				<staticText>
					<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="369" y="22" width="183" height="12" isRemoveLineWhenBlank="true" backcolor="#CDE2F6">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></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">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Tercero]]></text>
				</staticText>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="19">
				<textField>
					<reportElement mode="Opaque" x="137" y="0" width="148" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#D2D0D0">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="0">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</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>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{NOM_TD}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="652" y="0" width="100" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#D2D0D0">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
					</reportElement>
					<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{sum_credito_1}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement mode="Opaque" x="369" y="0" width="183" height="12" forecolor="#000000" backcolor="#D2D0D0">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="0">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement 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.lang.String"><![CDATA[$F{DOC_SOPORTE}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="552" y="0" width="100" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#D2D0D0">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
					</reportElement>
					<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{sum_debito_1}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="285" y="0" width="84" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#D2D0D0">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
					</reportElement>
					<box leftPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</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>
					<text><![CDATA[Doc. Soporte: ]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="137" height="12" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#D2D0D0">
						<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
					</reportElement>
					<box leftPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<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[Total  documento: ]]></text>
				</staticText>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<pageHeader>
		<band height="82" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="601" y="34" width="150" 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[Centro de operación:]]></text>
			</staticText>
			<textField>
				<reportElement x="141" y="40" width="460" height="20"/>
				<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_vigencia}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="141" y="0" width="460" height="40"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Sistema de Contabilidad
Libro diario detallado - auxiliar]]></text>
			</staticText>
			<textField pattern="">
				<reportElement mode="Opaque" x="602" y="46" width="150" 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{id_cen_op} != -1
    ? $P{nom_cen_op}
    : "Consolidado"
)]]></textFieldExpression>
			</textField>
			<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="612" y="22" width="99" 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[Folio  LMB:]]></text>
			</staticText>
			<textField pattern="dd-MMM-yyyy   hh:mm aaa">
				<reportElement mode="Opaque" x="711" y="22" width="40" 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{folio}+$V{PAGE_NUMBER}-1]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<detail>
		<band height="10" splitType="Stretch">
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement mode="Transparent" x="552" y="0" width="100" height="10" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
					<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
				</reportElement>
				<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" 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.math.BigDecimal"><![CDATA[$F{DEBITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement mode="Transparent" x="369" y="0" width="183" height="10" forecolor="#000000" backcolor="#FFFFFF">
					<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="0">
					<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="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NOMBRE_TERCERO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement mode="Transparent" x="75" y="0" width="145" height="10" forecolor="#000000" backcolor="#FFFFFF">
					<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
				</reportElement>
				<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 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[$F{NOMBRE}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement mode="Transparent" x="652" y="0" width="100" height="10" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
					<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
				</reportElement>
				<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" 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.math.BigDecimal"><![CDATA[$F{CREDITO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Transparent" x="0" y="0" width="75" height="10" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF">
					<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
				</reportElement>
				<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" 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[$F{DIGITOS}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement mode="Transparent" x="220" y="0" width="149" height="10" forecolor="#000000" backcolor="#FFFFFF">
					<printWhenExpression><![CDATA[$F{ID_MOV_CONT}!='']]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="0">
					<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="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[( $F{COD_AUX}.toString().equals("null")
    ? ""
    : $F{COD_AUX}+" "+$F{NOMBRE_AUXILIAR})]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band height="25" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="302" y="0" width="150" height="12" forecolor="#575757"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<text><![CDATA[Websafi - Contabilidad]]></text>
			</staticText>
			<textField>
				<reportElement mode="Opaque" x="302" 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="392" 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>
		</band>
	</pageFooter>
	<summary>
		<band height="27">
			<subreport>
				<reportElement x="0" y="0" width="376" height="16" isRemoveLineWhenBlank="true"/>
				<subreportParameter name="comando_informe"/>
				<subreportParameter name="id_cia">
					<subreportParameterExpression><![CDATA[$P{id_cia}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.lang.String"><![CDATA["repo:Control_firmas_Comando_IZQ"]]></subreportExpression>
			</subreport>
			<subreport>
				<reportElement x="376" y="0" width="376" height="16" isRemoveLineWhenBlank="true"/>
				<subreportParameter name="comando_informe"/>
				<subreportParameter name="id_cia">
					<subreportParameterExpression><![CDATA[$P{id_cia}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.lang.String"><![CDATA["repo:Control_firmas_Comando_DER"]]></subreportExpression>
			</subreport>
		</band>
	</summary>
	<noData>
		<band height="20">
			<staticText>
				<reportElement x="0" y="0" width="752" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[No hay objetos a mostrar.]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
