public function scopeUserScope(Builder $query): Builder 	{ 		return $query->where(function (Builder $query) { 			$query->whereHas('client', function ($query) { 				$query->where('domain_id', auth()->user()->user->getActiveDomain()?->getKey()); 			}) 			->orWhere(function ($query) { 				$query->where('survey_type', SurveyType::PPI) 				->whereDoesntHave('client'); 			}) 			->orWhere('domain_id', auth()->user()->user->getActiveDomain()?->getKey()); 		}); 	}