@extends('layouts.admin') @section('page_title', 'User Management') @section('content')

User Management

Manage employee accounts and their system access levels.

search
@foreach ($users as $user) @endforeach
# User Email 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

Add New User

Fill in the information to create a profile.

@csrf
add_a_photo Upload

Avatar must be .jpg, .png (Max 2MB)

info Permissions

Roles define access levels. Managers can approve work reports. Admins can manage all users and settings.

@endsection @push('styles') @endpush @push('scripts') @endpush