{{-- Shared household profile rail — used by both the parent's self-service "Ma famille" page and the nounou's employer page. Expects $household, $completion, $imported, $importedNames and $importAction (the avis d'imposition upload form's action URL). --}} @php $railDotClass = fn (string $anchor) => match ($completion['sections'][$anchor] ?? 'none-needed') { 'complete' => 'profile-rail-dot--complete', 'partial' => 'profile-rail-dot--partial', 'empty' => 'profile-rail-dot--missing', default => 'profile-rail-dot--neutral', }; @endphp
@if (auth()->user()->isNounou()) @if ($household->exists && ! $household->linkedParentUser)
Code parent
@endif @elseif ($completion['percentage'] < 50 || $importedNames !== '')
Avis d'imposition
@csrf
@error('avis_imposition') {{ $message }} @enderror
@endif @unless (auth()->user()->isNounou())
Qui voit quoi

Votre assistante maternelle ne voit que l'état civil, l'adresse, l'enfant et le besoin de garde. Vos revenus servent uniquement à estimer vos aides.

@endunless