From: Moritz Bunkus Date: Tue, 10 Mar 2015 10:51:46 +0000 (+0100) Subject: CreatePeriodicInvoices: HTML-Formatierung beim automatischen Drucken richtig formatieren X-Git-Tag: release-3.2.1~37^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f9fbb006c544e9e0d53e2636a521675fdfdcde6f;p=kivitendo-erp.git CreatePeriodicInvoices: HTML-Formatierung beim automatischen Drucken richtig formatieren --- diff --git a/SL/BackgroundJob/CreatePeriodicInvoices.pm b/SL/BackgroundJob/CreatePeriodicInvoices.pm index bdf536346..9f116becb 100644 --- a/SL/BackgroundJob/CreatePeriodicInvoices.pm +++ b/SL/BackgroundJob/CreatePeriodicInvoices.pm @@ -316,6 +316,14 @@ sub _print_invoice { $form->{OUT} = $config->printer->printer_command; $form->{OUT_MODE} = '|-'; + $form->{TEMPLATE_DRIVER_OPTIONS} = { + variable_content_types => { + longdescription => 'html', + partnotes => 'html', + notes => 'html', + }, + }; + $form->prepare_for_printing; $form->throw_on_error(sub {