@extends('layout.admin') @section('styles') @endsection @section('content')

Contact Inquiries / Detail

CONTACT INFORMATION

Name: {{ $inquiry->name ?? 'N/A' }}

Email: {{ $inquiry->email ?? 'N/A' }}

Phone: {{ $inquiry->phone ?? 'N/A' }}

Form Type: {{ $inquiry->form_type ?? 'N/A' }}

Created At {{ $inquiry->created_at ?? 'N/A' }}

CONTACT DETAILS

@php $details = json_decode($inquiry->contact_detail, true); @endphp @if ($details && is_array($details)) @foreach ($details as $key => $value)

{{ ucwords(str_replace('_', ' ', $key)) }}: {{ is_array($value) ? implode(', ', $value) : $value }}

@endforeach @else

No additional details provided.

@endif
@endsection @section('script') @endsection