	<div class="container">
				 <div class="form-inline">
					  <div class="form-group col-xs-2" >
					     <br>
					     <label class="labelEtiqueta">Minimo Garantizado</label>		    
					  </div>
					  
					  <div class="form-group col-xs-2">
					     <label class="radio-inline"><input type="radio" value="categoria" ng-model="tipoMinMov" ng-click="inicializarDivsMinimos(tipoMinMov, 'Mov')">Por Categoria</label>
					  </div>
					  <div class="form-group col-xs-2">
					     <label class="radio-inline"><input type="radio" value="anio" ng-model="tipoMinMov" ng-click="inicializarDivsMinimos(tipoMinMov, 'Mov')">Por Año</label>
					  </div>
					  <div class="form-group col-xs-2">
					     <label class="radio-inline"><input type="radio" value="na" ng-model="tipoMinMov" ng-click="inicializarDivsMinimos(tipoMinMov, 'Mov')">No Aplica</label>
					  </div>
											  
					  <div class="form-group col-xs-4"  id="divMinCateMov" style="display:none">
					  	<br>
					    <div class="col-xs-1"><button type="button" class="btn btn-primary btn-sm btn-exportar" data-toggle="tooltip" data-placement="top" title="Exportar a excel"  ng-click="exportarExcel('movies', 'min_cat', tablaMinGarMov, tablaMinGarMov.encabezados)"  > <i class="fa fa-file-excel-o"></i></button></div>					    
					    <div class="col-xs-1"></div>  
					    <div class="col-xs-1"><button type="button" class="btn btn-primary btn-sm btn-importar" ng-click="abrirModalMinimos('movies')" >Importar Categoría</button></div>
					    <div class="col-xs-4"></div>					    
					    <div class="col-xs-1"><button type="button" class="btn btn-primary btn-sm btn-agregar" ng-click="agregarPeriodos('movies', tipoMinMov)" >Agregar Periodo</button></div>
					  </div>					  
					  
					  <div class="form-group col-xs-4"  id="divMinAnioMov" style="display:none">
					    <br>
					    <div class="col-xs-1"><button type="button" class="btn btn-primary btn-sm btn-exportar" data-toggle="tooltip" data-placement="top" title="Exportar a excel"  ng-click="exportarExcel('movies', 'min_anio', tablaMinAnioMov, tablaMinAnioMov.encabezados)" > <i class="fa fa-file-excel-o"></i></button></div>
					    <div class="col-xs-1"></div>
					  	<div class="col-xs-2"><button type="button" class="btn btn-primary btn-sm btn-agregar" ng-click="agregarPeriodos('movies', tipoMinMov)" >Agregar Periodo</button></div>
					  </div>
				 </div>
	</div>
			   
	<br/>
	<br/>
					   			  
    <div id="divMinimos" class="search-table-outter wrapper"  style="max-width: 750px;">                    				
	           	   <table id="tabMinCatMov" class="table table-responsive feesT"  ng-show="tipoMinMov == '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 tablaMinGarMov.encabezados" ng-click="modificarFechasAnioMinimos($index, $event, tipoMinMov, 'movies')">{{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, 'movies', tablaMinGarMov)" data-toggle="tooltip" data-placement="top" title="Agregar Categorías!"></i>	                					 	                					
	                			</th>																	     	                			 	
				    		</tr>
				        <thead>
				        <tbody>
		                    <tr ng-repeat="datum in tablaMinGarMov.datos">                                                                        
		                        <td ng-repeat="field in datum" class="tdEditable">		                            
		                            <input class="tdEditable" ng-if="$index <= 2 && $parent.$index == 0" type="{{tablaMinGarMov.metadatos[$index].tipo}}" ng-model="field.valor" readonly/>                           
		                            <input class="tdEditable" ng-if="$index > 2 && $parent.$index == 0 " type="{{tablaMinGarMov.metadatos[$index].tipo}}" ng-model="field.valor" ng-blur="actualizarMinCelda($parent.$index, $index, $event, 'movies', tipoMinMov, tablaMinAnioMov, tablaMinGarMov)" ng-model-options="{updateOn: 'blur'}"/>
		                            <input class="tdEditable" ng-if="$parent.$index > 0 "                type="{{tablaMinGarMov.metadatos[$index].tipo}}" ng-model="field.valor" ng-blur="actualizarMinCelda($parent.$index, $index, $event, 'movies', tipoMinMov, tablaMinAnioMov, tablaMinGarMov)" ng-model-options="{updateOn: 'blur'}"/>	                           	                           	                          		                                              			
		                  		</td>                  	
		                  		<td> 
		                  		    <label> {{tablaMinGarMov.mensajes[$index] }} </label> 
		                  		    <i ng-if="$index > 0" role="button" class="fa fa-times" ng-click="editarTablaMinGarantizados('removeRow',$index, null,'movies', tablaMinGarMov)"></i>
		                  		</td>		                  		 	
		                    </tr>		                    
	                    </tbody>	           	      
	           	   </table>
	           	   
	           	   <table id="tabAnioMinMov" class="table table-responsive feesT"  ng-show="tipoMinMov == '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 tablaMinAnioMov.encabezados" >{{x.valor}}</th>
									<th colspan="1" class="encabezadoTabla" style="width: 20px; min-width: 20px;">	                						                				
		                			</th>																	     	                			 	
					    		</tr>
					        <thead>
					        <tbody>
			                    <tr ng-repeat="datum in tablaMinAnioMov.datos">                                                                        
			                         <td ng-repeat="field in datum">		                                                                                        
			                            <input class="tdEditable" ng-if="$index == 0" type="{{tablaMinAnioMov.metadatos[$index].tipo}}" ng-model="field.valor" ng-click="modificarFechasAnioMinimos($parent.$parent.$index, $event, tipoMinMov, 'movies')" ng-readonly="$index == 0"/>
			                            <input class="tdEditable" ng-if="$index == 1" type="{{tablaMinAnioMov.metadatos[$index].tipo}}" ng-model="field.valor" ng-blur="actualizarMinCelda($parent.$index, $index, $event, 'movies', tipoMinMov, tablaMinAnioMov, tablaMinGarMov)" ng-model-options="{updateOn: 'blur'}"/>
			                            <select  class="form-control" 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> {{tablaMinAnioMov.mensajes[$index] }} </label> 		                  		    
			                  		 </td>		                  		 	
			                    </tr>
		                    </tbody>
	           	   </table>     		           	   	           	      
	</div>
	           	          	           	           	                               				                	    	          	           
	<br/>
	<br/>