@if($notifications->count() > 0)
@foreach($notifications as $notification)
@if(!$notification->read_status)
@else
@endif
{{ $notification->message }}
{{ $notification->created_at->diffForHumans() }}
•
{{ $notification->created_at->format('M d, Y \a\t g:i A') }}
@if($notification->document)
View Document
@endif
@if(!$notification->read_status)
@endif
@endforeach
@if($notifications->hasPages())
{{ $notifications->links() }}
@endif
@else
No notifications
You're all caught up! No new notifications at this time.
@endif