@extends('layouts.admin') @section('title', 'System Audit Trail') @section('header_title', 'KYM Security & Workflow Audit Logs') @section('header_badge') Total Recorded Events: {{ $logs->total() }} @endsection @section('content')

Immutable Audit Trail

Every verification decision, photograph capture, document upload, and data reuse action is recorded.

@forelse($logs as $log) @if($log->metadata) @endif @empty @endforelse
Timestamp Event Type Action Actor Target Member Description Details
{{ $log->created_at->format('Y-m-d H:i:s') }} {{ $log->event_type }} {{ str_replace('_', ' ', $log->action) }} {{ $log->actor_name }} {{ str_replace('_', ' ', $log->actor_role) }} @if($log->targetMember) {{ $log->targetMember->full_name }} {{ $log->targetMember->member_code }} @else — @endif {{ $log->description }} @if($log->metadata) @else — @endif
Event Metadata Payload: IP: {{ $log->ip_address ?? 'N/A' }} • User-Agent: {{ Str::limit($log->user_agent, 60) }}
{{ json_encode($log->metadata, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) }}
No audit logs matching search criteria.
@if($logs->hasPages())
{{ $logs->links() }}
@endif
@endsection @push('scripts') @endpush