Gutschrift drucken: HTML-formatierte Felder richtig behandeln
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 24 Apr 2015 09:50:11 +0000 (11:50 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 24 Apr 2015 09:50:32 +0000 (11:50 +0200)
bin/mozilla/io.pl

index 4a3805d..365afab 100644 (file)
@@ -1388,7 +1388,7 @@ sub print_form {
   }
 
   $form->{TEMPLATE_DRIVER_OPTIONS} = { };
-  if (any { $form->{type} eq $_ } qw(sales_quotation sales_order sales_delivery_order invoice request_quotation purchase_order purchase_delivery_order)) {
+  if (any { $form->{type} eq $_ } qw(sales_quotation sales_order sales_delivery_order invoice request_quotation purchase_order purchase_delivery_order credit_note)) {
     $form->{TEMPLATE_DRIVER_OPTIONS}->{variable_content_types} = {
       longdescription => 'html',
       partnotes       => 'html',