Total Customer
{{ $customers->count() }}
Customer Aktif
{{ $customers->where('is_active', true)->count() }}
Total Piutang
Rp {{ number_format($customers->sum(function($c) { try { return $c->current_piutang; } catch (\Exception $e) { return 0; } }), 0, ',', '.') }}
Over Limit
{{ $customers->filter(function($c) { try { return $c->isOverLimit(); } catch (\Exception $e) { return false; } })->count() }}