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

<!-- Formulario de filtrado -->
<form:form modelAttribute="informes" id="bandejainformes_filter_form">
	<!-- Barra de herramientas del formulario de filtrado -->
	<div id="bandejainformes_filter_toolbar" class="formulario_legend"></div>
	<fieldset id="bandejainformes_filter_fieldset" class="rup-table-filter-fieldset borderOnly">
	<form:input type="hidden" id="modo" path=""/>
	<div class="form-row row">
	<div class="form-groupMaterial col-sm-2">
				<form:input path="solicitantes.identificador01" id="dniSolicitante_informes_filter_table"/>
				<label for="dniSolicitante_informes_filter_table"><spring:message code="informes.dni"/></label>
			</div>
			<div class="form-groupMaterial col-sm-2">
				<form:input path="solicitantes.nombre01" id="nombreSolicitante_informes_filter_table"/>
				<label for="nombreSolicitante_informes_filter_table"><spring:message code="informes.nombre"/></label>
			</div>
			<div class="form-groupMaterial col-sm-2">
				<form:input path="expedientes.numExpediente00" id="expediente_informes_filter_table"/>
				<label for="expediente_informes_filter_table"><spring:message code="informes.expediente"/></label>
			</div>
			<div class="form-groupMaterial col-sm-2">
				<form:select  path="tipoInforme16" id="tipoInforme_informes_filter_table">
				    <form:option value="">----</form:option>				    
					<form:options items="${TipoInformes}" itemLabel="labelDesc" itemValue="id" />
			    </form:select>
				<label for="tipoInforme_informes_filter_table"><spring:message code="informes.tipoInforme"/></label>
			</div>
			
			<div class="form-groupMaterial col-sm-2">
				<form:select  path="estado16" id="estado_informes_filter_table">
				    <form:option value="">----</form:option>				    
					<form:options items="${TipoEstado}" itemLabel="labelDesc" itemValue="id" />
			    </form:select>
				<label for="estado_informes_filter_table"><spring:message code="informes.estado"/></label>
			</div>
		</div>
		<div class="form-row row">
			<!-- Campos del formulario de filtrado -->
							
			
				
			<div class="form-groupMaterial col-sm-2">
				<form:input path="fInicio16" id="fecInicio_informes_filter_table"/>
				<label for="fecInicio_informes_filter_table"><spring:message code="informes.fecInicio"/></label>
			</div>
			<div class="form-groupMaterial col-sm-2">
				<form:input path="fFin16" id="fecFin_informes_filter_table"/>
				<label for="fecFin_informes_filter_table"><spring:message code="informes.fecFin"/></label>
			</div>
				
			<div class="form-groupMaterial col-sm-2">
				<form:input path="fEnvioAdmon16" id="fecEnvioAdmin_informes_filter_table"/>
				<label for="fecEnvioAdmin_informes_filter_table"><spring:message code="informes.fecEnvioAdmin"/></label>
			</div>
			
			<div class="form-groupMaterial col-sm-4">
				<form:input path="solicitantes.direcciones.calle06" id="direccionSolicitante_informes_filter_table"/>
				<label for="direccionSolicitante_informes_filter_table"><spring:message code="informes.direccion"/></label>
			</div>
		</div>
		
		<div class="form-row row">							
			<div class="form-groupMaterial col-sm-2" id="solicitante_informes_filter_table_wrapper">
				<form:select  path="origen16" id="solicitante_informes_filter_table">
				    <form:option value="">----</form:option>				    
					<form:options items="${TipoSolicitante}" itemLabel="labelDesc" itemValue="id" />
			    </form:select>					
			    <label for="solicitante_informes_filter_table"><spring:message code="informes.solicitante"/></label>
			</div>
			<div class="form-groupMaterial col-sm-2" id="mostrarOcultos_informes_filter_table_wrapper">
				<div class="checkbox-material checkbox-material-inline" style="top: -3px">
					<input id="mostrarOcultos_informes_filter_table" name="mostrarOcultos" type="checkbox">
					<label for="mostrarOcultos_informes_filter_table"><spring:message code="informes.mostrarOcultos"/></label>
				</div>
			</div>
			<div class="form-groupMaterial col-sm-2" id="trabajadorSolcial_informes_filter_table_wrapper">
				<form:input path="usuario.nombre80" id="trabajadorSolcial_informes_filter_table"/>
				<label for="trabajadorSolcial_informes_filter_table"><spring:message code="informes.trabajadorSocial"/></label>
			</div>
		</div>
		<!-- Fin campos del formulario de filtrado -->
		
		<!-- Botonera del formulario de filtrado -->
		<div id="bandejainformes_filter_buttonSet" class="text-right">
			<!-- Botón de limpiar -->
			<button id="bandejainformes_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="bandejainformes_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>