@extends('layouts.master') @section('title', 'System Activity Logs') @section('content')

System Activity Logs

Comprehensive audit trail of all manual and automated interactions within the platform.

@php $groupedLogs = $logs->groupBy(function($log) { return $log->created_at->format('d M, Y'); }); @endphp @forelse($groupedLogs as $date => $dayLogs)
{{ $date }}
@foreach($dayLogs as $log)
{{ strtoupper(substr($log->user->name, 0, 1)) }}
{{ $log->user->name }} @if($log->action == 'login') logged in to the management console @elseif($log->action == 'logout') successfully signed out @elseif($log->action == 'profile_update') modified Account Settings @elseif($log->action == 'clicked_next') interacted with Template Workflow @else executed {{ str_replace('_', ' ', $log->action) }} @endif • {{ $log->created_at->format('H:i') }} ({{ $log->created_at->diffForHumans() }}) {{ str_replace('_', ' ', $log->action) }}
{{ $log->description }}
{{ $log->ip_address }}
{{ Str::limit($log->user_agent, 60) }}
@endforeach
@empty

No Activity Logs Found

Try adjusting your search filters to find what you're looking for.

Clear All Filters
@endforelse
{{ $logs->appends(request()->query())->links() }}
@endsection