public function checkIfSurveyGenerationIsPossible(ClientSurvey $client_survey, Request $request): void 	{ 		$locale = $request->language ?? DomainLanguages::getDefaultLanguage();  		if ($client_survey->client->getKey() != $request->user()->user->getKey()) { 			abort(403, (string) __('client-surveys.report-generation-errors.wrong-client', [], $locale)); 		}  		if ($client_survey->status !== ClientSurveyStatus::Finished) { 			abort(403, (string) __('client-surveys.report-generation-errors.not-ready', [], $locale)); 		}  		if (!$client_survey->paid) { 			abort(403, (string) __('client-surveys.report-generation-errors.not-paid', [], $locale)); 		} 	}