{{-- KPI Stats Grid --}} {{-- Read-Only Notice --}}
🔒

{{ __('This is an immutable audit trail. Records cannot be edited or deleted.') }}

{{-- Audit Logs Table --}}

{{ __('Dispatch History') }}

{{ $notifications->total() ?? count($notifications) }} {{ __('total') }}
@if(count($notifications) > 0)
@foreach($notifications as $notification) @endforeach
{{ __('Recipient') }} {{ __('Type') }} {{ __('Title') }} {{ __('Body') }} {{ __('Status') }} {{ __('Sent') }} {{ __('Read At') }}
{{ $notification->user?->name ?? 'Unknown' }} @php $typeColors = [ 'session_created' => 'info', 'grade_received' => 'success', 'invoice_sent' => 'warning', 'action_item_assigned' => 'primary', 'attendance_warning' => 'danger', ]; @endphp {{ ucfirst(str_replace('_', ' ', $notification->type)) }} {{ Str::limit($notification->title, 40) }} {{ Str::limit($notification->body, 60) }} @if($notification->is_read) {{ __('Read') }} @else {{ __('Unread') }} @endif {{ $notification->created_at?->format('M d, Y H:i') ?? 'N/A' }} {{ $notification->read_at?->format('M d, Y H:i') ?? '—' }}
{{-- Pagination --}} @if(method_exists($notifications, 'links'))
{{ $notifications->links() }}
@endif @else @endif
@push('scripts') @endpush