{{ __('This is an immutable audit trail. Records cannot be edited or deleted.') }}
| {{ __('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
|
{{ Str::limit($notification->title, 40) }} | {{ Str::limit($notification->body, 60) }} |
@if($notification->is_read)
|
{{ $notification->created_at?->format('M d, Y H:i') ?? 'N/A' }} | {{ $notification->read_at?->format('M d, Y H:i') ?? '—' }} |