@component('mail::message') # Payout Processed Successfully Hello {{ $payout->golferProfile->user->name }}, Great news! Your payout has been processed and funds are on their way to your bank account. @component('mail::panel') **Payout Details** **Amount**: ${{ number_format($payout->amount, 2) }} **Payout Method**: {{ ucfirst($payout->payout_method) }} **Transaction ID**: {{ $payout->stripe_payout_id }} **Processing Date**: {{ \App\Helpers\TimezoneHelper::formatDate($payout->processed_at, 'F j, Y', $payout->golferProfile->user->timezone) }} **Expected Arrival**: {{ $payout->processed_at->addBusinessDays(2)->format('F j, Y') }} @endcomponent ## What This Payout Includes @if(isset($bookings) && $bookings->count() > 0) This payout covers {{ $bookings->count() }} completed {{ Str::plural('session', $bookings->count()) }}: @component('mail::table') | Date | Client | Earnings | |:-----|:-------|--------:| @foreach($bookings as $booking) | {{ $booking->formatted_final_date }} | {{ $booking->bookingRequest->client->name }} | ${{ number_format($booking->golfer_payout, 2) }} | @endforeach | | **Total** | **${{ number_format($payout->amount, 2) }}** | @endcomponent @endif @component('mail::button', ['url' => route('golfer.payouts.show', $payout->id)]) View Payout Details @endcomponent ## Payout Breakdown @component('mail::panel') **Earnings Summary** - **Gross Earnings**: ${{ number_format($payout->amount / 0.9, 2) }} - **Platform Fee (10%)**: -${{ number_format($payout->amount / 0.9 * 0.1, 2) }} - **Net Payout**: ${{ number_format($payout->amount, 2) }} The funds will typically arrive in your account within 2-3 business days, depending on your bank. @endcomponent ## Bank Account Funds are being sent to: - **Account ending in**: {{ substr($payout->bank_account_last4 ?? '****', -4) }} @if(isset($payout->bank_account_last4)) If this is not the correct account, please update your payout settings. @component('mail::button', ['url' => route('golfer.settings.payout')]) Update Payout Settings @endcomponent @endif ## Keep Earning Continue accepting bookings to grow your income on The Fair Way Social! @component('mail::button', ['url' => route('golfer.dashboard')]) View Pending Requests @endcomponent ## Questions? If you have any questions about this payout or don't see the funds in your account after 3 business days, please contact our support team. @component('mail::panel') **Tax Information**: Please keep this email for your tax records. A detailed earnings statement for tax purposes will be available at year-end. @endcomponent Thank you for being part of the The Fair Way Social community! Thanks,
The {{ config('app.name') }} Team @component('mail::subcopy') Payout ID: {{ $payout->id }} | View all your payouts at {{ route('golfer.payouts.index') }} @endcomponent @endcomponent