@extends('layouts.app') @section('title', 'Staff & Users') @section('content')
Every login, its role, and account status. Deactivating removes access without deleting their history.
| Staff | Employee code | Role | Status | ||
|---|---|---|---|---|---|
|
{{ strtoupper(substr($user->name, 0, 2)) }}
{{ $user->name }}
|
{{ $user->employee_code ?? '—' }} | {{ $user->email }} | @if ($user->id !== auth()->id()) @endif | ||
| No staff found. | |||||