<li class="nav-item menu-open">
  <span class="nav-link active">
    <i class="nav-icon fas fa-person-cane"></i>
    <p>COMPTABILITE</p>
  </span>
</li>

<!-- COMPTABILITE -->

<li class="nav-item <?php echo ($menu=='tiers')?'menu-is-opening menu-open':''; ?>">
  <a href="#" class="nav-link <?php echo ($menu=='tiers')?'active':''; ?>">
    <p>Tiers<i class="fas fa-angle-left right"></i></p>
  </a>
  <ul class="nav nav-treeview ">
    <?php if($user->hasRole("ADMINISTRATEUR") || $user->canPermissionName("EMP_VISU")): ?>
    <li class="nav-item">
      <a href="<?php echo url('tiers/employeurs'); ?>" class="nav-link  <?php echo ($submenu=='cotisants')?'active':''; ?>">
        <i class="nav-icon far fa-circle"></i>
        <p>Cotisants</p>
      </a>
    </li>
    <?php endif; ?>
    
    <?php if($user->hasRole("ADMINISTRATEUR")): ?>
    <li class="nav-item">
      <a href="<?php echo url(''); ?>" class="nav-link  <?php echo ($submenu=='creanciers')?'active':''; ?>">
        <i class="nav-icon far fa-circle"></i>
        <p>Créanciers</p>
      </a>
    </li>
    <li class="nav-item">
      <a href="<?php echo url('banques'); ?>" class="nav-link  <?php echo ($submenu=='banques')?'active':''; ?>">
        <i class="nav-icon far fa-circle"></i>
        <p>Banques</p>
      </a>
    </li>
     <?php endif; ?>
  </ul>
</li>

<li class="nav-item <?php echo ($menu=='ecritures')?'menu-is-opening menu-open':''; ?>">
  <a href="#" class="nav-link  <?php echo ($menu=='ecritures')?'active':''; ?>">
    <p>Ecritures<i class="fas fa-angle-left right"></i></p>
  </a>
  <ul class="nav nav-treeview">
    <?php if($user->hasRole("ADMINISTRATEUR") || $user->canPermissionName("GLI_VISU")): ?>
      <li class="nav-item">
        <a href="<?php echo url('grand_livre'); ?>" class="nav-link  <?php echo ($submenu=='grand_livre')?'active':''; ?>">
          <i class="nav-icon fa fa-book-open"></i>
          <p>Grand Livre</p>
        </a>
      </li>

      <li class="nav-item">
        <a href="<?php echo url('balance'); ?>" class="nav-link  <?php echo ($submenu=='balance')?'active':''; ?>">
          <i class="nav-icon fa fa-scale-balanced"></i>
          <p>Balance</p>
        </a>
      </li>
    <?php endif; ?>
    <?php if($user->hasRole("ADMINISTRATEUR") || $user->canPermissionName("GLI_TRA")): ?>
      <li class="nav-item">
        <a href="<?php echo url('transferts'); ?>" class="nav-link  <?php echo ($submenu=='transferts')?'active':''; ?>">
          <i class="nav-icon fa fa-arrow-up-from-bracket"></i>
          <p>Transferts</p>
        </a>
      </li>
    <?php endif; ?>
    <!--
    <?php if($user->hasRole("ADMINISTRATEUR") || $user->hasRole("COMPTABILITE") || $user->hasRole("CHEF_COMPTABILITE")): ?>
    <li class="nav-item">
    <a href="<?php echo url('suivi_comptable'); ?>" class="nav-link  <?php echo ($submenu=='suivi_comptable')?'active':''; ?>">
      <i class="nav-icon fa fa-file-invoice-dollar"></i>
      <p>Suivi</p>
    </a>
    </li>
    <?php endif; ?>
    -->
  </ul>
</li>

<div class="dropdown-divider"></div>

<li class="nav-item <?php echo ($menu=='configuration')?'menu-is-opening menu-open':''; ?>">
  <a href="#" class="nav-link  <?php echo ($menu=='configuration')?'active':''; ?>">
    <p>Configuration<i class="fas fa-angle-left right"></i></p>
  </a>

    <ul class="nav nav-treeview">
      <?php if($user->hasRole("ADMINISTRATEUR")|| $user->canPermissionName("JOU_VISU")): ?>
        <li class="nav-item">
          <a href="<?php echo url('journaux'); ?>" class="nav-link  <?php echo ($submenu=='journaux')?'active':''; ?>">
            <i class="nav-icon fa fa-newspaper"></i>
            <p>Journaux</p>
          </a>
        </li>
      <?php endif; ?>

      <?php if($user->hasRole("ADMINISTRATEUR") || $user->canPermissionName("PLA_VISU")): ?>
        <li class="nav-item">
          <a href="<?php echo url('plan_comptable'); ?>" class="nav-link  <?php echo ($submenu=='plan_comptable')?'active':''; ?>">
            <i class="nav-icon fa fa-book"></i>
            <p>Plan comptable</p>
          </a>
        </li>
      <?php endif; ?>

      <?php if($user->hasRole("ADMINISTRATEUR") || $user->canPermissionName("GLI_RAN")): ?>
        <li class="nav-item">
          <a href="<?php echo url('ran'); ?>" class="nav-link <?php echo ($submenu=='ran')?'active':''; ?>">
            <i class="far fa-circle nav-icon text-info"></i>
            <p>R.A.N.</p>
          </a>
        </li>
      <?php endif; ?>
    </ul>
</li>


<?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/forms/menu_comptabilite.blade.php ENDPATH**/ ?>