@if (isset(getSettings()['general']['light_logo_image'])) user user @else user @endif
  • {{ __('static.quick_links') }}

    {{ __('static.quick_links') }}

    @php $quickLinks = collect(get_quick_links()) ->filter(function ($link) { return !isset($link['permission']) || auth()->user()->can($link['permission']); }) ?->toArray() ?? []; @endphp
      @forelse($quickLinks as $link)
    • {{ __($link['label_key']) }}
    • @empty
    • @endforelse
    @if (!count($quickLinks))
    {{ __('static.quick_links_not_found') }}
    @endif
  • {{ strtoupper(Session::get('locale', 'en')) }}
      @forelse (getLanguages() as $lang)
    • {{ @$lang?->name }} ({{ @$lang?->locale }})
    • @empty
    • {{ __('static.english') }}
    • @endforelse
  • @php $notifications = auth() ?->user() ?->notifications() ?->whereNull('read_at') ->where('type', '!=', 'Modules\CabBooking\Notifications\SOSAlertNotification') ->latest() ->take(5) ->get(); @endphp @if ($notifications?->count() > 0) {{ $notifications->count() }} @endif
    {{ __('static.recent_notifications') }}
      @forelse ($notifications as $notification)
    • @if ($notification->module == 'ticket') @else @endif
      {{ $notification->data['message'] ?? null }}

      {{ $notification->created_at->diffForHumans() }}

    • @empty
    • {{ __('static.no_notification_found') }}
    • @endforelse
    @if ($notifications->count())
    {{ __('static.all_notifications') }}
    @endif
  • @can('chat.index')
  • 0
    {{ __('cabbooking::static.chats.recent_chats') }}
    • {{ __('cabbooking::static.chats.no_chats_found') }}
    {{ __('cabbooking::static.chats.view_all_chats') }}
  • @endcan
  • @if (Auth::user()->profile_image) @else
    {{ strtoupper(substr(Auth::user()->name, 0, 1)) }}
    @endif
    {{ Auth::user()->name }}
    {{ Auth::user()->getRoleNames()->first() }}
      @if (Route::has('admin.account.profile'))
    • {{ __('static.edit_profile') }}
    • @endif
    • {{ __('static.logout') }}
      @csrf