Notifications

{{ $unreadCount }} Unread transmissions

@if($unreadCount > 0) @endif
@forelse($notifications as $notification) @php $type = $notification->data['type'] ?? 'system'; $icon = match($type) { 'finance' => 'wallet', 'security' => 'shield-check', 'critical', 'overdue' => 'alert-octagon', 'reminder' => 'bell', 'due_today' => 'clock', default => 'cpu' }; $colorClass = match($type) { 'finance' => 'bg-emerald-50 text-emerald-600', 'security' => 'bg-amber-50 text-amber-600', 'critical', 'overdue' => 'bg-rose-50 text-rose-600', 'reminder' => 'bg-gold-50 text-gold-600', 'due_today' => 'bg-amber-50 text-amber-600', default => 'bg-gold-50 text-gold-600' }; @endphp
@if(!$notification->read_at)
@endif

{{ $notification->data['title'] ?? 'Transmission Received' }}

{{ $notification->created_at->diffForHumans(null, true) }}

{{ $notification->data['message'] ?? 'Data packet integrity verified.' }}

@if(isset($notification->data['action_url'])) @endif
@empty

All Caught Up!

No pending transmissions detected.

@endforelse