mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
e4e7dbb741
commit
15a8e9f98b
8 files changed
+30
-9
No files matched your search
@@ -42,11 +42,15 @@ class NewTask extends Mailable
|
||||
*/
|
||||
public function envelope()
|
||||
{
|
||||
$project = $this->subtask->mastertask?->project;
|
||||
$projectCode = $project?->code ?? 'N/A';
|
||||
$projectName = $project?->name ?? '';
|
||||
|
||||
return new Envelope(
|
||||
replyTo: [
|
||||
new Address($this->creator->email, ($this->creator) ? $this->creator->firstname . ' ' . $this->creator->lastname : ''),
|
||||
],
|
||||
subject: $this->subtask->mastertask->project->code . ' ' . $this->subtask->mastertask->project->name . ' - vytvorený Sub Task',
|
||||
subject: $projectCode . ' ' . $projectName . ' - vytvorený Sub Task',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user