@extends ('layouts.in') @section ('body')
@if ($users_multiple)
@endif
@if ($user_empty) @endif @if ($vehicle_empty) @endif @foreach ($list as $row) @php ($link = route('device.update', $row->id)) @if ($user_empty) @endif @if ($vehicle_empty) @endif @endforeach
{{ __('device-index.name') }} {{ __('device-index.model') }}{{ __('device-index.user') }}{{ __('device-index.vehicle') }}{{ __('device-index.connected_at') }} {{ __('device-index.enabled') }} {{ __('device-index.shared') }} {{ __('device-index.shared_public') }} {{ __('trip-index.messages') }}
{{ $row->name }} {{ $row->model }}{{ $row->user->name }}{{ $row->vehicle->name ?? '-' }}@dateWithUserTimezone($row->connected_at, 'Y-m-d H:i:s') @status($row->enabled) @status($row->shared) @status($row->shared_public) {{ $row->messages_count.($row->messages_pending_count ? ('/'.$row->messages_pending_count) : '') }}
@stop