@extends('layouts.app') @section('title', 'Customers') @section('content')
{{ $customers->total() }} record(s) matching your filters
| Customer | Contact | Segment | Services | Balance | KYC | Status | Joined | |
|---|---|---|---|---|---|---|---|---|
|
{{ $customer->display_name }}
{{ $customer->customer_number }}
|
{{ $customer->phone }}
@if ($customer->email) {{ $customer->email }} @endif
|
{{ title_case_words($customer->segment) }} | {{ $customer->active_services_count }} | {{ $customer->account_balance > 0 ? money($customer->account_balance, $customer->currency) : '—' }} | {{ $customer->kyc_status }} | {{ $customer->status }} | {{ $customer->joined_at?->format('d M Y') ?: '—' }} | View Pay |
| @include('components.empty-state', ['icon' => '☺', 'title' => 'No customers found', 'message' => 'Adjust your filters or add your first customer.', 'action' => '+ New customer']) | ||||||||