	<div class="container">
				 <div class="form-inline">
					  <div class="form-group col-sm-2" >
					     <br>
					     <label class="labelEtiqueta">Minimo Garantizado</label>		    
					  </div>
					  
					  <div class="form-group col-sm-2">
					     <label class="radio-inline"><input type="radio" value="categoria" ng-model="tipoMinPre" ng-click="inicializarDivsMinimos(tipoMinPre, 'Pre')">Por Categoria</label>
					  </div>
					  <div class="form-group col-sm-2">
					     <label class="radio-inline"><input type="radio" value="anio" ng-model="tipoMinPre" ng-click="inicializarDivsMinimos(tipoMinPre, 'Pre')">Por Año</label>
					  </div>
					  <div class="form-group col-sm-2">
					     <label class="radio-inline"><input type="radio" value="na" ng-model="tipoMinPre" ng-click="inicializarDivsMinimos(tipoMinPre, 'Pre')">No Aplica</label>
					  </div>
											  
					  <div class="form-group col-sm-4"  id="divMinCatePre" style="display:none">
					  	<br>
					    <div class="col-sm-1"><button type="button" class="btn btn-primary btn-sm btn-exportar" data-bs-toggle="tooltip" data-placement="top" title="Exportar a excel"  ng-click="exportarExcel('premier', 'min_cat', tablaMinGarPre, tablaMinGarPre.encabezados)"  > <i class="fa fa-file-excel-o"></i></button></div>					    
					    <div class="col-sm-1"></div>  
					    <div class="col-sm-1"><button type="button" class="btn btn-primary btn-sm btn-importar" ng-click="abrirModalMinimos('premier')" >Importar Categoría</button></div>
					    <div class="col-sm-4"></div>					    
					    <div class="col-sm-1"><button type="button" class="btn btn-primary btn-sm btn-agregar" ng-click="agregarPeriodos('premier', tipoMinPre)" >Agregar Periodo</button></div>
					  </div>					  
					  
					  <div class="form-group col-sm-4"  id="divMinAnioPre" style="display:none">
					    <br>
					    <div class="col-sm-1"><button type="button" class="btn btn-primary btn-sm btn-exportar" data-bs-toggle="tooltip" data-placement="top" title="Exportar a excel"  ng-click="exportarExcel('premier', 'min_anio', tablaMinAnioPre, tablaMinAnioPre.encabezados)" > <i class="fa fa-file-excel-o"></i></button></div>
					    <div class="col-sm-1"></div>
					  	<div class="col-sm-2"><button type="button" class="btn btn-primary btn-sm btn-agregar" ng-click="agregarPeriodos('premier', tipoMinPre)" >Agregar Periodo</button></div>
					  </div>
				 </div>
	</div>
			   
	<br/>
	<br/>
					   			  
    <div id="divMinimos" class="search-table-outter wrapper"  style="max-width: 750px;">                    				
	           	   <table id="tabMinCatPre" class="table table-responsive feesT"  ng-show="tipoMinPre == 'categoria'" style="max-width: 750px;">
	           	      <col style="width: 60px; min-width: 60px;"/>
            		  <col style="width: 60px; min-width: 60px;"/>            		              		              		  
	           	      <thead class="">                		
				      		<tr>                                                                    				      			
								<th class="encabezados encabezadoTabla" colspan="{{setColspan(x)}}" ng-repeat="x in tablaMinGarPre.encabezados" ng-click="modificarFechasAnioMinimos($index, $event, tipoMinPre, 'premier')">{{x.valor}}</th>
								<th colspan="1" class="encabezadoTabla" style="width: 20px; min-width: 20px;">
	                					<i role="button" class="fa fa-plus" ng-click="editarTablaMinGarantizados('addRow', null, null, 'premier', tablaMinGarPre)" data-bs-toggle="tooltip" data-placement="top" title="Agregar Categorías!"></i>	                					 	                					
	                			</th>																	     	                			 	
				    		</tr>
				        <thead>
				        <tbody>
		                    <tr ng-repeat="datum in tablaMinGarPre.datos">                                                                        
		                        <td ng-repeat="field in datum" class="tdEditable">		                            
		                            <input class="tdEditable" ng-if="$index <= 2 && $parent.$index == 0" type="{{tablaMinGarPre.metadatos[$index].tipo}}" ng-model="field.valor" readonly/>                           
		                            <input class="tdEditable" ng-if="$index > 2 && $parent.$index == 0 " type="{{tablaMinGarPre.metadatos[$index].tipo}}" ng-model="field.valor" ng-blur="actualizarMinCelda($parent.$index, $index, $event, 'premier', tipoMinPre, tablaMinAnioPre, tablaMinGarPre)" ng-model-options="{updateOn: 'blur'}"/>
		                            <input class="tdEditable" ng-if="$parent.$index > 0 "                type="{{tablaMinGarPre.metadatos[$index].tipo}}" ng-model="field.valor" ng-blur="actualizarMinCelda($parent.$index, $index, $event, 'premier', tipoMinPre, tablaMinAnioPre, tablaMinGarPre)" ng-model-options="{updateOn: 'blur'}"/>	                           	                           	                          		                                              			
		                  		</td>                  	
		                  		<td> 
		                  		    <label> {{tablaMinGarPre.mensajes[$index] }} </label> 
		                  		    <i ng-if="$index > 0" role="button" class="fa fa-times" ng-click="editarTablaMinGarantizados('removeRow',$index, null,'premier', tablaMinGarPre)"></i>
		                  		</td>		                  		 	
		                    </tr>		                    
	                    </tbody>	           	      
	           	   </table>
	           	   
	           	   <table id="tabAnioMinPre" class="table table-responsive feesT"  ng-show="tipoMinPre == 'anio'" style="max-width: 500px;">
		           	   	  <col style="width: 60px; min-width: 70px;"/>
	            		  <col style="width: 60px; min-width: 70px;"/>
	            		  <col style="width: 50px; max-width: 50px;"/>
	            		  <col style="width: 20px; min-width: 20px;"/>	           	      	           	      
		           	      <thead class="">                		
					      		<tr>
									<th class="encabezados encabezadoTabla" colspan="{{setColspan(x)}}" ng-repeat="x in tablaMinAnioPre.encabezados" >{{x.valor}}</th>
									<th colspan="1" class="encabezadoTabla" style="width: 20px; min-width: 20px;">	                						                				
		                			</th>																	     	                			 	
					    		</tr>
					        <thead>
					        <tbody>
			                    <tr ng-repeat="datum in tablaMinAnioPre.datos">                                                                        
			                         <td ng-repeat="field in datum">		                                                                                        
			                            <input class="tdEditable" ng-if="$index == 0" type="{{tablaMinAnioPre.metadatos[$index].tipo}}" ng-model="field.valor" ng-click="modificarFechasAnioMinimos($parent.$parent.$index, $event, tipoMinPre, 'premier')" ng-readonly="$index == 0"/>
			                            <input class="tdEditable" ng-if="$index == 1" type="{{tablaMinAnioPre.metadatos[$index].tipo}}" ng-model="field.valor" ng-blur="actualizarMinCelda($parent.$index, $index, $event, 'premier', tipoMinPre, tablaMinAnioPre, tablaMinGarPre)" ng-model-options="{updateOn: 'blur'}"/>
			                            <select  class="form-control-sm" name="selectAplica" id="selectAplica" ng-if="$index == 2" ng-model="field.valor">                                                          
										      <option value="">Selecciona Valor</option> 
										      <option value="TITULO">Por Título</option> 
										      <option value="TOTAL">Total</option>
										</select>	                           	                           	                          		                                              		
			                  		 </td>		                  		                   	
			                  		 <td> 
			                  		    <label> {{tablaMinAnioPre.mensajes[$index] }} </label> 		                  		    
			                  		 </td>		                  		 	
			                    </tr>
		                    </tbody>
	           	   </table>     		           	   	           	      
	</div>
	           	          	           	           	                               				                	    	          	           
	<br/>
	<br/>