@if(session('success'))
{{ session('success') }}
@endif @yield('content')
@if(in_array(auth()->user()->role, ['admin', 'traffic'], true)) @php($unreadBlockAlerts = \Illuminate\Support\Facades\Schema::hasTable('block_alerts') ? \App\Models\BlockAlert::whereNull('read_at')->whereNull('resolved_at')->count() : 0) 🔔@if($unreadBlockAlerts){{ $unreadBlockAlerts > 99 ? '99+' : $unreadBlockAlerts }}@endif @endif