@foreach ($user->unreadNotifications as $notification)
@if(view()->exists('notifications.member.detail_'.snake_case(class_basename($notification->type))))
@include('notifications.member.detail_'.snake_case(class_basename($notification->type)))
@endif
@endforeach