no message

This commit is contained in:
StudioTem committed 2025-12-16 17:25:19 +01:00
1 parent e4e7dbb741
commit 15a8e9f98b
8 files changed
+30 -9

No files matched your search

@@ -33,9 +33,11 @@ class SubTaskFinishedWithHigherTrackedTime extends Mailable
*/
public function envelope()
{
$projectCode = $this->subtask->mastertask?->project?->code ?? 'N/A';
$title = $this->subtask->title ?: $this->subtask->mastertask?->title ?? '';
return new Envelope(
// subject: 'Sub Task Finished With Higher Tracked Time Than Estimated'
subject: 'Čas pre Task ' . $this->subtask->mastertask->project->code . ' - ' . ($this->subtask->title) ?: $this->subtask->mastertask->title . ' bol prekročený'
subject: 'Čas pre Task ' . $projectCode . ' - ' . $title . ' bol prekročený'
);
}