@extends('_version_02.iot.layouts.admin') @section('content') @include('_version_02.iot.layouts.partials._alert')
# | @elseif(str_contains($col, '_id')){{App\Language::trans(ucwords(str_replace('_id', '', $col)))}} | @else{{App\Language::trans(ucwords(str_replace('_', ' ', $col)))}} | @endif @endif @endforeach{{App\Language::trans('Action')}} |
---|---|---|---|
{{$index+1}} | @foreach($row->toArray() as $key => $value) @php if(!in_array($key,$cols)) { continue; } @endphp @if($key == 'photo') @elseif($key == 'status'){{$row->display_status_string($key)}} | @elseif($key != 'user_id' && $key != 'id'){{$value}} | @endif @endforeach{{App\Language::trans('Edit')}} |