A free open source IT asset/license management system
Add the mail recipient from configuration in the CheckoutAcceptance model
Ivan Nieto Vivanco98bcd82108b3
diff --git a/app/Models/CheckoutAcceptance.php b/app/Models/CheckoutAcceptance.phpindex 4c6e06e34f..e0833f3240 100644--- a/app/Models/CheckoutAcceptance.php+++ b/app/Models/CheckoutAcceptance.php@@ -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*