@php /** @var \Illuminate\Support\Carbon $from */ /** @var \Illuminate\Support\Carbon $to */ @endphp

{{ __('Customer Report') }}

{{ __('View') }}

{{ __('Top Members by Spend') }}

@forelse ($topCustomers as $row) @empty @endforelse
{{ __('Member') }} {{ __('Transactions') }} {{ __('Total Spent') }}
{{ $row['customer']->name }} {{ $row['transaction_count'] }} {{ number_format($row['total_spent'], 2) }}
{{ __('No member purchases in this period.') }}
@push('scripts') @vite('resources/js/reports.js') @endpush