{{ __('Notifications') }}

@if(!$employee_id)
{{ $unreadCount }} {{ __('unread') }}
@endif
@if (session()->has('message'))
{{ session('message') }}
@endif @forelse($notifications as $notification)
@if($notification->notifiable->id != auth()->id() ) {{ $notification->notifiable->name }} @endif

{{ $notification->data['message'] ?? $notification->data['title'] ?? 'Notification' }}

{{ $notification->created_at->diffForHumans() }}
@if (is_null($notification->read_at) and !$employee_id) @endif {{-- --}}
@empty

{{ __('No notifications found.') }}

@endforelse
{{ $notifications->links() }}