@component('mail::message') # Booking Cancellation Confirmed Hello {{ $cancellation->booking->bookingRequest->client->name }}, Your booking has been successfully cancelled as requested. @component('mail::panel') **Cancelled Booking** **Golfer**: {{ $cancellation->booking->golferProfile->user->name }} **Original Date**: {{ $cancellation->booking->formatted_final_date }} **Original Time**: {{ $cancellation->booking->formatted_final_time }} **Cancelled By**: {{ $cancellation->cancelledBy->name }} **Cancellation Date**: {{ \App\Helpers\TimezoneHelper::formatForUser($cancellation->cancelled_at, 'F j, Y \a\t g:i A', $cancellation->booking->bookingRequest->client->timezone) }} @endcomponent @if($cancellation->reason) ## Cancellation Reason {{ $cancellation->reason }} @endif ## Refund Information @if($cancellation->refund_amount > 0) @component('mail::panel') **Refund Details** **Original Payment**: ${{ number_format($cancellation->booking->price, 2) }} **Refund Amount**: ${{ number_format($cancellation->refund_amount, 2) }} **Refund Percentage**: {{ $cancellation->refund_percentage }}% **Cancellation Fee**: ${{ number_format($cancellation->booking->price - $cancellation->refund_amount, 2) }} @endcomponent Your refund of **${{ number_format($cancellation->refund_amount, 2) }}** will be processed to your original payment method within 5-10 business days. @if($cancellation->refund_percentage < 100) @component('mail::panel') **Why was I charged a fee?** According to our cancellation policy: - Cancellations more than 24 hours before: 100% refund - Cancellations less than 24 hours before: 50% refund - No-shows or very late cancellations: No refund Your cancellation was made {{ $cancellation->hours_before_session }} hours before the scheduled session. @endcomponent @endif @else @component('mail::panel') **No Refund Available** Based on the timing of your cancellation and our cancellation policy, no refund is available for this booking. @endcomponent @endif ## What's Next? We're sorry this session didn't work out. Here are your options: ### Book Another Session @component('mail::button', ['url' => route('golfers.index')]) Browse Golfers @endcomponent ### Rebook with the Same Golfer @component('mail::button', ['url' => route('golfers.show', $cancellation->booking->golferProfile->id)]) View {{ $cancellation->booking->golferProfile->user->name }}'s Profile @endcomponent @if($cancellation->refund_amount > 0) ## Track Your Refund You can track the status of your refund in your account: @component('mail::button', ['url' => route('client.bookings.index')]) View My Bookings @endcomponent @endif @component('mail::panel') **Need Help?** If you have questions about this cancellation or the refund amount, please contact our support team at {{ config('mail.from.address') }} @endcomponent We hope to see you book another session soon! Thanks,
The {{ config('app.name') }} Team @component('mail::subcopy') Cancellation ID: {{ $cancellation->id }} | Booking ID: {{ $cancellation->booking->id }} @endcomponent @endcomponent