<%@include file="/WEB-INF/includeTemplate.inc"%>
<%@page import="com.ejie.ad74a.util.constantes.TipoAportacionEnum"%>
<%@page import="com.ejie.ad74a.util.constantes.TipoProcesoEnum"%>

<h1 class="titulo"><spring:message code="bandejas.papel0"/></h1>
<jsp:include page="includes/BandejaPapel0FilterForm.jsp"></jsp:include>

<script>
	const TIPO_APORTACION_SOL = "0<%=TipoAportacionEnum.SOLICITUD.getTipo()%>";
	const TIPOS_SOLICITUD = <%=TipoProcesoEnum.getTiposSolicitud()%>;
	const userName = '${userName}';
	
	
</script>

<table id="bandejapapel0" class="tableFit table-striped table-bordered table-material" 
	data-url-base="../bandejapapel0"
	data-filter-form="#bandejapapel0_filter_form">
    <thead>   
        <tr>        
        	<th data-col-prop="bloqueo12" data-col-sidx="BLOQUEO12" ></th>
        	<th data-col-prop="tipo12_desc" data-col-sidx="TIPO12" >
	        	<spring:message code="bandejas.papel0.tipoEntrada"/>
	        </th>
	        <th data-col-prop="procedureid12_desc" data-col-sidx="PROCEDUREID12" >
	        	<spring:message code="bandejas.papel0.procedimiento"/>
	        </th>
	        <th data-col-prop="numRegistro12" data-col-sidx="NUMREGISTRO12" >
	        	<spring:message code="bandejas.papel0.numeroRegistro"/>
	        </th>
        	<th data-col-prop="fRegistro12" data-col-sidx="FREGISTRO12" >
	        	<spring:message code="bandejas.papel0.fechaRegistro"/>
	        </th>
			<th data-col-prop="numRegOriginal12" data-col-sidx="NUMREGORIGINAL12" >
	        	<spring:message code="bandejas.papel0.numeroRegOriginal"/>
	        </th>
	        <th data-col-prop="fRegOriginal12" data-col-sidx="FREGORIGINAL12" >
	        	<spring:message code="bandejas.papel0.fechaRegOriginal"/>
	        </th>
	        <th data-col-prop="remitente12" data-col-sidx="REMITENTE12" >
	        	<spring:message code="bandejas.papel0.remitente"/>
	        </th> 
	        <th data-col-prop="numExpediente12" data-col-sidx="NUMEXPEDIENTE12" >
	        	<spring:message code="bandejas.papel0.numExpediente"/>
	        </th>  
	        <th data-col-prop="numDocumentos" data-col-sidx="" >
	        	<spring:message code="bandejas.papel0.numDocumentos"/>
	        </th>   
        </tr>
    </thead>
</table>

<jsp:include page="includes/dialogBandejaPapel0.jsp">
	<jsp:param name="tableName" value="bandejapapel0" />
</jsp:include>

<div id="dialogOcultar" style="display: none" class="custom_small_dialog">
	<div class="form-row row">
		<div class="form-groupMaterial col-sm-12"> 
			<label class="lbl-auto"><spring:message code="bandejas.papel0.dialog.mostrarOcultar" /></label>	
		</div>
	</div>
</div>
<div id="dialogBloqueado" style="display: none" class="custom_small_dialog">
	<div class="form-row row">
		<div class="form-groupMaterial col-sm-12"> 
			<label class="lbl-auto"><spring:message code="bandejas.papel0.dialog.bloqueado" /></label>	
		</div>
	</div>
</div>