@extends('layouts.admin') @section('content')
| {{ __('ui.audit.when') }} | {{ __('ui.audit.who') }} | {{ __('ui.audit.action') }} | {{ __('ui.audit.subject') }} | {{ __('ui.audit.details') }} |
|---|---|---|---|---|
| {{ local_datetime($log->created_at) }} | {{ $log->actor?->name ?? __('ui.admin.system') }} {{ $log->ip_address }} |
{{ $log->action }} | {{ $log->subject_type ? class_basename($log->subject_type).' #'.$log->subject_id : '—' }} |
@if($log->reason) reason: {{ $log->reason }} @endif @if($log->before)before: {{ json_encode($log->before, JSON_UNESCAPED_UNICODE) }} @endif @if($log->after)after: {{ json_encode($log->after, JSON_UNESCAPED_UNICODE) }} @endif @if($log->meta)meta: {{ json_encode($log->meta, JSON_UNESCAPED_UNICODE) }} @endif |
| {{ __('ui.no_results') }} | ||||