{{ __('staff.audit-log') }}

@forelse ($audits as $audit) @empty @endforelse
# {{ __('common.action') }} Model Model ID By Changes {{ __('user.created-on') }} {{ __('common.action') }}
{{ $audit->id }} {{ strtoupper($audit->action) }} {{ $audit->model_name }} {{ $audit->model_entry_id }} {{ $audit->user->username }}
    @foreach ($audit->values as $key => $value)
  • {{ $key }}: {{ Js::from($value['old']) }} → {{ Js::from($value['new']) }}
  • @endforeach
  • @csrf @method('DELETE')
  • No audits
    {{ $audits->links('partials.pagination') }}