@php $no = 1 @endphp @foreach($data as $key => $item) @endforeach
No Priority Areas Title Description Is Publish Is Media Media Created By Updated By Created At Updated At
{{$no++}} {{$item->wg_text}} {{$item->title}} {{$item->description}} {{$item->published_text}} {{$item->media_text}} {{$item->media}} {{$item->created_user->name}} @php ($item->updated_user) ? $item->updated_user->name : '' @endphp {{$item->created_at}} {{$item->updated_at}}