X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b74a00e5100336d13d1536870721796474599a08..a2930f9ee294b1288488e8dec1a3092592dc8e97:/SL/BackgroundJob/MassRecordCreationAndPrinting.pm diff --git a/SL/BackgroundJob/MassRecordCreationAndPrinting.pm b/SL/BackgroundJob/MassRecordCreationAndPrinting.pm index e14e13190..7c6f558ab 100644 --- a/SL/BackgroundJob/MassRecordCreationAndPrinting.pm +++ b/SL/BackgroundJob/MassRecordCreationAndPrinting.pm @@ -101,8 +101,13 @@ sub convert_invoices_to_pdf { template => $ctrl->find_template(name => 'invoice', printer_id => $printer_id), variables => Form->new(''), return => 'file_name', + variable_content_types => { longdescription => 'html', + partnotes => 'html', + notes => 'html',} ); + + $create_params{variables}->{$_} = $variables{$_} for keys %variables; $invoice->flatten_to_form($create_params{variables}, format_amounts => 1);