@extends('admin.layouts.app') @section('title', 'Activity Log Details') @section('content')
View detailed information about this activity
| User |
{{ substr($activityLog->admin->name ?? 'U', 0, 2) }}
{{ $activityLog->admin->name ?? '-' }}
|
|---|---|
| Module | {{ $activityLog->module }} |
| Action | @if($activityLog->action == 'Create') Create @elseif($activityLog->action == 'Update') Update @elseif($activityLog->action == 'Delete') Delete @else {{ $activityLog->action }} @endif |
| Record Name | {{ $activityLog->record_name }} |
| Description | {{ $activityLog->description }} |
| IP Address | {{ $activityLog->ip_address }} |
| Method | {{ $activityLog->method }} |
| URL | {{ $activityLog->url }} |
| Browser | {{ $activityLog->user_agent }} |
| Created At | {{ $activityLog->created_at->format('d M Y h:i A') }} |
| Field | Old Value | New Value |
|---|---|---|
| {{ ucwords(str_replace('_', ' ', $key)) }} | {{ is_array($oldValue) ? json_encode($oldValue) : ($oldValue ?: '') }} | {{ is_array($value) ? json_encode($value) : ($value ?: '') }} |
No Changes DetectedNo field changes were found in this update. |
||
{{ json_encode($activityLog->old_data, JSON_PRETTY_PRINT) }}
{{ json_encode($activityLog->new_data, JSON_PRETTY_PRINT) }}