@extends('admin.layouts.app') @section('title', 'Users Management') @section('content')
One Person → One Account → One User ID — manage identities, access levels, authentication sessions, and security roles.
| User Details | Role & Permissions | Purpose | Status | Joined | Actions | |
|---|---|---|---|---|---|---|
| @if($user->id !== auth()->id()) @else • @endif | {{-- User Details --}}
@if($user->avatar)
{{ $user->name }}
@if($user->id === auth()->id())
YOU
@endif
{{ $user->email }}
@if($user->mobile)
•
{{ $user->mobile }}
@endif
@if($user->city)
•
{{ $user->city }}
@endif
|
{{-- Role --}}
@if($user->roles->isNotEmpty())
@foreach($user->roles as $r)
{{ $r->label }}
@endforeach
@else
No role assigned
@endif
|
{{-- Purpose --}}
@if($user->account_purpose) {{ $user->purposeLabel() }} @else — @endif | {{-- Status Pill --}}@if($user->status === 'active') Active @elseif($user->status === 'pending') Pending @elseif($user->status === 'suspended') Suspended @else Blocked @endif | {{-- Joined --}}{{ $user->created_at?->format('d M Y') ?? '—' }} | {{-- Actions --}}|