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

	<script src="${contextPath}/js/dda/admin/reporte/reporteSuscriptoresM.js?v=${versionJS}"></script>
	
	<style type="text/css">
		.totalContratoRowClass { background-color: #ffffcc; background-image: none; }
        .contratoRowClass { background-color: #DCFFFF; background-image: none; }
        .pos{ z-index: 1; }
        
    </style>
	
	
	<input type="hidden" id="pmn" name="pmn" value="${pmn}" />
	<input type="hidden" id="pmnReturn" name="pmnReturn" value="${pmnReturn}" />
	
	<div class="form-group">
	
		<div class="col-xs-1">
			<label class="control-label" for="campoEstudio">Mes:</label>
		</div>
		<div class="col-xs-3">
			   <input  id="fecha"  class="form-control" readonly="readonly"
              required> 
          
		</div>
		<div class="col-xs-1"></div>
		<div class="col-xs-3">
			<select style="width: 300px;" class="form-control" id="campoEstudio" name="campoEstudio" onclick="" onchange="llamaObtenerDetalleContratos()">
				<option value="-1">Seleccionar estudio</option>
				<s:iterator value="estudiosAddon" status="nestudio">
					<option value="<s:property value="idEstudio" />">
						<s:property value="nombre" />
					</option>
				</s:iterator>
			</select>
		</div>
	
	</div>
	
	<div class="form-group">
	
		<div class="col-xs-1">		
			<button id="botonConsultar" class="btn btn-info" type="button" onclick="llamaReporteCargaAction()" disabled>Consultar</button>
		</div>
	
		<div class="col-xs-1">
			<button id="botonExportar" class="btn btn-success" type="button" onclick="descargarReporteEnExcel()" >Exportar</button>
		</div>
		
		<div class="col-xs-1">
			<button id="botonGuardarHistorico" class="btn btn-success" type="button" onclick="guardarHistorico()" >Guardar Hist&oacute;rico</button>
		</div>
			
	</div>
	
	</br>
	</br></br>
	</br></br>
	</br></br>
	</br>
	
	<div id="reporteTableDiv" class="form-group">
			<table id="reporteTable"></table>
	</div>

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