@extends('admin.layout.main') @section('admin')

Contact Message Details

Message ID: {{ $contact->id }}

Message Content

{{ $contact->message }}

@if($contact->service)

Service Information

{{ $contact->service }}

Requested Service

@endif

Contact Information

{{ $contact->name }}

@if($contact->phone) @endif

Message Details

Status: @php $statusColors = [ 'new' => 'bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300', 'read' => 'bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300', 'responded' => 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300', 'archived' => 'bg-gray-100 text-gray-800 dark:bg-gray-900/30 dark:text-gray-300' ]; $statusLabels = [ 'new' => 'Unread', 'read' => 'Read', 'responded' => 'Responded', 'archived' => 'Archived' ]; @endphp {{ $statusLabels[$contact->status] }}
Submitted: {{ $contact->created_at->format('M j, Y g:i A') }}
Last Updated: {{ $contact->updated_at->format('M j, Y g:i A') }}
@endsection