@extends('admin.layouts.app') @section('title', 'Contact Enquiry Details - Admin Dashboard') @section('content')

Contact Enquiry #{{ $contact->id }}

Back
@if($contact->read_at) @endif @if($contact->replied_at) @endif
Name {{ $contact->name }}
Email {{ $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' }}
@endsection