@php use SimpleSoftwareIO\QrCode\Facades\QrCode; @endphp {{ __('Gift Voucher') }} - {{ $voucher->code }}
{{ __('Gift Voucher') }}

{{ config('app.name') }}

{{ __('Show or share this page, or scan the QR to redeem the voucher code at checkout.') }}

{{ __('Voucher code') }}

{{ $voucher->code }}

{{ __('Value') }}: {{ number_format((float) $voucher->amount, 2) }} {{ $voucher->currency }}
@if($voucher->expires_at) {{ __('Valid until') }}: {{ $voucher->expires_at->toFormattedDateString() }} @endif

{!! QrCode::size(180)->generate($voucher->code) !!}

{{ __('Scan to redeem code at checkout') }}

@if($voucher->recipient_name || $voucher->recipient_email)
{{ __('Recipient') }}:

{{ $voucher->recipient_name ?? '' }} {{ $voucher->recipient_email ? '('.$voucher->recipient_email.')' : '' }}

@endif @if($voucher->message)
{{ __('Message') }}

{{ $voucher->message }}

@endif