@php $currentUser = auth()->user(); $unreadCount = $currentUser ? $currentUser->notifications()->whereNull('read_at')->count() : 0; $recentNotifications = $currentUser ? $currentUser->notifications()->latest('id')->limit(5)->get() : collect(); @endphp
{{ $heading ?? 'Dashboard' }}
@if(!empty($subheading ?? ''))
{{ $subheading }}
@endif
Franchise