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:
parent
81a34f3446
commit
cc79511dc3
@ -155,6 +155,7 @@ class TemplateEngine
|
|||||||
$data['title'] = '';
|
$data['title'] = '';
|
||||||
$data['body'] = '$body';
|
$data['body'] = '$body';
|
||||||
$data['footer'] = '';
|
$data['footer'] = '';
|
||||||
|
$data['signature'] = $this->settings_entity->getSetting('email_signature');
|
||||||
|
|
||||||
if ($email_style == 'custom') {
|
if ($email_style == 'custom') {
|
||||||
$wrapper = $this->settings_entity->getSetting('email_style_custom');
|
$wrapper = $this->settings_entity->getSetting('email_style_custom');
|
||||||
@ -171,7 +172,6 @@ class TemplateEngine
|
|||||||
$wrapper = str_replace('<head>',$injection ,$wrapper);
|
$wrapper = str_replace('<head>',$injection ,$wrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
info($this->body);
|
|
||||||
$data = [
|
$data = [
|
||||||
'subject' => $this->subject,
|
'subject' => $this->subject,
|
||||||
'body' => $this->body,
|
'body' => $this->body,
|
||||||
|
@ -19,5 +19,12 @@
|
|||||||
|
|
||||||
@endslot
|
@endslot
|
||||||
|
|
||||||
|
@slot('below_card')
|
||||||
|
|
||||||
|
@if($signature)
|
||||||
|
{{ $signature }}
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@endslot
|
||||||
|
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-white">
|
<body>
|
||||||
{!! $body !!}
|
{!! $body !!}
|
||||||
</body>
|
</body>
|
||||||
<footer>
|
<footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user