From: Bernd Bleßmann Date: Mon, 31 Jan 2022 16:46:59 +0000 (+0100) Subject: E-Mails als HTML verschicken: Mail-Body wiederkehrende RGs: Variablenersetzung X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~220^2 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/d2bdf90e6aaf154f0cedd059bf41c60fb9a0e7db?hp=--cc E-Mails als HTML verschicken: Mail-Body wiederkehrende RGs: Variablenersetzung --- d2bdf90e6aaf154f0cedd059bf41c60fb9a0e7db diff --git a/SL/BackgroundJob/CreatePeriodicInvoices.pm b/SL/BackgroundJob/CreatePeriodicInvoices.pm index ab2896196..4e3206317 100644 --- a/SL/BackgroundJob/CreatePeriodicInvoices.pm +++ b/SL/BackgroundJob/CreatePeriodicInvoices.pm @@ -473,7 +473,7 @@ sub _email_invoice { invoice => $data->{invoice}, vars => $data->{time_period_vars}, attribute => $_, - attribute_format => 'text' + attribute_format => ($_ eq 'email_body' ? 'html' : 'text') ); }