Эх сурвалжийг харах

RPM manager - if admin - show Pro in cm popup > other entries

Vijayakrishnan 2 жил өмнө
parent
commit
9e27c525d9

+ 8 - 0
resources/views/app/patient/care-month/_matrix-v2.blade.php

@@ -105,6 +105,9 @@ foreach ($days as $k => $day) {
             <thead>
             <tr>
                 <th class="px-2 text-secondary border-bottom-0 width-100px">Date</th>
+                @if($pro->pro_type === 'ADMIN')
+                    <th class="px-2 text-secondary border-bottom-0">Pro</th>
+                @endif
                 <th class="px-2 text-secondary border-bottom-0 w-100">Comments</th>
             </tr>
             </thead>
@@ -115,6 +118,11 @@ foreach ($days as $k => $day) {
                         <td class="px-2">
                             <div class="font-weight-bold">{{friendly_date_time($entry->effective_date, false)}}</div>
                         </td>
+                        @if($pro->pro_type === 'ADMIN')
+                            <td class="px-2 text-nowrap">
+                                {{$entry->pro->displayName()}}
+                            </td>
+                        @endif
                         <td class="px-2">
                             <div class="text-secondary in-table-markup">{!! $entry->content_text !!}</div>
                         </td>