Notifications

{{ $unreadCount }} Unread @if($notifications->where('read_at', null)->count() > 0) @endif
@if (session()->has('success')) @endif
@forelse ($notifications as $notification)
@if ($notification->data['sender']) {{ getInitials($notification->data['sender']['name']) }} @else {{ getInitials('loyalty refferal') }} @endif
{{ $notification->data['title'] }}
@if(isset($notification->data['status'])) {{ ucfirst($notification->data['status']) }} @endif
{!! $notification->data['message'] !!}
{{ $notification->created_at->diffForHumans() }}
@if(isset($notification->data['url'])) View @endif @if(!$notification->read_at) @else Read @endif
@if(!$notification->read_at)
@endif
@empty
No Notifications Yet

When you receive notifications, they'll appear here.

@endforelse
@if($notifications->hasPages()) @endif