This commit is contained in:
salam committed 2026-02-06 16:17:43 +01:00
1 parent b6f77ccc9e
commit 9713388f7d
3 files changed
+87 -89

No files matched your search

+5 -2
View File
@@ -16,14 +16,16 @@ class AlarmNotification extends Mailable
protected array $tablecontent;
protected int $alarm_level_id;
/**
* Create a new message instance.
*/
public function __construct($message, $tablecontent)
public function __construct($message, $tablecontent, $alarm_level_id)
{
$this->message = $message;
$this->tablecontent = $tablecontent;
$this->alarm_level_id = $alarm_level_id;
}
/**
@@ -46,6 +48,7 @@ class AlarmNotification extends Mailable
with: [
'tablecontent' => $this->tablecontent,
'message' => $this->message,
'alarm_level_id' => $this->alarm_level_id,
],
);
}