<!-- BASE -->


<?php if( $user->HasRole("ADMINISTRATEUR")): ?>
  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/allocations'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-people-roof"></i>
      <p>ALLOCATIONS</p>
    </a>
    <?php if($menu_home=="allocations"): ?>
      <?php echo $__env->make("forms.menu_allocations", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
  </li>
 <?php endif; ?>

 <?php if( $user->HasRole("ADMINISTRATEUR")): ?>
  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/aides_sociales'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-handshake-angle"></i>
      <p>AIDES SOCIALES</p>
    </a>
    <?php if($menu_home=="aides_sociales"): ?>
      <?php echo $__env->make("forms.menu_aides_sociales", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
  </li>
 <?php endif; ?>

<?php if( $user->HasRole("ADMINISTRATEUR")): ?>
  <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>
      <?php if($menu_home=="retraites"): ?>
      <?php echo $__env->make("forms.menu_retraites", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
  </li>
 <?php endif; ?>

<?php if( $user->HasRole("ADMINISTRATEUR")): ?>
  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/recouvrement'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-hand-holding-dollar"></i>
      <p>RECOUVREMENT</p>
    </a>
  </li>
 <?php endif; ?>

 <?php if( $user->HasRole("ADMINISTRATEUR")): ?>
  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/mandatement'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-file-invoice"></i>
      <p>MANDATEMENT</p>
    </a>
  </li>
 <?php endif; ?>


  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/comptabilite'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-cash-register"></i>
      <p>COMPTABILITE</p>
    </a>
  </li>


   <?php if( $user->HasRole("ADMINISTRATEUR")): ?>
  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/analyses'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-chart-line"></i>
      <p>ANALYSES</p>
    </a>
  </li>
   <?php endif; ?>


  <?php if( $user->HasRole("ADMINISTRATEUR")): ?>
  <?php if( $user->HasRole("ADMINISTRATEUR") || $user->HasRole("ADMINISTRATEUR FONCTIONNEL")): ?> 
  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/parametres'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-gears"></i>
      <p>PARAMETRES</p>
    </a>
  </li>
  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/acces'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-users"></i>
      <p>ACCES & DROITS</p>
    </a>
  </li>
  <?php endif; ?>
  <?php endif; ?><?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/forms/menu_base.blade.php ENDPATH**/ ?>