<?php
/*-------------------------
	Autor: Jose Luis Robles
	Mail: jrobleso@gmail.com
	---------------------------*/
	session_start();
	if (!isset($_SESSION['user_login_status']) AND $_SESSION['user_login_status'] != 1) {
        header("location: login.php");
		exit;
        }
	
	$active_facturas_admin="active";
	$active_facturas ="";
	$active_productos="";
	$active_clientes="";
	$active_usuarios="";	
	$title="Bonificaciones";
?>
<!DOCTYPE html>
<html lang="en">
  <head>
	<?php include("head.php");?>

  </head>
  <body>
	<?php
	include("navbar.php");
	?>  
    <div class="container">
		<div class="panel panel-info">
		<div class="panel-heading">
		   <!-- <div class="btn-group pull-right">
				<a  href="nueva_factura.php" class="btn btn-info"><span class="glyphicon glyphicon-plus" ></span> Nueva Bonificacion</a>
			</div>-->
			<h4><i class='glyphicon glyphicon-file'></i> Documentos por bonificar</h4>
			
		</div>
			<div class="panel-body">
				<form class="form-horizontal" role="form" id="datos_cotizacion">
				
						<div class="form-group row">
							<label for="q" class="col-md-2 control-label">Busqueda</label>
							<div class="col-md-5">
								<input type="text" class="form-control" id="q" placeholder="Introduce punto de venta,bonificacion o promotor asignado" onkeyup='load(1);'>
							</div>
							<!-- 
							<div class="col-md-5"> 
								<div>
									<button type="button" class="btn btn-primary pull-right" id="btn_imprimir"><i class="glyphicon glyphicon-print"></i> Imprimir</button>
								</div>
							</div>
							-->
							
							
							<!-- <div class="col-md-3">
								<button type="button" class="btn btn-default" onclick='load(1);'>
									<span class="glyphicon glyphicon-search" ></span> Buscar</button>

								<span id="loader"></span> -->
							</div>
							
						</div>
				
				
				
			</form>
				<div id="resultados"></div><!-- Carga los datos ajax -->
				<div class='outer_div'></div><!-- Carga los datos ajax -->
			</div>
		</div>	
		
	</div>
	<hr>
	<?php
	include("footer.php");
	?>
	<script type="text/javascript" src="js/VentanaCentrada.js"></script>
	<script type="text/javascript" src="js/facturas.js"></script>
  </body>
</html>