@php $c = $qrCode->content(); $evColor = $c['brand_color'] ?? '#4f46e5'; $evName = $c['name'] ?? $qrCode->label; $isContribution = ($c['mode'] ?? 'ticketing') === 'contributions'; $badgeUrl = 'https://api.qrserver.com/v1/create-qr-code/?size=220x220&data=' . urlencode($registration->badge_code); @endphp {{ $isContribution ? 'Thank you' : "You're registered" }} — {{ $evName }} @include('partials.favicon')

{{ $isContribution ? 'Thank you!' : "You're registered!" }}

{{ $evName }}

@if($isContribution)

Hi {{ $registration->attendee_name }}, your contribution has been received.

{{ $registration->tier_name }}

{{ $registration->currency }} {{ number_format($registration->amountCedis(), 2) }}

Reference

{{ $registration->badge_code }}

@if(($registration->badge_fields ?? []))
@foreach(($registration->badge_fields ?? []) as $label => $value)
{{ $label }}{{ $value }}
@endforeach
@endif

A receipt was sent to {{ $registration->attendee_email }}.

@else

Hi {{ $registration->attendee_name }}, your spot is confirmed.

Badge QR

Badge code

{{ $registration->badge_code }}

Ticket{{ $registration->tier_name }}
@if($registration->isPaid())
Paid{{ $registration->currency }} {{ number_format($registration->amountCedis(), 2) }}
@endif @foreach(($registration->badge_fields ?? []) as $label => $value)
{{ $label }}{{ $value }}
@endforeach

Show this badge code at check-in. A confirmation was sent to {{ $registration->attendee_email }}.

@endif