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

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

<s:form id="idFormBusqueda" class="form-horizontal" action="#">
	
	<fieldset>
		<legend>Titulos</legend>
		<div class="form-group">
			<div class="col-md-3">
				<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-3">
				<label for="inputEmail3" class="control-label">Mes</label>
				<input  name="mes" id="mes" class="form-control " >
			</div>
			<div class="col-md-3">
				<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-3 pull-right">
				<label class="control-label"></label>
				<button type="button" class="btn btn-default" onclick="pagosTxController.buscarPagos();">Buscar</button>
				
				<div id="divEnvioSAP" >
					<button type="button" class="btn btn-default" onclick="pagosTxController.envioSAP();">Envio SAP</button>
				</div>
				
				<div id="exportarReporte">
					 <button  type="button" class="btn btn-info" id="botonExporta" onclick="pagosTxController.descargaReporte();">Exporta Reporte</button>
				</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"%>