add customer # to default invoice templates
authorivan <ivan>
Fri, 20 Apr 2007 21:40:56 +0000 (21:40 +0000)
committerivan <ivan>
Fri, 20 Apr 2007 21:40:56 +0000 (21:40 +0000)
conf/invoice_html
conf/invoice_latex

index fa1f943..f9fd847 100644 (file)
             <td>
             </td>
             <td align="left">
-              Invoice&nbsp;number<BR>
+              Invoice&nbsp;#<BR>
               <B><%= $invnum %></B>
             </td>
+            <td>
+            </td>
+            <td align="center">
+              Customer #<BR>
+              <B><%= $custnum %></B>
+            </td>
           </tr>
           <tr>
             <th>&nbsp;</th>
-            <th colspan=1 align="center">
+            <th colspan=3 align="center">
               <FONT SIZE="+3">I</FONT><FONT SIZE="+2">NVOICE</FONT>
             </th>
             <th>&nbsp;</th>
index cf557f4..660c4d5 100644 (file)
 \fancyhead[R]{\r
   \ifthenelse{\equal{\thepage}{1}}\r
   { % First page\r
-    \begin{tabular}{rcl}\r
-    Invoice date & & Invoice number \\\r
+    \begin{tabular}{ccc}\r
+    Invoice date & Invoice \#& Customer\#\\\r
     \vspace{0.2cm}\r
-    \textbf{[@-- $date --@]} & & \textbf{[@-- $invnum --@]} \\\hline\r
+    \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]} & \textbf{[@-- $custnum --@]} \\\hline\r
     \rule{0pt}{5ex} &~~ \huge{\textsc{Invoice}} & \\\r
     \vspace{-0.2cm}\r
      & & \\\hline\r
   }\r
   { % ... pages\r
     \small{\r
-      \begin{tabular}{ll}\r
-      Invoice date & Invoice number\\\r
-      \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]}\\\r
+      \begin{tabular}{lll}\r
+      Invoice date & Invoice \#& Customer\#\\\r
+      \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]} & \textbf{[@-- $custnum --@]}\\\r
       \end{tabular}\r
     }\r
   }\r