diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-12-04 14:30:07 -0500 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-12-04 14:30:07 -0500 |
commit | 8ddf2ae7b5e02463c87599186f0279b86ddaeaac (patch) | |
tree | 8549c1c100ff76db0e6636d6ba1b6160e2f78fb6 /conf/invoice_latexcoupon | |
parent | 27bace7e53b5259e4694d8a5aea394fd1d88dc42 (diff) |
RT# 81822 - Added new config for remittance coupon location, updated invoice_latex and invoice_latexcoupon to use new config
Diffstat (limited to 'conf/invoice_latexcoupon')
-rw-r--r-- | conf/invoice_latexcoupon | 75 |
1 files changed, 38 insertions, 37 deletions
diff --git a/conf/invoice_latexcoupon b/conf/invoice_latexcoupon index 238022680..861648129 100644 --- a/conf/invoice_latexcoupon +++ b/conf/invoice_latexcoupon @@ -1,37 +1,38 @@ -Detach and return this remittance form with your payment.\\
-\begin{tabular}{ll}
-\begin{tabular}{ll}
-\returninset
-\begin{tabular}{ll}
- \makebox{ \includegraphics{[@-- $logo_file --@]}} & [@-- $verticalreturnaddress ? '\\\\' : '' --@]
- \begin{minipage}[b]{5.5cm}
-[@-- $returnaddress --@]
- \end{minipage}\\
-\end{tabular}&
-\begin{tabular}{r@{: }lr}
-Invoice date & \textbf{[@-- $date --@]} & \multirow{4}*{[@-- $verticalreturnaddress ? '\\rule{1.5cm}{0cm}' : '' --@]
-\makebox{
-\begin{minipage}[t]{7.0cm}
-\textbf{[@-- $payname --@]}\\
-\addressline{[@-- $company --@]}
-\addressline{[@-- $address1 --@]}
-\addressline{[@-- $address2 --@]}
-\addressline{[@-- $city --@], [@-- $state --@]~~[@-- $zip --@]}
-\addressline{[@-- $country --@]}
-[@-- $barcode_file ? '\\\\ \includegraphics{'.$barcode_file.'}' : "\\" --@]
-\end{minipage}}}\\
-Customer\#& \textbf{[@-- $custnum --@]} & \\
-Total Due & \textbf{[@-- $balance --@]} & \\
-\rule{0pt}{[@-- defined($amountenclosedsep) ? $amountenclosedsep : '2.25em' --@]}Amount Enclosed & \rule{2cm}{1pt}& \\
-\end{tabular}\\
-\rule{0pt}{[@-- defined($coupontoaddresssep) ? $coupontoaddresssep : '1in' --@]} &\\
-\end{tabular}\\
-\begin{tabular}{ll}
-\addressinset \rule{0.5cm}{0cm} &
-\makebox{
-\begin{minipage}[t]{7.0cm}
-[@-- $addcompanytoaddress ? $company_name. '\\\\' : '' --@][@-- $returnaddress --@]
-\end{minipage}}
-\hfill
-\end{tabular}\\
-\end{tabular}\\
+[@-- ($couponlocation eq "bottom") ? 'Detach and return this remittance form with your payment.\\' : '' --@] +\begin{tabular}{ll} +\begin{tabular}{ll} +\returninset +\begin{tabular}{ll} + \makebox{ \includegraphics{[@-- $logo_file --@]}} & [@-- $verticalreturnaddress ? '\\\\' : '' --@] + \begin{minipage}[b]{5.5cm} +[@-- $returnaddress --@] + \end{minipage}\\ +\end{tabular}& +\begin{tabular}{r@{: }lr} +Invoice date & \textbf{[@-- $date --@]} & \multirow{4}*{[@-- $verticalreturnaddress ? '\\rule{1.5cm}{0cm}' : '' --@] +\makebox{ +\begin{minipage}[t]{7.0cm} +\textbf{[@-- $payname --@]}\\ +\addressline{[@-- $company --@]} +\addressline{[@-- $address1 --@]} +\addressline{[@-- $address2 --@]} +\addressline{[@-- $city --@], [@-- $state --@]~~[@-- $zip --@]} +\addressline{[@-- $country --@]} +[@-- $barcode_file ? '\\\\ \includegraphics{'.$barcode_file.'}' : "\\" --@] +\end{minipage}}}\\ +Customer\#& \textbf{[@-- $custnum --@]} & \\ +Total Due & \textbf{[@-- $balance --@]} & \\ +\rule{0pt}{[@-- defined($amountenclosedsep) ? $amountenclosedsep : '2.25em' --@]}Amount Enclosed & \rule{2cm}{1pt}& \\ +\end{tabular}\\ +\rule{0pt}{[@-- defined($coupontoaddresssep) ? $coupontoaddresssep : '1in' --@]} &\\ +\end{tabular}\\ +\begin{tabular}{ll} +\addressinset \rule{0.5cm}{0cm} & +\makebox{ +\begin{minipage}[t]{7.0cm} +[@-- $addcompanytoaddress ? $company_name. '\\\\' : '' --@][@-- $returnaddress --@] +\end{minipage}} +\hfill +\end{tabular}\\ +\end{tabular}\\ +[@-- ($couponlocation eq "top") ? ' \centerline{Detach and return this remittance form with your payment. }\\\\' : '' --@]
\ No newline at end of file |