@extends('_version_02.commons.layouts.admin') @section('content') @include('_version_02.commons.layouts.partials._alert')
@php $priority_counter = 1 ; @endphp @foreach($cols as $col) @if($col == 'id') @else @endif @php $priority_counter ++ ; @endphp @endforeach @php $priority_counter = 1 ; @endphp @foreach($model as $index => $row) @foreach($row->toArray() as $key => $value) @if($key == 'status') @elseif($key != 'id') @endif @endforeach @endforeach
#{{App\Language::trans(ucwords(str_replace('_', ' ', $col)))}}{{App\Language::trans('Action')}}
{{$index+1}}{{$row->display_status_string($key)}}{{$value}} {{App\Language::trans('Edit')}} | {{App\Language::trans('View')}} | {{App\Language::trans('Del')}}
@endsection @section('script') @endsection