Quellcode durchsuchen

Appt. req conf. history UI update

Vijayakrishnan vor 3 Jahren
Ursprung
Commit
3a1873c135

+ 3 - 2
public/css/style.css

@@ -1519,6 +1519,7 @@ button.note-templates-trigger-assessment {
     pointer-events: none;
     transition: opacity 0.3s ease;
     z-index: 2;
+    top: 0;
 }
 .appointment-confirmation-history-trigger:hover .appointment-confirmation-history {
     opacity: 1;
@@ -1529,11 +1530,11 @@ button.note-templates-trigger-assessment {
     overflow: hidden;
     text-overflow: ellipsis;
 }
-/*.on-hover-text-reveal:hover {
+.on-hover-text-reveal:hover {
     white-space: normal;
     overflow: unset;
     text-overflow: unset;
-}*/
+}
 .collapsible-tbody.collapsed {
     display: none;
 }

+ 8 - 1
resources/views/app/patient/partials/appointment-confirmation-history.blade.php

@@ -7,7 +7,14 @@ $cDecisions = $appointment->confirmationDecisions;
     <p class="my-2"><b>Requests</b></p>
     @foreach($cRequests as $cRequest)
         <div class="bg-light p-1 my-1 border border">
-            <div class="text-nowrap">{{ friendly_date_time($cRequest->created_at) }} to <b>{{ $cRequest->to_sms_number }}</b> (SMS)</div>
+            <div class="text-nowrap">{{ friendly_date_time($cRequest->created_at) }} to:
+                @if($cRequest->to_sms_number)
+                    <div class="text-sm"><i class="fa fa-sms text-secondary"></i> {{ $cRequest->to_sms_number }}</div>
+                @endif
+                @if($cRequest->to_email_address)
+                    <div class="text-sm"><i class="fa fa-envelope text-secondary"></i> {{ $cRequest->to_email_address }}</div>
+                @endif
+            </div>
             <div class="text-secondary text-sm on-hover-text-reveal">{{ $cRequest->message }}</div>
         </div>
     @endforeach