@extends('layouts.app-sidebar') @section('content')
System activity and changes
Recent system changes and user actions
{{ $audit->user->name ?? 'System' }}
{{ $audit->created_at->format('M d, H:i:s') }}
{{ json_encode($audit->changes, JSON_PRETTY_PRINT) }}
No audit logs found
| Time | User | Action | Model | Details |
|---|---|---|---|---|
| {{ $audit->created_at->format('M d, H:i:s') }} |
{{ $audit->user->name ?? 'System' }} |
@if($audit->action === 'created') Created @elseif($audit->action === 'updated') Updated @elseif($audit->action === 'deleted') Deleted @else {{ ucfirst($audit->action) }} @endif | {{ class_basename($audit->auditable_type) }} #{{ $audit->auditable_id }} |
@if($audit->changes)
View Changes{{ json_encode($audit->changes, JSON_PRETTY_PRINT) }}
|
|
No audit logs found |
||||