@extends('layouts.app') @section('title', 'Audit-Log') @section('content')

Audit-Log

Sicherheits- und inventarrelevante Änderungen
Zurücksetzen
@forelse($entries as $entry) @empty @endforelse
ZeitpunktBenutzerAktionObjektBereichÄnderungenIP
{{ $entry->created_at->format('d.m.Y H:i:s') }} {{ $entry->user?->name ?? 'System' }} {{ $entry->action }} @if($entry->object_type){{ $entry->object_type }} #{{ $entry->object_id }}@endif {{ $entry->inventory?->name }} @if($entry->changes) {{ Str::limit(collect($entry->changes)->map(fn ($v, $k) => is_array($v) ? "$k: ".json_encode($v['old'] ?? null, JSON_UNESCAPED_UNICODE).' → '.json_encode($v['new'] ?? null, JSON_UNESCAPED_UNICODE) : "$k: ".(is_scalar($v) ? $v : json_encode($v, JSON_UNESCAPED_UNICODE)))->implode(' · '), 200) }} @endif {{ $entry->ip_address }}
Keine Einträge.
{{ $entries->links() }}
@endsection