@extends('layouts.admin') @section('title','Audit Log') @section('page_title','Live Audit Log') @section('page_subtitle','Jejak aktivitas seluruh Banom, Lembaga dan admin') @section('content')<section class="card table-card"><div class="section-head"><h3>Aktivitas Sistem</h3><span>{{ $logs->total() }} log</span></div><div class="table-wrap"><table><thead><tr><th>Waktu</th><th>Pengguna</th><th>Unit</th><th>Modul</th><th>Aktivitas</th><th>IP</th></tr></thead><tbody>@foreach($logs as $l)<tr><td>{{ $l->created_at?->format('d/m/Y H:i:s') }}</td><td>{{ $l->user?->name ?? 'System' }}</td><td>{{ $l->organization?->acronym ?? 'MWCNU' }}</td><td><span class="pill">{{ $l->module }}</span></td><td>{{ $l->description }}</td><td>{{ $l->ip_address }}</td></tr>@endforeach</tbody></table></div>{{ $logs->links() }}</section>@endsection