public function exportGeneralPpiReport(): Response|View 	{ 		$this->client_survey->load([ 			'survey.questions.answers' => function ($query) { 				$query 				->where('client_survey_id', $this->client_survey->id) 				->whereHas('applicant', function ($query) { 					$query->available()->final(); 				}); 			}, 			'demographicQuestions.answers' => function ($query) { 				$query 				->where('client_survey_id', $this->client_survey->id) 				->whereHas('applicant', function ($query) { 					$query->available()->final(); 				}); 			}, 		]);  		$base_survey = $this->client_survey->survey;  		$base_questions = $base_survey->questions()->with([ 			'answers' => function ($query) { 				$query 				->with('question') 				->whereHas('applicant', function ($query) { 					$query->whereHas('survey', function ($query) { 						$query->where('id', $this->client_survey->id); 					}) 					->available() 					->final(); 				}); 			}, 		])->get();  		$demographic_questions = $this->client_survey->demographicQuestions;  		$ppiDto = $this->getDto( 			$base_questions, 			$demographic_questions 		);  		$isPreview = false;  		$locale = $this->locale;  		$view = view('pdf.ba.general-report', compact('locale', 'isPreview'));	// TODO: replace with PPI report as needed  		$isPreview = !$this->request->boolean('download');  		if ($isPreview) { 			return $view; 		}  		$data = $this->chromePdfService->generatePdf($view->render(), true);  		$name = 'PLACEHOLDER';  		return response()->make($data, 200, [ 			'Content-Type' => 'application/pdf', 			'Content-Disposition' => "attachment; filename=$name", 		]); 	}