@php $withdrawalUrl = app()->getLocale() === 'de' ? url('/de/widerrufsbelehrung') : url('/en/withdrawal'); @endphp {{ $forRecipient ? __('emails.gift_voucher.recipient.subject', ['amount' => $amount, 'currency' => $currency]) : __('emails.gift_voucher.purchaser.subject', ['amount' => $amount, 'currency' => $currency]) }}

{{ $forRecipient ? __('emails.gift_voucher.recipient.greeting') : __('emails.gift_voucher.purchaser.greeting') }}

{!! $forRecipient ? __('emails.gift_voucher.recipient.body', [ 'amount' => $amount, 'currency' => $currency, 'purchaser' => $voucher->purchaser_email, ]) : __('emails.gift_voucher.purchaser.body', [ 'amount' => $amount, 'currency' => $currency, 'recipient' => $voucher->recipient_email ?: __('emails.gift_voucher.purchaser.recipient_fallback'), ]) !!}

@if ($voucher->message)
{{ __('emails.gift_voucher.message_title') }}

{{ $voucher->message }}

@endif

{{ __('emails.gift_voucher.code_label') }}

{{ $voucher->code }}

{{ __('emails.gift_voucher.redeem_hint') }}

@isset($printUrl)

{{ __('emails.gift_voucher.printable') }}

@endisset

{{ __('emails.gift_voucher.expiry', ['date' => optional($voucher->expires_at)->toFormattedDateString()]) }}

{!! __('emails.gift_voucher.withdrawal', ['url' => $withdrawalUrl]) !!}

{!! __('emails.gift_voucher.footer') !!}