@extends('layouts.app')
@section('title', 'User Accounts')
@section('subtitle', 'Access control and system roles')
@section('content')
| User | Role | Phone | Last login | Status | Actions |
|---|---|---|---|---|---|
|
{{ $account->initials() }}
{{ $account->name }}
@if ($account->id === auth()->id())
You
@endif
{{ $account->email }}
|
{{ $roles[$account->role] ?? ucfirst($account->role) }} | {{ $account->phone ?? '—' }} | {{ $account->last_login_at?->diffForHumans() ?? 'Never' }} | {{ $account->is_active ? 'Active' : 'Deactivated' }} | |