{{ __('Manage Users') }}

Add User
{{-- --}} @foreach ($users as $user) @endforeach
Id User Status Role Actions
{{ $user->id }}
{{ $user->name }}'s avatar}}profile_photo_url }} alt="" /> {{-- --}}
{{ $user->name}}
{{ $user->email}}
{{ $user->phone_number}}
@if($user->status == true) Active @else Suspended @endif {{ $user->role->name }}
@if($user->role()->first()->name != 'Admin') @if($user->status == true)
@csrf @method('PUT')
@else
@csrf @method('PUT')
@endif @endif @if($user->role()->first()->name == 'Customer') View @endif
{{ $users->links() }}