{{ $event->title }}
@if($event->occurrences->count() > 0)
@php $first = $event->occurrences->first(); @endphp
@endif
@if($event->location)
@endif
@if($event->description)
{{ $first->start_datetime->format('d. F Y') }}
{{ $first->start_datetime->format('H:i') }}{{ $first->end_datetime ? ' – ' . $first->end_datetime->format('H:i') : '' }} Uhr
{{ $event->location->name }}, {{ $event->location->city }}
Beschreibung
{{ $event->description }}
@endif @if($event->occurrences->count() > 0)Alle Termine ({{ $event->occurrences->count() }})
@foreach($event->occurrences as $occ)
@php
$statusLabels = [
'scheduled' => 'Geplant',
'cancelled' => 'Abgesagt',
'postponed' => 'Verschoben',
'sold_out' => 'Ausverkauft',
'completed' => 'Abgeschlossen',
];
$statusLabel = $statusLabels[$occ->status] ?? ucfirst($occ->status);
@endphp
{{ $statusLabel }}
@endforeach
@endif
@if($event->contact_email || $event->contact_phone || $event->website_url)
{{ $occ->start_datetime->format('d. F Y') }}
{{ $occ->start_datetime->format('H:i') }}{{ $occ->end_datetime ? ' – ' . $occ->end_datetime->format('H:i') : '' }} Uhr
Kontakt & Links
@if($event->contact_email)
@endif
@if($event->contact_phone)
@endif
@if($event->website_url)
@endif
@endif