{{ __('Notifications') }}

All Notifications

@if($unreadCount > 0)
@csrf Mark all as read
@endif
@if($notifications->isEmpty())

No Notifications

You don't have any notifications yet.

@else
@foreach($notifications as $notification)
@if($notification->data['type'] === 'goal_achieved') @elseif($notification->data['type'] === 'goal_deadline_reminder') @elseif($notification->data['type'] === 'new_message') @elseif($notification->data['type'] === 'certification_earned') @elseif($notification->data['type'] === 'report_generated') @elseif($notification->data['type'] === 'marketing_material_ready') @elseif($notification->data['type'] === 'commission_paid') @elseif($notification->data['type'] === 'referral_conversion') @else @endif

{{ $notification->data['title'] }}

{{ $notification->created_at->format('M j, Y g:i A') }}

{{ $notification->data['message'] }}

@if(isset($notification->data['url'])) View Details @endif @if(!$notification->read_at)
@csrf Mark as read
@endif
@endforeach
{{ $notifications->links() }}
@endif