Added emailtemplate for Cancel notification

This commit is contained in:
Frank Schubert
2024-07-11 17:50:41 +02:00
parent 3b35bd561e
commit 8807d7197e
12 changed files with 254 additions and 9 deletions

View File

@@ -145,7 +145,7 @@ class Order extends mfBaseModel {
$to = $owner->email;
if(!$subject || !$from || !$from_name || !$to) {
$this->log->warn("Service PIN Email not sent. (subject: '$subject', from: '$from', from_email: '$from_email', to: '$to')");
$this->log->warn("Service PIN Email not sent. (subject: '$subject', from: '$from_email', from_email: '$from', to: '$to')");
} else {
$email = new Emailnotification();
$email->setSubject($subject);