[freeside-commits] freeside/conf invoice_latex,1.33,1.34
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Jan 7 08:59:50 PST 2009
Update of /home/cvs/cvsroot/freeside/conf
In directory wavetail.420.am:/tmp/cvs-serv2425
Modified Files:
invoice_latex
Log Message:
allow tex to do more column sizing
Index: invoice_latex
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_latex,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- invoice_latex 29 Dec 2008 18:06:21 -0000 1.33
+++ invoice_latex 7 Jan 2009 16:59:48 -0000 1.34
@@ -157,16 +157,21 @@
% Commands for freeside table header...
+
+\newcommand{\FSdescriptionlength} { [@-- $unitprices ? '8.2cm' : '12.8cm' --@] }
+\newcommand{\FSdescriptioncolumncount} { [@-- $unitprices ? '4' : '6' --@] }
+\newcommand{\FSunitcolumns}{ [@-- $unitprices ? '\makebox[2.5cm][l]{\textbf{~~Unit Price}}&\makebox[1.4cm]{\textbf{~Quantity}}&' : '' --@] }
+
\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[2.9cm][l]{\textbf{Description}}&
+% \makebox[1.4cm][l]{}&
+% \makebox[1.4cm][l]{}&
+% \makebox[2.5cm][l]{}&
+ \multicolumn{\FSdescriptioncolumncount}{l}{\makebox[\FSdescriptionlength][l]{\textbf{Description}}}&
+ \FSunitcolumns
\makebox[1.6cm][r]{\textbf{Amount}} \\
\hline
}
More information about the freeside-commits
mailing list