[freeside-commits] freeside/conf invoice_latex, 1.11.4.11, 1.11.4.12
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun Oct 12 16:57:09 PDT 2008
Update of /home/cvs/cvsroot/freeside/conf
In directory wavetail.420.am:/tmp/cvs-serv29381
Modified Files:
Tag: FREESIDE_1_7_BRANCH
invoice_latex
Log Message:
better column widths and easier maintenance
Index: invoice_latex
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_latex,v
retrieving revision 1.11.4.11
retrieving revision 1.11.4.12
diff -u -d -r1.11.4.11 -r1.11.4.12
--- invoice_latex 12 Oct 2008 21:23:07 -0000 1.11.4.11
+++ invoice_latex 12 Oct 2008 23:57:06 -0000 1.11.4.12
@@ -154,7 +154,22 @@
\renewcommand{\familydefault}{phv}
-% Commands for freeside description...
+% Commands for freeside table header...
+\newcommand{\FShead}{
+ \hline
+ \rule{0pt}{2.5ex}
+ \makebox[1.4cm]{\textbf{Ref}} &
+ \makebox[2.9cm][l]{\textbf{Description}}&
+ \makebox[1.4cm][l]{}&
+ \makebox[1.4cm][l]{}&
+ \makebox[2.5cm][l]{}&
+ \makebox[2.5cm][l]{\textbf{[@-- $unitprices ? '~~Unit Price' : '' --@]}}&
+ \makebox[1.4cm]{\textbf{[@-- $unitprices ? '~Quantity' : '' --@]}}&
+ \makebox[1.6cm][r]{\textbf{Amount}} \\
+ \hline
+}
+
+% ...description...
\newcommand{\FSdesc}[5]{
\multicolumn{1}{c}{\rule{0pt}{2.5ex}\textbf{#1}} &
\multicolumn{4}{l}{\textbf{#2}} &
@@ -227,31 +242,10 @@
%
\section*{\textsc{Charges}}
\begin{longtable}{cllllllr}
-\hline
-\rule{0pt}{2.5ex}
-\makebox[1.4cm]{\textbf{Ref}} &
-\makebox[2.0cm][l]{\textbf{Description}}&
-\makebox[2.0cm][l]{}&
-\makebox[2.0cm][l]{}&
-\makebox[2.0cm][l]{}&
-\makebox[2.0cm][l]{\textbf{[@-- $unitprices ? '~~Unit Price' : '' --@]}}&
-\makebox[2.0cm]{\textbf{[@-- $unitprices ? '~Quantity' : '' --@]}}&
-\makebox[2.0cm][r]{\textbf{Amount}} \\
-%
-\hline
+\FShead
\endfirsthead
\multicolumn{7}{r}{\rule{0pt}{2.5ex}Continued from previous page}\\
-\hline
-\rule{0pt}{2.5ex}
-\makebox[1.4cm]{\textbf{Ref}} &
-\makebox[2.0cm][l]{\textbf{Description}}&
-\makebox[2.0cm][l]{}&
-\makebox[2.0cm][l]{}&
-\makebox[2.0cm][l]{}&
-\makebox[2.0cm][l]{\textbf{[@-- $unitprices ? '~~Unit Price' : '' --@]}}&
-\makebox[2.0cm]{\textbf{[@-- $unitprices ? '~Quantity' : '' --@]}}&
-\makebox[2.0cm][r]{\textbf{Amount}} \\
-\hline
+\FShead
\endhead
\multicolumn{7}{r}{\rule{0pt}{2.5ex}Continued on next page...}\\
\endfoot
More information about the freeside-commits
mailing list