@extends('layouts.admin') @section('title', 'Audit Trail') @section('content')

Read-only, append-only log of every PHI read/write. Exporting is itself logged before the download starts.

Export CSV
@forelse ($logs as $log) @empty @endforelse
When User Action Record IP
{{ $log->created_at->format('M j, Y g:ia') }} {{ $log->user->name ?? 'System' }} {{ $log->action }} {{ class_basename($log->auditable_type) }} #{{ $log->auditable_id }} {{ $log->ip_address }}
No audit entries match these filters.
{{ $logs->links() }}
@endsection