@extends('layouts.app') @section('title','Staff Users') @section('page-title','Staff Users') @section('content')
| Name | Role | Created | Action | |
|---|---|---|---|---|
|
{{ strtoupper(substr($user->name,0,2)) }}
{{ $user->name }}
@if($user->id === auth()->id()) You @endif
|
{{ $user->email }} | @php $roleColors = ['admin'=>'disbursed','finance_officer'=>'active','auditor'=>'paid']; @endphp {{ ucfirst(str_replace('_',' ',$user->role)) }} | {{ $user->created_at->format('M d, Y') }} | @if($user->id !== auth()->id()) @endif |
| No staff users | ||||