@extends('layouts.admin') @section('page_title', 'User Management') @section('content')
Manage employee accounts and their system access levels.
| # | User | Department | Role | Status | Actions | |
|---|---|---|---|---|---|---|
| {{ str_pad($loop->iteration, 2, '0', STR_PAD_LEFT) }} |
{{ substr($user->name, 0, 1) }}{{ substr(strrchr($user->name, ' '), 1, 1) ?: '' }}
{{ $user->name }}
|
{{ $user->email }} | {{ $user->department->name ?? 'N/A' }} | {{ $user->role }} | @if ($user->is_active) Active @else Inactive @endif {{ $user->is_active ? 'Active' : 'Inactive' }} |
|
Showing 1-{{ count($users) }} of {{ count($users) }} users
Fill in the information to create a profile.