@include('admin.header') @section('title', 'Audit Log Details')
| Log ID: | #{{ $auditLog->id }} |
|---|---|
| Action: | @php $actionColors = [ 'created' => 'success', 'updated' => 'info', 'deleted' => 'danger', 'login' => 'primary', 'logout' => 'warning' ]; $color = $actionColors[$auditLog->action] ?? 'secondary'; @endphp {{ ucfirst($auditLog->action) }} |
| Module: | {{ $auditLog->module }} |
| Timestamp: |
{{ $auditLog->created_at->format('F d, Y') }} {{ $auditLog->created_at->format('h:i:s A') }} |
| IP Address: |
{{ $auditLog->ip_address }}
|
| User Agent: | {{ $auditLog->user_agent }} |
{{ $auditLog->admin->email }}
User ID: {{ $auditLog->admin->id }}{{ $auditLog->description }}
{{ json_encode($auditLog->old_values, JSON_PRETTY_PRINT) }}
{{ json_encode($auditLog->new_values, JSON_PRETTY_PRINT) }}
This log entry contains only basic activity information.