@extends('admin.layouts.app') @section('content')

Notifications

@if ($unReadNotifications > 0 && can('notification.mark_all_as_read')) Mark All As Read @endif
@foreach ($notifications as $notification) @endforeach
Message Status Actions
{!! $notification->title !!} {!! $notification->description !!} @if ($notification->is_read == 1) Read @else UnRead @endif @if (!$notification->is_read && can('notification.mark_as_read')) @endif @if (class_basename($notification->shareable_type) == 'Invoice') @can('invoice.view') @endcan @elseif (class_basename($notification->shareable_type) == 'User') @canany(['employer.view', 'provider.view']) @endcanany @endif
@endsection