{{ __('Filter') }} @if (request()->hasAny(['search', 'causer', 'action', 'type', 'from', 'to'])) {{ __('Reset') }} @endif
@if ($logs->isEmpty()) @else
@foreach ($logs as $log) @endforeach
{{ __('When') }}{{ __('Who') }}{{ __('Action') }}{{ __('What') }}
{{ $log->created_at->toFormattedDateString() }} {{ $log->created_at->format('g:i A') }} {{ $log->causer?->name ?? __('System') }} @if ($log->causer instanceof \App\Models\User){{ __($log->causer->user_type->label()) }}@endif @if ($log->causer?->trashed()){{ __('Deleted account') }}@endif @if ($log->ip_address){{ $log->ip_address }}@endif

{{ $log->description }}

@if ($log->subject_type)

{{ $types[$log->subject_type] ?? $log->subject_type }} #{{ $log->subject_id }}

@endif @if ($log->properties)
{{ json_encode($log->properties, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@endif
{{ $logs->links() }}
@endif