{{-- ── Notifications Dropdown ── --}} @auth @can('view notifications')
  • @if(($notifUnreadCount ?? 0) > 0) {{ ($notifUnreadCount ?? 0) > 99 ? '99+' : ($notifUnreadCount ?? 0) }} @else @endif
    {{-- Header --}}
    الإشعارات @if(($notifUnreadCount ?? 0) > 0) {{ $notifUnreadCount }} @endif
    @csrf
    {{-- List --}}
    @forelse(($notifRecent ?? collect()) as $notif)

    {{ $notif->title }}

    {{ Str::limit($notif->message, 65) }}

    {{ $notif->time_ago }}
    @if($notif->is_unread)
    @endif
    @empty
    لا توجد إشعارات
    @endforelse
    {{-- Footer --}}
    عرض كل الإشعارات
  • @endcan @endauth {{-- ── User Dropdown ── --}}
    • الملف الشخصي

    • @csrf