{{ config('app.name') }}

Withdrawal Payment Receipt

✓ Completed
Receipt Information
Receipt Number WD-{{ str_pad($withdrawal->id, 6, '0', STR_PAD_LEFT) }}
Issue Date @userDate($withdrawal->completed_at)
Transaction Reference {{ $withdrawal->transaction_reference ?? 'N/A' }}
Payment Method {{ ucwords(str_replace('_', ' ', $withdrawal->payment_method)) }}
Golfer Information
Name {{ $withdrawal->golfer->name }}
Email {{ $withdrawal->golfer->email }}
Golfer ID #{{ $withdrawal->golfer_id }}
Transaction Timeline
Requested @userDateTime($withdrawal->created_at)
Approved {{ $withdrawal->processed_at ? \App\Helpers\TimezoneHelper::formatForUser($withdrawal->processed_at) : 'N/A' }}
Completed @userDateTime($withdrawal->completed_at)
Processing Time {{ $withdrawal->created_at->diffInBusinessDays($withdrawal->completed_at) }} business days
Payment Details
Requested Amount ${{ number_format($withdrawal->amount, 2) }}
@if($withdrawal->platform_fee_deducted > 0)
Platform Fee -${{ number_format($withdrawal->platform_fee_deducted, 2) }}
@endif
Amount Paid ${{ number_format($withdrawal->net_amount, 2) }}
@php $bankDetails = is_string($withdrawal->bank_account_details) ? json_decode($withdrawal->bank_account_details, true) : $withdrawal->bank_account_details; @endphp @if($bankDetails && !empty($bankDetails['bank_name']))
Payment Destination
Bank Name {{ $bankDetails['bank_name'] ?? 'N/A' }}
Account Holder {{ $bankDetails['account_holder_name'] ?? 'N/A' }}
Account Number ****{{ $bankDetails['account_number_last4'] ?? 'N/A' }}
@if(!empty($bankDetails['routing_number_last4']))
Routing Number ****{{ $bankDetails['routing_number_last4'] }}
@endif
@endif
← Back to Withdrawal