@extends('_version_01.iot.layouts.admin') @section('content') @include('_version_01.iot.layouts.partials._alert')

{{App\Language::trans('Listing Information')}}

@foreach($cols as $col) @if($col == 'id') @elseif(str_contains($col, '_id')) @else @endif @endforeach @foreach($model as $index => $row) @foreach($row->toArray() as $key => $value) @if($key == 'status') @elseif(str_contains($key, '_id')) @elseif($key != 'id') @endif @endforeach @endforeach
#{{App\Language::trans(ucwords(str_replace('_id', '', $col)))}}{{App\Language::trans(ucwords(str_replace('_', ' ', $col)))}}{{App\Language::trans('Action')}}
{{$index+1}}{{$row->display_status_string($key)}}{{$row->display_relationed($key, 'name')}}{{$value}} {{App\Language::trans('Edit')}} | {{App\Language::trans('View')}} | {{App\Language::trans('Del')}}

@include('_version_01.iot.my_transactions.tools.summary')
@endsection @section('script') @endsection