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

<script src="${contextPath}/design/js/plugins/expand/Expand1.js"></script>
<script src="${contextPath}/js/dda/reporte/amortizacion/reporteAmortizacion.js?v=${versionJS}"></script>
<link rel="stylesheet" href="${contextPath}/design/css/addons/theme_medium_purple/select2.css"/>


<form name="myform" id="formaId" method="POST"
	enctype="multipart/form-data" >

	<div class="form-group">	
		<label class="col-sm-2 control-label">Estudio:</label> 
	       <div class="col-sm-4">
              <select id="estudioEleccion" class="form-control-sm" required>
	          <option value=""> Seleccione </option>
	             <c:forEach var="m" items="${listaEstudios}">
		            <option value="${m.idEstudio}" > ${m.descripcionEstudio} </option>
	             </c:forEach>
              </select>
    	   </div>
    	   
    	<label  class="col-sm-2 control-label" for="fecha">Mes de Consulta:</label> 		   	
           <div class="col-sm-4">
              <input  id="fecha"  class="form-control" 
              required> 
           </div> 

    </div>
	
    <div class="form-group"></div>
      
    <div class="form-group">
             <div class="col-sm-4"></div>
<%--     		 <div class="col-sm-4">
    	     	<a href="../../factura/listado/index?pmn=<%=pmnReturn%>" class="btn btn-default col-sm-4" roll="button" >Regresar</a>
    	     </div> --%>
    	     <div class="col-sm-2">       
                 <button class="btn btn-success" id="consultaReporte" type="button">Consulta Reporte</button>
	         </div>
	         <div class="col-sm-2">       
                 <button class="btn btn-info" id="generaExcelReporte" type="button">Exporta Reporte</button>
	         </div>
	         
<!-- 	         <div class="col-sm-4">
	 	         <div id='botonConsultarFactura'> </div>
	 	     </div>	 -->
    </div>
    
<!--     var url = contextPath +'/contrato/amortizacion/excelAmortizacion.action?idEstudio=' + $("#idEstudio").val() + '?fecha='+ $("#fecha").val();
window.open(url); -->
	
	<div class="form-group"></div>
	<div class="form-group"></div>
	<div class="form-group"></div>
	
	<div id='tablaAmortizacionDetalle'> </div>

</form>

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