	<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="tipoMinSer" ng-click="inicializarDivsMinimos(tipoMinSer, 'Ser')">Por Categoria</label>
					  </div>
					  <div class="form-group col-sm-2">
					     <label class="radio-inline"><input type="radio" value="anio" ng-model="tipoMinSer" ng-click="inicializarDivsMinimos(tipoMinSer, 'Ser')">Por Año</label>
					  </div>
					  <div class="form-group col-sm-2">
					     <label class="radio-inline"><input type="radio" value="na" ng-model="tipoMinSer" ng-click="inicializarDivsMinimos(tipoMinSer, 'Ser')">No Aplica</label>
					  </div>
											  
					  <div class="form-group col-sm-4"  id="divMinCateSer" 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('series', 'min_cat', tablaMinGarSer, tablaMinGarSer.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('series')" >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('series', tipoMinSer)" >Agregar Periodo</button></div>
					  </div>					  
					  
					  <div class="form-group col-sm-4"  id="divMinAnioSer" 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('series', 'min_anio', tablaMinAnioSer, tablaMinAnioSer.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('series', tipoMinSer)" >Agregar Periodo</button></div>
					  </div>
				 </div>
	</div>
			   
	<br/>
	<br/>
					   			  
    <div id="divMinimos" class="search-table-outter wrapper"  style="max-width: 750px;">                    				
	           	   <table id="tabMinCatSer" class="table table-responsive feesT"  ng-show="tipoMinSer == '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 tablaMinGarSer.encabezados" ng-click="modificarFechasAnioMinimos($index, $event, tipoMinSer, 'series')">{{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, 'series', tablaMinGarSer)" data-bs-toggle="tooltip" data-placement="top" title="Agregar Categorías!"></i>	                					 	                					
	                			</th>																	     	                			 	
				    		</tr>
				        <thead>
				        <tbody>
		                    <tr ng-repeat="datum in tablaMinGarSer.datos">                                                                        
		                        <td ng-repeat="field in datum" class="tdEditable">		                            
		                            <input class="tdEditable" ng-if="$index <= 2 && $parent.$index == 0" type="{{tablaMinGarSer.metadatos[$index].tipo}}" ng-model="field.valor" readonly/>                           
		                            <input class="tdEditable" ng-if="$index > 2 && $parent.$index == 0 " type="{{tablaMinGarSer.metadatos[$index].tipo}}" ng-model="field.valor" ng-blur="actualizarMinCelda($parent.$index, $index, $event, 'series', tipoMinSer, tablaMinAnioSer, tablaMinGarSer)" ng-model-options="{updateOn: 'blur'}"/>
		                            <input class="tdEditable" ng-if="$parent.$index > 0 "                type="{{tablaMinGarSer.metadatos[$index].tipo}}" ng-model="field.valor" ng-blur="actualizarMinCelda($parent.$index, $index, $event, 'series', tipoMinSer, tablaMinAnioSer, tablaMinGarSer)" ng-model-options="{updateOn: 'blur'}"/>	                           	                           	                          		                                              			
		                  		</td>                  	
		                  		<td> 
		                  		    <label> {{tablaMinGarSer.mensajes[$index] }} </label> 
		                  		    <i ng-if="$index > 0" role="button" class="fa fa-times" ng-click="editarTablaMinGarantizados('reSereRow',$index, null,'series', tablaMinGarSer)"></i>
		                  		</td>		                  		 	
		                    </tr>		                    
	                    </tbody>	           	      
	           	   </table>
	           	   
	           	   <table id="tabAnioMinSer" class="table table-responsive feesT"  ng-show="tipoMinSer == '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 tablaMinAnioSer.encabezados" >{{x.valor}}</th>
									<th colspan="1" class="encabezadoTabla" style="width: 20px; min-width: 20px;">	                						                				
		                			</th>																	     	                			 	
					    		</tr>
					        <thead>
					        <tbody>
			                    <tr ng-repeat="datum in tablaMinAnioSer.datos">                                                                        
			                         <td ng-repeat="field in datum">		                                                                                        
			                            <input class="tdEditable" ng-if="$index == 0" type="{{tablaMinAnioSer.metadatos[$index].tipo}}" ng-model="field.valor" ng-click="modificarFechasAnioMinimos($parent.$parent.$index, $event, tipoMinSer, 'series')" ng-readonly="$index == 0"/>
			                            <input class="tdEditable" ng-if="$index == 1" type="{{tablaMinAnioSer.metadatos[$index].tipo}}" ng-model="field.valor" ng-blur="actualizarMinCelda($parent.$index, $index, $event, 'series', tipoMinSer, tablaMinAnioSer, tablaMinGarSer)" 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> {{tablaMinAnioSer.mensajes[$index] }} </label> 		                  		    
			                  		 </td>		                  		 	
			                    </tr>
		                    </tbody>
	           	   </table>     		           	   	           	      
	</div>
	           	          	           	           	                               				                	    	          	           
	<br/>
	<br/>