mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for Support Message Template Colors
This commit is contained in:
parent
c68fc24e2c
commit
ea38fb2b37
@ -45,8 +45,8 @@ class SupportMessageSent extends Mailable
|
||||
|
||||
$log_file->seek(PHP_INT_MAX);
|
||||
$last_line = $log_file->key();
|
||||
|
||||
$lines = new LimitIterator($log_file, $last_line - 100, $last_line);
|
||||
|
||||
$log_lines = iterator_to_array($lines);
|
||||
}
|
||||
|
||||
@ -76,6 +76,7 @@ class SupportMessageSent extends Mailable
|
||||
'system_info' => $system_info,
|
||||
'laravel_log' => $log_lines,
|
||||
'logo' => $company->present()->logo(),
|
||||
'settings' => $company->settings
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
@component('email.template.admin', ['logo' => $logo ?? 'https://www.invoiceninja.com/wp-content/uploads/2015/10/logo-white-horizontal-1.png'])
|
||||
@component('email.template.admin', ['settings' => $settings, 'logo' => $logo ?? 'https://www.invoiceninja.com/wp-content/uploads/2015/10/logo-white-horizontal-1.png'])
|
||||
{{-- Body --}}
|
||||
{{ $support_message }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user