@php $statusLabels = ['new' => 'Yeni', 'contacted' => 'İletişime Geçildi', 'qualified' => 'Nitelikli', 'converted' => 'Dönüştürüldü', 'lost' => 'Kaybedildi']; @endphp Excel'e Aktar
Duruma Göre Dağılım
Toplam {{ $totalLeads }} lead
@php $statusMax = $byStatus->max() ?: 1; @endphp @foreach ($statuses as $status) @php $count = $byStatus[$status] ?? 0; @endphp
{{ $statusLabels[$status] ?? ucfirst($status) }}
{{ $count }}
@endforeach
Kullanıcıya Göre Lead Performansı
@forelse ($byOwner as $row) @empty @endforelse
KullanıcıToplam LeadDönüştürülenDönüşüm Oranı
{{ $row->owner }} {{ $row->total }} {{ $row->converted }} %{{ $row->total > 0 ? round(($row->converted / $row->total) * 100) : 0 }}
Henüz lead yok.