@if($type == 'All')
Name | Status | Last Seen | |
---|---|---|---|
{{$user->name}} | {{$user->email}} | @if(Cache::has('is_online' . $user->id)) Online @else Offline @endif | {{ \Carbon\Carbon::parse($user->last_seen)->diffForHumans() }} |
Name | Status | Last Seen | |
---|---|---|---|
{{$user->name}} | {{$user->email}} | @if(Cache::has('is_online' . $user->id)) Online @endif | {{ \Carbon\Carbon::parse($user->last_seen)->diffForHumans() }} |
Name | Status | Last Seen | |
---|---|---|---|
{{$user->name}} | {{$user->email}} | @if(!Cache::has('is_online' . $user->id)) Offline @endif | {{ \Carbon\Carbon::parse($user->last_seen)->diffForHumans() }} |