@extends('layouts.app') @section('title', 'Audit Trail') @section('page_title', 'System Audit Trail') @section('content')
Immutable Activity Log
Security Audit logs cannot be modified or deleted.
@forelse($logs as $log) @empty @endforelse
Timestamp User Action Entity Type Entity ID IP Address Data Diff
{{ $log->created_at->format('M d, Y H:i:s') }} {{ $log->user_name }} @if($log->user_id) ID: {{ $log->user_id }} @endif {{ str_replace('_', ' ', $log->action) }} {{ $log->entity_type }} {{ $log->entity_id ?? '-' }} {{ $log->ip_address }} @if($log->old_values || $log->new_values) @else No details @endif
No audit activities logged.
{{ $logs->links() }}
@endsection @section('scripts') @endsection