[freeside-commits] freeside/conf invoice_latex, 1.39, 1.40 invoice_html, 1.32, 1.33

Ivan,,, ivan at wavetail.420.am
Wed Oct 7 18:15:08 PDT 2009


Update of /home/cvs/cvsroot/freeside/conf
In directory wavetail.420.am:/tmp/cvs-serv31989/conf

Modified Files:
	invoice_latex invoice_html 
Log Message:
conf switches to turn on smaller notes and footer sections with stock templates, RT#5218

Index: invoice_latex
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_latex,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- invoice_latex	7 Oct 2009 23:44:26 -0000	1.39
+++ invoice_latex	8 Oct 2009 01:15:06 -0000	1.40
@@ -82,12 +82,12 @@
     $OUT .= $coupon;
   }
   '';
---@] \small{
+--@] [@-- $smallerfooter ? '\scriptsize{' : '\small{' --@]
 [@-- $footer --@]
     }[@-- $coupon ? '\vspace{\extracouponspace}' : '' --@]
   }
   { % ... pages
-    \small{
+    [@-- $smallerfooter ? '\scriptsize{' : '\small{' --@]
 [@-- $smallfooter --@]
     }
   }
@@ -322,7 +322,13 @@
 --@]
 \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}

Index: invoice_html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_html,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- invoice_html	7 Oct 2009 23:44:26 -0000	1.32
+++ invoice_html	8 Oct 2009 01:15:06 -0000	1.33
@@ -221,9 +221,15 @@
   </table>
   <br><br>
 
-<%= length($summary) ? '' : $notes %>
+<%= length($summary)
+      ? ''
+      : ( $smallernotes
+            ? '<FONT SIZE="-1">'.$notes.'</FONT>'
+            : $notes
+        )
+%>
 
   <hr NOSHADE SIZE=2 COLOR="#000000">
-  <p align="center"><%= $footer %>
+  <p align="center" <%= $smallerfooter ? 'STYLE="font-size:75%;"' : '' %>><%= $footer %>
 
 </td></tr></table>



More information about the freeside-commits mailing list