@php $d = $insight; $who = $panel === 'seller' ? 'bought from you' : 'ordered'; $maxState = max(1, (float) $d['states']->max('sales')); @endphp
| Customer | City | Orders | Spend |
|---|---|---|---|
| {{ $c->name }}@if ($c->is_new) new@endif
@if ($panel === 'admin') {{ $c->email }} @endif |
{{ $c->city }} | {{ $c->orders }} | {{ inr($c->spend) }} |
No orders yet.
@endforelseCounts customers with at least one item not cancelled. "New" means their first order {{ $panel === 'seller' ? 'with your store' : 'on the marketplace' }} was in this period.