| Date/Time | Staff | Action | Description | Target Staff | IP Address |
|---|---|---|---|---|---|
|
{{ $log->created_at->format('M d, Y') }} {{ $log->created_at->format('h:i A') }} |
@if($log->staff)
@if($log->staff->profile_image)
@else
System
@endif
{{ strtoupper(substr($log->staff->firstname, 0, 1)) }}{{ strtoupper(substr($log->staff->lastname, 0, 1)) }}
@endif
{{ $log->staff->firstname }} {{ $log->staff->lastname }}
|
@php $actionBadges = [ 'settings_created' => 'success', 'settings_updated' => 'warning', 'settings_deleted' => 'danger', 'settings_activated' => 'success', 'settings_deactivated' => 'secondary', 'test_email_sent' => 'info', 'test_email_failed' => 'danger', 'permission_granted' => 'success', 'permission_revoked' => 'warning', 'type_permissions_updated' => 'info' ]; $badgeClass = $actionBadges[$log->action] ?? 'secondary'; @endphp {{ ucwords(str_replace('_', ' ', $log->action)) }} |
{{ $log->description }}
|
@if($log->target_staff_id && $log->targetStaff) {{ $log->targetStaff->firstname }} {{ $log->targetStaff->lastname }} @elseif($log->target_staff_id) Staff #{{ $log->target_staff_id }} @else - @endif |
{{ $log->ip_address ?? '-' }}
|
Activity logs will appear here when email settings are configured or modified.