@php
$eventTypes = [
'fun_activity' => __('Fun activity'),
'online_meeting' => __('Online meeting'),
'peer_support' => __('Peer support'),
'lecture' => __('Lecture / Talk'),
'workshop' => __('Workshop'),
'walk' => __('Walk / Hike'),
'game_night' => __('Game night'),
'creative' => __('Creative / Arts'),
'food_drinks' => __('Food & drinks'),
'sport' => __('Sport & movement'),
'meet_greet' => __('Meet & greet'),
];
@endphp
{{ __('— select type —') }}
@foreach ($eventTypes as $value => $label)
event_type) === $value ? 'selected' : '' }}>{{ $label }}
@endforeach
{{ __('— select —') }}
event_modality) === 'in_person' ? 'selected' : '' }}>{{ __('In person') }}
event_modality) === 'online' ? 'selected' : '' }}>{{ __('Online') }}
event_modality) === 'hybrid' ? 'selected' : '' }}>{{ __('Hybrid') }}
{{-- Description (RTF) --}}
@php
$descVal = old('description', $event->description ?? '');
if ($descVal && !str_contains($descVal, '<')) $descVal = nl2br(e($descVal));
@endphp
registration_required) ? 'checked' : '' }}
class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
{{ __('Registration required') }}
@php
$platformFee = config('services.ticketing.service_fee', 1.50);
$canTicket = Auth::user()->is_pro || $event->registration_price;
@endphp
@if($canTicket)
@else
🔒 {{ __('Free events only — upgrade to PRO for paid ticketing') }}
@endif
{{-- Service fee + IBAN: PRO only (or existing paid event) --}}
@if($canTicket)
{{ __('Platform default: €:fee', ['fee' => number_format($platformFee, 2, ',', '.')]) }}
{{-- IBAN --}}
{{ __('Ticket revenue is transferred to this account after the event.') }}
@endif
{{-- Coupon label: Pro organisers only --}}
@if(Auth::user()->is_pro && $labels->isNotEmpty())
{{ __('— none —') }}
@foreach($labels as $label)
coupon_label_id) == $label->id ? 'selected' : '' }}>
{{ $label->name }}
@endforeach
{{ __('Link this event to a coupon category so label-scoped discount codes apply.') }}
@endif
{{-- Financial terms: PRO only (or existing paid event) --}}
@if($canTicket)
@if ($event->financial_terms_accepted_at)
✓ {{ __('Financial terms accepted on :date', ['date' => $event->financial_terms_accepted_at->format('d/m/Y')]) }}
— {{ __('View') }}
@else
@endif
@endif {{-- canTicket --}}
{{-- Branding / achtergrond --}}
{{-- Sensorisch profiel --}}
🧠 {{ __('ND profile') }}
{{-- ND-friendly badge --}}
{{-- Sensory options --}}
@php
$sensoryOptions = [
'sensory_noise' => ['label'=>__('Noise level'),'icon'=>'🔊','options'=>['quiet'=>__('Quiet'),'moderate'=>__('Moderate'),'loud'=>__('Loud')]],
'sensory_lighting' => ['label'=>__('Lighting'),'icon'=>'💡','options'=>['dim'=>__('Dim'),'normal'=>__('Normal'),'bright'=>__('Bright')]],
'sensory_crowd' => ['label'=>__('Expected crowd'),'icon'=>'👥','options'=>['small'=>__('Small (< 20)'),'medium'=>__('Medium (20–100)'),'large'=>__('Large (> 100)')]],
'communication_style' => ['label'=>__('Communication style'),'icon'=>'💬','options'=>['verbal'=>__('Verbal'),'written'=>__('Written'),'mixed'=>__('Mixed'),'open'=>__('Open / flexible')]],
'social_pressure' => ['label'=>__('Social pressure'),'icon'=>'🤝','options'=>['low'=>__('Low — come & go freely'),'medium'=>__('Medium'),'high'=>__('High — active participation')]],
];
@endphp
@foreach ($sensoryOptions as $field => $cfg)
@endforeach
quiet_space) ? 'checked' : '' }}
class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
🔕 {{ __('Quiet space available') }}
{{-- Private toggle --}}