@php
$items = [
['icon' => 'fa-location-dot', 'label' => 'Map', 'route' => 'map'],
['icon' => 'fa-id-card', 'label' => 'Nouveau contact', 'route' => 'nouveau-contact'],
['icon' => 'fa-clipboard-check', 'label' => 'Nouveau rendez-vous', 'route' => 'nouveau-rendez-vous'],
['icon' => 'fa-calendar-check', 'label' => 'Confirmations RDV', 'route' => 'confirmations-de-rendez-vous'],
['icon' => 'fa-handshake-simple', 'label' => 'Rendez-vous', 'route' => 'rendez-vous'],
['icon' => 'fa-clipboard-list', 'label' => 'Nouvelle argumentation', 'route' => 'argumentation'],
['icon' => 'fa-comment', 'label' => 'Argumentations', 'route' => 'argumentations'],
['icon' => 'fa-users', 'label' => 'Clients', 'route' => 'listing-client'],
['icon' => 'fa-calendar-plus', 'label' => 'Relances', 'route' => 'relances'],
['icon' => 'fa-truck', 'label' => 'Poses', 'route' => 'poses'],
['icon' => 'fa-euro-sign', 'label' => 'Ventes et Commissions', 'route' => 'ventes'],
['icon' => 'fa-table-list', 'label' => 'Tableau des chiffres', 'route' => 'tableau-chiffres'],
['icon' => 'fa-chart-line', 'label' => 'Classement', 'route' => 'classement-commerciaux'],
['icon' => 'fa-flag-checkered', 'label' => 'Challenges', 'route' => 'challenges'],
['icon' => 'fa-clipboard', 'label' => 'Nouvelle pose', 'route' => 'nouvelle-pose'],
['icon' => 'fa-user-gear', 'label' => 'Poseurs', 'route' => 'poseurs'],
['icon' => 'fa-users-gear', 'label' => 'Stats contacts', 'route' => 'stats-contact'],
['icon' => 'fa-user-plus', 'label' => 'Gestion commerciaux', 'route' => 'gestion-commerciaux'],
['icon' => 'fa-car-rear', 'label' => 'Parc auto & carburant', 'route' => 'parc-auto'],
['icon' => 'fa-triangle-exclamation', 'label' => 'Blocages', 'route' => 'blocages'],
['icon' => 'fa-bell', 'label' => 'Alertes', 'route' => 'alertes'],
['icon' => 'fa-signs-post', 'label' => 'Secteurs', 'route' => 'secteur-show-list']
/*['icon' => 'fa-chart-pie', 'label' => 'Stats produits', 'route' => 'stats-produit']
['icon' => 'fa-cake-candles', 'label' => 'Anniversaires', 'route' => 'Anniversaires'],*/
];
@endphp
@foreach ($items as $item)
@if(auth()->user()->canAccessPage($item['route']))
{{ $item['label'] }}
@endif
@endforeach