From e3e8d316738336108b9b9af65d9adeb2ed085696 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 8 Oct 2009 01:15:06 +0000 Subject: conf switches to turn on smaller notes and footer sections with stock templates, RT#5218 --- conf/invoice_latex | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'conf/invoice_latex') diff --git a/conf/invoice_latex b/conf/invoice_latex index 42a9f93cf..ef6546f1a 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -82,12 +82,12 @@ $OUT .= $coupon; } ''; ---@] \small{ +--@] [@-- $smallerfooter ? '\scriptsize{' : '\small{' --@] [@-- $footer --@] }[@-- $coupon ? '\vspace{\extracouponspace}' : '' --@] } { % ... pages - \small{ + [@-- $smallerfooter ? '\scriptsize{' : '\small{' --@] [@-- $smallfooter --@] } } @@ -322,7 +322,13 @@ Terms: [@-- $terms --@]\\ --@] \vfill \begin{minipage}[t]{\textwidth} - [@-- length($summary) ? '' : $notes --@] + [@-- length($summary) + ? '' + : ( $smallernotes + ? '\scriptsize{ '.$notes.' }' + : $notes + ) + --@] [@-- $coupon ? '\ifthenelse{\equal{\thepage}{1}}{\rule{0pt}{\extracouponspace}}{}' : '' --@] \end{minipage} \end{document} -- cgit v1.2.1