@extends('layouts/layoutMaster') @section('title', __('Audit Log Details')) @section('content')
@lang('Audit Log Details')
  • @lang('User'): {{ $auditLog['user']['first_name'] }} {{ $auditLog['user']['last_name'] }} ({{ $auditLog['user']['email'] }})
  • @lang('Event'): {{ ucfirst($auditLog['event']) }}
  • @lang('Model Affected'): {{ class_basename($auditLog['auditable_type']) }} (ID: {{ $auditLog['auditable_id'] }})
  • @lang('URL'): {{ $auditLog['url'] }}
  • @lang('IP Address'): {{ $auditLog['ip_address'] }}
  • @lang('User Agent'): {{ $auditLog['user_agent'] }}
  • @lang('Created At'): {{ $auditLog['created_at'] }}
@lang('Old Values')
@if(!empty($auditLog['old_values']))
    @foreach ($auditLog['old_values'] as $key => $value)
  • {{ ucfirst(str_replace('_', ' ', $key)) }}: {{ $value }}
  • @endforeach
@else

@lang('No old values available.')

@endif
@lang('New Values')
@if(!empty($auditLog['new_values']))
    @foreach ($auditLog['new_values'] as $key => $value)
  • {{ ucfirst(str_replace('_', ' ', $key)) }}: {{ $value }}
  • @endforeach
@else

@lang('No new values available.')

@endif
@endsection