Notification Logs

All system notifications dispatched to users.

← Back to Settings
{{-- Filters --}}
Reset
{{-- Stats --}}
@php $total = $notifications->total(); $unread = \App\Models\Notification::where('is_read', false)->count(); $read = \App\Models\Notification::where('is_read', true)->count(); $today = \App\Models\Notification::whereDate('created_at', today())->count(); @endphp @foreach([ ['label' => 'Total', 'value' => number_format($total), 'color' => 'blue'], ['label' => 'Unread', 'value' => number_format($unread), 'color' => 'amber'], ['label' => 'Read', 'value' => number_format($read), 'color' => 'emerald'], ['label' => 'Today', 'value' => number_format($today), 'color' => 'purple'], ] as $stat)

{{ $stat['label'] }}

{{ $stat['value'] }}

@endforeach
{{-- Table --}}
@forelse($notifications as $notification) @empty @endforelse
User Type Title Body Status Sent
@if($notification->user) {{ $notification->user->name }} {{ $notification->user->email }} @else Deleted user @endif {{ $notification->type }} {{ $notification->title }} {{ Str::limit($notification->body, 80) }} @if($notification->is_read) Read @else Unread @endif {{ $notification->created_at->diffForHumans() }}
No notifications found.
@if($notifications->hasPages())
{{ $notifications->links() }}
@endif