Activity Log Details
Log Details
Basic Information
| Log ID | {{ $log->id }} |
|---|---|
| Date & Time | {{ $log->created_at ? $log->created_at->format('Y-m-d H:i:s') : 'N/A' }} |
| User | @if ($log->causer && isset($log->causer->name)) {{ $log->causer->name }} @if (isset($log->causer->email)) ({{ $log->causer->email }}) @endif @else System @endif |
| Action | {{ ucfirst($log->description ?? 'unknown action') }} |
Target Information
| Module | {{ $log->subject_type ? class_basename($log->subject_type) : 'N/A' }} |
|---|---|
| Record ID | {{ $log->subject_id ?? 'N/A' }} |
| Record Name | @if ($log->subject) {{ $log->subject->name ?? 'N/A' }} @else {{ $log->properties['name'] ?? ($log->properties['old']['name'] ?? 'N/A') }} @endif |
| IP Address | {{ $log->properties['ip_address'] ?? 'Not recorded' }} |
Properties/Changes
{{ json_encode($log->properties ?? [], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
Changes Comparison
| Field | Old Value | New Value |
|---|---|---|
| {{ ucfirst($key) }} | {{ $log->properties['old'][$key] }} | {{ $newValue }} |