@if($company['logo'])Logo@endif
{{ $company['name'] }}
{{ $company['address'] }}
{{ $company['phone'] }} @if($company['email']) | {{ $company['email'] }} @endif
INVOICE
Invoice #: {{ $invoiceNumber }}
Registration #: {{ $registration->id }}
Invoice Date: {{ optional($registration->registered_at)->format('M d, Y h:i A') }}

Registration Information

Event: {{ $registration->event_name_snapshot }}
Testing Date: {{ optional($registration->event?->event_date)->format('M d, Y') ?: '-' }}
Testing Rank: {{ $registration->rank_title_snapshot }}
Current Rank: {{ $contact?->currentRank?->title ?? '-' }}
Attempt: {{ $registration->attempt_number }}

Participant Information

Name: {{ trim(($contact?->first_name ?? '').' '.($contact?->last_name ?? '')) ?: 'Student' }}
Email: {{ $contact?->email ?: '-' }}
Phone: {{ $contact?->phone1 ?: '-' }}
Location: {{ $company['address'] ?: '-' }}
DescriptionPayment StatusPayment MethodTransaction IDAmount
{{ $registration->event_name_snapshot }} — {{ $registration->rank_title_snapshot }} {{ ucwords(str_replace('_', ' ', $registration->payment_status)) }} @if($transaction) {{ $transaction->paymentMethod?->card_type ?: ucwords(str_replace('_', ' ', $transaction->payment_type ?: $transaction->transaction_type)) }} @if($transaction->paymentMethod?->last_four) ending {{ $transaction->paymentMethod->last_four }} @endif @else No payment required @endif {{ $transaction?->transaction_id ?? '-' }} {{ format_currency($registration->fee_amount) }}
Subtotal{{ format_currency($registration->fee_amount) }}
No-payment adjustment{{ format_currency(!$registration->payment_required ? $registration->fee_amount : 0) }}
Tax{{ format_currency(0) }}
Total{{ format_currency($registration->payment_required && (float) $registration->fee_amount > 0 ? $registration->fee_amount : 0) }}
Amount Paid{{ format_currency($transaction?->amount ?? 0) }}
Balance Due{{ format_currency(0) }}