@extends('layouts.app', ['title' => $event->name]) @section('content') @php($cur = $currentAccount->currency)

{{ $event->name }} {{ ucfirst($event->status) }}

{{ $event->starts_at->timezone($event->timezone)->format('D, d M Y · h:i A') }} – {{ $event->ends_at->timezone($event->timezone)->format('h:i A') }} ({{ $event->timezone }}) · {{ \App\Models\Event::MODES[$event->mode] }}{{ $event->venue ? ' · '.$event->venue : '' }}

@if ($event->status === 'published') Public page@endif @can('contacts.manage') Attendees CSV Edit @endcan
Registered seats
{{ $taken }}{{ $event->capacity ? ' / '.$event->capacity : '' }}
Seats left online
{{ $event->seatsLeft() ?? '∞' }}
Checked in
{{ $checkedIn }}
Paid revenue
{{ money_format_short($revenue, $cur) }}
@if ($event->status === 'published')
Share
@endif
@if ($registrations->isEmpty())
No registrations yet.
@else
@foreach ($registrations as $r) @endforeach
CodeAttendeeTicketSeatsPaymentCheck-in
{{ $r->code }} @if ($r->contact){{ $r->name }}@else {{ $r->name }}@endif
{{ $r->email }} · {{ $r->phone }}
{{ $r->ticket?->name }} {{ $r->quantity }} @if ($r->payment_status === 'pending') Pending {{ money_format_short($r->amount, $cur) }} @can('contacts.manage')
@csrf
@endcan @else {{ ucfirst($r->payment_status) }} @endif
@can('contacts.manage')
@csrf
@endcan
{{ $registrations->links() }}
@endif
@can('contacts.manage')
@csrf @method('DELETE')
@endcan @endsection