소스 검색

Display CPT on notes

Samson Mutunga 1 년 전
부모
커밋
beda4fcf69
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      resources/views/app/patient/notes.blade.php

+ 10 - 2
resources/views/app/patient/notes.blade.php

@@ -305,7 +305,7 @@
             @endif
             <th class="border-0 text-secondary">HCP</th>
             @if($pro->pro_type == 'ADMIN')
-                <th class="border-0 text-secondary">NA</th>
+                <th class="border-0 text-secondary">CPT</th>
             @endif
             <th class="border-0 text-secondary">HCP Signed</th>
             <th class="border-0 text-secondary">ICDs</th>
@@ -361,7 +361,15 @@
                 </td>
                 @if($pro->pro_type == 'ADMIN')
                 <td>
-                    {{$note->allyPro ? $note->allyPro->displayName(): '-'}}
+                    {{-- CPT --}}
+                    <?php
+                        $noteClaims = $note->claims;
+                    ?>
+                    @foreach ($noteClaims as $noteClaim)
+                        @foreach($noteClaim->lines as $claimLine)
+                            <div>{{ $claimLine->cpt }}</div>
+                        @endforeach
+                    @endforeach
                 </td>
                 @endif
                 <td>