			   
			   <div class="container">
				 <div class="form-inline">
				  	 <div class="form-group col-sm-2" >
					       <br>
					       <label class="labelEtiqueta">Precios</label>		    
					 </div>
				 	 <div class="form-group col-sm-2">					  	
							<label class="checkbox-inline"><input type="checkbox" ng-model="tablaPreciosAplicaSer" ng-true-value="0" ng-false-value="1">N/A</label>						 	  					 						 	 					  	   					     						  					     
					  </div>
					  <div class="form-group col-sm-2">
					  		<label class="checkbox-inline"><input type="checkbox" ng-model="tablaPreciosPagoPPESer" ng-true-value="1" ng-false-value="0">Pago por PPE</label>						 	  					 						 	 					  	   					     						  					     
					  </div>		  					  					  		    					  					 
					  <div class="form-group col-sm-2"></div>					  			 
					  <div class="form-group col-sm-4">
					    <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', 'precio', tablaPreciosSer, tablaPreciosSer.encabezados)" > <i class="fa fa-file-excel-o"></i></button></div>
					    <div class="col-sm-1"></div>
					    <div class="col-sm-3"><button type="button" class="btn btn-primary btn-sm btn-importar" ng-click="abrirModalPrecio('series')" >Importar Precio</button></div>
					  	<div class="col-sm-1"></div>
					  	<div class="col-sm-3"><button type="button" class="btn btn-primary btn-sm btn-importar" ng-click="abrirAgregarCategorias('series')" >Agregar Categoria</button></div>
					  </div>					  					  					  
				 </div>
		       </div>		   
			   
			   <br/>
			   <br/>
              	   
               <!-- DTO Movies -->	   					   
          	   <div id="scrollH" class="search-table-outter wrapper" style="max-width: 750px;">                    				
	              <table class="table table-responsive feesT">
	                	<thead class="">                		
				      		<tr>
								<th class="encabezados encabezadoTabla" colspan="2">Precio por Evento DTO Movies</th>
								<th class="encabezados encabezadoTabla" colspan="2"  ng-repeat="x in tablaPreciosSer.encabezados">{{x.descripcion}}</th>																									     	                			 	
				    		</tr>
				    		<tr>
								<th class="encabezados encabezadoTabla" colspan="2">Incluye Impuesto:</th>												
								<th class="encabezados encabezadoTabla" colspan="2" ng-repeat="y in tablaPreciosSer.encabezados">
                                      <input type="checkbox" ng-model="y.aplicaImpuesto" ng-true-value="1" ng-false-value="0"> 
                                </th>													     	                			 	
				    		</tr>
				    		<tr>
								<th class="encabezados encabezadoTabla">Categoria</th>
								<th class="encabezados encabezadoTabla">Formato</th>												
								<th class="encabezados encabezadoTabla"  ng-repeat="y in tablaPreciosSer.subEncabezadosPrecio track by $index">{{y}}</th>													     	                			 	
				    		</tr>
				        <thead>
				        <tbody>
		                    <tr ng-repeat="datum in tablaPreciosSer.datos" >                                                                        		                        		                      		                  		
		                        <td ng-repeat="field in datum">		                            
		                            <input                    ng-if="$index < 2 " ng-model="field.valor" readonly/>		                            
		                            <input class="tdEditable" ng-if="$index > 1 " ng-model="field.valor" ng-blur="actualizarPrecioCelda($parent.$parent.$index, $index, $event, 'series', tablaPreciosSer)" ng-model-options="{updateOn: 'blur'}"/>	                           	                           	                          		                                              			
		                  		</td>		                  		
		                    </tr>			                    	                    
	                    </tbody>
	                </table>
	           </div>
	           
	           <br/>
			   <br/>
			   
			   <div id='agregarCategoriaMoviesSer' name='agregarCategoriaMoviesSer' class='modal  bs-example-modal-sm' >	
					 <div class='modal-dialog  modal-lg'>
					    <div class='modal-content'>
							<div class='modal-header'>
							 <button type='button' class='close' data-bs-dismiss='modal' aria-hidden='true'>X</button>
								<h3 class='modal-title'>Agregar Categorķa</h3>
							</div>
							<div class='modal-body'>
							
									<table id="tabAddCatMoviesSer" class="table table-responsive feesT">	           	      	           	      
					           	        <thead class="">                		
								      		<tr>
												<th class="encabezadoTabla" colspan="1">Categorķa</th>
												<th colspan="1" class="encabezadoTabla"> Formato</th>
												<th colspan="1" class="encabezadoTabla"> Estatus</th>																	     	                			 	
								    		</tr>
								        <thead>
				        				<tbody>
						                    <tr ng-repeat="d in categoriasAgregarSer">						                                                                                                
						                         <td> <input class="tdEditable"  ng-model="d.categoria" readOnly/> </td>
						                         <td> <input class="tdEditable"  ng-model="d.formato" readOnly/> </td>
						                         <td> <input type="checkbox"     ng-model="d.agregada" ng-true-value="'true'" ng-false-value="'false'"> </td>						                  		 		                  		                   							                  		 		                  		 	
						                    </tr>
					                    </tbody>
					           	   </table>
									
							</div>
							<div class='modal-footer'>					
							    	<button type='button' id="aceptarAg" class='btn btn-default' ng-click="ajustarTablasPrecio(tablaPreciosSer, 'series', categoriasAgregarSer, paisesSer)">Aceptar</button>				    					    					
							</div>
						</div>
					</div>
				</div>
			   