wip
This commit is contained in:
1 parent
b6f77ccc9e
commit
9713388f7d
3 files changed
+87
-89
No files matched your search
@@ -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,
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user