@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
  • @can('sos.index')
  • SOS @php $sosNotifications = auth() ?->user() ?->notifications() ?->where('type', 'Modules\Taxido\Notifications\SOSAlertNotification') ?->whereNull('read_at') ?->latest() ?->take(5) ?->get(); @endphp @if ($sosNotifications?->count() > 0) {{ $sosNotifications->count() }} @endif
    {{ __('static.recent_sos_alerts') }}
      @forelse ($sosNotifications as $notification)
    • SOS Alert: {{ $notification->data['message'] ?? 'Location: ' . $notification->data['coordinates']['lat'] . ', ' . $notification->data['coordinates']['lng'] }}

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

    • @empty
    • {{ __('static.no_sos_alert_found') }}
    • @endforelse
    @if ($sosNotifications->count()) @if (Route::has('admin.sos-alerts.index'))
    {{ __('static.all_sos_alerts') }}
    @endif @endif
  • @endcan
  • @php $notifications = auth() ?->user() ?->notifications() ?->whereNull('read_at') ->where('type', '!=', 'Modules\Taxido\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
    {{ __('taxido::static.chats.recent_chats') }}
    • {{ __('taxido::static.chats.no_chats_found') }}
  • @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