@extends('layouts.app') @section('content')
@forelse ($user->unreadNotifications as $key => $notification) @if(view()->exists('notifications.'.$userType.'.'.\Illuminate\Support\Str::snake(class_basename($notification->type)))) @include('notifications.'.$userType.'.'.\Illuminate\Support\Str::snake(class_basename($notification->type))) @endif @foreach ($worksuitePlugins as $item) @if(view()->exists(strtolower($item).'::notifications.'.\Illuminate\Support\Str::snake(class_basename($notification->type)))) @include(strtolower($item).'::notifications.'.\Illuminate\Support\Str::snake(class_basename($notification->type))) @endif @endforeach @empty @endforelse
@endsection