@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 @if (isWorksuiteSaas()) @if(view()->exists('notifications.superadmin.'.\Illuminate\Support\Str::snake(class_basename($notification->type)))) @include('notifications.superadmin.'.\Illuminate\Support\Str::snake(class_basename($notification->type))) @endif @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