{{ __('Audit Logs') }}

{{ __('Export CSV') }}
@if($logs->count() > 0)
@foreach($logs as $log)

Audit Log Details

Date/Time: {{ $log->created_at->format('M d, Y H:i:s') }}
User: {{ $log->user->name ?? 'System' }}
Action: {{ ucfirst($log->action) }}
Model: {{ class_basename($log->auditable_type) }}
IP Address: {{ $log->ip_address }}
@if($log->device_type)
Device: {{ ucfirst($log->device_type) }}
@endif @if($log->browser_name)
Browser: {{ $log->browser_name }}
@endif @if($log->tags)
Tags:
@foreach($log->tags as $tag) {{ $tag }} @endforeach
@endif @if($log->old_values)
Old Values:
{{ json_encode($log->old_values, JSON_PRETTY_PRINT) }}
@endif @if($log->new_values)
New Values:
{{ json_encode($log->new_values, JSON_PRETTY_PRINT) }}
@endif
@endforeach
Date/Time User Action Description IP Address Details
{{ $log->created_at->format('M d, Y H:i:s') }} {{ $log->user->name ?? 'System' }} {{ ucfirst($log->action) }} {{ $log->description }} {{ $log->ip_address }}
{{ $logs->links() }}
@else

No audit logs found.

@endif