@php $receiverTypes = config('app.calendar_receiver_types'); $targetTypes = config('app.calendar_target_types'); $allActions = ['create', 'reschedule', 'cancel']; $savedActions = old('allowed_actions', $calendar->allowed_actions ?? null); // null means all allowed — treat as all checked $checkedActions = $savedActions ?? $allActions; @endphp @if ($errors->any())
@endif {{-- Name & Status --}}
{{-- Allowed Actions --}}

Allowed Actions

Controls which actions this calendar will forward to the target. Uncheck to silently skip that action type.

@foreach($allActions as $action) @endforeach
{{-- Timezone --}}

Examples: America/Edmonton, America/Regina, America/Vancouver, America/Toronto

{{-- Treatment Name (Cal.com → ClinicSyncPro only) --}}

Must match Jane exactly — case-sensitive. Format: Treatment Name (Practitioner Name) (Duration)

{{-- Receiver --}}

Receiver — who is sending to us

@if(isset($calendar) && $calendar->exists)
{{ $calendar->webhookUrl() }}
@else

Generated after saving.

@endif
{{-- Target --}}

Target — where we forward to