<%@include file="/WEB-INF/includeTemplate.inc"%>

<!-- Formulario de filtrado -->
<form:form modelAttribute="protocolos" id="protocolos_filter_form">
	<!-- Barra de herramientas del formulario de filtrado -->
	<div id="protocolos_filter_toolbar" class="formulario_legend"></div>
	<fieldset id="protocolos_filter_fieldset" class="rup-table-filter-fieldset borderOnly">
		<div class="form-row row">
			<!-- Campos del formulario de filtrado -->
			<form:hidden path="idSolicitante26"/>
			<div class="form-groupMaterial col-sm-2">
				<form:select path="idTipoProtocolo26" id="idTipoProtocolo26_filter_table" items="${tiposProtocoloList}" itemLabel="label" itemValue="value"/>
				<label for="idTipoProtocolo26_filter_table"><spring:message code="protocolos.idTipoProtocolo26"/></label>
			</div>
			<div class="form-groupMaterial col-sm-2">
				<form:input path="fEntradaDesde" id="fEntradaDesde_filter_table"/>
				<label for="fEntradaDesde_filter_table"><spring:message code="protocolos.fEntradaDesde"/></label>
			</div>
			<div class="form-groupMaterial col-sm-2">
				<form:input path="fEntradaHasta" id="fEntradaHasta_filter_table"/>
				<label for="fEntradaHasta_filter_table"><spring:message code="protocolos.fEntradaHasta"/></label>
			</div>
			
			<div class="form-groupMaterial col-sm-2">
				<form:input path="fSalidaDesde" id="fSalidaDesde_filter_table"/>
				<label for="fSalidaDesde_filter_table"><spring:message code="protocolos.fSalidaDesde"/></label>
			</div>
			<div class="form-groupMaterial col-sm-2">
				<form:input path="fSalidaHasta" id="fSalidaHasta_filter_table"/>
				<label for="fSalidaHasta_filter_table"><spring:message code="protocolos.fSalidaHasta"/></label>
			</div>
			<!-- Fin campos del formulario de filtrado -->
		</div>
		<!-- Botonera del formulario de filtrado -->
		<div id="protocolos_filter_buttonSet" class="text-right">
			<!-- Botón de limpiar -->
			<button id="protocolos_filter_cleanButton" type="button" class="btn-material btn-material-primary-low-emphasis mr-2">
				<i class="mdi mdi-eraser"></i>
				<span><spring:message code="clear" /></span>
			</button>
			<!-- Botón de filtrado -->
			<button id="protocolos_filter_filterButton" type="button" class="btn-material btn-material-primary-high-emphasis" >
				<i class="mdi mdi-filter"></i>
				<span><spring:message code="filter" /></span>
			</button>
		</div>
	</fieldset>
</form:form>



<table id="protocolos" class="tableFit table-striped table-bordered table-material" 
	data-url-base="<c:out value="${param.url}"/>../protocolos"
	data-filter-form="#protocolos_filter_form">
    <thead>
        <tr>

            <th data-col-prop="idTipoProtocolo26" data-col-sidx="IDTIPOPROTOCOLO26">
            	<spring:message code="protocolos.idTipoProtocolo26"/>
            </th>
            <th data-col-prop="fEntrada26" data-col-sidx="FENTRADA26">
            	<spring:message code="protocolos.fEntrada26"/>
            </th>
            <th data-col-prop="fSalida26" data-col-sidx="FSALIDA26">
            	<spring:message code="protocolos.fSalida26"/>
            </th>
             
        </tr>
    </thead>
</table>

