projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
824735f
)
E-Mails als HTML verschicken: Versand wiederkehrender Rechnungen
author
Moritz Bunkus
<m.bunkus@linet.de>
Wed, 12 Jan 2022 11:26:11 +0000
(12:26 +0100)
committer
Moritz Bunkus
<m.bunkus@linet.de>
Wed, 12 Jan 2022 11:30:26 +0000
(12:30 +0100)
SL/BackgroundJob/CreatePeriodicInvoices.pm
patch
|
blob
|
history
diff --git
a/SL/BackgroundJob/CreatePeriodicInvoices.pm
b/SL/BackgroundJob/CreatePeriodicInvoices.pm
index
f411353
..
ab28961
100644
(file)
--- a/
SL/BackgroundJob/CreatePeriodicInvoices.pm
+++ b/
SL/BackgroundJob/CreatePeriodicInvoices.pm
@@
-489,6
+489,8
@@
sub _email_invoice {
$mail->{bcc} = $global_bcc;
$mail->{subject} = $data->{config}->email_subject;
$mail->{message} = $data->{config}->email_body;
+ $mail->{message} .= SL::DB::Default->get->signature;
+ $mail->{content_type} = 'text/html';
$mail->{attachments} = [{
path => $pdf_file_name,
name => sprintf('%s %s.pdf', $label, $data->{invoice}->invnumber),