Mahnungen: Ausdruck der Originalrechnung inkl. Anw. HTML-Formatierungen
authorJan Büren <jan@kivitendo.de>
Fri, 17 Apr 2020 11:04:37 +0000 (13:04 +0200)
committerJan Büren <jan@kivitendo.de>
Fri, 17 Apr 2020 11:04:37 +0000 (13:04 +0200)
SL/DN.pm

index bc1ff84..ee06cd8 100644 (file)
--- a/SL/DN.pm
+++ b/SL/DN.pm
@@ -1102,9 +1102,14 @@ sub print_original_invoices {
   $print_form->prepare_for_printing;
 
   my $filename = SL::Helper::CreatePDF->create_pdf(
-                   template  => 'invoice.tex',
-                   variables => $print_form,
-                   return    => 'file_name',
+                   template               => 'invoice.tex',
+                   variables              => $print_form,
+                   return                 => 'file_name',
+                   variable_content_types => {
+                     longdescription => 'html',
+                     partnotes       => 'html',
+                     notes           => 'html',
+                   },
   );
 
   my $spool       = $::lx_office_conf{paths}->{spool};