<html>
<header>
    <link rel="icon" type="image/png" href="../Imagenes/logo.png">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--======== Boostrap / CSS / Boostrap Icons / Datatables ========-->
    <link rel="stylesheet" type="text/css" href="../bootstrap-5.3.1/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="../ArchivosCSS/style_indexs.css">
    <link rel="stylesheet" type="text/css" href="../bootstrap-icons-1.10.5/font/bootstrap-icons.css">
    <link rel="stylesheet" type="text/css" href="../DataTables/datatables.min.css">
</header>
<body>
<!--##:: nav ::##-->
<div class="sidebar-nav">
    <nav class="navbar navbar-dark bg-primary fixed-top">
      <div class="container">

        <!--##:: Boton para abrir el menu lateral ::##-->
        <button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar">
            <span class="navbar-toggler-icon"></span>
        </button>

            <!--##:: Opciones del menu lateral ::##-->
            <div class="bg-dark offcanvas offcanvas-start shadow" tabindex="-1" id="offcanvasNavbar" aria-labelledby="offcanvasNavbarLabel">

             <div class="offcanvas-body">
               <ul class="navbar-nav">
                <li>
                    <a href="../01_IndexAdmin.php"><i class="bi bi-house-door-fill"></i> Inicio</a>
                </li>

                <li class="nav-item dropdown w-100">
                <a href="./productos.php" 
                    class="dropdown-item  pl-4 p-2"><i class="bi bi-box-seam"></i> Ver Productos
                </a>

                 <ul class="dropdown-menu w-100" aria-labelledby="navbarDropdown">

                  <li>
                    <a href="./productos.php" 
                    class="dropdown-item  pl-4 p-2"><i class="bi bi-box-seam"></i> Ver Productos
                </a>
            </li>
            <li>
                <a href="./categoria.php" class="dropdown-item  pl-4 p-2"><i class="bi bi-tags-fill"></i> Ver Categorias
                </a>
            </li>

            <li>
                <a href="./estadisticas.php" class="dropdown-item  pl-4 p-2"><i class="bi bi-graph-up-arrow"></i> Ver Estadisticas
                </a>
            </li>
        </ul>
    </li>
    <li class="nav-item dropdown w-100">
      <a href="#" class="nav-link dropdown-toggle text-light pl-4" id="navbarDropdown" role="button" data-toggle="dropdown" aria-expanded="false"><i class="bi bi-cart4"></i> Compras
      </a>

      <ul class="dropdown-menu w-100" aria-labelledby="navbarDropdown">
         <li>
             <a href="./compra.php" class="dropdown-item  pl-4 p-2"><i class="bi bi-cart-plus-fill"></i> Generar Compra</a>
         </li>
         <li>
             <a href="./consultar_compra.php" class="dropdown-item  pl-4 p-2"><i class="bi bi-search"></i> Consultar Compra</a>
         </li>
     </ul>
 </li>
 <li class="nav-item dropdown w-100">
  <a href="#" class="nav-link dropdown-toggle text-light pl-4" id="navbarDropdown" role="button" data-toggle="dropdown" aria-expanded="false">
    <i class="bi bi-bag-fill"></i> Ventas
  </a>

  <ul class="dropdown-menu w-100" aria-labelledby="navbarDropdown">
     <li>
         <a href="./ventas.php" class="dropdown-item  pl-4 p-2"><i class="bi bi-cash-coin"></i> Generar Ventas</a>
     </li>
     <li>
         <a href="./consultar_ventas.php" class="dropdown-item  pl-4 p-2"><i class="bi bi-search"></i> Consultar Ventas</a>
     </li>
     <li>
         <a href="./tasadolar.php" class="dropdown-item  pl-4 p-2"><i class="bi bi-coin"></i> Tasa del Dolar</a>
     </li>
 </ul>
</li>
<li>
    <a href="./cliente.php"> 
        <span class="item-text"><i class="bi bi-search"></i>Consultar Clientes</span>
    </a>
</li>
<li>
    <a href="./proveedor.php">
        <span class="item-text"><i class="bi bi-search"></i>Consultar Proveedores</span>
    </a>
</li>
<li>
    <a href="./datos_personales.php"> 
        <span class="item-text"><i class="bi bi-person-lines-fill"></i>Registrar Cliente / Proveedor</span>
    </a>
</li>
<li>
    <a href="./Administrar_Usuarios.php"> 
        <span class="item-text"><i class="bi bi-people-fill"></i> Usuarios</span>
    </a>
</li>
</ul><!--FIN DE <ul class="navbar-nav">--> 
</div><!--FIN DE <div class="offcanvas-body">--> 
</div><!--FIN DE <div class="bg-dark offcanvas">--> 

   <!--##:: Opciones del usuario en el nav ::##-->
   <div class="btn-group">
     <a href="#" class="dropdown-toggle text-white text-decoration-none" data-bs-toggle="dropdown" aria-expanded="false">
         <span class="textnone"><i class="bi bi-person-circle"></i>  Bienvenido <?php echo $_SESSION['Username'];?>  ! </span>
     </a>
     <!--<ul class="bg-light dropdown-menu dropdown-menu-end">-->
       <ul class="dropdown-menu dropdown-menu dropdown-menu-end">
           <!--##:: Formulario de control de Opciones del usuario ::##-->
           <form method="POST" action="../salir.php">
            <li>
                <button class="dropdown-item" type="submit" name=""><i class="bi bi-power"></i> Salir
                </button>
            </li>
        </form>
    </ul><!--FIN DE <ul class="dropdown-menu dropdown-menu dropdown-menu-end">--> 
    </div><!--FIN DE <div class="btn-group">--> 
    </div><!--FIN DE div Container--> 
</nav><!--FIN DE <nav class="navbar navbar-dark bg-primary fixed-top">-->
</div><!--FIN DE div SiderNav-->
</body>
</html>