@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($item.'::notifications.'.\Illuminate\Support\Str::snake(class_basename($notification->type)))) @include($item.'::notifications.'.\Illuminate\Support\Str::snake(class_basename($notification->type))) @endif @endforeach @empty @endforelse
@endsection