@isset($currentAccount)
@php($bzCredits = app(\App\Services\Wallet\WalletService::class)->balance($currentAccount))
{{ number_format($bzCredits) }}
@php($bzUnreadNews = collect(config('whatsnew'))->filter(fn ($e) => $e['date'] > (string) $user->preference('whats_new_seen'))->count())
@if ($bzUnreadNews){{ $bzUnreadNews }}@endif
@php($bzNotes = $user->notifications()->latest()->limit(40)->get()->filter(fn ($n) => (int) ($n->data['account_id'] ?? 0) === $currentAccount->id)->take(10))
@php($bzUnread = $bzNotes->whereNull('read_at')->count())
Notifications
@if ($bzUnread)@endif
@endisset