• @if(\App\Models\User::find(auth()->user()->getAuthIdentifier())->unreadNotifications->count()) {{\App\Models\User::find(auth()->user()->getAuthIdentifier())->unreadNotifications->count()}} @endif
    • Notifications

      • @forelse(auth()->user()->notifications()->latest()->take(5)->get() as $notification) @if($notification->type == 'App\Notifications\Order\OrderStatus')
      • You have received a new Order [{{$notification->data['id']}}].

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

      • @endif @if($notification->type == 'App\Notifications\Order\OrderCreated')
      • You have received a new Order [{{$notification->data['id']}}].

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

      • @endif @if($notification->type == 'App\Notifications\Ticket\CustomerResponseNotification')
      • New repsonse on Ticket [{{$notification->data['reference_id']}}] has been submitted.

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

      • @endif @if($notification->type == 'App\Notifications\Ticket\TicketCreatedAdminNotification')
      • New repsonse on Ticket [{{$notification->data['reference_id']}}] has been submitted.

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

      • @endif @if(!$loop->last)
        @endif @empty
      • No new notifications.
      • @endforelse
    • All Notifications