Registro di tutte le azioni eseguite nel sistema.
| Data/Ora | Utente | Evento | Soggetto | Dettagli |
|---|---|---|---|---|
| {{ $activity->created_at->format('d/m/Y H:i:s') }} | {{ $activity->causer?->name ?? data_get($activity->properties, 'causer_name') ?? 'Sistema' }} | {{ $activity->description }} | @if($activity->subject_type) {{ class_basename($activity->subject_type) }} #{{ $activity->subject_id }} @else - @endif |
@if($activity->properties->isNotEmpty())
Mostra
@if($activity->properties->has('old'))
Vecchio:
@foreach($activity->properties['old'] as $k => $v)
{{ $k }}: {{ is_string($v) ? $v : json_encode($v) }}
@endforeach
Nuovo:
@foreach($activity->properties['attributes'] ?? [] as $k => $v)
@else
@foreach($activity->properties->toArray() as $k => $v)
{{ $k }}: {{ is_string($v) ? $v : json_encode($v) }}
@endforeach
{{ $k }}: {{ is_string($v) ? $v : json_encode($v) }}
@endforeach
@endif
|
| Nessuna attività registrata. | ||||