Activity Log Report

Generated: {{ isset($generatedAt) ? $generatedAt : date('Y-m-d H:i') }}

@if(isset($dateFrom) && isset($dateTo) && $dateFrom && $dateTo && $dateFrom !== $dateTo) Period: {{ $dateFrom }} to {{ $dateTo }} @elseif(isset($dateFrom) && $dateFrom) Date: {{ $dateFrom }} @endif

{{-- Summary Section --}} @if(isset($summary) && is_array($summary))

Summary

Total Activities Date Range
{{ isset($summary['count']) ? $summary['count'] : 0 }} {{ isset($summary['date_range']) ? $summary['date_range'] : '' }}
@endif {{-- Activity Log Table --}} @if(isset($rows) && is_array($rows) && count($rows) > 0)

Activity Details

@foreach ($rows as $r) @endforeach
When User Event Log Name Subject Type Subject Description IP Address
{{ $r['when'] ?? '' }} {{ $r['user'] ?? '' }} {{ $r['event'] ?? '' }} {{ $r['log_name'] ?? '' }} {{ $r['subject_type'] ?? '' }} {{ $r['subject'] ?? '' }} {{ $r['description'] ?? '' }} {{ $r['ip_address'] ?? 'N/A' }}
Total Records: {{ count($rows) }}
@else

No activity logs found for the selected period.

@endif