diff --git a/laravel_app/app/Mail/ReportMailer.php b/laravel_app/app/Mail/ReportMailer.php index 2cb3288..d74efe6 100644 --- a/laravel_app/app/Mail/ReportMailer.php +++ b/laravel_app/app/Mail/ReportMailer.php @@ -56,10 +56,10 @@ public function content(): Content public function attachments(): array { return $this->mailing->attachments()->get()->map(function (ProjectMailingAttachment $attachment) { - $projectPath = $attachment->mailing->project->path; +// $projectPath = $attachment->mailing->project->path; return Attachment::fromStorage( - path: $projectPath.$attachment->path + path: "chemba/".$attachment->path ) ->as($attachment->name) ->withMime('application/pdf');