Müşteri Analiz Raporu

Rapor Tarihi: {{ now()->format('d.m.Y H:i') }}

Rapor Dönemi: {{ $period }} Ay

Dönem: {{ $startDate->format('d.m.Y') }} - {{ $endDate->format('d.m.Y') }}

Toplam Müşteri

{{ $stats['total_customers'] }}

Aktif Müşteri

{{ $stats['active_customers'] }}

Pasif Müşteri

{{ $stats['inactive_customers'] }}

Bu Ay Yeni

{{ $stats['this_month_customers'] }}
📈 Aylık Müşteri Verileri
@foreach($monthlyData as $index => $row) @php $previousTotal = $index > 0 ? $monthlyData[$index - 1]['total_customers'] : 0; $growthRate = $previousTotal > 0 ? (($row['new_customers'] / $previousTotal) * 100) : 0; @endphp @endforeach
Ay Yeni Müşteri Toplam Müşteri Büyüme Oranı (%)
{{ $row['month_name'] }} {{ $row['new_customers'] }} {{ $row['total_customers'] }} {{ number_format($growthRate, 1, ',', '.') }}%
@if($customerTypes->count() > 0)
👥 Müşteri Türleri Dağılımı
@foreach($customerTypes as $type) @php $percentage = $stats['total_customers'] > 0 ? ($type->count / $stats['total_customers']) * 100 : 0; @endphp @endforeach
Müşteri Türü Sayı Oran (%)
{{ $type->customer_type ?? 'Belirtilmemiş' }} {{ $type->count }} {{ number_format($percentage, 1, ',', '.') }}%
@endif