@foreach ($summary as $label => $value)
{{ $label }}
{{ $value }}
@endforeach
Cash Prizes {{ count($cashRows) }} Membership Prizes {{ count($membershipRows) }} Prize Events {{ count($events) }} Payout Account
Cash Prizes
@foreach ($cashRows as $row) @endforeach
Claim Date Paid Date Competition Title Amount Status Bank Details Payment Action
{{ $row['claimed'] }} {{ $row['paid_at'] }} {{ $row['title'] }} {{ $row['amount'] }} {{ $row['badge'][0] }} @if ($row['bank'])
@foreach ($row['bank'] as $key => $val)
{{ $key }}: {{ $val }}
@endforeach
@else No bank details available @endif
@if ($row['paid']) - @else
@endif
Membership Prizes
@foreach ($membershipRows as $prize) @endforeach
Giveaway Months Status Activated Expiry Date Claim Window
{{ $prize['title'] }} {{ $prize['months'] }} {{ $prize['badge'][0] }} {{ $prize['activated'] }} {{ $prize['expires'] }} {{ $prize['claim_window'] }}
@include('admin.users.tabs.table', ['heading' => 'Prize Events', 'headers' => ['Prize', 'Event', 'By', 'At'], 'rows' => $events, 'empty' => 'No prize events.'])
Payout Account
@foreach ([ 'Account Name' => $user->payoutAccount?->account_name ?? 'Not set', 'Bank Name' => $user->payoutAccount?->bank_name ?? 'Not set', 'BSB' => $user->payoutAccount?->bsb ?? '—', 'Account Number' => $user->payoutAccount ? '•••• ' . $user->payoutAccount->account_last4 : 'Not on file', 'Updated' => $user->payoutAccount?->updated_at?->format('d M Y, h:i A') ?? 'Never', ] as $label => $value)
{{ $label }}
{{ $value }}
@endforeach