summaryrefslogtreecommitdiff
path: root/conf/quotation_latex
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-05-15 15:10:54 -0700
committerIvan Kohler <ivan@freeside.biz>2017-05-15 15:10:54 -0700
commit1bbbe4252ec1e41075d015f33171f84380e67457 (patch)
tree38e17826cfd1073cde594b2d9a6d4e24abe5ed8f /conf/quotation_latex
parentf2ca904433495eff9e00802aa37da902b6518546 (diff)
PDF quotation fixes, RT#75991
Diffstat (limited to 'conf/quotation_latex')
-rw-r--r--conf/quotation_latex8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/quotation_latex b/conf/quotation_latex
index 6aac160..25228dc 100644
--- a/conf/quotation_latex
+++ b/conf/quotation_latex
@@ -127,9 +127,9 @@
\ifthenelse{\equal{\thepage}{1}}
{ % First page
\begin{tabular}{ccc}
- [@-- join(' & ', emt('Invoice date'), emt('Invoice #'), emt('Customer #') ) --@]\\
+ [@-- join(' & ', emt('Quotation date'), emt('Quotation #'), $custnum ? emt('Customer #') : emt('Prospect #') ) --@]\\
\vspace{0.2cm}
- \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]} & \textbf{[@-- $custnum --@]} \\\hline
+ \textbf{[@-- $date --@]} & \textbf{[@-- $quotationnum --@]} & \textbf{[@-- $custnum || $prospectnum --@]} \\\hline
\rule{0pt}{5ex} &~~ \huge{\textsc{[@-- emt($notice_name) --@]}} & \\
\vspace{-0.2cm}
& & \\\hline
@@ -138,8 +138,8 @@
{ % ... pages
\small{
\begin{tabular}{lll}
- [@-- join(' & ', emt('Invoice date'), emt('Invoice #'), emt('Customer #') ) --@]\\
- \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]} & \textbf{[@-- $custnum --@]}\\
+ [@-- join(' & ', emt('Quotation date'), emt('Quotation #'), $custnum ? emt('Customer #') : emt('Prospect #') ) --@]\\
+ \textbf{[@-- $date --@]} & \textbf{[@-- $quotationnum --@]} & \textbf{[@-- $custnum || $prospectnum --@]}\\
\end{tabular}
}
}