@extends('layouts.app') @section('title', 'Leads') @section('content')
{{ $leads->total() }} prospect(s) in the pipeline.
| Lead | Contact | Service | Source | Owner | Est. value | Status | Next follow-up | |
|---|---|---|---|---|---|---|---|---|
|
{{ $lead->full_name }}
{{ $lead->lead_number }}
|
{{ $lead->phone }}
@if ($lead->email) {{ $lead->email }} @endif |
{{ $lead->serviceType?->name ?? '—' }}
{{ $lead->plan?->name }} |
{{ title_case_words($lead->source) }} | {{ $lead->owner?->name ?? 'Unassigned' }} | {{ $lead->estimated_value > 0 ? money($lead->estimated_value) : '—' }} | {{ $lead->status }} | @if ($lead->next_follow_up_at) @if ($lead->next_follow_up_at->isPast()) overdue @else {{ $lead->next_follow_up_at->format('d M') }} @endif @else — @endif | Open |
| @include('components.empty-state', ['icon' => '★', 'title' => 'No leads found', 'message' => 'Capture enquiries from the coverage checker or add them manually.', 'action' => '+ New lead']) | ||||||||