#{{ $staff->id }}
{{ $staff->name }}
@if ($staff->roles->count() > 0) {{ ucfirst(str_replace('_', ' ', $staff->roles->first()->name)) }} @else Staff Member @endif
Phone : {{ $staff->phone_number ?: 'Not provided' }}
|{{ ucfirst($staffRecord->status) }}
Total Clinic Assignments
{{ count($staffClinics) }} Active Assignments
Roles & Permissions
Clinic Assignments {{ count($staffClinics) }}
@if (count($staffClinics) > 0)| Clinic Details | Doctor | Status | Approval | Actions |
|---|---|---|---|---|
{{ $assignment['clinic']['name'] ?? 'N/A' }}@if ($assignment['clinic']['address']) {{ $assignment['clinic']['address'] }} @endif
Assigned:
{{ \Carbon\Carbon::parse($assignment['created_at'])->format('M d, Y') }}
|
{{ $assignment['doctor']['name'] ?? 'N/A' }}@if ($assignment['doctor']['email']) {{ $assignment['doctor']['email'] }} @endif |
{{ ucfirst($assignment['status']) }} | {{ ucfirst($assignment['approval_status']) }} | |
|
Permissions:
@foreach ($assignment['permissions'] as $permission)
{{ $permission }}
@endforeach
|
||||
|
Notes:
@if (is_array($assignment['notes']))
{{ implode(', ', $assignment['notes']) }}
@else
{{ $assignment['notes'] }}
@endif
|
||||
No Clinic Assignments
This staff member has not been assigned to any clinics yet.
Activity Timeline
-
Staff Account Created
{{ $staff->created_at->format('M d, Y \a\t g:i A') }}
Staff member {{ $staff->name }} was added to the system.
@if ($staff->updated_at != $staff->created_at)
-
Profile Updated
{{ $staff->updated_at->format('M d, Y \a\t g:i A') }}
Staff profile information was last updated.
@endif
@if (count($staffClinics) > 0)
@foreach ($staffClinics as $assignment)
-
Clinic Assignment
{{ \Carbon\Carbon::parse($assignment['created_at'])->format('M d, Y \a\t g:i A') }}
Assigned to {{ $assignment['clinic']['name'] ?? 'Unknown Clinic' }} under Dr. {{ $assignment['doctor']['name'] ?? 'Unknown Doctor' }}
@endforeach
@endif
Staff Not Found
The staff member you're looking for could not be found.