X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=conf%2Finvoice_latexcoupon;h=861648129baea9974672c0c03ab104a10b387200;hp=327c1213becfa5731ebec8e7f38e0b55ae290710;hb=51c0d6572357ba4d7c11a11e7ff506428c1cc045;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2 diff --git a/conf/invoice_latexcoupon b/conf/invoice_latexcoupon index 327c1213b..861648129 100644 --- a/conf/invoice_latexcoupon +++ b/conf/invoice_latexcoupon @@ -1,36 +1,38 @@ -Detach and return this remittance form with your your payment.\\ -\begin{tabular}{ll} -\begin{tabular}{ll} -\returninset -\begin{tabular}{ll} - \makebox{ \includegraphics{[@-- $logo_file --@]}} & - \begin{minipage}[b]{5.5cm} -[@-- $returnaddress --@] - \end{minipage} -\end{tabular}& -\begin{tabular}{r@{: }lr} -Invoice date & \textbf{[@-- $date --@]} & \multirow{4}*{ -\makebox{ -\begin{minipage}[t]{7.0cm} -\textbf{[@-- $payname --@]}\\ -\addressline{[@-- $company --@]} -\addressline{[@-- $address1 --@]} -\addressline{[@-- $address2 --@]} -\addressline{[@-- $city --@], [@-- $state --@]~~[@-- $zip --@]} -\addressline{[@-- $country --@]} -\end{minipage}}}\\ -Customer\#& \textbf{[@-- $custnum --@]} & \\ -Total Due & \textbf{[@-- $balance --@]} & \\ -\rule{0pt}{2.25em}Amount Enclosed & \rule{2cm}{1pt}& \\ -\end{tabular}\\ -\rule{0pt}{1cm} &\\ -\end{tabular}\\ -\begin{tabular}{ll} -\addressinset \rule{0.5cm}{0cm} & -\makebox{ -\begin{minipage}[t]{7.0cm} -[@-- $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