mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
fixes for email template
This commit is contained in:
parent
81a34f3446
commit
cc79511dc3
@ -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,
|
||||
|
@ -19,5 +19,12 @@
|
||||
|
||||
@endslot
|
||||
|
||||
@slot('below_card')
|
||||
|
||||
@if($signature)
|
||||
{{ $signature }}
|
||||
@endif
|
||||
|
||||
@endslot
|
||||
|
||||
@endcomponent
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body class="bg-white">
|
||||
<body>
|
||||
{!! $body !!}
|
||||
</body>
|
||||
<footer>
|
||||
|
Loading…
Reference in New Issue
Block a user