{{-- Appointments' contribution to the settings screen. Rendered into the `settings.tab.online-booking` slot. Settings knows nothing about public booking — remove this module and the tab goes with it. The two snippets near the bottom are the point of the screen: an administrator copies one of them onto a website they own. Neither is editable, because both are derived from the application URL and from settings on this page, and a snippet somebody has hand-edited is a support call. --}}

{{ __('appointments::messages.online.settings_heading') }}

{{ __('appointments::messages.online.settings_intro') }}
@csrf @method('PUT')
enabled())>
{{-- ── Rules ──────────────────────────────────────────────────────── --}}

{{ __('appointments::messages.online.rules') }}

requireTerms())>

{{-- ── Appearance ─────────────────────────────────────────────────── --}}

{{ __('appointments::messages.online.appearance') }}


{{-- ── What the administrator copies ──────────────────────────────────── --}}

{{ __('appointments::messages.online.publish') }}

@if (! $booking->enabled())
{{ __('appointments::messages.online.publish_disabled') }}
@endif
{{ __('appointments::messages.online.page_url_help') }}
{{ __('appointments::messages.online.iframe_help') }}
{{ __('appointments::messages.online.script_help') }}
{{-- Which clinicians this actually publishes. Without it the screen says booking is on while the public page shows an empty list, and the reason — nobody has the per-clinician switch turned on — lives on a different screen entirely. --}}
@if ($publishedDoctors === 0) {{ __('appointments::messages.online.no_doctors') }} @else {{ trans_choice('appointments::messages.online.doctor_count', $publishedDoctors, ['count' => $publishedDoctors]) }} @endif