| {{ $loop->iteration }} |
{{ $customer->name }} |
{{ $customer->phone }} |
{{ $customer->email }} |
@if ($customer->type == 'Retailer')
{{ __('Customer') }} |
@else
{{ $customer->type }} |
@endif
{{ $customer->sales?->count() }} |
{{ currency_format($customer->sales?->sum('totalAmount'), currency: business_currency()) }} |
@endforeach