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

<!-- Formulario de filtrado -->
<form:form modelAttribute="cobros" id="cobrosSolicitante_filter_form" >
	<!-- Barra de herramientas del formulario de filtrado -->
	<div id="cobrosSolicitante_filter_toolbar" class="formulario_legend"></div>
	<fieldset id="cobrosSolicitante_filter_fieldset" class="rup-table-filter-fieldset borderOnly">
		<!-- Campos del formulario de filtrado -->
				
		<div class="form-row row">
			<div class="form-groupMaterial col-md-2" hidden>
				<form:input path="idSolicitante" id="idSolicitante_cobrosSolicitante_filter_table"/>
				<label for="idSolicitante_cobrosSolicitante_filter_table"><spring:message code="cobros.idSolicitante"/></label>
			</div>
			<div class="form-groupMaterial col-md-2">
				<form:input path="fEmisionDesde" id="fEmisionDesde_cobrosSolicitante_filter_table"/>
				<label for="fEmisionDesde_cobrosSolicitante_filter_table"><spring:message code="cobros.fEmisionDesde"/></label>
			</div>
			
			<div class="form-groupMaterial col-md-2">
				<form:input path="fEmisionHasta" id="fEmisionHasta_cobrosSolicitante_filter_table"/>
				<label for="fEmisionHasta_cobrosSolicitante_filter_table"><spring:message code="cobros.fEmisionHasta"/></label>
			</div>
			<div class="form-groupMaterial col-md-2">
				<form:select path="estado" id="estado_cobrosSolicitante_filter_table">
					<form:option value="">---</form:option>
					<form:option value="<%=EstadoLiqEnum.PENDIENTE_COBRO.getId()%>"><%=EstadoLiqEnum.PENDIENTE_COBRO.getLabelDesc()%></form:option>
					<form:option value="<%=EstadoLiqEnum.ANULADA.getId()%>"><%=EstadoLiqEnum.ANULADA.getLabelDesc()%></form:option>
					<form:option value="<%=EstadoLiqEnum.COBRO_PROVISIONAL.getId()%>"><%=EstadoLiqEnum.COBRO_PROVISIONAL.getLabelDesc()%></form:option>
					<form:option value="<%=EstadoLiqEnum.COBRO_DEFINITIVO.getId()%>"><%=EstadoLiqEnum.COBRO_DEFINITIVO.getLabelDesc()%></form:option>
					<form:option value="<%=EstadoLiqEnum.VIA_APREMIO.getId()%>"><%=EstadoLiqEnum.VIA_APREMIO.getLabelDesc()%></form:option>
				</form:select>
				<label for="estado_cobrosSolicitante_filter_table">
					<spring:message code="cobros.estado"/>
				</label>
			</div>
			<div class="form-groupMaterial">
				<div class="checkbox-material checkbox-material-inline" style="top: -3px">
					<form:checkbox id="ultimaLiquidacion_cobrosSolicitante_filter_table" path="ultimaLiquidacion" checked="checked"></form:checkbox>
					<label for="ultimaLiquidacion_cobrosSolicitante_filter_table"><spring:message code="cobros.ultimaLiquidacion"/></label>
				</div>
			</div>
			
			<!-- Fin campos del formulario de filtrado -->
		</div>
		<!-- Botonera del formulario de filtrado -->
		<div id="cobrosSolicitante_filter_buttonSet" class="text-right">
			<!-- Botón de limpiar -->
			<button id="cobrosSolicitante_filter_cleanButton" type="button" class="btn-material btn-material-primary-low-emphasis mr-2 hidden">
				<i class="mdi mdi-eraser"></i>
				<span><spring:message code="clear" /></span>
			</button>
			<button id="cobrosSolicitante_filter_cleanBtn" 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="cobrosSolicitante_filter_filterButton" type="button" class="btn-material btn-material-primary-low-emphasis" >
				<i class="mdi mdi-filter"></i>
				<span><spring:message code="filter" /></span>
			</button>
		</div>
	</fieldset>
</form:form>