{{ __('common.sr-no') }} {{ __('devices_login.name') }} @include('up-down') {{ __('devices_login.store_name') }} @include('up-down') {{ __('devices_login.device_type') }} @include('up-down') {{ __('devices_login.status') }} {{ __('common.action') }} @php $editRoute = 'devices-login.edit'; $dropRoute = 'devices-login.drop'; $toggleRoute = 'devices-login.toggle'; $startIndex = ($data->currentPage() - 1) * $data->perPage() + 1; @endphp @forelse($data as $key => $detail) @php $reset = ''; if ($detail->is_logged_in == 1) { $reset = '  '; } $status = ($detail->status == '1') ? 'checked' : ''; @endphp {{ $startIndex++ }} {{ $detail->name }}{!! $reset !!} {{ $detail->store_name }} {{ loginType($detail->login_type) }} @if($detail->remarks) @php $remarks = json_decode($detail->remarks); @endphp (#{{$remarks->version}}) @endif | @empty {{__('common.no_records')}} @endforelse @include('pagination', ['data' => $data])