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

Audit Trail

Who made a sale, voided an item, gave a discount, changed a price, adjusted stock, or changed tax/levy settings — every mutating action, traceable to a user.

@forelse ($logs as $log) @empty @endforelse
WhenUserActionDescriptionDetailsIP
{{ $log->created_at->format('d M Y H:i') }} {{ $log->user->name ?? 'System' }} {{ ucwords(str_replace('_', ' ', $log->action)) }} {{ $log->description }} {{ $log->meta ? json_encode($log->meta) : '—' }} {{ $log->ip_address ?? '—' }}
No audit entries match these filters.
{{ $logs->links() }}
@endsection