|
@@ -36,12 +36,12 @@
|
|
|
<small class="ml-2 text-muted">(No insurance)</small>
|
|
|
@endif
|
|
|
</div>
|
|
|
-@if($coverage->plan_type === 'MEDICARE')
|
|
|
+@if($coverage && $coverage->plan_type === 'MEDICARE')
|
|
|
@if(@$patient->mpb_remaining !== null)
|
|
|
<small class="text-muted d-block ml-3">Deductible: {{format_number(@$patient->mpb_remaining)}} </small>
|
|
|
@endif
|
|
|
@endif
|
|
|
-@if($coverage->plan_type === 'COMMERCIAL')
|
|
|
+@if($coverage && $coverage->plan_type === 'COMMERCIAL')
|
|
|
@if(@$coverage->deductable_amount !== null)
|
|
|
<small class="text-muted d-block ml-3">Deductible: {{format_number(@$coverage->deductable_amount)}} </small>
|
|
|
@endif
|