@forelse ($user->unreadNotifications as $key => $notification) @if($key < 6) @includeIf('notifications.'.$userType.'.'.\Illuminate\Support\Str::snake(class_basename($notification->type))) @if (isWorksuiteSaas()) @includeIf('notifications.superadmin.'.\Illuminate\Support\Str::snake(class_basename($notification->type))) @endif @foreach ($worksuitePlugins as $item) @includeIf(strtolower($item).'::notifications.'.\Illuminate\Support\Str::snake(class_basename($notification->type))) @endforeach @endif @empty
@endforelse