Lead List
New Leads
{{ $counts['new'] ?? 0 }}
Contacted
{{ $counts['contacted'] ?? 0 }}
Interested
{{ $counts['interested'] ?? 0 }}
Converted
{{ $counts['converted'] ?? 0 }}
Lost
{{ $counts['lost'] ?? 0 }}
Total Leads
{{ $counts['total'] ?? 0 }}
Lead Management
| # | Lead Name | Contact / Address | Service / Detail | Status | Follow-up | Remarks | Jivocare POC | Actions |
|---|---|---|---|---|---|---|---|---|
| {{$i}} | {{$list_data->customer_name}} {{$list_data->email_id}}
Gender: {{$list_data->gender}}
Age: {{$list_data->age ?? 'N/A'}}
|
{{$list_data->contact_no}} {{$list_data->address}} |
{{-- Service Type Badge --}}
@php
$service = strtolower($list_data->service_type);
$serviceClass = match($service) {
'doctor consultation' => 'bg-light text-primary',
'lab tests' => 'bg-light text-success',
'corporate wellness' => 'bg-light text-info',
'general consultation' => 'bg-light text-dark',
default => 'bg-light text-muted'
};
@endphp
{{ $list_data->service_type }}
{{-- Detail Badge --}}
@if($list_data->service_detail_type === 'doctor' && $list_data->doctor_name)
๐จโโ๏ธ {{ $list_data->doctor_name }}
@elseif($list_data->service_detail_type === 'lab' && $list_data->test_package)
๐งช {{ $list_data->test_package }}
@elseif($list_data->service_detail_type === 'corporate' && $list_data->company_name)
๐ข {{ $list_data->company_name }}
@elseif($list_data->service_detail_type === 'none' && $list_data->company_name)
๐ท๏ธ {{ $list_data->company_name }}
@else
N/A
@endif
|
@php $status = strtolower($list_data->status); $statusClass = match($status) { 'new' => 'bg-primary', 'contacted' => 'bg-warning text-dark', 'interested' => 'bg-info', 'converted' => 'bg-success', 'lost' => 'bg-danger', default => 'bg-secondary' }; @endphp {{ ucfirst($list_data->status) }} | {{$list_data->follow_up_date ?? 'N/A'}} |
๐ฌ {{ $list_data->remarks ?? 'โ' }}
|
{{ $userName }}
|
{{ $lead_lists->links('pagination::bootstrap-5') }}