@if( Auth::User()->perm('devices', 'remove') )
|
|
@endif
{!! trans('validation.attributes.active') !!}
|
{{ $item->name }}
|
{{ $item->imei }}
|
getStatus()}") }}">
|
{{ $item->server_time ? Formatter::time()->human($item->server_time) : trans('front.not_connected') }}
|
@if (Auth::user()->can('view', $item, 'expiration_date'))
{{ $item->hasExpireDate() ? $item->expiration_date : trans('front.unlimited') }}
|
@endif
{{ $item->users->filter(function($value){ return auth()->user()->can('show', $value); })->implode('email', ', ') }}
|
@if (Auth::User()->perm('devices', 'edit') || Auth::User()->perm('devices', 'remove'))
@endif
|
@endforeach
@else