@extends('admin::layouts.admin') @section('title', 'Manajemen Pengguna') @push('styles') @endpush @section('content')
| Avatar | Nama | Phone | Role | Status | Bergabung | Login Terakhir | |
|---|---|---|---|---|---|---|---|
|
@if($user->avatar)
{{ strtoupper(substr($user->name, 0, 1)) }}
@endif
|
{{ $user->name }} | {{ $user->email }} | {{ $user->phone ?? '-' }} | @if($user->role === 'admin') Admin @else User @endif | @if($user->status === 'active') Active @elseif($user->status === 'inactive') Inactive @else Suspended @endif | {{ $user->created_at->format('d M Y') }} | @if($user->last_login_at) {{ $user->last_login_at->diffForHumans() }} @else Belum pernah login @endif |