really insert a pagebreak
authorjeff <jeff>
Wed, 25 Nov 2009 16:09:34 +0000 (16:09 +0000)
committerjeff <jeff>
Wed, 25 Nov 2009 16:09:34 +0000 (16:09 +0000)
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