{{-- Renders nothing at all when the user cannot view this case type. --}}
@if($this->canView())

Joint Claimants @if($claimants->isNotEmpty()) {{ $claimants->count() }} @endif

@if($this->canManage()) @endif
@if($claimants->isEmpty())

No joint claimants on this case.

Add a spouse, civil partner or other secondary client who is also a claimant here.

@else
@foreach($claimants as $claimant)

@if($claimant->client) {{ $claimant->client->name_first }} {{ $claimant->client->name_last }} @else Client removed @endif @if($claimant->relationship) {{ $claimant->relationship }} @endif @if($claimant->is_primary_contact) Primary contact @endif @if($claimant->client?->is_vulnerable) Vulnerable @endif

@if($claimant->client?->email_address) {{ $claimant->client->email_address }} @endif @if($claimant->client?->phone_number) {{ $claimant->client->phone_number }} @endif @if($claimant->client?->date_of_birth) {{ $claimant->client->date_of_birth->format('d/m/Y') }} @endif
@if($claimant->linkedCase)
Their own case: @if($claimant->linkedCase->getJointClaimantRoute()) {{ $claimant->linkedCase->getJointClaimantLabel() }} @else {{ $claimant->linkedCase->getJointClaimantLabel() }} @endif
@endif @if($claimant->notes) {{ $claimant->notes }} @endif Added {{ $claimant->created_at?->format('d/m/Y') }} @if($claimant->addedBy) by {{ $claimant->addedBy->name_first }} {{ $claimant->addedBy->name_last }} @endif
@if($this->canManage())
@endif
@endforeach
@endif
{{-- EDITOR --}} @if($show)
@endif
@endif