diff --git a/app/Utils/TemplateEngine.php b/app/Utils/TemplateEngine.php index 8bf7a6daf2ff..2daf1de50b6b 100644 --- a/app/Utils/TemplateEngine.php +++ b/app/Utils/TemplateEngine.php @@ -155,6 +155,7 @@ class TemplateEngine $data['title'] = ''; $data['body'] = '$body'; $data['footer'] = ''; + $data['signature'] = $this->settings_entity->getSetting('email_signature'); if ($email_style == 'custom') { $wrapper = $this->settings_entity->getSetting('email_style_custom'); @@ -171,7 +172,6 @@ class TemplateEngine $wrapper = str_replace('
',$injection ,$wrapper); } -info($this->body); $data = [ 'subject' => $this->subject, 'body' => $this->body, diff --git a/resources/views/email/template/light.blade.php b/resources/views/email/template/light.blade.php index b78d7b10121f..704568b2f099 100644 --- a/resources/views/email/template/light.blade.php +++ b/resources/views/email/template/light.blade.php @@ -19,5 +19,12 @@ @endslot +@slot('below_card') + + @if($signature) + {{ $signature }} + @endif + +@endslot @endcomponent diff --git a/resources/views/email/template/plain.blade.php b/resources/views/email/template/plain.blade.php index fe2dacd8edbc..d411e925cfa0 100644 --- a/resources/views/email/template/plain.blade.php +++ b/resources/views/email/template/plain.blade.php @@ -3,7 +3,7 @@ - + {!! $body !!}