@if (session('status'))
{{ session('status') }}
@endif
@foreach ([ ['label' => 'New', 'key' => 'new', 'class' => 'border-lms-blue/30 bg-lms-blue-light text-lms-blue'], ['label' => 'Contacted', 'key' => 'contacted', 'class' => 'border-orange-200 bg-orange-50 text-lms-orange-dark'], ['label' => 'Closed', 'key' => 'closed', 'class' => 'border-emerald-200 bg-emerald-50 text-emerald-700'], ] as $tile)
{{ $tile['label'] }}
{{ (int) ($counts[$tile['key']] ?? 0) }}
@endforeach
@forelse ($enquiries as $enquiry) @empty @endforelse
Lead Interest Source Status Received Actions
{{ $enquiry->name }}
{{ $enquiry->phone }} @if ($enquiry->email) · {{ $enquiry->email }} @endif
@if ($enquiry->message)

{{ Str::limit($enquiry->message, 100) }}

@endif
{{ $enquiry->course?->title ?? ($enquiry->interest ?: '—') }}
{{ ucfirst($enquiry->source) }} @if ($enquiry->status === 'new') New @elseif ($enquiry->status === 'contacted') Contacted @else Closed @endif @if ($enquiry->handler)
by {{ $enquiry->handler->name }}
@endif
{{ $enquiry->created_at->format('d M Y · g:i A') }}
@if ($enquiry->status !== 'contacted')
@csrf
@endif @if ($enquiry->status !== 'closed')
@csrf
@endif
@csrf @method('DELETE')

No enquiries yet

When someone fills the homepage form, it will land here.

@if ($enquiries->hasPages())
{{ $enquiries->links() }}
@endif