public function createClientSurvey(Request $request, Client $client): ClientSurvey 	{ 		$client_survey = ClientSurvey::create([ 			'client_id' => $client->getKey(), 			'domain_id' => $client->domain->getKey(), 			'survey_id' => $this->checkIfAdminIsEditing() ? $request->survey_id : (new Survey)->getRelevantIzzSurvey()->getKey(), 			'survey_type' => $request->enum('type', SurveyType::class) ?? SurveyType::IZZ, 			'start_date' => $request->start_date ? formatTimestamp($request->start_date, 'Y-m-d H:i', $request->user()->timezone) : null, 			'end_date' => $request->end_date ? formatTimestamp($request->end_date, 'Y-m-d H:i', $request->user()->timezone) : null, 			'invitation_date' => $request->invitation_date ? formatTimestamp($request->invitation_date, 'Y-m-d H:i', $request->user()->timezone) : null, 			'reminder_date' => $request->reminder_date ? formatTimestamp($request->reminder_date, 'Y-m-d H:i', $request->user()->timezone) : null, 			'number_of_employees' => $request->number_of_employees ?? 0, 			'number_of_male_employees' => $request->number_of_male_employees ?? 0, 			'number_of_female_employees' => $request->number_of_female_employees ?? 0, 			'number_of_other_employees' => $request->number_of_other_employees ?? 0, 			'number_of_employees_with_special_qualification' => $request->number_of_employees_with_special_qualification ?? 0, 			'number_of_employees_with_higher_qualification' => $request->number_of_employees_with_higher_qualification ?? 0, 			'number_of_employees_with_middle_qualification' => $request->number_of_employees_with_middle_qualification ?? 0, 			'number_of_employees_with_lower_qualification' => $request->number_of_employees_with_lower_qualification ?? 0, 			'online_applicants_count' => $request->online_applicants_count ?? 0, 			'offline_applicants_count' => $request->offline_applicants_count ?? 0, 			'multiple_access_codes' => $request->boolean('multiple_access_codes'), 			'include_demographic_questions' => $request->boolean('include_demographic_questions'), 			'company_size' => CompanySize::Unknown->value, 			'draft' => $request->boolean('draft'), 			'client_comment' => $request->client_comment, 			'status' => ClientSurveyStatus::Created->value, 			'send_codes_via_email' => $request->boolean('send_codes_via_email'), 			'location_answer_required' => $request->boolean('location_answer_required'), 			'department_answer_required' => $request->boolean('department_answer_required'), 			'locations_description' => [ 				'en' => $request->locations_description_en, 				'hr' => $request->locations_description_hr, 				'bs' => $request->locations_description_bs, 				'mk' => $request->locations_description_mk, 				'sl' => $request->locations_description_sl, 				'sr' => $request->locations_description_sr, 				'fr' => $request->locations_description_fr, 				'de' => $request->locations_description_de, 			], 			'departments_description' => [ 				'en' => $request->departments_description_en, 				'hr' => $request->departments_description_hr, 				'bs' => $request->departments_description_bs, 				'mk' => $request->departments_description_mk, 				'sl' => $request->departments_description_sl, 				'sr' => $request->departments_description_sr, 				'fr' => $request->departments_description_fr, 				'de' => $request->departments_description_de, 			], 			'demographic_answers_required' => $request->boolean('demographic_answers_required'), 			'demographic_first' => $request->boolean('demographic_first'), 			'departments_first' => $request->boolean('departments_first'), 			'locations_first' => $request->boolean('locations_first'), 		]);  		$this->setClientSurveyCompanySize($client_survey);  		if ($this->checkIfAdminIsEditing()) { 			$client_survey->update([ 				'paid' => $request->boolean('paid'), 				'relevant' => $request->boolean('relevant'), 				'company_size' => $request->enum('company_size', CompanySize::class) ?? $client_survey->company_size, 				'draft' => $request->enum('status', ClientSurveyStatus::class) == ClientSurveyStatus::Created, 				'status' => $request->enum('status', ClientSurveyStatus::class) ?? ClientSurveyStatus::Created->value, 			]); 		}  		return $client_survey; 	}