From 6a447b7839b73e164133c67d27b0e4e670e0ae8c Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 15 May 2017 15:10:57 -0700 Subject: [PATCH] PDF quotation fixes, RT#75991 --- conf/quotation_latex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/quotation_latex b/conf/quotation_latex index 6aac16075..25228dcb9 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} } } -- 2.11.0