<%@include file="/jsp/common/defaultTopLogin.jsp"%>
    
	<script src="${contextPath}/js/dda/admin/reporte/multiselect/jquery.multiselect.js"></script>
	<link rel="stylesheet" href="${contextPath}/css/dda/contrato/multiselect/jquery.multiselect.css">
	<script src="${contextPath}/js/dda/admin/reporte/reporteContingencia.js?v=${versionJS}"></script>
	
	<style type="text/css">
		.totalContratoRowClass { background-color: #ffffcc; background-image: none; }
        .contratoRowClass { background-color: #DCFFFF; background-image: none; }
    </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">Estudio:</label>
		</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="estudios" status="nestudio">
					<option value="<s:property value="idEstudio" />">
						<s:property value="descripcionEstudio" />
					</option>
				</s:iterator>
			</select>
		</div>
		<div class="col-xs-1"></div>
		<div class="col-xs-1">
			<label class="control-label" for="campoContrato">Contratos:</label>
		</div>
		<div class="col-xs-3">
			<select style="width: 250px;" class="form-control" id="campoContrato" name="campoContrato" disabled multiple="multiple" onchange="validarVacio()">
			</select>
		</div>
	
		<div class="col-xs-3"></div>
	</div>
	
	<div class="form-group">
	
		
	
	
		<div class="col-xs-1">
			<button id="botonConsultar" class="btn btn-info" type="button" onclick="llamaReporteInfoAction()" disabled>Consultar</button>
		</div>
	
		<div class="col-xs-1"></div>
	
		<div class="col-xs-1 centrar-elemento">
			<button id="botonExportar" class="btn btn-success" type="button" onclick="descargarReporteEnExcel()" disabled>Exportar</button>
		</div>
		
		<div class="col-xs-1"></div>
	
		<div class="col-xs-1 centrar-elemento">
			<button id="botonNotificar" class="btn btn-success" type="button" onclick="notificarSAP()" disabled>Notificar SAP</button>
		</div>
		<div class="col-xs-3"></div>
		
	</div>
	
	</br>
	</br>
	<div id="labelDiv" style="display: block;">
		<label class="control-label" id="tipoContrato">Contrato Addendum</label>
	</div>
	</br>
	</br>
	<div class='alert alert-dismissible alert-warning' id="loadingDiv" style="display: block;">
		<span>Cargando t&iacute;tulos...</span>
	</div>
	<div id="reporteTableDiv" class="form-group">
			<table id="reporteTable"></table>
	</div>

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