X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Finvoice_latex;h=b169b617f1df28122dd22c75dbbff69d0ebb0dda;hb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;hp=d56a7fbdc5960ac27511381be1a4d621ebb8064f;hpb=0af38652da3b3be7da2d35b048285ef6f2194e1a;p=freeside.git diff --git a/conf/invoice_latex b/conf/invoice_latex index d56a7fbdc..b169b617f 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -127,7 +127,11 @@ \ifthenelse{\equal{\thepage}{1}} { % First page \begin{tabular}{ccc} - [@-- join(' & ', emt('Invoice date'), emt('Invoice #'), emt('Customer #') ) --@]\\ + [@-- join(' & ', ( $no_date ? '' : emt('Invoice date') ), + ( $no_number ? '' : emt('Invoice #') ), + emt('Customer #') + ) + --@]\\ \vspace{0.2cm} \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]} & \textbf{[@-- $custnum --@]} \\\hline \rule{0pt}{5ex} &~~ \huge{\textsc{[@-- emt($notice_name) --@]}} & \\ @@ -164,8 +168,9 @@ \newcommand{\FSdescriptionlength} { [@-- $unitprices ? '8.2cm' : '12.8cm' --@] } \newcommand{\FSdescriptioncolumncount} { [@-- $unitprices ? '4' : '6' --@] } \newcommand{\FSunitcolumns}{ [@-- - $unitprices - ? '\makebox[2.5cm][l]{\textbf{~~'.emt('Unit Price').'}}&\makebox[1.4cm]{\textbf{~'.emt('Quantity').'}}&' + $unitprices + ? '\makebox[2.5cm][r]{\textbf{~~' . emt('Unit Price') . '}} &' . + '\makebox[1.4cm]{\textbf{~' . emt('Quantity') . '}} & ' : '' --@] } \newcommand{\FShead}{ @@ -182,7 +187,7 @@ \newcommand{\FSdesc}[5]{ \multicolumn{1}{c}{\rule{0pt}{2.5ex}\textbf{#1}} & \multicolumn{[@-- $unitprices ? '4' : '6' --@]}{l}{\textbf{#2}} & -[@-- $unitprices ? ' \multicolumn{1}{l}{\textbf{#3}} &'."\n". +[@-- $unitprices ? ' \multicolumn{1}{r}{\textbf{\dollar #3}} &'."\n". ' \multicolumn{1}{r}{\textbf{#4}} &'."\n" : '' --@]