@extends('layouts.app') @section('title', 'Activity Logs') @section('content')
Clear
@forelse($logs as $log) @empty @endforelse
Timestamp User Action Module Description Company Actions
{{ $log->created_at->format('M d, Y') }}
{{ $log->created_at->format('H:i:s') }}
@if($log->user)
{{ $log->user->name }}
{{ $log->user->email }}
@else System @endif
{{ ucfirst($log->action) }} {{ ucfirst(str_replace('_', ' ', $log->module)) }}
{{ Str::limit($log->description, 80) }}
@if($log->is_critical) Critical @endif
{{ $log->company->name ?? 'N/A' }}
View
No activity logs found.
@if($logs->hasPages())
{{ $logs->links() }}
@endif
@endsection