<!-- BASE -->


@if( $user->HasRole("ADMINISTRATEUR") || $user->can("PNA_VISU") )
  <li class="nav-item menu-open">
    <a href="{!! url('/home/pan') !!}" class="nav-link ">
      <i class="nav-icon fas fa-baby-carriage"></i>
      <p>Prime à la naissance</p>
    </a>
      @if($menu_home=="prime_naissance")
        @include("menus.menu_prime_naissance")
      @endif
  </li>
 @endif

@if( $user->HasRole("ADMINISTRATEUR") || $user->can("CSR_VISU") )
  <li class="nav-item menu-open">
    <a href="{!! url('beneficiaires/csr') !!}" class="nav-link ">
      <i class="nav-icon fas fa-person-cane"></i>
      <p>CSR</p>
    </a>
    @if($menu_home=="csr")
      @include("forms.menu_csr")
    @endif
  </li>
 @endif

@if( $user->HasRole("ADMINISTRATEUR") || $user->can("CSR_VISU") )
  <li class="nav-item menu-open">
    <a href="{!! url('beneficiaires/aen') !!}" class="nav-link ">
      <i class="nav-icon fas fa-hands-holding-child"></i>
      <p>Aide à l'enfant</p>
    </a>
    @if($menu_home=="aide_enfant")
      @include("forms.menu_aide_enfant")
    @endif
  </li>
 @endif


   @if( $user->HasRole("ADMINISTRATEUR") || $user->can("ANA_ALL") || $user->can("ANA_ALL") || $user->can("ANA_SOC") || $user->can("ANA_RET") || $user->can("ANA_DATA"))
  <li class="nav-item menu-open">
    <a href="{!! url('analyses') !!}" class="nav-link ">
      <i class="nav-icon fas fa-chart-line"></i>
      <p>ANALYSES</p>
    </a>
  </li>
   @endif


  
    @if( $user->HasRole("ADMINISTRATEUR") || $user->can("PAR_MAJ") || $user->can("PAR_VISU"))
    <li class="nav-item menu-open">
      <a href="{!! url('parametres') !!}" class="nav-link ">
        <i class="nav-icon fas fa-gears"></i>
        <p>PARAMETRES</p>
      </a>
    </li>
   @endif

    @if( $user->HasRole("ADMINISTRATEUR") || $user->can("ROL_VISU")|| $user->can("USR_MAJ") )
    <li class="nav-item menu-open">
      <a href="{!! url('acces') !!}" class="nav-link ">
        <i class="nav-icon fas fa-users"></i>
        <p>ACCES & DROITS</p>
      </a>
    </li>
    @endif

