{{-- Statistics Cards --}}
{{-- Pending Requests Card --}}

Pending Requests

{{ $stats['pending_count'] }}

${{ number_format($stats['pending_amount'], 2) }}

{{-- Processing Requests Card --}}

Processing

{{ $stats['processing_count'] }}

${{ number_format($stats['processing_amount'], 2) }}

{{-- Completed Requests Card --}}

Completed (This Month)

{{ $stats['completed_count'] }}

${{ number_format($stats['completed_amount'], 2) }} paid

{{-- Rejected Requests Card --}}

Rejected

{{ $stats['rejected_count'] }}

Failed or cancelled

{{-- Total Pending Amount Highlight --}}

Total Amount Awaiting Processing

${{ number_format($stats['total_pending_amount'], 2) }}

Pending + Processing withdrawals

{{-- Quick Actions --}}

Quick Actions

{{-- Withdrawal Lists in Tabs --}}
{{-- Tab Navigation --}}
{{-- Tab Content --}}
{{-- Pending Tab --}}
@if($pending_requests->isEmpty())

No pending requests

@else
@foreach($pending_requests as $withdrawal)
{{ $withdrawal->golfer->name }} Pending
${{ number_format($withdrawal->amount, 2) }} Requested {{ $withdrawal->created_at->diffForHumans() }} {{ ucfirst($withdrawal->payment_method) }}
Review
@endforeach
@endif
{{-- Processing Tab --}}
@if($processing_requests->isEmpty())

No processing requests

@else
@foreach($processing_requests as $withdrawal)
{{ $withdrawal->golfer->name }} Processing
${{ number_format($withdrawal->amount, 2) }} Processing since {{ $withdrawal->processed_at->diffForHumans() }} {{ ucfirst($withdrawal->payment_method) }}
Complete
@endforeach
@endif
{{-- Completed Tab --}}
@if($completed_requests->isEmpty())

No completed requests

@else
@foreach($completed_requests as $withdrawal)
{{ $withdrawal->golfer->name }} Completed
${{ number_format($withdrawal->net_amount, 2) }} Completed {{ $withdrawal->completed_at->diffForHumans() }} @if($withdrawal->transaction_reference) Ref: {{ $withdrawal->transaction_reference }} @endif
View
@endforeach
@endif
{{-- Rejected Tab --}}
@if($rejected_requests->isEmpty())

No rejected requests

@else
@foreach($rejected_requests as $withdrawal)
{{ $withdrawal->golfer->name }} {{ ucfirst($withdrawal->status) }}
${{ number_format($withdrawal->amount, 2) }} Updated {{ $withdrawal->updated_at->diffForHumans() }}
@if($withdrawal->notes)
{{ Str::limit($withdrawal->notes, 100) }}
@endif
View
@endforeach
@endif