@include('global.header-links')
@include('partials.sidebar')
@include('partials.header')

Registered Users

Selected
@if(session()->has('message'))
{{ session()->get('message') }}
@elseif(session()->has('error'))
{{ session()->get('error') }}
@endif @foreach($users as $user) @if($user->roles[0]->name == 'User') @endif @endforeach
User Role Last login Phone Number Joined Date Status Actions
{{ucfirst($user->name)}} {{$user->email}}
{{$user->roles[0]->name}}
{{ $user->last_login ? Carbon\Carbon::parse($user->last_login)->diffForHumans() : 'Not logged-in yet' }}
{{$user->phone}} {{date('F d, Y', strtotime($user->created_at))}} @if($user->otp_status == 1) @if($user->status == 1)
Activate
@else
Inactive
@endif @elseif($user->otp_status == 0)
OTP not verified
@endif
Actions
@include('partials.footer')
@include('global.footer-links')