stretch
[freeside.git] / conf / invoice_latexcoupon
1 [@-- ($couponlocation eq "bottom") ? 'Detach and return this remittance form with your payment.\\' : '' --@]
2 \begin{tabular}{ll}
3 \begin{tabular}{ll}
4 \returninset
5 \begin{tabular}{ll}
6   \makebox{ \includegraphics{[@-- $logo_file --@]}} & [@-- $verticalreturnaddress ? '\\\\' : '' --@]
7   \begin{minipage}[b]{5.5cm}
8 [@-- $returnaddress --@]
9     \end{minipage}\\
10 \end{tabular}&
11 \begin{tabular}{r@{: }lr}
12 Invoice date & \textbf{[@-- $date --@]} & \multirow{4}*{[@-- $verticalreturnaddress ? '\\rule{1.5cm}{0cm}' : '' --@]
13 \makebox{
14 \begin{minipage}[t]{7.0cm}
15 \textbf{[@-- $payname --@]}\\
16 \addressline{[@-- $company --@]}
17 \addressline{[@-- $address1 --@]}
18 \addressline{[@-- $address2 --@]}
19 \addressline{[@-- $city --@], [@-- $state --@]~~[@-- $zip --@]}
20 \addressline{[@-- $country --@]}
21 [@-- $barcode_file ? '\\\\ \includegraphics{'.$barcode_file.'}' : "\\" --@]
22 \end{minipage}}}\\
23 Customer\#& \textbf{[@-- $custnum --@]} & \\
24 Total Due & \textbf{[@-- $balance --@]} & \\
25 \rule{0pt}{[@-- defined($amountenclosedsep) ? $amountenclosedsep : '2.25em' --@]}Amount Enclosed & \rule{2cm}{1pt}& \\
26 \end{tabular}\\
27 \rule{0pt}{[@-- defined($coupontoaddresssep) ? $coupontoaddresssep : '1in' --@]} &\\
28 \end{tabular}\\
29 \begin{tabular}{ll}
30 \addressinset \rule{0.5cm}{0cm} &
31 \makebox{
32 \begin{minipage}[t]{7.0cm}
33 [@-- $addcompanytoaddress ? $company_name. '\\\\' : '' --@][@-- $returnaddress --@]
34 \end{minipage}}
35 \hfill
36 \end{tabular}\\
37 \end{tabular}\\
38 [@-- ($couponlocation eq "top") ? ' \centerline{Detach and return this remittance form with your payment. }\\\\' : '' --@]