{{config('app.name')}} {{config('app.name')}} {{config('app.name')}} {{config('app.name')}}
@if(Auth::user()->isAdmin()) @php $nc = auth()->user()->unreadNotifications->count(); @endphp @endif
Notifications
View All
@if(Auth::user()->isAdmin()) @php $notifications = auth()->user()->notifications()->whereNull('read_at')->limit(5) ->orderBy('created_at','Desc')->get() @endphp
@forelse($notifications as $notification) @php $url = !empty($notification->data['url'])?$notification->data['url']:'javascript:void(0)' @endphp
{!! $notification->data['subject'] !!}

{!! $notification->data['body'] !!}

{{ $notification->created_at->diffForHumans() }}

@if($loop->last) Mark all as read @endif @empty

There are no new notifications

@endforelse
View More..
@endif
Profile Settings
Logout
{{ csrf_field() }}