@if(count($records)) @php $groupedRecords = $records->groupBy(function ($item) { return day_elapsed($item->created_at, false); }); @endphp
@foreach($groupedRecords as $dateAdded => $notifications)
{{ $dateAdded }}
@endforeach
@else

@lang('igniter.user::default.notifications.text_empty')

@endif {!! $this->makePartial('lists/list_pagination') !!}