소스 검색

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

Vijayakrishnan 2 년 전
부모
커밋
9e27c525d9
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      resources/views/app/patient/care-month/_matrix-v2.blade.php

+ 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>