@php $imported = session('tax_notice_import'); $importedNames = collect([ $imported['declarant1_first_name'] ?? null, $imported['declarant1_last_name'] ?? null, ])->filter()->implode(' '); $importedCoparentSuffix = filled($imported['declarant2_last_name'] ?? null) ? ' et mon coparent' : ''; $defaultChildLastName = $household->family_label; $childrenLastNames = $children->pluck('last_name'); $childrenShareLastName = $childrenLastNames->filter()->unique()->count() <= 1; $suggestedChildCount = min(10, max(1, (int) ($imported['children_count'] ?? 1))); $initialChildrenCount = ($children->isEmpty() && filled($imported['children_count'] ?? null)) ? $suggestedChildCount : 1; $initialChildrenRows = collect(range(1, $initialChildrenCount))->map(fn ($id) => [ 'id' => $id - 1, 'firstName' => '', 'lastName' => $defaultChildLastName, 'birthDate' => '', 'gender' => '', 'avatar' => '', 'foodAllergies' => '', 'doctorName' => '', 'doctorPhone' => '', 'medicalNotes' => '', 'hasAeeh' => false, ]); $formId = 'household_form'; $formAction = route('parent.family.update'); $importAction = route('parent.family.import-tax-notice'); $childrenStoreAction = route('parent.family.children.store'); $childUpdateUrl = fn ($child) => route('parent.family.children.update', $child); $childDeleteUrl = fn ($child) => route('parent.family.children.destroy', $child); @endphp
@include('employers.partials.household-hero')

J'ai restauré les informations que j'avais commencé à saisir avant le dernier rechargement de la page.

@include('employers.partials.household-rail-nav')
@include('employers.partials.household-tax-notice') @include('employers.partials.household-sections')
Mot de passe
@csrf @method('put')
@foreach ($errors->updatePassword->get('current_password') as $message) {{ $message }} @endforeach
@foreach ($errors->updatePassword->get('password') as $message) {{ $message }} @endforeach
@foreach ($errors->updatePassword->get('password_confirmation') as $message) {{ $message }} @endforeach
Mes données
@include('profile.partials.data-export')
Supprimer mon compte Suppression immédiate et définitive.
@include('employers.partials.household-action-bar')
@csrf @method('delete')

Supprimer mon compte ?

Cette action supprimera définitivement mon compte et mes données. Je saisis mon mot de passe pour confirmer.