@extends('admin.layouts.app') @section('title', 'Audit logs — ExtraCash Admin') @section('page-title', 'Audit logs') @section('breadcrumb', 'System audit trail (platform-wide)') @section('content')
{{ $logs->total() }} log(s)
@forelse($logs as $log) @empty @endforelse
Time Action User Target IP
{{ $log->created_at->format('M d, Y H:i:s') }} {{ $log->action }} @if($log->user) {{ $log->user->name }}{{ $log->user->email }} @else — @endif @if($log->auditable_type) {{ class_basename($log->auditable_type) }} @if($log->auditable_id) #{{ $log->auditable_id }} @endif @else — @endif {{ $log->ip_address ?? '—' }}
No audit log entries yet
@if($logs->hasPages())
{{ $logs->withQueryString()->links() }}
@endif
@endsection