{{-- History of one record: $type, $id. --}} @php $history = \App\Models\AuditEntry::query()->where('subject_type', $type)->where('subject_id', $id)->orderByDesc('id')->limit(60)->get(); @endphp

History

Full history
@if ($history->isEmpty())

Nothing recorded yet. (The audit trail starts from this update.)

@else
@foreach ($history as $e) @endforeach
{{ $e->created_at->timezone('America/New_York')->format('M j, g:i A') }} {{ $e->actor_label ?: \App\Http\Controllers\Admin\AuditController::ACTORS[$e->actor_type] ?? $e->actor_type }}
{{ $e->actor_type }}
{{ $e->summary }}@include('admin._changes', ['e' => $e])
@endif