@php $fmt = app(\App\Services\Formatter::class); $staffNames = $staff; @endphp
@if ($this->hasActiveFilters()) @endif
@if ($rows->isEmpty()) @else When Who Event What happened Shop IP @foreach ($rows as $entry) {{ $fmt->dateTime($entry->created_at) }} {{ $staffNames[$entry->causer_id] ?? 'System' }} {{ $entry->event }} {{ $entry->description }} @if ($entry->properties)
Details
{{ json_encode($entry->properties, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) }}
@endif @if ($entry->tenant) {{ $entry->tenant->business_name }} @else — @endif {{ $entry->ip_address ?: '—' }} @endforeach
@endif