@forelse ($notifications as $item)
@php
$type = class_basename($item->type);
@endphp
{{-- --}}
{{-- --}}
@if ($type == 'LeadAccessNotification')
{{-- Lead View --}}
@elseif ($type == 'UserUpdateNotification')
{{-- User Role Updated --}}
@elseif ($type == 'NewUserCreatedNotification')
{{-- User Added --}}
@endif
@if ($type == 'LeadAccessNotification')
Lead View
@elseif ($type == 'UserUpdateNotification')
User Role Change
@elseif ($type == 'NewUserCreatedNotification')
User Added
@endif