@extends('admin.layouts.app')
@php
// Business time for display; storage is UTC.
$tz = \App\Support\Time\BookingsTimezone::business();
$startAt = $event->starts_at?->copy()->setTimezone($tz);
$endAt = $event->ends_at?->copy()->setTimezone($tz);
// The one gate the public flow uses, asked once here so the admin sees
// exactly what an investor would hit.
$closedReason = $event->publicUnavailableReason();
$isOnline = $event->event_type === \App\Models\Event::TYPE_ONLINE;
$canReview = $event->allowsAttendanceReview();
@endphp
@section('title', $event->title . ' — ' . __('admin.brand.name'))
@section('page_title', __('admin.events.show'))
@push('styles')
@endpush
@section('content')
{{ __('admin.events.public_link.hint') }}
@endunless{{ __('admin.events.attendance.open_roster') }}