X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Finvoice_latex;h=d37eeba3adc904ec81a5e8b789d05f1c77102f40;hb=f360579dd091f1adf9cea1062aa06afdf5bff42b;hp=18fa61fb293dbcf480c725431b4f746f56bd0935;hpb=3237f725e9b509b151e6ea6cf9e13d0d3cf171b2;p=freeside.git diff --git a/conf/invoice_latex b/conf/invoice_latex index 18fa61fb2..d37eeba3a 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -242,7 +242,7 @@ Terms: [@-- $terms --@]\\ $OUT .= '\large\textsc{'. $section->{'pretotal'}. '}\\\\'; $OUT .= '\\end{flushright}'; } - $OUT .= '\pagebreak' if $section{'post_total'}; + $OUT .= '\pagebreak' if $section->{'post_total'}; unless ($section->{'summarized'} ) { $OUT .= '\captionsetup{singlelinecheck=false,justification=raggedright,font={Large,sc,bf}}'; $OUT .= '\ifthenelse{\equal{\thepage}{1}}{\setlength{\LTextracouponspace}{\extracouponspace}}{\setlength{\LTextracouponspace}{0pt}}'