
<?php  
use App\Models\User;
$user=User::where('id','=',Session::get('id'))->first(); 
?>

  <ul class="nav navbar-nav" style='margin:0px'>
        <li class ="dropdown">
            <a href="<?php echo url('accueil'); ?> ">
              <span class="glyphicon glyphicon-home"></span>
            </a>
        </li>

        <!--
        <li class ="dropdown">
          <h4 style='color:darkred;font-weight:bold;padding-top:4px'><?php echo Session::get('titre_spec'); ?></h4>
        </li>
        -->
        
      <!-- RECOUVREMENT -->
        <li class ="dropdown"><a  class="dropdown-toggle" data-toggle="dropdown"  href="">Tiers<b class="caret"></b></a>
          <ul class="dropdown-menu">
            <li><a href="<?php echo URL::to('/tiers/beneficiaires/limit/'); ?> ">Bénéficiaires</a></li> 
            <li class="divider"></li>
            <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('EMP_VISU')): ?>
            <li><a href="<?php echo URL::to('/tiers/employeurs'); ?> ">Employeurs</a></li> 
            <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('SAL_VISU')  ): ?>                 
            <li><a href="<?php echo URL::to('/recouvrement/salaires'); ?> ">Salaires</a></li>
            <?php endif; ?> 
            <?php endif; ?>    
          </ul>
        </li> 

        <li class ="dropdown"><a  class="dropdown-toggle" data-toggle="dropdown"  href="">Cotisations<b class="caret"></b></a>
          <ul class="dropdown-menu">
            <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('COT_VISU')): ?>
            <li><a href="<?php echo URL::to('/recouvrement/cotisations'); ?> ">Saisie des Cotisations</a></li>  
            <li class="divider"></li>
            <li><a href="<?php echo URL::to('/recouvrement/cotisations_encours'); ?> ">Cotisations à encaisser</a></li> 
            <li><a href="<?php echo URL::to('/recouvrement/cotisations_encaissees'); ?> ">Cotisations encaissées</a></li> 
               
            <?php endif; ?>

          </ul>
        </li> 

        <li class ="dropdown"><a  class="dropdown-toggle" data-toggle="dropdown"  href="">Bordereaux<b class="caret"></b></a>
          <ul class="dropdown-menu">   
            <li><a href="<?php echo URL::to('/recouvrement/bordereaux'); ?> ">Etat du Bordereau</a></li>
            <li><a href="<?php echo URL::to('/recouvrement/bordereaux_liste'); ?> ">Liste des Bordereaux</a></li>  
          </ul>
        </li> 

        <li class ="dropdown"><a  class="dropdown-toggle" data-toggle="dropdown"  href="">Suivi<b class="caret"></b></a>
          <ul class="dropdown-menu">  
            <li><a href="<?php echo URL::to('/recouvrement/reste_a_payer'); ?> ">Reste à payer</a></li>
            <li><a href="<?php echo URL::to('/recouvrement/reste_a_payer_annee'); ?> ">Reste à payer par année</a></li>
            <!-- <li><a href="<?php echo URL::to('/recouvrement/reste_a_payer_trim'); ?> ">Reste à payer trimestriel</a></li>-->
            <li class="divider"></li>
            <li><a href="<?php echo URL::to('/recouvrement/rappels'); ?> ">Appels de cotisation</a></li>  
            <!-- <li><a href="<?php echo URL::to('/recouvrement/contentieux'); ?> ">Contentieux</a></li>  -->
            <li><a href="<?php echo URL::to('/recouvrement/controles'); ?> ">Contrôles</a></li>  
            <li><a href="<?php echo URL::to('/recouvrement/med_prepa'); ?> ">Mises en demeure</a></li>  
            <li><a href="<?php echo URL::to('/recouvrement/taxe_office'); ?> ">Taxation d'office</a></li>  
          </ul>
        </li>          
    </ul>

<!-- ACTIONS -->
<?php echo $__env->make('layouts.navbar_actions', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>





<?php /**PATH C:\xampp7422\htdocs\sysinfo\cpswf\sipre9\resources\views/layouts/navbar_recouvrement.blade.php ENDPATH**/ ?>