Audits

@foreach ($audits->load(['user.group']) as $audit) {{-- format-ignore-start --}} @php $values = json_decode($audit->record, true); @endphp {{-- format-ignore-end --}} @endforeach
User {{ __('common.action') }} Date Modifications
{{ $audit->action }}
    @foreach ($values as $key => $value)
  • {{ $key }}: @if (is_array($value['old'])) {{ Js::from($value['old']) }} @else {{ $value['old'] ?? 'null' }} @endif → @if (is_array($value['new'])) {{ Js::from($value['new']) }} @else {{ $value['new'] ?? 'null' }} @endif
  • @endforeach