@if ($list_items) @foreach ($list_items as $list_item) {{ $loop->iteration }}
{{ $list_item->title }}
@if($list_item->description) {{ Str::limit($list_item->description, 50) }} @endif
@if($list_item->course) {{ $list_item->course->title }} @else No Course @endif @if($list_item->category) {{ $list_item->category->title }} @else No Category @endif @if($list_item->premium) Premium @else Free @endif
{{ $list_item->read_count }} {{ $list_item->updated_at->format('d-m-Y, g:i A') }} @include('admin.crud.action-dropdown', [ 'cloneUrl' => url('admin/notifications/'.$list_item->id.'/clone'), 'cloneTitle' => 'Clone Notification', 'editUrl' => url('admin/notifications/'.$list_item->id.'/edit'), 'editTitle' => 'Update Notification', 'deleteUrl' => route('admin.notifications.destroy', $list_item->id), 'redirectUrl' => route('admin.notifications.index') ]) @endforeach @endif