Customers

{{ number_format($customers->total()) }} accounts · guest buyers appear on their orders
@if ($allTags->isNotEmpty())
@endif
NameEmailPhoneOrdersTotal spentLast orderStatus @forelse ($customers as $c) {{ $c->name }}@if ($c->tags->isNotEmpty())@foreach ($c->tags->take(4) as $t){{ $t->tag }}@endforeach@endif {{ $c->email }} {{ $c->phone ?? '—' }} {{ $c->paid_orders_count }} {{ money((int) $c->total_spent) }} {{ $c->last_order_at ? \Illuminate\Support\Carbon::parse($c->last_order_at)->format('j M Y') : '—' }} {{ $c->status->label() }} @empty No customers {{ $search ? 'match "'.$search.'"' : 'yet' }}. @endforelse
{{ $customers->links() }}