Kosmetik
authorJan Büren <jan@kivitendo.de>
Mon, 14 Feb 2022 09:54:59 +0000 (10:54 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 14 Feb 2022 12:54:09 +0000 (13:54 +0100)
bin/mozilla/is.pl

index 14b472f..f024622 100644 (file)
@@ -625,10 +625,10 @@ sub form_header {
   }
 
   $TMPL_VAR{is_type_normal_invoice} = $form->{type} eq "invoice";
-  $TMPL_VAR{is_type_credit_note} = $form->{type}   eq "credit_note";
-  $TMPL_VAR{is_format_html}      = $form->{format} eq 'html';
-  $TMPL_VAR{dateformat}          = $myconfig{dateformat};
-  $TMPL_VAR{numberformat}        = $myconfig{numberformat};
+  $TMPL_VAR{is_type_credit_note}    = $form->{type}   eq "credit_note";
+  $TMPL_VAR{is_format_html}         = $form->{format} eq 'html';
+  $TMPL_VAR{dateformat}             = $myconfig{dateformat};
+  $TMPL_VAR{numberformat}           = $myconfig{numberformat};
 
   # hiddens
   $TMPL_VAR{HIDDENS} = [qw(
@@ -768,7 +768,7 @@ sub form_footer {
   }
 
   print $form->parse_html_template('is/form_footer', {
-    is_type_normal_invoice => ($form->{type} eq "invoice"),
+    is_type_normal_invoice              => ($form->{type} eq "invoice"),
     is_type_credit_note                 => ($form->{type} eq "credit_note"),
     totalpaid                           => $totalpaid,
     paid_missing                        => $form->{invtotal} - $totalpaid,