Logo
@if (Auth::user()->role == 1)
  • Accueil
  • Avantages
  • Mon flex
  • Mon profil
  • Notifications
  • {{-- @if (Auth::user()->photo) @else --}} {{-- @endif --}}
    {{ ucfirst(strtolower(Auth::user()->prenom)) }}
    {{ __('Déconnexion') }}
    @csrf
@elseif (Auth::user()->role == 2)
  • Accueil
  • Points de ventes
  • {{--
  • Points de ventes
  • --}}
  • Avantages
  • Opérations
  • Transactions
  • Profil
  • {{-- @if (Auth::user()->photo) @else --}} {{-- @endif --}}
    {{ ucfirst(strtolower(Auth::user()->nom)) }}
    {{ __('Déconnexion') }}
    @csrf
@elseif (Auth::user()->role == 3)
  • Accueil
  • Utilisateurs
  • {{--
  • Cartes
  • --}}
  • Intérêts
  • Partenaires
  • Points de ventes
  • Avantages
  • Opérations
  • Transactions
  • {{-- @if (Auth::user()->role == 1) @if (Auth::user()->photo) @else @endif @else --}} {{-- @endif --}}
    {{ ucfirst(strtolower(Auth::user()->nom)) }}
    {{ __('Déconnexion') }}
    @csrf
@elseif(Auth::user()->role == 4)
  • Accueil
  • Points de ventes
  • Avantages
  • Opérations
  • Transactions
  • Profil
  • {{ ucfirst(strtolower(Auth::user()->nom)) }}
    {{ __('Déconnexion') }}
    @csrf
@else
  • {{-- @if (Auth::user()->role == 1) @if (Auth::user()->photo) @else @endif @else --}} {{-- @endif --}}
    {{ ucfirst(strtolower(Auth::user()->nom)) }}
    {{ __('Déconnexion') }}
    @csrf
@endif ​