1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

fixes for email template

This commit is contained in:
David Bomba 2020-08-02 20:24:38 +10:00
parent 81a34f3446
commit cc79511dc3
3 changed files with 9 additions and 2 deletions

View File

@ -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('<head>',$injection ,$wrapper);
}
info($this->body);
$data = [
'subject' => $this->subject,
'body' => $this->body,

View File

@ -19,5 +19,12 @@
@endslot
@slot('below_card')
@if($signature)
{{ $signature }}
@endif
@endslot
@endcomponent

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
</head>
<body class="bg-white">
<body>
{!! $body !!}
</body>
<footer>