]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/io.pl
Zusätzliche Rechnungsadressen: beim Ausdruck als Variablen verfügbar machen
[mfinanz.git] / bin / mozilla / io.pl
index a69521b12f311ac97c62539a79cdd2d6010b6bca..89e40d0e5d38312705c76fc413d545921921d8b2 100644 (file)
@@ -1392,6 +1392,8 @@ sub print_form {
     $form->get_shipto(\%myconfig);
   }
 
+  $form->set_addition_billing_address_print_variables;
+
   $form->{notes} =~ s/^\s+//g;
 
   delete $form->{printer_command};
@@ -1570,6 +1572,10 @@ sub print_form {
     today     => DateTime->today,
   };
 
+  if ($defaults->print_interpolate_variables_in_positions) {
+    $form->substitute_placeholders_in_template_arrays({ field => 'description', type => 'text' }, { field => 'longdescription', type => 'html' });
+  }
+
   $form->parse_template(\%myconfig);
 
   $form->{callback} = "";