@extends('admin.layout') @section('content')
Manage all registered users and their information
{{ session('success') }}
Showing {{ $users->count() }} of {{ $users->total() }} user(s) @if(request('search')) for "{{ request('search') }}" @endif
| ID {!! $getSortIcon('id') !!} | Name {!! $getSortIcon('first_name') !!} | Gender {!! $getSortIcon('gender') !!} | Phone # {!! $getSortIcon('phone') !!} | Email {!! $getSortIcon('email') !!} | Role {!! $getSortIcon('role') !!} | Actions |
|---|---|---|---|---|---|---|
| #{{ $user->id }} |
{{ $user->first_name }} {{ $user->last_name }} |
@if($user->gender) {{ ucfirst($user->gender) }} @else Not specified @endif | {{ $user->phone ?? '-' }} | {{ $user->email }} | {{ ucfirst($user->role ?? 'user') }} | |
|
No users found Try adjusting your filters or create a new user |
||||||