<%@include file="/jsp/common/defaultTopLogin.jsp"%>
	
<script src="${contextPath}/design/js/plugins/expand/Expand1.js"></script>
<script src="${contextPath}/js/dda/admin/revenuePorc/revenueSH.js?v=${versionJS}"></script>
<link rel="stylesheet" href="${contextPath}/design/css/addons/theme_medium_purple/select2.css"/>

	
	<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%>"/>
	<script src="${contextPath}/js/common/perfil/perfilService.js?v=${versionJS}"></script>
	<script src="${contextPath}/js/common/perfil/perfilController.js?v=${versionJS}"></script>
	<script>
		$().ready(function() {
			var perfilController = new PerfilController();
			perfilController.ejecutarPerfil(parseInt($("#pmn").val()));
		});
	</script>
	<input type="hidden" id="pmnReturn" name="pmnReturn" value="${pmnReturn}" />
	
	<div class="form-group">
	
		<div class="col-sm-2">
			<label class="control-label" for="campoEstudio">Estudio:</label>
		</div>
		<div class="col-sm-3">
			<select style="width: 300px;" class="form-control-sm" id="campoEstudio" name="campoEstudio" onclick="" onchange="llamaObtenerDetalleContratos()">
				<option value="-1">Todos</option>
				<s:iterator value="estudios" status="nestudio">
					<option value="<s:property value="idEstudio" />">
						<s:property value="descripcionEstudio" />
					</option>
				</s:iterator>
			</select>
		</div>
	</div>	
	<div class="form-group">
		<div class="col-sm-2">
			<label class="control-label" for="campoContrato">Contrato:</label>
		</div>
		<div class="col-sm-3">
			<select style="width: 250px;" class="form-control-sm" id="campoContrato" name="campoContrato" onclick="" disabled onchange="">
			</select>
		</div>
	</div>
	
	<div class="form-group">
		<div class="col-sm-2">
			<label class="control-label" for="campoidB">Id BroadView:</label>
		</div>
		<div class="col-sm-3">
			<input style="width: 250px;" class="form-control" id="campoContrato" 
			name="campoIdB_in" onclick="" onchange="" >
		</div>
	
	</div>
	
	
	<div class="form-group">
	
		<div class="col-sm-2">
			<label class="control-label" for="campoidf1">Vigencia:</label>
		</div>
		<div class="col-sm-3">
		      <input style="width: 250px;" id="fecha1"  class="form-control" required></input> 
		</div>
		<div class="col-sm-1"></div>
		<div class="col-sm-1">
			<label class="control-label" for="campoidf2">Al:</label>
		</div>
		<div class="col-sm-3">
		      <input style="width: 250px;" id="fecha2"  class="form-control" required></input> 
		</div>
		
	</div>
		
		
	<div class="form-group">
		<div class="col-sm-2">
			<label class="control-label" for="campoP">% Revenue Share:</label>
		</div>
		<div class="col-sm-3">
			<input style="width: 250px;" class="form-control" id="campoP" 
			name="campoIdP_in" onclick="" onchange="" >
		</div>
	
	</div>
		
		
		
	<div class="form-group">
	
		<div class="col-sm-1">
		</div>
	
		<div class="col-sm-1"></div>
	
		<div class="col-sm-1 centrar-elemento">
		</div>
		
		<div class="col-sm-1"></div>
	
		<div class="col-sm-1 centrar-elemento">
			<button id="botonG" class="btn btn-success" type="button" 
			onclick="notificarSAP()" disabled>Guardar cambios</button>
		</div>
		<div class="col-sm-3"></div>
		
	</div>
	
	</br>
	</br>
	
	<div id="reporteTableDiv" class="form-group">
			<table id="reporteTable"></table>
	</div>

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