@extends(auth()->user()->isEmployee() ? 'employee.layouts.app' : 'admin.layouts.app') @section('title', 'Notifications') @section('page-title', 'Notifications') @section('content')

All Notifications

Lead updates, blog review events, assignments, and workflow alerts all appear here.

@csrf
@forelse($notifications as $notification)

{{ $notification->title }}

@if(!$notification->read_at) Unread @endif

{{ $notification->message }}

{{ $notification->created_at->format('d M Y, h:i A') }} {{ $notification->created_at->diffForHumans() }} {{ str($notification->type)->replace('_', ' ')->title() }}
@if(!$notification->read_at)
@csrf
@endif @if($notification->action_url)
@csrf
@endif
@empty

No notifications yet

When leads are assigned, blog articles are reviewed, or statuses change, they will appear here.

@endforelse
{{ $notifications->links() }}
@endsection