|
@@ -436,14 +436,21 @@ $addressParts .= implode(", ", $addressPart2);
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- @if($hasCoverageColumn)
|
|
|
+ <?php $cards = $patient->insuranceCards(); ?>
|
|
|
+ @if($cards && count($cards) > 0)
|
|
|
<div class="d-flex bg-light p-2 border header-coverage-status" style="max-width: 305px;">
|
|
|
@include('app.patient.insurance_card_renderer', ['insurance_cards' => $patient->insuranceCards()])
|
|
|
</div>
|
|
|
@else
|
|
|
- <div class="d-flex bg-light p-2 border header-coverage-status" style="max-width: 350px;">
|
|
|
- @include('layouts.patient-header-meta-info')
|
|
|
- </div>
|
|
|
+ @if($hasCoverageColumn)
|
|
|
+ <div class="d-flex bg-light p-2 border header-coverage-status" style="max-width: 305px;">
|
|
|
+ @include('app.patient.coverage-status')
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ <div class="d-flex bg-light p-2 border header-coverage-status" style="max-width: 350px;">
|
|
|
+ @include('layouts.patient-header-meta-info')
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
@endif
|
|
|
<div class="bg-light p-2 border d-none">
|
|
|
@if($patientMcp && $patientMcp->id === $pro->id || $pro->pro_type == 'ADMIN')
|