@php $no = 1 @endphp @foreach($data as $key => $item) @if($item->file_type == 1) @elseif($item->file_type == 2) @endif @endforeach
No Priority Areas Category Title Description File Rating Authors Is Publish Published At Created By Updated By Created At Updated At
{{$no++}} {{$item->wg_text}} {{$item->repository_category->name}} {{$item->title}} {{$item->description}}{{public_path().'/'.$item->file}}{{$item->file}}{{$item->rating}} {{$item->author}} {{$item->published_text}} {{$item->published_at}} {{$item->created_user->name}} @php ($item->updated_user) ? $item->updated_user->name : '' @endphp {{$item->created_at}} {{$item->updated_at}}