|
@@ -36,13 +36,15 @@
|
|
|
<small class="ml-2 text-muted">(No insurance)</small>
|
|
|
@endif
|
|
|
</div>
|
|
|
-@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>
|
|
|
+@if($coverage)
|
|
|
+ @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
|
|
|
-@endif
|
|
|
-@if($coverage->plan_type === 'COMMERCIAL')
|
|
|
- @if(@$coverage->deductible_amount !== null)
|
|
|
- <small class="text-muted d-block ml-3">Deductible: {{format_number(@$coverage->deductible_amount)}} </small>
|
|
|
+ @if($coverage->plan_type === 'COMMERCIAL')
|
|
|
+ @if(@$coverage->deductible_amount !== null)
|
|
|
+ <small class="text-muted d-block ml-3">Deductible: {{format_number(@$coverage->deductible_amount)}} </small>
|
|
|
+ @endif
|
|
|
@endif
|
|
|
@endif
|