mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Add the mail recipient from configuration in the CheckoutAcceptance model
This commit is contained in:
parent
d2c486bb1e
commit
98bcd82108
|
@ -16,6 +16,14 @@ class CheckoutAcceptance extends Model
|
|||
'declined_at' => 'datetime',
|
||||
];
|
||||
|
||||
// Get the mail recipient from the config
|
||||
public function routeNotificationForMail(): string
|
||||
{
|
||||
// At this point the endpoint is the same for everything.
|
||||
// In the future this may want to be adapted for individual notifications.
|
||||
return config('mail.reply_to.address');
|
||||
}
|
||||
|
||||
/**
|
||||
* The resource that was is out
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue