@extends('admin.layouts.app') @section('title', 'Contact Enquiry Details - Admin Dashboard') @section('content')
| Name | {{ $contact->name }} | 
|---|---|
| {{ $contact->email }} | |
| Phone | {{ $contact->phone ?? 'N/A' }} | 
| Subject | {{ $contact->subject ?? 'N/A' }} | 
| Message | {{ $contact->message ?? 'N/A' }} | 
| Status | @if($contact->status === 'new') Unread @elseif($contact->status === 'read') Read @elseif($contact->status === 'replied') Replied @elseif($contact->status === 'closed') Closed @endif | 
| Created At | {{ $contact->replied_at ? $contact->replied_at->format('M d, Y H:i') : '-' }} | 
| Read At | {{ $contact->read_at?->format('M d, Y H:i') ?? 'N/A' }} | 
| Replied At | {{ $contact->replied_at?->format('M d, Y H:i') ?? 'N/A' }} |