@extends('layouts.superadmin') @section('title', 'Auditoria Global') @section('content')
{{ $logs->total() }} eventos registrados
| Data/Hora | Hotel | Usuário | Ação | Entidade | IP |
|---|---|---|---|---|---|
|
{{ $log->created_at->format('d/m/Y') }}
{{ $log->created_at->format('H:i:s') }}
|
{{ $log->hotel?->name ?? '—' }} |
{{ $log->user?->name ?? 'Sistema' }}
{{ $log->user?->email }}
|
{{ $log->action }} |
@if($log->entity_type)
{{ class_basename($log->entity_type) }}
@if($log->entity_id)
#{{ $log->entity_id }}
@endif
@else
—
@endif
|
{{ $log->ip_address ?? '—' }} |
| Nenhum log encontrado. | |||||