@php $totalValue = 0; $voucher_states = config('enum.voucher_consent_states'); @endphp
| # | Customer Name | Address | Voucher Status | Voucher Value |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $lead->user ? $lead->user->name : 'N/A' }} | {{ $lead->address ? $lead->address->short() : 'No Address' }} | {{ $voucher_states[$lead->voucher_consent ] ?? 'Unknown' }} | £{{ number_format($areaValue, 2) }} |
| No leads found in this category. | ||||
| Total: | {{ count($leads) }} Lead(s) | £{{ number_format($totalValue, 2) }} | ||