<?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="pago_comision" language="groovy" pageWidth="470" pageHeight="240" orientation="Landscape" columnWidth="450" leftMargin="10" rightMargin="10" topMargin="10" bottomMargin="10">
	<property name="ireport.zoom" value="2.000000000000001"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/presupuesto/pago_comision"/>
	<property name="ireport.jasperserver.url" value="http://192.168.2.43:8090/jasperserver/services/repository"/>
	<style name="table">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TH" mode="Opaque" backcolor="#A9A9A9">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_CH" mode="Opaque" backcolor="#FFBFBF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<subDataset name="Table Dataset 1"/>
	<parameter name="id_comision" class="java.lang.String">
		<defaultValueExpression><![CDATA[1]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[select
TO_CHAR(tab0.id) as id_comision,
to_char(tab0.fecha,'yyyy-mm-dd') as fecha_solicitud,
to_char(tab0.fecha,'yyyy-mm-dd') as fecha_estado,
case when tab0.estado = 0 then 'Cerrado'
    when tab0.estado = 1 then 'Abierto'
    when tab0.estado = -1 then 'Anulado'
    else 'Anulado' end as estado_general,
case when tab2.valor > 0 then 'Si' else 'No' end as genera_gasto,
case when tab2.viaticos > 0 then 'Si' else 'No' end as genera_viaticos,
--case when tab0.pasaje_aero = 1 then 'Si' else 'No' end as pasaje_aereo,
--tab0.cdp as no_cdp,
--tab7.cargo_texto as cargo,
tab4.descomi as tipo_comision,
tab5.descripcion as tipo_transporte,
tab6.descripcion as rubro_descripcion,
tab7.razsoc as razsoc,
case when tab7.tipter = 1 then 'Cedula Ciudadania'
    when tab7.tipter = 2 then 'NIT'
    else 'Cedula Ciudadania' end as tipo_tercero,
case when tab2.valor > 0 then 'Si' else 'No' end as genera_gasto,
tab4.descomi as tipo_comision,
TO_CHAR(tab1.fecha_salida,'yyyy-mm-dd') as fecha_inicial,
to_char(tab1.fecha_regreso,'yyyy-mm-dd') as fecha_final,
tab0.objetivo as objeto_comision,
TO_CHAR(tab7.nitocc) as num_doc,
tab7.razsoc as nombre_completo,
'SERVICIO GEOLÓGICO COLOMBIANO' as sgc
from comisiones tab0
left join (select * from comisionados_planta
union
select * from comisionados_contrato)tab1 on tab1.id_comision = tab0.id and tab1.vigencia = tab0.vigencia
left join comisionados_objs tab2 on tab1.nitocc=tab2.nitocc and tab1.id_comision=tab2.id_comision and tab1.vigencia=tab2.vigencia
left join tipos_comision tab4 on tab4.tipcomi=tab0.tipcomi
left join transportes tab5 on tab1.id_transporte=tab5.id
left join pr_rubro_presup_v tab6 on tab0.id=tab6.id_rubro
left join terceros tab7 on tab7.nitocc=tab1.nitocc
where 1=1 and tab0.id=$P!{id_comision}]]>
	</queryString>
	<field name="ID_COMISION" class="java.lang.String"/>
	<field name="FECHA_SOLICITUD" class="java.lang.String"/>
	<field name="FECHA_ESTADO" class="java.lang.String"/>
	<field name="ESTADO_GENERAL" class="java.lang.String"/>
	<field name="GENERA_GASTO" class="java.lang.String"/>
	<field name="GENERA_VIATICOS" class="java.lang.String"/>
	<field name="TIPO_COMISION" class="java.lang.String"/>
	<field name="TIPO_TRANSPORTE" class="java.lang.String"/>
	<field name="RUBRO_DESCRIPCION" class="java.lang.String"/>
	<field name="RAZSOC" class="java.lang.String"/>
	<field name="TIPO_TERCERO" class="java.lang.String"/>
	<field name="FECHA_INICIAL" class="java.lang.String"/>
	<field name="FECHA_FINAL" class="java.lang.String"/>
	<field name="OBJETO_COMISION" class="java.lang.String"/>
	<field name="NUM_DOC" class="java.lang.String"/>
	<field name="NOMBRE_COMPLETO" class="java.lang.String"/>
	<field name="SGC" class="java.lang.String"/>
	<pageHeader>
		<band height="31" splitType="Stretch">
			<image>
				<reportElement x="0" y="1" width="70" height="19"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:siffnacion.jpg"]]></imageExpression>
			</image>
			<textField>
				<reportElement x="70" y="0" width="149" height="10"/>
				<textElement textAlignment="Center">
					<font size="4"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Documento de autorización, Reconocimiento y Ordenación de"+"\n"+"Pago Comisión al Interior del País"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="264" y="0" width="66" height="5"/>
				<textElement>
					<font size="4"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Usuario Solicitante:"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="264" y="5" width="66" height="5"/>
				<textElement>
					<font size="4"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Unidad ó Subunidad:"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="264" y="10" width="66" height="5"/>
				<textElement>
					<font size="4"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Ejecutora Solicitante:"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="264" y="15" width="66" height="5"/>
				<textElement>
					<font size="4"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Fecha y Hora Sistema:"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="353" y="0" width="97" height="5"/>
				<textElement>
					<font size="4"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Sofhouse"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="353" y="5" width="97" height="5"/>
				<textElement>
					<font size="4"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{SGC}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="353" y="10" width="97" height="5"/>
				<textElement>
					<font size="4"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="353" y="15" width="97" height="5"/>
				<textElement>
					<font size="4"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[new SimpleDateFormat("yyyy-MM-dd HH:MM").format(new java.util.Date())]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="47">
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="0" y="0" width="450" height="5" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Comisión Autorizada al Interior del País]]></text>
			</staticText>
			<textField>
				<reportElement style="table_TD" x="0" y="5" width="70" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Solicitud de Comisión No."]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="0" y="10" width="70" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Estado de la Comisión"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="0" y="15" width="70" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Tipo de Comisión"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="70" y="5" width="40" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{ID_COMISION}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="70" y="10" width="40" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ESTADO_GENERAL}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="70" y="15" width="90" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{TIPO_COMISION}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="110" y="5" width="50" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Fecha Solicitud"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="110" y="10" width="50" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Fecha de Estado"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="160" y="15" width="50" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Área u Oficina"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="160" y="5" width="50" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{FECHA_SOLICITUD}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="160" y="10" width="50" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{FECHA_ESTADO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="210" y="5" width="80" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Unidad Ejecutora o Subunidad"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="210" y="10" width="40" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Genera Viáticos"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="210" y="15" width="80" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="250" y="10" width="40" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{GENERA_GASTO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="290" y="5" width="160" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{SGC}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="290" y="10" width="40" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Gastos de viaje"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="290" y="15" width="40" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Transporte por Vía"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="330" y="15" width="120" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{TIPO_TRANSPORTE}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="330" y="10" width="20" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{GENERA_VIATICOS}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="350" y="10" width="85" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Requiere Pasajes"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="395" y="10" width="55" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="0" y="25" width="70" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Consecutivo CDP"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="0" y="20" width="450" height="5" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[CDP de viáticos]]></text>
			</staticText>
			<textField>
				<reportElement style="table_TD" x="0" y="30" width="120" height="10"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Rubro Presupuestal de Viáticos"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="70" y="25" width="50" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="120" y="25" width="188" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Dependencia Solicitante"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="308" y="25" width="142" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="120" y="30" width="120" height="10"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{RUBRO_DESCRIPCION}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="240" y="30" width="120" height="10"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Rubro Presupuestal de Gastos de Viaje"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="330" y="30" width="120" height="10"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{RUBRO_DESCRIPCION}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="72">
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="0" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Nombre]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="20" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Tipo Consecutivo]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="40" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Número de Documento]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="60" y="0" width="22" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Cargo]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="82" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Estado de la Comisión por Tercero]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="122" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha Final Comision]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="182" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[N°. Días]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="244" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Total días]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="264" y="0" width="30" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Base Liquidación]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="294" y="0" width="30" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Valor Viático Diario]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="324" y="0" width="30" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Valor Total Viáticos]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="354" y="0" width="30" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Valor Gastos de Viajes]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="384" y="0" width="30" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Valor Total a Pagar]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="414" y="0" width="36" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Objeto de la Comisión por tercero]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="102" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha Inicial Comision]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="142" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Región o Depto Origen]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="162" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Ciudad o Muni Destino]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="202" y="0" width="20" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Pernocta Ultimo día Comisión]]></text>
			</staticText>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="222" y="0" width="22" height="20" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Porcetaje Pernocta]]></text>
			</staticText>
			<textField>
				<reportElement style="table_TD" x="0" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NOMBRE_COMPLETO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="20" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TIPO_TERCERO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="40" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="60" y="20" width="22" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="82" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ESTADO_GENERAL}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="102" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{FECHA_INICIAL}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="122" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{FECHA_FINAL}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="142" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="162" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="182" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="202" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="222" y="20" width="22" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="244" y="20" width="20" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="264" y="20" width="30" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="294" y="20" width="30" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="324" y="20" width="30" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="354" y="20" width="30" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="384" y="20" width="30" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="414" y="20" width="36" height="40"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""+$F{OBJETO_COMISION}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="244" y="60" width="80" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Totales Solicitud de Comision"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="324" y="60" width="30" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="354" y="60" width="30" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="384" y="60" width="30" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band height="50">
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="0" y="0" width="450" height="5" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[OBJETO DE LA COMISIÓN]]></text>
			</staticText>
			<textField>
				<reportElement style="table_TD" x="0" y="5" width="450" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{OBJETO_COMISION}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="0" y="15" width="75" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Identificación"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement style="table_TD" mode="Opaque" x="0" y="10" width="450" height="5" forecolor="#000000" backcolor="#9A9A9A"/>
				<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="4" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[ORDENADOR DEL GASTO]]></text>
			</staticText>
			<textField>
				<reportElement style="table_TD" x="75" y="15" width="75" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NUM_DOC}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="147" y="15" width="75" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Nombre"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="222" y="15" width="75" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NOMBRE_COMPLETO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="297" y="15" width="75" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Cargo"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="table_TD" x="372" y="15" width="78" height="5"/>
				<textElement>
					<font size="4" isBold="true" isUnderline="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="34" width="450" height="1"/>
			</line>
			<staticText>
				<reportElement x="164" y="35" width="100" height="10"/>
				<textElement textAlignment="Center">
					<font size="5" isBold="true"/>
				</textElement>
				<text><![CDATA[Firma Responsable]]></text>
			</staticText>
		</band>
	</pageFooter>
</jasperReport>
