@extends('layouts.app', ['title' => $event->exists ? 'Edit event' : 'New event']) @section('content') @php($tz = old('timezone', $event->timezone)) @php($tickets = old('tickets', $event->exists ? $event->tickets->map->only(['id', 'name', 'price', 'quantity'])->all() : [['id' => null, 'name' => 'General admission', 'price' => 0, 'quantity' => null]]))
Events › {{ $event->exists ? $event->name : 'New event' }}
@csrf @if ($event->exists) @method('PUT') @endif
@php($current = old('theme', $event->theme))
YOU
ARE
INVITED
@foreach (\App\Models\Event::THEMES as $key => $t) @endforeach
@error('name')
{{ $message }}
@enderror
@error('ends_at')
{{ $message }}
@enderror
The times above are read in this time zone.
@foreach (\App\Models\Event::MODES as $k => $v) mode) === $k)> @endforeach
@error('venue')
{{ $message }}
@enderror
@error('online_url')
{{ $message }}
@enderror
The size of the room.
@error('sellable_capacity')
{{ $message }}
@enderror
The most seats your public page and tickets may sell.
Tickets
@foreach ($tickets as $i => $t)
{{ currency_symbol($currentAccount->currency) }}
@endforeach
Price 0 = free. Paid tickets are marked "payment pending" until online payments (Finance) are switched on; you can mark them paid by hand.
@if ($event->status === 'published') @else @endif
@endsection @push('scripts') @endpush