{{ $emptyTitle }}
{{ $emptyMessage }}
@extends($layout ?? 'layouts.admin') @section('title', $pageTitle ?? 'Warm Handoff Call') @push('head') @endpush @section('content') @php $patientName = $session->patientProfile?->user?->name ?? 'Patient'; $pcpName = $session->initiatedBy?->name ?? 'PCP'; $bhcmName = $session->bhcm?->name ?? 'BHCM'; $isBhcm = auth()->user()->isBhcm(); $isPatient = auth()->user()->isPatient(); $backUrl = $backUrl ?? route('admin.bhm.index'); $tokenUrl = $tokenUrl ?? route('admin.warm-handoff.token', $session); $joinUrl = $joinUrl ?? route('admin.warm-handoff.join', $session); $declineUrl = $declineUrl ?? route('admin.warm-handoff.decline', $session); $endUrl = $endUrl ?? route('admin.warm-handoff.end', $session); $completionUrl = $completionUrl ?? ''; $joinButtonLabel = $joinButtonLabel ?? ($isBhcm || $isPatient ? 'Join call' : 'Start video'); $endButtonLabel = $endButtonLabel ?? 'End'; $emptyTitle = $emptyTitle ?? ($isBhcm || $isPatient ? 'Ready to join' : 'Waiting for BHCM'); $emptyMessage = $emptyMessage ?? ($isBhcm || $isPatient ? 'Join the secure room when you are ready.' : 'The assigned BHCM will appear here after joining.'); $showDecline = $showDecline ?? ($isBhcm && $session->status === 'pending'); $canEndOnLoad = $canEndOnLoad ?? false; @endphp
Secure warm handoff
{{ $pcpName }} to {{ $bhcmName }}
Video calling is not configured.
Missing: {{ implode(', ', $agoraMissingKeys) }}
{{ $emptyTitle }}
{{ $emptyMessage }}