Browse Source

Dashboard - popup - cancelled appts pending ack - also show pro name

Vijayakrishnan 3 years ago
parent
commit
769df9c88e

+ 9 - 4
resources/views/app/dna/dashboard/cancelled_appointments_pending_ack.blade.php

@@ -16,13 +16,18 @@ $cancelledApptsPendingAck = $performer->pro->cancelledAppointmentsPendingAckReco
                 @foreach($cancelledApptsPendingAck as $appointment)
                 <tr class="{{$appointment->bgColor}}">
                     <td>
-                        <a native target="_blank" href="/patients/view/{{$appointment->clientUid}}" class="font-weight-bold d-block">
-                            {{$appointment->client->name_first }} {{$appointment->client->name_last }}
-                        </a>
+                        <div class="d-flex align-items-baseline">
+                            <a native target="_blank" href="/patients/view/{{$appointment->clientUid}}" class="font-weight-bold d-block">
+                                {{$appointment->client->name_first }} {{$appointment->client->name_last }}
+                            </a>
+                            @if($appointment->pro)
+                                <span class="mx-2 text-secondary">•</span>
+                                <span class="text-secondary font-weight-normal">{{$appointment->pro->displayName()}}</span>
+                            @endif
+                        </div>
                         <div class="mt-1">
                             <a native target="_blank" href="/patients/view/{{$appointment->clientUid}}/calendar/{{$appointment->uid}}">
                                 {{ friendly_date_time($appointment->start_time) }} - {{ friendly_date_time($appointment->end_time) }}</a>
-                            <span class="text-secondary">{{ friendly_timezone($appointment->timezone) }}</span>
                         </div>
                         @if($appointment->title)
                         <span class="d-inline-block mt-1 text-secondary text-sm">