{{ count($user->unreadNotifications) }} @lang('app.unreadNotifications')
@foreach ($user->unreadNotifications as $notification) @if(view()->exists('notifications.client.'.\Illuminate\Support\Str::snake(class_basename($notification->type)))) @include('notifications.client.detail_'.snake_case(class_basename($notification->type))) @endif @endforeach