Răsfoiți Sursa

Linked coverage

Samson Mutunga 3 ani în urmă
părinte
comite
a9c428a8b9
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      resources/views/layouts/patient-header.blade.php

+ 2 - 2
resources/views/layouts/patient-header.blade.php

@@ -337,7 +337,7 @@ $addressParts .= implode(", ", $addressPart2);
           <div>DOB: {{friendly_date($patient->dob, false,null, true)}} </div>
           @if($_cpc && $patient->getPrimaryCoverageStatus() === 'YES')
             <div class="text-nowrap screen-only ml-2 pl-2 border-left">
-              {{$_cpc->insuranceDisplayPayerName()}}
+              <a href="{{ route('patients.view.primary-coverage', $patient) }}">{{$_cpc->insuranceDisplayPayerName()}}</a>
               <span class="on-hover-show d-inline-block on-hover-opaque">
                 <i class="fa fa-check-circle text-success"></i>
                 <div class="on-hover-content py-2 pl-3 text-nowrap">
@@ -345,7 +345,7 @@ $addressParts .= implode(", ", $addressPart2);
                 </div>
               </span> 
                 @if($_cpc->is_manually_determined)
-                  <i class="ml-1 fas fa-code-branch text-info" title="Manually determined at {{ friendly_date($_cpc->created_at) }}"></i>
+                <a href="{{ route('patients.view.primary-coverage', $patient) }}"><i class="ml-1 fas fa-code-branch text-info" title="Manually determined at {{ friendly_date($_cpc->created_at) }}"></i></a>
                 @endif
             </div>
             @if($performer->pro->pro_type == 'ADMIN')