@extends('layouts.app')
@section('title', 'Activity logs · DocShare')
@section('section', 'Admin console')
@section('subtitle', 'Auditable access and management events for confidential documents.')
@section('content')
TimeActionUserIP address
@forelse($logs as $log)
{{ \Illuminate\Support\Carbon::parse($log->created_at)->format('Y-m-d H:i') }}
{{ str_replace('_',' ',ucfirst($log->action)) }}
{{ $log->user_name ?: 'System' }}{{ $log->custom_user_id }}
{{ $log->ip_address ?: '—' }}
@empty
No activity recorded yet.
@endforelse
{{ $logs->links() }}
@endsection