{{ __('Contact Enquiries') }}

Total Enquiries: {{ $contacts->total() }}
@if(session('success'))
{{ session('success') }}
@endif
@if(request('search') || request('type')) Clear @endif
@forelse($contacts as $contact) @empty @endforelse
ID Sender Organisation Type Date Actions
#{{ $contact->id }}
{{ $contact->full_name }}
{{ $contact->email }}
@if($contact->telephone)
{{ $contact->telephone }}
@endif
{{ $contact->organisation ?: '—' }} @php $slug = $contact->contactType->slug ?? 'other'; $badgeClass = match($slug) { 'takedown' => 'bg-red-500/15 text-red-600 dark:text-red-400 border border-red-500/30', 'press' => 'bg-purple-500/15 text-purple-600 dark:text-purple-400 border border-purple-500/30', 'general' => 'bg-blue-500/15 text-blue-600 dark:text-blue-400 border border-blue-500/30', default => 'bg-gray-500/15 text-gray-600 dark:text-gray-400 border border-gray-500/30' }; @endphp {{ $contact->contactType->name ?? 'Enquiry' }} {{ $contact->created_at ? $contact->created_at->format('d M Y') : '—' }}
{{ $contact->created_at ? $contact->created_at->format('H:i') : '' }}
View
@csrf @method('DELETE')
No contact enquiries found matching your criteria.
{{ $contacts->links() }}