@extends('_version_01.iot.layouts.admin') @section('content') @include('_version_01.iot.layouts.partials._alert') {!! Form::model($model, ['class'=>'form-horizontal']) !!}
# | @elseif($col == 'dev_eui')# | Device Eui | Name | @elseif(str_contains($col, '_id')){{App\Language::trans(ucwords(str_replace('_id', '', $col)))}} | @else{{App\Language::trans(ucwords(str_replace('_', ' ', $col)))}} | @endif @endforeach{{App\Language::trans('Action')}} |
---|---|---|---|---|---|---|
{{$counter+1}} | @foreach($row->toArray() as $key => $value) @php if(!in_array($key,$cols)) { continue; } if($key == 'device_profile_id'){ continue; } @endphp @if($key == 'dev_eui') @php $dp = App\Iot\DeviceProfile::getById($row['device_profile_id']); @endphp{{ substr($value,1,strlen($value))}} | {{ $dp['name'] }} | @elseif($key == 'photo') @elseif($key == 'status'){{$row->display_status_string($key)}} | @elseif($key != 'user_id' && $key != 'id'){{$value}} | @endif @endforeach{{App\Language::trans('Edit')}} |