@extends('admin.layouts.app') @section('admin-content')

AI Audit Log

All Design Your Nails generations (prompt payload included).

@foreach ($generations as $gen) @endforeach
User Image Prompt Payload Generated At
{{ $gen->user?->name ?? 'Guest' }}
@if ($gen->user?->email)
{{ $gen->user->email }}
@endif
@php $thumbUrl = $gen->image_path ? \Storage::disk('public')->url($gen->image_path) : null; @endphp @if ($thumbUrl) AI generation @else
@endif
{{ json_encode($gen->prompt_payload, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
{{ optional($gen->created_at)->format('Y-m-d H:i') }}
{{ $generations->links() }}
@endsection