@extends('emails.layout') @section('title', $isGift ? 'Gift Voucher Received' : 'Voucher Purchase Confirmation') @section('header-title', $isGift ? 'Gift Voucher Received' : 'Voucher Purchase Confirmation') @section('header-subtitle', $isGift ? 'A special gift awaits you' : 'Your voucher is ready to use') @section('content') {{-- Gift Message from Sender (for recipient) --}} @if($isGift && $giftMessage)
Personal Message from {{ $buyerName }}:
"{{ $giftMessage }}"
Dear {{ $recipientName }},
We are pleased to inform you that {{ $buyerName }} has purchased a gift voucher for you. This voucher can be applied to your next purchase with JurisLocator.
@elseDear {{ $buyerName }},
Thank you for your purchase. Your voucher has been successfully processed and is now active for use on our platform.
{{-- Gift Purchase Confirmation (for buyer) --}} @if($recipientName && $recipientEmail)Gift Purchase Confirmation
This voucher has been sent as a gift to:
{{ $recipientName }} ({{ $recipientEmail }})
@if($giftMessage)Your message: "{{ $giftMessage }}"
@endifNote: This is a unique one-time use code specific to your purchase
| Description: | {{ $voucherDescription }} |
| Redemption Code: | {{ $redemptionCode }} |
| Voucher Type: | {{ $voucherName }} |
| Discount Value: | @if($voucherType === 'percentage') {{ $voucherValue }}% off your purchase @else ${{ number_format($voucherValue, 2) }} off your purchase @endif |
| Minimum Purchase: | ${{ number_format($minPurchase, 2) }} |
| Valid Until: | {{ \Carbon\Carbon::parse($validUntil)->format('F j, Y') }} |
To use your voucher discount, please follow these steps:
To redeem your voucher, you will need to access your JurisLocator user portal:
| Existing Users: | Login to Your Account |
| New Users: | Create a New Account |
| User Portal: | {{ env('FRONTEND_URL', 'http://localhost:5174') }} |
Important Reminders:
If you have any questions about your voucher, encounter any issues during redemption, or require further assistance, our support team is here to help. Please contact us at {{ config('mail.from.address') }}
We appreciate your business and look forward to serving you.
@endsection @section('footer-greeting', 'Best regards from the JurisLocator Team')