Home @hasSection('breadcrumb') @yield('breadcrumb') @endif
@if($userRole !== 'trades') @endif
Notifications
@if(($unreadCount ?? 0) > 0) {{ $unreadCount }} unread
@csrf
@endif
@forelse($recentNotifs ?? [] as $notif)
@if($notif->isUnread())
@else
@endif

{{ $notif->title }}

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

{{ $notif->created_at->diffForHumans() }} @if($notif->isUnread())
@csrf
@endif
@empty

No notifications yet

@endforelse
My Profile @if($userRole === 'office_admin') Settings @endif
@csrf
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@yield('content')