@extends('adminlte::page') @section('title', 'Audit Trail') @section('content_header')
| Timestamp | User | Event | Subject | Properties |
|---|---|---|---|---|
| {{ $activity->created_at->format('M d, Y H:i:s') }} | {{ $activity->causer->name ?? 'System' }} | @php $badgeClass = match($activity->event) { 'created' => 'badge-success', 'updated' => 'badge-warning', 'deleted' => 'badge-danger', default => 'badge-info', }; @endphp {{ ucfirst($activity->event) }} | {{ class_basename($activity->subject_type) }} #{{ $activity->subject_id }} | |
| No activity logs found. | ||||