Recurring Settings
@error('freq')
{{ $message }}
@enderror
@error('freq_term')
{{ $message }}
@enderror
@error('month_type')
{{ $message }}
@enderror
@error('series_end_date')
{{ $message }}
@enderror
{{-- Day-of-week row (shown only when period = week) --}}
@php
$dowNames = [0 => 'Sun', 1 => 'Mon', 2 => 'Tue', 3 => 'Wed', 4 => 'Thu', 5 => 'Fri', 6 => 'Sat'];
$oldDow = array_map('intval', old('days_of_week', []));
@endphp
@foreach($dowNames as $num => $label)
@endforeach
@error('days_of_week')
{{ $message }}
@enderror
{{-- ── Cover Image ──────────────────────────────────────────────────── --}}
Event Options
@php
$toggles = [
['name' => 'enable_attendance', 'id' => 'toggle_attendance', 'label' => 'Attendance Tracking', 'desc' => 'Enable QR check-in for this event', 'default' => true],
['name' => 'publish_to_web', 'id' => 'toggle_web', 'label' => 'Publish to Website', 'desc' => 'Show on the public website', 'default' => true],
['name' => 'enable_gallery', 'id' => 'toggle_gallery', 'label' => 'Enable Gallery', 'desc' => 'Allow photo uploads for this event', 'default' => true],
];
@endphp
@foreach($toggles as $t)
@php $checked = old($t['name'], $t['default']); @endphp
@endforeach
{{-- Attendance scope (shown when Attendance Tracking is on) --}}
@php
$oldScope = old('attendance_scope', 'all');
$oldGroup = old('attendance_group_id', '');
$attEnabled = old('enable_attendance', false);
@endphp
Who can be checked in?
@foreach(['all' => ['label' => 'All Members', 'icon' => 'fa-users'], 'group' => ['label' => 'A Group', 'icon' => 'fa-layer-group']] as $val => $opt)
@endforeach
{{-- ── Submit ───────────────────────────────────────────────────────── --}}