@extends('dashlayouts.app') @section('content')

Notifications

@if(!$notifications->isEmpty())
@csrf
@endif
@if($notifications->isEmpty()) @else
@foreach($notifications as $notification)
{{ $notification->data['title'] ?? 'No Title' }} @if(is_null($notification->read_at)) New @endif

{{ $notification->data['message'] ?? 'No Message' }}

@endforeach
Notification | Info
@if($notifications->isEmpty())

No notifications at this time

@else
New Notification
{{ $new_count }}
Total Notification
{{ $noti_count }}
@endif
@endif
@endsection