public function createPulsClientSurvey(Request $request, Client $client): ClientSurvey 	{ 		$online_count = $request->online_applicants_count ?? 0; 		$offline_count = $request->offline_applicants_count ?? 0;  		$client_survey = ClientSurvey::create([ 			'title' => $request->title, 			'client_id' => $client->getKey(), 			'domain_id' => $client->domain->getKey(), 			'survey_id' => $this->checkIfAdminIsEditing() ? $request->survey_id : (new Survey)->getRelevantPulsSurvey()->getKey(), 			'survey_type' => SurveyType::PULS, 			'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' => $online_count + $offline_count, 			'online_applicants_count' => $online_count, 			'offline_applicants_count' => $offline_count, 			'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; 	}