@php $curr_user = auth('admin')->user(); $notification_count = $curr_user->unreadNotifications->count(); $all_notifications = $curr_user->notifications->take(25); $all_notifications_count = $all_notifications->count(); @endphp