소스 검색

added plan type

= 3 년 전
부모
커밋
8b6dad4201
2개의 변경된 파일26개의 추가작업 그리고 14개의 파일을 삭제
  1. 14 14
      resources/views/app/patient/coverage_column_renderer.blade.php
  2. 12 0
      resources/views/app/practice-management/billing-report.blade.php

+ 14 - 14
resources/views/app/patient/coverage_column_renderer.blade.php

@@ -1,16 +1,16 @@
 <div class="d-flex align-items-center">
-<?php $coverageStatus = $patient->getPrimaryCoverageStatus(); ?>
-@if($coverageStatus === 'YES')
-<i class="fa fa-check-circle text-success"></i>
-@elseif($coverageStatus === 'NO')
-<i class="fa fa-times text-danger"></i>
-@else
-    <i class="fa fa-exclamation-triangle text-warning-mellow"></i>
-@endif
-<?php $coverage = $patient->getPrimaryCoverage(); ?>
-@if($coverage)
-    <span class="ml-2">{{$coverage->insuranceDisplayName()}}</span>
-@else
-<small class="ml-2 text-muted">(No insurance)</small>
-@endif
+    <?php $coverageStatus = $patient->getPrimaryCoverageStatus(); ?>
+    @if($coverageStatus === 'YES')
+        <i class="fa fa-check-circle text-success"></i>
+    @elseif($coverageStatus === 'NO')
+        <i class="fa fa-times text-danger"></i>
+    @else
+        <i class="fa fa-exclamation-triangle text-warning-mellow"></i>
+    @endif
+    <?php $coverage = $patient->getPrimaryCoverage(); ?>
+    @if($coverage)
+        <span class="ml-2">{{$coverage->insuranceDisplayName()}}</span>
+    @else
+    <small class="ml-2 text-muted">(No insurance)</small>
+    @endif
 </div>

+ 12 - 0
resources/views/app/practice-management/billing-report.blade.php

@@ -44,6 +44,18 @@
                             <a href="/patients/view/{{$row->client_uid}}">
                                 {{$row->clientDisplayName()}}
                             </a>
+                            @if($row->client->latestClientPrimaryCoverage )
+                                <div>Plan Type: {{$row->client->latestClientPrimaryCoverage->plan_type}}</div>
+                                @if($row->client->latestClientPrimaryCoverage->auto_medicare_is_partbprimary)
+                                    <div>
+                                        Deductible: {{$row->client->latestClientPrimaryCoverage->auto_medicare_mpb_deductible}}
+                                    </div>
+                                @else 
+                                    <div>
+                                        Not part b primary
+                                    </div>
+                                @endif
+                            @endif
                         </td>
                         <td class="text-nowrap border-left-0">
                             <a href="/patients/view/{{$row->client_uid}}/notes/view/{{$row->note_uid}}">