summaryrefslogtreecommitdiff
path: root/conf/invoice_latex
diff options
context:
space:
mode:
authorjeff <jeff>2008-10-10 21:30:12 +0000
committerjeff <jeff>2008-10-10 21:30:12 +0000
commit177001fe6d444a507e2929c416ef3d4f5f108643 (patch)
treec3b7a8570e370d483cbf5e3b4e05e7953ba3dbb9 /conf/invoice_latex
parent2db1910ce6cdc5cc583ba07c0c15661685d98e46 (diff)
avoid overprinting remittance coupons
Diffstat (limited to 'conf/invoice_latex')
-rw-r--r--conf/invoice_latex2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/invoice_latex b/conf/invoice_latex
index fe910b2..d04507d 100644
--- a/conf/invoice_latex
+++ b/conf/invoice_latex
@@ -237,6 +237,8 @@ Terms: [@-- $terms --@]\\
}
$OUT .= '\pagebreak' if $section{'post_total'};
$OUT .= '\captionsetup{singlelinecheck=false,justification=raggedright,font={Large,sc,bf}}';
+ $OUT .= '\ifthenelse{\equal{\thepage}{1}}{\setlength{\LTextracouponspace}{\extracouponspace}}{\setlength{\LTextracouponspace}{0pt}}'
+ if $coupon;
$OUT .= '\begin{longtable}{cllllllr}';
$OUT .= '\caption*{ ';
$OUT .= ($section->{'description'}) ? $section->{'description'}: 'Charges';