@php $cover = $patient->insurances->sortByDesc('is_primary'); $canManage = auth()->user()->can('patient-insurances.manage'); $relationships = ['self' => 'Self', 'spouse' => 'Spouse', 'child' => 'Child', 'parent' => 'Parent', 'other' => 'Other']; @endphp
{{ $cover->count() }} cover {{ Str::plural('record', $cover->count()) }} on file.
@if ($canManage) @endif{{ $insurance->scheme?->name ?? 'No scheme specified' }}
{{ $insurance->notes }}
@endif @if ($insurance->verified_at)Eligibility checked {{ $insurance->verified_at->format('d M Y H:i') }} @if ($insurance->verifiedBy) by {{ $insurance->verifiedBy->name }} @endif
@endif @if ($canManage)