{{-- Shared household profile header — used by both the parent's self-service "Ma famille" page and the nounou's employer page. Expects $household (an Employer), $completion (from {@see \App\Support\HouseholdProfileCompletion}) and $formId (the id of the main info form the family name input submits with). --}} @php // Once synced, the household becomes read-only for the nounou (the parent takes over) — but // the parent themselves keeps full, normal access to what is now their own record. $isLockedForViewer = $household->linkedParentUser && auth()->user()->isNounou(); @endphp
Famille
@if (auth()->user()->isNounou()) @if ($household->linkedParentUser)
Compte lié ({{ $household->share_code }})
@endif @else
@endif
@unless ($isLockedForViewer)
Profil complété {{ $completion['completed'] }} / {{ $completion['total'] }} infos
{{ $completion['percentage'] }} %
@if ($completion['is_complete'])

Ce profil contient toutes les informations obligatoires.

@endif
@endunless