@php $isEditing = $isEditing ?? false; $includeGender = $includeGender ?? true; $includeJob = $includeJob ?? false; $includeCompany = $includeCompany ?? false; $includeBirthPlace = $includeBirthPlace ?? false; $birthDateField = $birthDateField ?? 'manual_birth_date'; $birthDateErrorField = $birthDateErrorField ?? $birthDateField; $birthDateValue = old($birthDateField, $birthDateValue ?? ''); $nameValue = old('manual_name', $nameValue ?? ''); $genderValue = old('manual_gender', $genderValue ?? ''); $birthPlaceValue = old('manual_birth_place', $birthPlaceValue ?? ''); $jobFieldName = $jobFieldName ?? 'job_position'; $jobErrorField = $jobErrorField ?? $jobFieldName; $jobValue = old($jobFieldName, $jobValue ?? ''); $companyFieldName = $companyFieldName ?? 'company_snapshot'; $companyValue = old($companyFieldName, $companyValue ?? ''); $addressValue = old('manual_address', $addressValue ?? ''); $ageValue = old('manual_age_display', $ageValue ?? ''); $birthDateHiddenId = $birthDateHiddenId ?? ''; $yearsHiddenId = $yearsHiddenId ?? ''; $monthsHiddenId = $monthsHiddenId ?? ''; $referenceDateId = $referenceDateId ?? ''; @endphp