Leads

@foreach($statusStats as $stat) @if($stat['name'] === 'Customer' && !($hasCustomerModule ?? false)) @continue @endif @php $statusClass = 'stat-' . strtolower(str_replace([' ', '_'], '', $stat['name'])); $isLost = isset($stat['is_lost']) && $stat['is_lost']; $isJunk = isset($stat['is_junk']) && $stat['is_junk']; $statusId = $stat['id'] ?? null; @endphp
@if($stat['name'] === 'Followup') @elseif($stat['name'] === 'Lead') @elseif($stat['name'] === 'Customer') @elseif($isLost) @elseif($isJunk) @else @endif
{{ $stat['count'] }}
{{ strtoupper($stat['name']) }}
@if($isLost && isset($stat['percentage']))
{{ $stat['percentage'] }}% of total
@endif
@endforeach
@if(auth()->guard('admin')->user()->can('leadmanagement.leads.create')) New Lead @endif Filtered
Source
@if($canViewAll)
Assigned To
@endif
From Date
To Date
@include('components.datatable')