diff --git a/app/Controllers/PlanController.php b/app/Controllers/PlanController.php index 026ad19..fc060e9 100644 --- a/app/Controllers/PlanController.php +++ b/app/Controllers/PlanController.php @@ -1094,7 +1094,7 @@ class PlanController extends ResourceController if (!file_exists($filePath)) { return $this->failNotFound('File not found'); } - + return $this->response->download($filePath, null)->setFileName($filename); } diff --git a/app/Views/pdf.php b/app/Views/pdf.php index 3208c24..c1c07c0 100644 --- a/app/Views/pdf.php +++ b/app/Views/pdf.php @@ -137,7 +137,7 @@