<%@include file="/jsp/common/defaultTopLogin.jsp"%>

<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/reporte/pagosTransaccion/pagosTXHController.js"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/reporte/pagosTransaccion/pagosTXHGrid.js"></script>

<s:form id="idFormBusqueda" class="form-horizontal" action="#">
	<fieldset>
		<legend>Titulos</legend>
		<div class="form-group">
			<div class="col-md-2">
				<label for="inputEmail3" class="control-label">Estudio</label>
				<v:select items="${estudios}" id="estudio" name="estudio" clazz="form-control  required"  onchange="pagosTxController.buscarPagos();" />
			</div>
			<div class="col-md-2">
				<label for="inputEmail3" class="control-label">Mes</label>
				<input  name="mes" id="mes" class="form-control required" >
			</div>
			<div class="col-md-2">
				<label for="inputEmail3" class="control-label">Numero de Meses</label>
				<input  name="nummes" id="nummes" class="form-control required digit"  onblur="pagosTxController.buscarPagos();" >
			</div>
			<div class="col-md-2">
				<label for="inputEmail3" class="control-label">Orden</label>
				<v:select items="${tipoOrden}" id="tipoOrden" name="tipoOrden" skiptZero="true" clazz="form-control " onchange="pagosTxController.buscarPagos();"/>
			</div>
			<div class="col-md-2">
				<label for="inputEmail3" class="control-label">Tipo titulo</label>
				<v:select items="${tipoTitulos}" id="tipoTitulo" name="tipoTitulo" clazz="form-control " onchange="pagosTxController.buscarPagos();"/>
			</div>
			<div class="col-md-2 pull-right">
				<label class="control-label"></label>
				<button type="button" class="btn btn-default" onclick="pagosTxController.buscarPagos();">Buscar</button>
				
				<div id="divEnvioSAP" >
				</div>
			</div>
		</div>
	</fieldset>
</s:form>

<div class="form-group" >
	<div class="col-md-12">
		<!-- esta es la tabla que se expande y captura datos -->
		<div id="dyn1"></div>
	</div>
</div>


<%@include file="/jsp/common/defaultBottomLogin.jsp"%>