<!-- ============================================================== -->
<!-- Left Sidebar - style you can find in sidebar.scss  -->
<!-- ============================================================== -->
<aside class="left-sidebar">
  <!-- Sidebar scroll-->
  <div class="scroll-sidebar">
    <!-- Sidebar navigation-->
    <nav class="sidebar-nav">
      <ul id="sidebarnav">

        <!-- Home --
        <li <?php if( $Seccion == 'Home' ){ echo "class='active'"; } ?>>
          <a class="waves-effect waves-dark" href="<?php echo $Position; ?>home" aria-expanded="false">
            <i class="fa fa-file mar-r-10"></i>
            <span class="hide-menu">Home</span>
          </a>
        </li>
        <li class="nav-devider"></li>
        <!-- End Home -->

        <?php if( $Perms[148] ){ ?>
          <!-- Venta --
          <li <?php if( $Seccion == 'Venta' ){ echo "class='active'"; } ?>>
            <a
              class="waves-effect waves-dark"
              href="<?php echo $Position; ?>venta"
              aria-expanded="false"
            >
              <i class="fa fa-file mar-r-10"></i>
              <span class="hide-menu">
                Venta
              </span>
            </a>
          </li>
          <li class="nav-devider"></li>
          <!-- End Venta -->
        <?php } ?>

        <?php if( $Perms[149] ){ ?>
          <!-- Usuarios -->
          <li <?php if( $Seccion == 'Usuarios' ){ echo "class='active'"; } ?>>
            <a
              class="waves-effect waves-dark"
              href="<?php echo $Position; ?>usuarios"
              aria-expanded="false"
            >
              <i class="fa fa-users mar-r-10"></i>
              <span class="hide-menu">
                Usuarios
              </span>
            </a>
          </li>
          <li class="nav-devider"></li>
          <!-- End Usuarios -->
        <?php } ?>

        <?php if( $Perms[150] ){ ?>
          <!-- Reportes -->
          <li <?php if( $Seccion == 'Reportes' ){ echo "class='active'"; } ?> >
            <a class="has-arrow waves-effect waves-dark" href="#" aria-expanded="false">
              <i class="fa fa-file mar-r-10"></i>
              <span class="hide-menu">
                Reportes
              </span>
            </a>
            <ul aria-expanded="false" class="collapse">

              <?php if( $Perms[152] ){ ?>
                <!-- Gráficas -->
                <li>
                  <a href="<?php echo $Position; ?>home">
                    Gráficas
                  </a>
                </li>
                <!-- End Gráficas -->
              <?php } ?>

              <?php if( $Perms[151] ){ ?>
                <!-- Ventas -->
                <li>
                  <a href="<?php echo $Position; ?>reportes/ventas">
                    Ventas
                  </a>
                </li>
                <!-- End Ventas -->
              <?php } ?>

              <?php if( $Perms[153] ){ ?>
                <!-- Inventario -->
                <li>
                  <a class="has-arrow waves-effect waves-dark" href="#" aria-expanded="false">
                    <span class="hide-menu">
                      Inventario
                    </span>
                  </a>
                  <ul aria-expanded="false" class="collapse">

                    <?php if( $Perms[154] ){ ?>
                      <!-- Inventario -->
                      <li>
                        <a href="<?php echo $Position; ?>reportes/inventario/inventario">
                          Inventario
                        </a>
                      </li>
                      <!-- End Inventario -->
                    <?php } ?>

                    <?php if( $Perms[155] ){ ?>
                      <!-- Entradas -->
                      <li>
                        <a href="<?php echo $Position; ?>reportes/inventario/entradas">
                          Entradas
                        </a>
                      </li>
                      <!-- End Entradas -->
                    <?php } ?>

                    <?php if( $Perms[156] ){ ?>
                      <!-- Salidas -->
                      <li>
                        <a href="<?php echo $Position; ?>reportes/inventario/salidas">
                          Salidas
                        </a>
                      </li>
                      <!-- End Salidas -->
                    <?php } ?>

                    <?php if( $Perms[157] ){ ?>
                      <!-- Actualizaciones -->
                      <li>
                        <a href="<?php echo $Position; ?>reportes/inventario/actualizaciones">
                          Actualizaciones
                        </a>
                      </li>
                      <!-- End Actualizaciones -->
                    <?php } ?>

                  </ul>

                </li>
                <!-- End Inventario -->
              <?php } ?>

            </ul>
          </li>
          <li class="nav-devider"></li>
          <!-- End Reportes -->
        <?php } ?>

      </ul>
    </nav>
    <!-- End Sidebar navigation -->
  </div>
  <!-- End Sidebar scroll-->
</aside>
<!-- ============================================================== -->
<!-- End Left Sidebar - style you can find in sidebar.scss  -->
<!-- ============================================================== -->
