  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/retraites'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-person-cane"></i>
      <p>RETRAITES</p>
    </a>
  </li>

  <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->can('BEN_VISU')): ?>
      <li class="nav-item ">
        <a href="<?php echo url('beneficiaires_liste/R'); ?>" class="nav-link <?php echo ($submenu=='beneficiaires')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>Bénéficiaires</p>
        </a>
      </li>
      <?php endif; ?>
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('RET_CER_RAZ')): ?>
      <li class="nav-item ">
        <a href="<?php echo url('raz_rappel/R'); ?>" class="nav-link <?php echo ($submenu=='raz')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>RAZ Rappels</p>
        </a>
      </li>
      <?php endif; ?>
      <!--
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('RET_CER_RAZ')): ?>
      <li class="nav-item ">
        <a href="<?php echo url('raz_cvie'); ?>" class="nav-link <?php echo ($submenu=='raz')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>RAZ Certificat de vie</p>
        </a>
      </li>
      <?php endif; ?>
    -->
    </ul>
  </li>

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

    <ul class="nav nav-treeview ">
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('RET_VER_VISU')): ?>
      <li class="nav-item ">
        <a href="<?php echo url('versements_encours/RET'); ?>" class="nav-link <?php echo ($submenu=='versements_encours')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>Versements en-cours</p>
        </a>
      </li>
      <?php endif; ?>
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('RET_VER_GEN')): ?>
      <li class="nav-item ">
        <a href="<?php echo url('versements_generation_b/RET'); ?>" class="nav-link <?php echo ($submenu=='versements_generation')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>Génération</p>
        </a>
      </li>
      <?php endif; ?>
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('RET_VER_GEN')): ?>
      <li class="nav-item ">
        <a href="<?php echo url('versements_generation_def/RET'); ?>" class="nav-link <?php echo ($submenu=='versements_generation_definitive')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>Génération définitive</p>
        </a>
      </li>
      <?php endif; ?>
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('RET_VER_EXP')): ?>
      <li class="nav-item ">
        <a href="<?php echo url('versement_annee/RET'); ?>" class="nav-link <?php echo ($submenu=='export')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>Edition & Export</p>
        </a>
      </li>
      <?php endif; ?>
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('RET_AJUST')): ?>
      <li class="nav-item ">
        <a href="<?php echo URL::to('retraites/reajustement'); ?>" class="nav-link <?php echo ($submenu=='reajustement')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>Réajustement</p>
        </a>
      </li>
      <?php endif; ?>
    </ul>
  </li>

  <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('RET_CER_MAJ')): ?>
  <li class="nav-item <?php echo ($menu=='certificats')?'menu-is-opening menu-open':''; ?>">
    <a href="#" class="nav-link <?php echo ($menu=='certificats')?'active':''; ?>">
      <p title="Mise à jour des certificats">MAJ des Certificats<i class="fas fa-angle-left right"></i></p>
    </a>
    <ul class="nav nav-treeview ">
      <li class="nav-item ">
        <a href="<?php echo url('maj_certificats/RET'); ?>" class="nav-link <?php echo ($submenu=='maj_certificats')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>Certificats</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="<?php echo url('maj_certificats_etrangers/RET'); ?>" class="nav-link <?php echo ($submenu=='maj_certificats_etrangers')?'active':''; ?>">
          <i class="nav-icon far fa-circle"></i>
          <p>Certificats étrangers</p>
        </a>
      </li>
    </ul>
  </li>
   <?php endif; ?>

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