Browse Source

Display CPT on notes

Samson Mutunga 1 year ago
parent
commit
beda4fcf69
1 changed files with 10 additions and 2 deletions
  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>