@props([ 'appointments' => [], 'messages' => [], ]) @php $unreadCount = count(array_filter($appointments->all(), fn($a) => $a->status === 'pending')) + count(array_filter($messages->all(), fn($m) => $m->status === 'unread')); @endphp
{{ $appointment->patient_name }}
New appointment request
{{ $appointment->created_at->diffForHumans() }}
{{ $message->name }}
{{ $message->subject }}
{{ $message->created_at->diffForHumans() }}
No new notifications