Müşteri Yönetimi

Müşterilerinizi yönetin ve analiz edin

{{ $totalCustomers }}
Toplam Müşteri

Toplam Müşteri

{{ $totalCustomers }}

{{ $activeCustomers }} aktif

Aktif Müşteri

{{ $activeCustomers }}

{{ $totalCustomers > 0 ? round(($activeCustomers / $totalCustomers) * 100, 1) : 0 }}% oran

Toplam Alacak

₺{{ number_format($totalReceivable, 0, ',', '.') }}

Tahsil edilecek

Toplam Borç

₺{{ number_format($totalPayable, 0, ',', '.') }}

Ödenecek

@if (session('status'))
{{ session('status') }}
@endif
@forelse ($customers as $customer) @empty @endforelse
Müşteri Tür İletişim Durum Hizmet Aylık Gelir Bakiye İşlemler
{{ $customer->name }}@if($customer->surname) {{ ' ' . $customer->surname }}@endif @if($customer->tax_number)

VKN: {{ $customer->tax_number }}

@endif
@php $rawType = (string) ($customer->customer_type ?? 'individual'); $norm = strtolower(trim($rawType)); if ($norm === 'kurumsal') { $norm = 'corporate'; } if ($norm === 'bireysel') { $norm = 'individual'; } $badge = $norm === 'corporate' ? ['label' => 'Kurumsal', 'bg' => 'bg-gradient-to-r from-indigo-100 to-purple-100 dark:from-indigo-900/30 dark:to-purple-900/30', 'text' => 'text-indigo-800 dark:text-indigo-300', 'border' => 'border border-indigo-200 dark:border-indigo-700'] : ['label' => 'Bireysel', 'bg' => 'bg-gradient-to-r from-gray-100 to-slate-100 dark:from-gray-700 dark:to-slate-700', 'text' => 'text-gray-800 dark:text-gray-300', 'border' => 'border border-gray-200 dark:border-gray-600']; @endphp {{ $badge['label'] }}
{{ $customer->email }}
{{ $customer->phone }}
{{ $customer->is_active ? 'Aktif' : 'Pasif' }}
{{ $customer->service_count }}
hizmet
₺{{ number_format($customer->monthly_revenue, 0, ',', '.') }}
aylık
{{ $customer->current_balance > 0 ? '₺'.number_format($customer->current_balance,0,',','.') : ($customer->current_balance < 0 ? '-₺'.number_format(abs($customer->current_balance),0,',','.') : '₺0') }}
@php $isDemo = auth()->check() && strcasecmp(auth()->user()->email, config('app.demo_email')) === 0; @endphp
@csrf @method('DELETE')

Henüz müşteri bulunmuyor

İlk müşterinizi ekleyerek başlayın

İlk Müşteriyi Ekle
@if($customers->hasPages())
{{ $customers->links() }}
@endif