<%@include file="/jsp/common/defaultTopLogin.jsp"%>
<%@include file="/jsp/dda/contrato/transaccion/comun/scripts.jsp"%>

 <style>
	.nopadding {
	   padding: 0 !important;
	   margin: 0 !important;
	}		
 </style>

 <input type="hidden" id="idCto" value="${session.idContrato}"/>

 <div class="container nopadding" ng-app="${contextPath}">
                                             
		
 	<div class="row nopadding col-sm-10" ng-controller="feesController">  

		<div class="container">
					 <div class="form-inline">
						  <div class="form-group col-sm-1" >
						    <label>Fecha del Contrato</label>		    
						  </div>
						  <div class="form-group col-sm-4">		    
						    <input type="text" class="form-control" id="fechaInicioCto" ng-model="fechaInicioCto" value="{{fechaInicioCto}}" readonly="readonly">
						    <input type="text" class="form-control" id="fechaFinCto"    ng-model="fechaFinCto"  value="{{fechaFinCto}}" readonly="readonly"/>
						  </div>						  
						  <div class="form-group col-sm-1">
						    <label>Tipo de Cambio</label>
						  </div>
						  <div class="form-group col-sm-3">
						   
						    <select id="tipoCambio" ng-model="tipoCambio">						      
							   <option ng-repeat="t in tiposCambio"
							           ng-selected="{{t.id == tipoCambio}}"            						   
                                       value="{{t.id}}">
                                         {{t.desc}}                                         
                               </option>			  
							</select>
						  </div>						
					 </div>
		  </div>	

		  <br/>
		  <br/>
  
		  <div class="panel-group " id="accordion">
		    
			    <div class="panel panel-default ">
			      <div class="panel-heading">
			        <h4 class="panel-title">
			          <a data-bs-toggle="collapse" href="#collapse1">Renta Premier</a>
			        </h4>
			      </div>     			      
				      <div id="collapse1" class="panel-collapse collapse {{abiertoPremier}}">
				        <div class="panel-body">				             				             				              				               
							<jsp:include page="/jsp/dda/contrato/transaccion/fees/feesRentaPremier.jsp" />	        	
				        </div>
				      </div>
			    </div>
			    
			    <div class="panel panel-default">
			      <div class="panel-heading">
			        <h4 class="panel-title">
			          <a data-bs-toggle="collapse"  href="#collapse2">Renta Librerķa</a>
			        </h4>
			      </div>
			      <div id="collapse2" class="panel-collapse collapse {{abiertoLibreria}}">
			        <div class="panel-body">
			                <jsp:include page="/jsp/dda/contrato/transaccion/fees/feesRentaLibreria.jsp" />			        
			        </div>
			       </div>
			    </div>
			    
			    <div class="panel panel-default">
			      <div class="panel-heading">
			        <h4 class="panel-title">
			          <a data-bs-toggle="collapse"  href="#collapse3">EST (Venta) </a>
			        </h4>
			      </div>
			      <div id="collapse3" class="panel-collapse collapse {{abiertoEst}}">
			        <div class="panel-body">
			                 <jsp:include page="/jsp/dda/contrato/transaccion/fees/feesEst.jsp" />								       
			        </div>
			      </div>
			    </div>
			    						       			   			     
		  </div>      	      
    </div>

 	<div class="col-sm-1 nopadding">
 	</div>

</div>
 
 
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/feesUpload.js"></script>

<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/feesService.js"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/feesController.js"></script>

<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/rentaPremierService.js"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/rentaPremierController.js"></script>

<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/rentaLibreriaService.js"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/rentaLibreriaController.js"></script>

<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/estService.js"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/estController.js"></script>

<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/fees/feesValidateService.js"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/comun/tablaService.js"></script>
	
<%@include file="/jsp/common/defaultBottomLogin.jsp"%>