@extends('layouts.admin') @section('title', 'Admin Logs - MU Admin Panel') @section('styles') @endsection @section('content')
@if(count($logs) > 0) @foreach($logs as $log) @endforeach
Thời gian Admin Action Target Reason IP Address Data
{{ date('d/m/Y H:i:s', strtotime($log->created_at)) }} {{ $log->admin_username }} {{ $log->action }}
{{ $log->target_type }}
{{ $log->target_name }}
{{ $log->reason }} {{ $log->ip_address }} @if($log->old_data && $log->old_data !== '[]')
Old: {{ Str::limit($log->old_data, 30) }}
@endif @if($log->new_data && $log->new_data !== '[]')
New: {{ Str::limit($log->new_data, 30) }}
@endif
{{ $logs->appends(request()->query())->links('pagination.custom') }} @else

📋 Không tìm thấy log nào

Thử thay đổi bộ lọc tìm kiếm

@endif
@endsection