@extends('layouts.app') @section('title', 'Users') @section('page_title', 'Users and Roles') @section('content')
role column to admin in the database. This page also allows the current admin to manage roles after login.| Name | Phone | Role | Status | Department | ||
|---|---|---|---|---|---|---|
| {{ $user->name }} | {{ $user->email }} | {{ $user->phone }} | {{ $user->role }} | {{ $user->status }} | {{ $user->department?->name ?? '-' }} | Edit |