company email
[freeside.git] / conf / invoice_latex
index 18fa61f..d37eeba 100644 (file)
@@ -242,7 +242,7 @@ Terms: [@-- $terms --@]\\
       $OUT .= '\large\textsc{'. $section->{'pretotal'}. '}\\\\';\r
       $OUT .= '\\end{flushright}';\r
     }\r
-    $OUT .= '\pagebreak' if $section{'post_total'};\r
+    $OUT .= '\pagebreak' if $section->{'post_total'};\r
     unless ($section->{'summarized'} ) {\r
       $OUT .= '\captionsetup{singlelinecheck=false,justification=raggedright,font={Large,sc,bf}}';\r
       $OUT .= '\ifthenelse{\equal{\thepage}{1}}{\setlength{\LTextracouponspace}{\extracouponspace}}{\setlength{\LTextracouponspace}{0pt}}'\r