@extends('layouts.app') @section('title', 'Users') @section('page_title', 'Users and Roles') @section('content')
New registration is locked to user. To create an admin manually, update the role column to admin in the database. This page also allows the current admin to manage roles after login.
@foreach($users as $user) @endforeach
NameEmailPhoneRoleStatusDepartment
{{ $user->name }} {{ $user->email }} {{ $user->phone }} {{ $user->role }} {{ $user->status }} {{ $user->department?->name ?? '-' }} Edit
@endsection