{{ $notificationMessage }}
|
Name
@if($sortBy === 'name')
@endif
|
Email
@if($sortBy === 'email')
@endif
|
Role
@if($sortBy === 'role')
@endif
|
Status
@if($sortBy === 'status')
@endif
|
Workload |
Last Login
@if($sortBy === 'last_login_at')
@endif
|
Actions |
|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($user->name, 0, 2)) }}
{{ $user->name }}
@if($user->job_title)
{{ $user->job_title }}
@endif
|
{{ $user->email }}
@if($user->phone)
{{ $user->phone }}
@endif
|
{{ $roles[$user->role] }} |
{{ $statuses[$user->status] }}
@if($user->department)
{{ $user->department }}
@endif
|
@if($user->daily_hours && $user->hourly_rate)
{{ $user->daily_hours }}h/day
€{{ number_format($user->hourly_rate, 0) }}/h
{{ $user->getWorkloadStatusLabel() }}
€{{ number_format($user->getMonthlyWorkloadValue(), 0) }}/month
|
{{ $user->last_login_at ? $user->last_login_at->diffForHumans() : 'Never' }} |
@if(auth()->user()->isSuperadmin() || !$user->isSuperadmin())
Edit
@else
Protected
@endif
{{-- Hidden: Suspend/Activate and Departure buttons moved to individual user pages --}}
@if(auth()->user()->isSuperadmin() || !$user->isSuperadmin())
@endif
@if($user->id !== auth()->id() && (auth()->user()->isSuperadmin() || !$user->isSuperadmin()))
@endif
|
Try adjusting your search or filter criteria.
Are you sure you want to delete this user? This action cannot be undone.
This will send a password reset email to:
{{ $userToReset->name }}
{{ $userToReset->email }}
A secure random password will be generated and sent via email. The user will be required to change their password on next login.