  <li class="nav-item menu-open">
    <a href="{!! url('/home/recouvrement') !!}" class="nav-link active">
      <i class="nav-icon fas fa-hand-holding-dollar"></i>
      <p>RECOUVREMENT</p>
    </a>
  </li>

  <li class="nav-item {!! ($menu=='tiers')?'menu-is-opening menu-open':'' !!}">
    <a href="#" class="nav-link {!! ($menu=='tiers')?'active':'' !!}">
      <p>Tiers<i class="fas fa-angle-left right"></i></p>
    </a>

    <ul class="nav nav-treeview ">
      @if($user->HasRole("ADMINISTRATEUR") || $user->can('BEN_VISU'))
      <li class="nav-item ">
        <a href="{!! url('beneficiaires_liste/V') !!}" class="nav-link {!! ($submenu=='beneficiaires')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Bénéficiaires</p>
        </a>
      </li>
      @endif
      @if($user->HasRole("ADMINISTRATEUR") || $user->can('EMP_VISU'))
      <li class="nav-item ">
        <a href="{!! url('employeurs_liste/V') !!}" class="nav-link {!! ($submenu=='employeurs')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Employeurs</p>
        </a>
      </li>
      @endif
      @if($user->HasRole("ADMINISTRATEUR") || $user->can('SAL_VISU'))
      <li class="nav-item ">
        <a href="{!! url('salaires') !!}" class="nav-link {!! ($submenu=='salaires')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Salaires</p>
        </a>
      </li>
      @endif
    </ul>
  </li>

  @if($user->HasRole("ADMINISTRATEUR") || $user->can('COT_VISU'))
  <li class="nav-item {!! ($menu=='cotisations')?'menu-is-opening menu-open':'' !!}">
    <a href="#" class="nav-link {!! ($menu=='cotisations')?'active':'' !!}">
      <p>Cotisations<i class="fas fa-angle-left right"></i></p>
    </a>
    <ul class="nav nav-treeview ">
       
      <li class="nav-item ">
        <a href="{!! url('cotisations') !!}" class="nav-link {!! ($submenu=='cotisations')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Saisie des cotisations</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="{!! url('cotisations_encours') !!}" class="nav-link {!! ($submenu=='cotisations_aenc')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Cotisations à encaisser</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="{!! url('cotisations_encaissees') !!}" class="nav-link {!! ($submenu=='cotisations_enc')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Cotisations encaissées</p>
        </a>
      </li>
    </ul>
  </li>
  @endif

  <li class="nav-item {!! ($menu=='bordereaux')?'menu-is-opening menu-open':'' !!}">
    <a href="#" class="nav-link {!! ($menu=='bordereaux')?'active':'' !!}">
      <p>Bordereaux<i class="fas fa-angle-left right"></i></p>
    </a>
    <ul class="nav nav-treeview ">
      <li class="nav-item ">
        <a href="{!! url('bordereaux') !!}" class="nav-link {!! ($submenu=='bordereaux')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Etat du Bordereau</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="{!! url('bordereaux_liste') !!}" class="nav-link {!! ($submenu=='bordereaux_liste')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Liste des Bordereaux</p>
        </a>
      </li>
    </ul>
  </li>

  <li class="nav-item {!! ($menu=='suivi')?'menu-is-opening menu-open':'' !!}">
    <a href="#" class="nav-link {!! ($menu=='suivi')?'active':'' !!}">
      <p>Suivi<i class="fas fa-angle-left right"></i></p>
    </a>
    <ul class="nav nav-treeview ">
      <li class="nav-item ">
        <a href="{!! url('reste_a_payer') !!}" class="nav-link {!! ($submenu=='reste_a_payer')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Reste à payer</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="{!! url('reste_a_payer_annee') !!}" class="nav-link {!! ($submenu=='reste_a_payer_annee')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Reste à payer par année</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="{!! url('rappels') !!}" class="nav-link {!! ($submenu=='rappels')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Appels de cotisation</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="{!! url('recouvrement_emails') !!}" class="nav-link {!! ($submenu=='emails')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Emails de rappel</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="{!! url('controles') !!}" class="nav-link {!! ($submenu=='controles')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Contrôles</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="{!! url('med_prepa') !!}" class="nav-link {!! ($submenu=='med')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Mises en demeure</p>
        </a>
      </li>
      <li class="nav-item ">
        <a href="{!! url('taxe_office') !!}" class="nav-link {!! ($submenu=='taxe_office')?'active':'' !!}">
          <i class="nav-icon far fa-circle"></i>
          <p>Taxation d'office</p>
        </a>
      </li>
    </ul>
  </li>
