{{ __('Registrations') }}

{{ $event->title }}

{{-- New registrations notification --}} @if ($newCount > 0)
{{ $newCount }}

{{ trans_choice(':count new registration since your last visit.|:count new registrations since your last visit.', $newCount) }}

@endif {{-- Stats cards --}}
@foreach ([ ['label' => __('Total'), 'value' => $stats['total'], 'color' => 'gray'], ['label' => __('Confirmed'), 'value' => $stats['confirmed'], 'color' => 'blue'], ['label' => __('Paid'), 'value' => $stats['paid'], 'color' => 'green'], ['label' => __('Pending'), 'value' => $stats['pending'], 'color' => 'amber'], ['label' => __('Cancelled'), 'value' => $stats['cancelled'], 'color' => 'red'], ] as $s)

{{ $s['value'] }}

{{ $s['label'] }}

@endforeach
{{-- Revenue cards (only for paid events) --}} @if ($event->registration_price && (float) $event->registration_price > 0)

{{ __('Gross revenue') }}

€{{ number_format($grossRevenue, 2, ',', '.') }}

{{ $stats['paid'] }} × €{{ number_format(\App\Http\Controllers\EventRegistrationController::buyerAmount($event), 2, ',', '.') }}

{{ __('Service fee') }}

€{{ number_format($feeTotal, 2, ',', '.') }}

{{ $stats['paid'] }} × €{{ number_format($fee, 2, ',', '.') }} ({{ $event->service_fee_payer === 'buyer' ? __('paid by buyer') : __('deducted from payout') }})

{{ __('Your net payout') }}

€{{ number_format($netPayout, 2, ',', '.') }}

@if ($event->payout_iban)

{{ __('To') }}: {{ $event->payout_iban }}

@else

⚠ {{ __('No IBAN configured') }}

@endif
@endif {{-- Attendee table --}}

{{ __('Attendees') }}

{{ $registrations->count() }} {{ __('total') }}
@if ($registrations->isEmpty())

{{ __('No registrations yet.') }}

@else
@foreach ($registrations as $reg) @php $isNew = $event->registrations_last_viewed_at === null || (isset($reg->created_at) && $reg->created_at > $event->registrations_last_viewed_at); @endphp @endforeach
{{ __('Name') }} {{ __('Email') }} {{ __('Status') }} {{ __('Amount paid') }} {{ __('Coupon') }} {{ __('Date') }}
@if ($reg->user?->primaryPhoto) @else
{{ strtoupper(substr($reg->name ?? '?', 0, 1)) }}
@endif {{ $reg->name ?? $reg->user?->name ?? '—' }} @if ($isNew) @endif
{{ $reg->email ?? $reg->user?->email ?? '—' }} {{ __($reg->status) }} {{ $reg->amount_paid ? '€' . number_format((float) $reg->amount_paid, 2, ',', '.') : '—' }} {{ $reg->coupon?->code ?? '—' }} {{ $reg->created_at?->format('d/m/Y H:i') ?? '—' }}
@endif
{{-- Payout info --}} @if ($event->registration_price && (float) $event->registration_price > 0)

💳 {{ __('IBAN') }}: {{ $event->payout_iban ?: __('Not configured') }}

💶 {{ __('Service fee') }}: €{{ number_format($fee, 2, ',', '.') }} / {{ __('ticket') }} — {{ $event->service_fee_payer === 'buyer' ? __('paid by buyer') : __('deducted from your payout') }}

📄 {{ __('View financial terms') }}

@endif