|
@@ -174,6 +174,39 @@
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ {{-- go to patient's call page --}}
|
|
|
+ <div class="p-3 border small mt-3 bg-white">
|
|
|
+ <div class="mr-3 my-1">Online:
|
|
|
+ <span class="font-weight-bold">
|
|
|
+ <?= $patient->is_online ? '<span class="text-success">YES</span>' : '<span class="text-secondary">NO</span>' ?>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="mr-3 my-1">Video:
|
|
|
+ <span class="font-weight-bold">
|
|
|
+ <?= $patient->is_client_video_turned_on ? '<span class="text-success">ON</span>' : '<span class="text-secondary">OFF</span>' ?>
|
|
|
+ </span>
|
|
|
+ @if($patient->is_online && $patient->is_client_video_turned_on && count($patient->prosInMeetingWith()))
|
|
|
+ <div class="my-1 font-weight-bold">Currently talking to:</div>
|
|
|
+ @foreach($patient->prosInMeetingWith() as $inCallPro)
|
|
|
+ <div class="d-block my-1">
|
|
|
+ <i class="fa fa-chevron-right mr-1"></i>
|
|
|
+ <a href="/pros/view/{{ $inCallPro->uid }}/SUB_dashboard"
|
|
|
+ class="text-primary">
|
|
|
+ {{ $inCallPro->name_display }}
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ @endforeach
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <a href="#"
|
|
|
+ class="btn btn-sm btn-primary mt-2 font-weight-bold px-3"
|
|
|
+ onclick="return window.top.openInRHS('/pro/meet/{{ $patient->uid }}')">
|
|
|
+ <i class="fa fa-phone mr-1"></i>
|
|
|
+ Go to the client's meeting page
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="card-body">
|
|
|
<h1 class="h3">@yield('section-title')</h1>
|