summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-04-14 15:37:30 -0700
committerMark Wells <mark@freeside.biz>2016-04-14 15:37:30 -0700
commit1a2b4deb55de4659f25a607fa1918d162b0be7d1 (patch)
tree627aabc045c8cc68576f530d50a0a8b0e940d0fb /conf
parente955f682e4a756ff90c3463efd82377896631047 (diff)
set invoice defaults to support online printing, #33849
Diffstat (limited to 'conf')
-rw-r--r--conf/invoice_latex6
-rw-r--r--conf/invoice_latexcoupon2
2 files changed, 5 insertions, 3 deletions
diff --git a/conf/invoice_latex b/conf/invoice_latex
index a1b9d9b18..2a0f882c1 100644
--- a/conf/invoice_latex
+++ b/conf/invoice_latex
@@ -66,7 +66,7 @@
}
}
-\newcommand{\extracouponspace}{[@-- defined($extracouponspace) ? $extracouponspace : '3.6cm' --@]}
+\newcommand{\extracouponspace}{[@-- defined($extracouponspace) ? $extracouponspace : '2.7in' --@]}
% Adjust the inset of the mailing address
\newcommand{\addressinset}[1][]{\hspace{1.0cm}}
@@ -95,7 +95,9 @@
$OUT .= '\vspace{-\extracouponspace}';
$OUT .= '\rule[0.5em]{\textwidth}{\footrulewidth}\\\\';
$OUT .= $coupon;
- $OUT .= '\vspace{'. $couponfootsep. '}' if defined($couponfootsep);
+ $OUT .= '\vspace{'.
+ (defined($couponfootsep) ? $couponfootsep : '0.2in') .
+ '}';
}
'';
--@] [@-- $smallerfooter ? '\scriptsize{' : '\small{' --@]
diff --git a/conf/invoice_latexcoupon b/conf/invoice_latexcoupon
index a0338bd9a..238022680 100644
--- a/conf/invoice_latexcoupon
+++ b/conf/invoice_latexcoupon
@@ -24,7 +24,7 @@ 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 : '1cm' --@]} &\\
+\rule{0pt}{[@-- defined($coupontoaddresssep) ? $coupontoaddresssep : '1in' --@]} &\\
\end{tabular}\\
\begin{tabular}{ll}
\addressinset \rule{0.5cm}{0cm} &