[freeside-commits] freeside/conf invoice_html, 1.31, 1.32 invoice_template, 1.3, 1.4 invoice_latex, 1.38, 1.39

Ivan,,, ivan at wavetail.420.am
Wed Oct 7 16:44:28 PDT 2009


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

Modified Files:
	invoice_html invoice_template invoice_latex 
Log Message:
naming follow-up notices from the event rather than creting a slew of separate templates, RT#5217

Index: invoice_template
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_template,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- invoice_template	8 Nov 2007 00:59:35 -0000	1.3
+++ invoice_template	7 Oct 2009 23:44:26 -0000	1.4
@@ -1,5 +1,5 @@
 
-                                 Invoice
+                                 { $notice_name || 'Invoice'; }
                                  { substr("Page $page of $total_pages          ", 0, 19); } { use Date::Format; time2str("%x", $date); }  Invoice #{ $invnum; }
 
 

Index: invoice_latex
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_latex,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- invoice_latex	5 Oct 2009 00:49:33 -0000	1.38
+++ invoice_latex	7 Oct 2009 23:44:26 -0000	1.39
@@ -127,7 +127,7 @@
     Invoice date & Invoice \#& Customer\#\\
     \vspace{0.2cm}
     \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]} & \textbf{[@-- $custnum --@]} \\\hline
-    \rule{0pt}{5ex} &~~ \huge{\textsc{Invoice}} & \\
+    \rule{0pt}{5ex} &~~ \huge{\textsc{[@-- $notice_name || 'Invoice' --@]}} & \\
     \vspace{-0.2cm}
      & & \\\hline
     \end{tabular}

Index: invoice_html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_html,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- invoice_html	5 Oct 2009 01:40:46 -0000	1.31
+++ invoice_html	7 Oct 2009 23:44:26 -0000	1.32
@@ -42,7 +42,7 @@
           <tr>
             <th>&nbsp;</th>
             <th colspan=3 align="center">
-              <FONT SIZE="+3">I</FONT><FONT SIZE="+2">NVOICE</FONT>
+              <FONT SIZE="+3"><%= $notice_name ? substr($notice_name, 0, 1) : 'I' %></FONT><FONT SIZE="+2"><%= $notice_name ? uc(substr($notice_name, 1)) : 'NVOICE' %></FONT>
             </th>
             <th>&nbsp;</th>
           </tr>



More information about the freeside-commits mailing list