{{-- Shared "child" fields (prénom / nom / date de naissance / AEEH) used by both the employer creation wizard (Alpine repeater, $mode = 'dynamic') and the employer detail page (per-child inline edit and "add a child" rows, $mode = 'static'), so the fields only need to be defined once. --}} @php $mode ??= 'static'; $idPrefix ??= ''; $firstName ??= ''; $lastName ??= ''; $birthDate ??= ''; $gender ??= null; $hasAeeh ??= false; $showAeeh ??= true; $onlyAeeh ??= false; $nameRequired ??= true; $requiredMark = $nameRequired ? '*' : ''; @endphp @if ($mode === 'dynamic')