|
@if($user->is_confirmed)
@if ($user->is_active)
Active
@else
Blocked
@endif
@else
New user
@endif
|
{{$user->username}}
|
{{$user->name .' '. $user->surname}}
{{$user->role->name}}
{{$user->email}}
{{$user->phone_number}}
|
{{ $user->getCreatedByName() }} |
{{ date('d.m.Y - H:i', strtotime($user->created_at)) }} |
@if($user->updated_at==NULL)
/ |
@else
{{ date('d.m.Y - H:i', strtotime($user->updated_at)) }} |
@endif
@if(Cache::has('is_online' . $user->id))
Online
@else
Offline
@endif
|
@if(auth()->user()->hasPermission('manage_all_users'))
@if($user->hasRole("Referent") && $user->is_confirmed)
|
@else
/ |
@endif
@else
|
@endif