@extends('layouts.app') @section('heading','User Accounts') @section('content') @if(session('generated_password'))
Archive accounts instead of permanently deleting operational history. Archived users cannot sign in.
Create Account| Name | Username | Role | Status | Actions | |
|---|---|---|---|---|---|
| {{ $u->name }} | {{ $u->username }} | {{ $u->email }} | {{ $u->getRoleNames()->join(', ') }} | @if($u->trashed())Archived @else{{ $u->is_active?'Active':'Inactive' }}@endif |
@if($u->trashed())
@else
Edit
@unless($u->hasRole('Superadmin'))
@if(!$u->is(auth()->user()))
@endif
@endunless
@endif
|
| No user accounts found. | |||||