This commit is contained in:
2024-04-19 10:27:36 +02:00
parent fcb6bbe566
commit 35c96e715c
7852 changed files with 4815 additions and 8 deletions

View File

@ -0,0 +1,14 @@
<?php
namespace App\Models\Recipients;
use App\Models\Setting;
class AdminRecipient extends Recipient
{
public function __construct()
{
$settings = Setting::getSettings();
$this->email = trim($settings->admin_cc_email);
}
}

View File

@ -0,0 +1,11 @@
<?php
namespace App\Models\Recipients;
class AlertRecipient extends Recipient
{
public function __construct(string $email)
{
$this->email = trim($email);
}
}

View File

@ -0,0 +1,12 @@
<?php
namespace App\Models\Recipients;
use Illuminate\Notifications\Notifiable;
abstract class Recipient
{
use Notifiable;
protected $email;
}