@extends('layouts.admin') @section('title', 'Audit Log — '.config('app.name')) @section('page_title', 'Audit Log') @section('breadcrumbs')
| When | Actor | Action | Subject | IP | Diff |
|---|---|---|---|---|---|
| {{ $audit->created_at }} | {{ $audit->user?->login ?? $audit->user?->email ?? '—' }} | {{ $audit->action }} | {{ $audit->auditable_type ? class_basename($audit->auditable_type).'#'.$audit->auditable_id : '—' }} | {{ $audit->ip_address }} |
@if ($audit->old_values || $audit->new_values)
View{{ json_encode(['old' => $audit->old_values, 'new' => $audit->new_values], JSON_PRETTY_PRINT) }}
|
| No audits yet. | |||||