@extends('layout.admin') @section('styles') @endsection @section('content')
End Point: {{ $log->endpoint ?? 'N/A' }}
Response Status: {{ $log->response_status ?? 'N/A' }}
IP Adress: {{ ucfirst($log->ip_address ?? 'N/A' ) }}
Created At: {{ ucfirst($log->created_at ?? 'N/A' ) }}
@php $details = json_decode($log->request_payload, true); @endphp @php function renderDetails($data, $level = 0) { foreach ($data as $key => $value) { $indent = $level * 10; // Increase indent with nesting $keyLabel = is_string($key) ? ucwords(str_replace('_', ' ', $key)) : 'Item'; if (is_array($value)) { echo "No additional details provided.
@endif