{{--
Refund Processed Email - Atomic Design System v2.0
Sent when a refund is successfully processed
Note: $colors automatically injected via View Composer
--}}
@component('emails.layouts.base', [
'title' => 'Refund Processed',
'previewText' => 'Your refund has been initiated',
'colors' => $colors
])
@component('emails.atoms.h1', ['colors' => $colors])
Refund Processed
@endcomponent
@component('emails.atoms.text', ['colors' => $colors])
Your refund has been initiated
@endcomponent
@component('emails.organisms.alert-box', [
'variant' => 'success',
'title' => 'Your ' . $refundType . ' refund has been successfully processed',
'colors' => $colors
])
The refund amount will be credited back to your original payment method within {{ $estimatedArrivalDays }} business days.
@endcomponent
@include('emails.atoms.spacer', ['height' => '24px'])
{{-- Refund Amount Highlight --}}
@component('emails.organisms.section', ['background' => 'success', 'colors' => $colors])
|
Refund Amount
{{ $currency }} {{ number_format($refundAmount, 2) }}
Processed on {{ $processedAt->format('F j, Y') }}
|
@endcomponent
@include('emails.atoms.spacer', ['height' => '20px'])
@component('emails.atoms.h3', ['colors' => $colors])
Refund Details
@endcomponent
@component('emails.organisms.card', ['colors' => $colors])
@component('emails.molecules.info-row', [
'label' => 'Refund Type',
'value' => ucfirst($refundType) . ' Refund',
'colors' => $colors
])
@endcomponent
@component('emails.molecules.info-row', [
'label' => 'Refund Amount',
'value' => $currency . ' ' . number_format($refundAmount, 2),
'colors' => $colors
])
@endcomponent
@component('emails.molecules.info-row', [
'label' => 'Original Order Total',
'value' => $currency . ' ' . number_format($originalOrderTotal, 2),
'colors' => $colors
])
@endcomponent
@component('emails.molecules.info-row', [
'label' => 'Payment Method',
'value' => ucfirst($originalPaymentMethod),
'colors' => $colors
])
@endcomponent
@component('emails.molecules.info-row', [
'label' => 'Refund Reference',
'value' => $refundReference,
'colors' => $colors
])
@endcomponent
@component('emails.molecules.info-row', [
'label' => 'Processed Date',
'value' => $processedAt->format('F j, Y \a\t g:i A'),
'colors' => $colors
])
@endcomponent
@component('emails.molecules.info-row', [
'label' => 'Expected Arrival',
'value' => $estimatedArrivalDays . ' business days',
'colors' => $colors,
'removeBorder' => true
])
@endcomponent
@endcomponent
@include('emails.atoms.spacer', ['height' => '20px'])
@component('emails.atoms.h3', ['colors' => $colors])
Order Information
@endcomponent
@component('emails.organisms.card', ['colors' => $colors])
@component('emails.molecules.info-row', [
'label' => 'Order Number',
'value' => $orderNumber,
'colors' => $colors
])
@endcomponent
@component('emails.molecules.info-row', [
'label' => 'Ticket Number',
'value' => $ticketNumber,
'colors' => $colors
])
@endcomponent
@component('emails.molecules.info-row', [
'label' => 'Customer Name',
'value' => $order->customer_name,
'colors' => $colors
])
@endcomponent
@if($order->EventDetail)
@component('emails.molecules.info-row', [
'label' => 'Event',
'value' => $order->EventDetail->name,
'colors' => $colors,
'removeBorder' => true
])
@endcomponent
@endif
@endcomponent
@if($refundReason)
@include('emails.atoms.spacer', ['height' => '20px'])
@component('emails.organisms.alert-box', [
'variant' => 'warning',
'title' => 'Refund Reason',
'colors' => $colors
])
{{ $refundReason }}
@endcomponent
@endif
@include('emails.atoms.spacer', ['height' => '20px'])
@component('emails.organisms.alert-box', [
'variant' => 'info',
'title' => 'What Happens Next?',
'colors' => $colors
])
|
|
Processing Time: The refund will appear on your statement within {{ $estimatedArrivalDays }} business days
|
|
|
|
Bank Processing: The exact timeline depends on your bank or card provider
|
|
@if($refundType === 'partial')
|
|
Partial Refund: This was a partial refund - the remaining balance of your order is still valid
|
|
@else
|
|
Full Refund: Your order has been fully refunded{{ $orderCancelled ? ' and cancelled' : '' }}
|
|
@endif
|
|
Confirmation: You may receive a separate confirmation from your payment provider
|
|
@if($transactionId)
|
|
Reference: Use transaction ID {{ $transactionId }} when contacting support
|
|
@endif
@endcomponent
@if($orderCancelled)
@include('emails.atoms.spacer', ['height' => '20px'])
@component('emails.organisms.alert-box', [
'variant' => 'error',
'title' => 'Order Cancellation Details',
'colors' => $colors
])
As part of this refund, your order has been cancelled:
|
|
All tickets associated with this order have been revoked
|
|
|
|
Tickets are no longer valid for entry
|
|
@if($seatsReleased > 0)
|
|
{{ $seatsReleased }} {{ $seatsReleased === 1 ? 'seat has' : 'seats have' }} been released back to inventory
|
|
@endif
|
|
You will not be able to use these tickets at the event
|
|
@endcomponent
@endif
@include('emails.atoms.spacer', ['height' => '20px'])
|
@component('emails.molecules.button', [
'href' => $frontendUrl,
'variant' => 'primary',
'size' => 'large',
'colors' => $colors
])
Browse Other Events
@endcomponent
|
@if($transactionId || $refundReference !== 'Processing')
@include('emails.atoms.spacer', ['height' => '20px'])
@component('emails.atoms.h3', ['colors' => $colors])
Reference Information
@endcomponent
@component('emails.organisms.card', ['colors' => $colors])
@if($transactionId)
Original Transaction ID: {{ $transactionId }}
@endif
Refund Reference: {{ $refundReference }}
Refund Method: {{ ucfirst($refundMethod) }}
Processed: {{ $processedAt->toIso8601String() }}
@endcomponent
@endif
@component('emails.atoms.small', ['colors' => $colors])
Important: Please keep this email for your records. If you have any questions about this refund or if you don't see the credit within the estimated timeframe, please contact our support team with your refund reference number.
@endcomponent
@endcomponent