@foreach($data as $notification) @if(!is_null($notification['read_at']))
{{--

{{$notifications['body']}}

--}}

{{$notifications['body']}}

{{Carbon\Carbon::parse($notification->created_at)->format('d-m-Y')}}
@else
{{--

{{$notifications['body']}}

--}}

{{$notifications['body']}}

{{Carbon\Carbon::parse($notification->created_at)->format('d-m-Y')}}
@endif @endforeach {{$data->links()}}