@extends('layouts.app') @section('title', 'Activity log') @section('heading', 'Activity log') @section('subheading', 'Who did what, and when') @section('content')
Clear
{{ number_format($logs->total()) }} {{ \Illuminate\Support\Str::plural('entry', $logs->total()) }}
@forelse ($logs as $log) @empty @endforelse
WhenWhoActionRecordDescriptionFrom
{{ $log->created_at->format('d M Y H:i:s') }} {{ $log->user?->name ?? 'System' }} {{ $log->action }} @if ($log->subject_type === \App\Models\Tenancy::class && $log->subject_id) {{ $log->subjectLabel() }} @else {{ $log->subjectLabel() }} @endif {{ $log->description }} @if ($log->changes)
what changed
{{ json_encode($log->changes, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) }}
@endif
{{ $log->ip_address }}
Nothing recorded for this filter.
@if ($logs->hasPages()) @endif
@endsection