wip del err

This commit is contained in:
salam committed 2026-10-04 15:22:39 +02:00
1 parent 812736ca9a
commit 9bcd4432c6
1210 files changed
-220941

No files matched your search

-65
View File
@@ -1,65 +0,0 @@
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
class AlarmNotification extends Mailable
{
use Queueable, SerializesModels;
protected string $message;
protected array $tablecontent;
protected int $alarm_level_id;
/**
* Create a new message instance.
*/
public function __construct($message, $tablecontent, $alarm_level_id)
{
$this->message = $message;
$this->tablecontent = $tablecontent;
$this->alarm_level_id = $alarm_level_id;
}
/**
* Get the message envelope.
*/
public function envelope(): Envelope
{
return new Envelope(
subject: 'NUH-Odds Alarm',
);
}
/**
* Get the message content definition.
*/
public function content(): Content
{
return new Content(
markdown: 'mail.user.alarm',
with: [
'tablecontent' => $this->tablecontent,
'message' => $this->message,
'alarm_level_id' => $this->alarm_level_id,
],
);
}
/**
* Get the attachments for the message.
*
* @return array<int, \Illuminate\Mail\Mailables\Attachment>
*/
public function attachments(): array
{
return [];
}
}