@php $ns = $clinic->notification_settings ?? []; $checked = fn (string $key, bool $default = false) => old($key, $ns[$key] ?? config("communications.clinic_defaults.{$key}", $default)) ? 'checked' : ''; @endphp

Notificações aos pacientes

E-mail e WhatsApp automáticos enviados aos pacientes (não à equipe).

@csrf @method('PUT')

E-mail

WhatsApp

Com API configurada envia automaticamente; sem API gera link wa.me no histórico.