{{ str_limit(get_site_title(), 2, '.') }} {{ get_site_title() }}
Toggle navigation
  • @if($count_message = Auth::user()->messages->count()) {{ $count_message }} @endif
    • {{ trans('messages.message_count', ['count' => $count_message]) }}
      • @forelse(Auth::user()->messages as $message)
      • @if($message->customer->image) {{ trans('app.avatar') }} @else {{ trans('app.avatar') }} @endif

        {{ $message->subject }} {{ $message->created_at->diffForHumans() }}

        {{ str_limit($message->message, 100) }}

      • @endforeach
    • {{ trans('app.go_to_msg_inbox') }}
  • @if($count_notification = Auth::user()->unreadNotifications->count()) {{ $count_notification }} @endif
    • {{ trans('messages.notification_count', ['count' => $count_notification]) }}
      • @foreach(Auth::user()->unreadNotifications as $notification)
      • @php $notification_view = 'admin.partials.notifications.' . snake_case(class_basename($notification->type)); @endphp @includeFirst([$notification_view, 'admin.partials.notifications.default'])
      • @endforeach
    • {{ trans('app.view_all_notifications') }}
  • @if($active_announcement)
  • @if($active_announcement && $active_announcement->updated_at > Auth::user()->read_announcements_at) @endif
    • {!! $active_announcement->parsed_body !!} @if($active_announcement->action_url) {{ $active_announcement->action_text }} @endif
  • @endif
  • @if(Auth::user()->image) {{ trans('app.avatar') }} @else {{ trans('app.avatar') }} @endif {{ ($Tname = Auth::user()->getName()) ? $Tname : trans('app.welcome') }}
    • @if(Auth::user()->image) {{ trans('app.avatar') }} @else {{ trans('app.avatar') }} @endif

      {{Auth::user()->name}}

      @if(Auth::user()->isSuperAdmin()) {{ trans('app.super_admin') }} @else @if(Auth::user()->isFromPlatform()) {{ Auth::user()->role->name }} @elseif(Auth::user()->isMerchant()) {{ Auth::user()->owns ? Auth::user()->owns->name : Auth::user()->role->name }} @else {{ Auth::user()->role->name . ' | ' . Auth::user()->shop->name }} @endif @endif {{ trans('app.member_since') . ' ' . Auth::user()->created_at->diffForHumans() }}

    • {{ trans('app.account') }}
      {{ trans('app.log_out') }}
  • {{-- --}}