conf switches to turn on smaller notes and footer sections with stock templates,...
[freeside.git] / conf / invoice_latex
index 42a9f93..ef6546f 100644 (file)
     $OUT .= $coupon;\r
   }\r
   '';\r
---@] \small{\r
+--@] [@-- $smallerfooter ? '\scriptsize{' : '\small{' --@]\r
 [@-- $footer --@]\r
     }[@-- $coupon ? '\vspace{\extracouponspace}' : '' --@]\r
   }\r
   { % ... pages\r
-    \small{\r
+    [@-- $smallerfooter ? '\scriptsize{' : '\small{' --@]\r
 [@-- $smallfooter --@]\r
     }\r
   }\r
@@ -322,7 +322,13 @@ Terms: [@-- $terms --@]\\
 --@]\r
 \vfill\r
 \begin{minipage}[t]{\textwidth}\r
-  [@-- length($summary) ? '' : $notes --@]\r
+  [@-- length($summary)\r
+         ? ''\r
+        : ( $smallernotes\r
+              ? '\scriptsize{ '.$notes.' }'\r
+              : $notes\r
+          )\r
+  --@]\r
   [@-- $coupon ? '\ifthenelse{\equal{\thepage}{1}}{\rule{0pt}{\extracouponspace}}{}' : '' --@]\r
 \end{minipage}\r
 \end{document}\r