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

<!-- MANDATEMENTS -->
  <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>
      -->

        <li class ="dropdown"><a  class="dropdown-toggle" data-toggle="dropdown"  href="">Tiers<b class="caret"></b></a>
          <ul class="dropdown-menu">
            <?php if($user->HasRole("ADMINISTRATEUR") || $user->can('EMP_VISU')): ?>
            <li><a href="<?php echo URL::to('/tiers/creanciers'); ?> ">Créanciers</a></li>  
            <li><a href="<?php echo URL::to('/tiers/employeurs'); ?> ">Employeurs</a></li> 
            <li><a href="<?php echo URL::to('/tiers/beneficiaires/limit/A'); ?> ">Bénéficiaires</a></li>                       
            <li class="divider"></li> 
            <li><a href="<?php echo URL::to('/tiers/banques'); ?> ">Banques</a></li>
            <?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 Règlements</a></li>  
            <li><a href="<?php echo URL::to('/reglement_pointage'); ?> ">Pointage des Règlements</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="">Comptabilité<b class="caret"></b></a>
          <ul class="dropdown-menu"  role="menu"  aria-labelledby="dLabel">
            <li><a href="<?php echo URL::to('compta/plan'); ?> ">Plan comptable</a></li>      
            <li><a href="<?php echo URL::to('compta/journal'); ?> ">Journaux</a></li>                 
          </ul>
        </li>

        <li class ="dropdown"><a  class="dropdown-toggle" data-toggle="dropdown"  href="">Bilans<b class="caret"></b></a>
          <ul class="dropdown-menu"  role="menu"  aria-labelledby="dLabel">
            <li><a href="<?php echo URL::to('compta/bilan/R'); ?> ">Bilans</a></li>  
            <li><a href="<?php echo URL::to('compta/compte_resultat'); ?> ">Comptes de résultat</a></li>  
            <!-- <li><a href="<?php echo URL::to('compta/tableau_amortissement'); ?> ">Tableaux d’amortissements</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:\xampp\htdocs\SYSINFO\cpswf\sipre\resources\views/layouts/navbar_comptabilite.blade.php ENDPATH**/ ?>