@extends('admin.layouts.app') @section('title', 'Contact Enquiries - Admin Dashboard') @section('content')
ID | Name | Phone | Subject | Message | Status | Created At | Actions | |
---|---|---|---|---|---|---|---|---|
{{ $contact->id }} | {{ $contact->name }} | {{ $contact->email }} | {{ $contact->phone ?? 'N/A' }} | {{ Str::limit($contact->subject ?? 'N/A', 30) }} | {{ Str::limit($contact->message ?? 'N/A', 50) }} | @if($contact->status === 'new') Unread @elseif($contact->status === 'read') Read @elseif($contact->status === 'replied') Replied @elseif($contact->status === 'closed') Closed @endif | {{ $contact->created_at->format('M d, Y H:i') }} | |
No contact enquiries found. |