@php $user = auth()->user(); $notifPollUrl = $user->role === 'restaurant_admin' ? route('restaurant-admin.notifications.poll') : route('staff.notifications.poll'); $notifRid = (int) $user->restaurant_id; @endphp