
<div class="modal fade bs-example-modal-lg" id="modalAgregaActualizaAddOn">
	<div class="modal-dialog  modal-lg">
		
		<div class="modal-content">

<div id="divErrorModal">
<s:if test="hasActionErrors()">
	  	<div class="alert alert-dismissible alert-danger">
				 <button type="button" class="close" data-dismiss="alert">×</button>
				 <h4>Error</h4>
<s:actionerror/>
	  	</div>
	  	<script type="text/javascript">
	  	closeDialogModal("divErrorModal");
	  	</script>
</s:if>
						</div>	
		
			<form action="opcionesContrato_noAutoriza">
			
				<input type="hidden" id="idContrato" name="idContrato"  value="${idContrato}" />
				<input type="hidden" id="ordenAreaUsuario" name="ordenAreaUsuario"  value="${ordenAreaUsuario}" />
				
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h3 id="modHeader" class="modal-title"><b>Add On</b></h3>
				</div>
					
					<div class="modal-body">
					
						<h3>Datos de Add On: </h3>
						
						<br><br>
					
						<div class="form-group">
							<div class="col-sm-2">
					      		<label class="control-label" for="input" >Estudio:</label>
					      	</div>
					      	<div class="col-sm-3">
					        	<select id="inpEstudio" class="form-control" disabled>  </select>
					      	</div>      		      	
					    </div>
					    
					   <div class="form-group">
							<div class="col-sm-2">
					      		<label class="control-label" for="input">Pa&iacute;s: </label>
					      	</div>
					      	<div class="col-sm-3">
					        	<select id="inpPais" class="form-control" disabled>  </select>
					      	</div>      		      	
					    </div>
					    
					      <div class="form-group">
							<div class="col-sm-2">
					      		<label class="control-label" for="input">Revenue Share: </label>
					      	</div>
					      	<div class="col-sm-3">      		
					        	<input id="inpRevenueShare" class="form-control" type="text">	        	
					      	</div>      		      	
					    </div>
					    
					    <div class="form-group">
							<div class="col-sm-2">
					      		<label class="control-label" for="input">Precio: </label>
					      	</div>
					      	<div class="col-sm-3">      		
					        	<input id="inpPrecio" class="form-control" type="text">	        	
					      	</div>      		      	
					    </div>
		    
					    <div class="form-group">
							<div class="col-sm-2">
					      		<label class="control-label" for="input" id="lblVat">Vat Movil: </label>
					      	</div>
					      	<div class="col-sm-3">      		
					        	<input id="inpVat" class="form-control" type="text" onchange="calculaImpuestoMovil()">	        	
					      	</div>      		      	
					    </div>
					    
					    <div class="form-group" id="divArgentinaVat" >
							<div class="col-sm-2">
					      		<label class="control-label" for="input">Vat Fijo: </label>
					      	</div>
					      	<div class="col-sm-3">      		
					        	<input id="inpVatFijo" class="form-control" type="text" onchange="calculaImpuestoFijo()">    	
					      	</div>      		      	
					    </div>
					    
					    <div class="form-group">
							<div class="col-sm-2">
					      		<label class="control-label" for="input" id="lblPrecio">Precio Neto Movil: </label>
					      	</div>
					      	<div class="col-sm-3">      		
					        	<input id="inpPrecioNeto" class="form-control" type="text">	        	
					      	</div>      		      	
					    </div>
					    
					    <div class="form-group" id="divArgentinaPrecio" >
							<div class="col-sm-2">
					      		<label class="control-label" for="input">Precio Neto Fijo: </label>
					      	</div>
					      	<div class="col-sm-3">      		
					        	<input id="inpPrecioNetoFijo" class="form-control" type="text">	        	
					      	</div>      		      	
					    </div>
					    
					    <div class="form-group">
							<div class="col-sm-2">
					      		<label class="control-label" for="input">Tipo de Cambio: </label>
					      	</div>
					      	<div class="col-sm-3">      		
					        	<input id="inpTipoDeCambio" class="form-control" type="text" disabled>    	
					      	</div>      		      	
					    </div>
					    
					     <div class="form-group">
							<div class="col-sm-2">			    
					      		<label class="control-label" for="paraCampoGrupo">C&aacute;lculo Monto por Pais:</label>
					      	</div>
					      	
					      	<div class="col-sm-3">
								<input id="inpCalculoMontoXPais" class="form-control" type="text">
							</div> 
						</div>
						
						<div class="form-group">
							<div class="col-sm-2">			    
					      		<label class="control-label" for="paraCampoGrupo">C&aacute;lculo Revenue Share:</label>
					      	</div>
					      	
					      	<div class="col-sm-3">
								<input id="inpCalculoRevenueShare" class="form-control" type="text">
							</div> 
						</div>
						
						<div class="form-group">
							<div class="col-sm-2">			    
					      		<label class="control-label" for="paraCampoGrupo" >Tarifa M&iacute;nima:</label>
					      	</div>
					      	
					      	<div class="col-sm-3">
								<input id="inpTarifaMinima" class="form-control" type="text">
							</div> 
						</div>
						
						<div class="form-group">
							<div class="col-sm-2">			    
					      		<label class="control-label" for="paraCampoGrupo" >Preferido:</label>
					      	</div>
					      	
					      	<div class="col-sm-3">
								<input id="inpPreferido" type="checkbox" value="0" onclick="cambiaValorCheck()">
							</div> 
						</div>
							
					</div>
		
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
						<button type="button" class="btn btn-success" onclick="llamaActualizaAddOn()" >Guardar</button>
					</div>
				
			</form>
			
		</div>
	</div>

</div>