diff options
author | jeff <jeff> | 2008-10-10 21:30:12 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-10-10 21:30:12 +0000 |
commit | 177001fe6d444a507e2929c416ef3d4f5f108643 (patch) | |
tree | c3b7a8570e370d483cbf5e3b4e05e7953ba3dbb9 /conf/invoice_latex | |
parent | 2db1910ce6cdc5cc583ba07c0c15661685d98e46 (diff) |
avoid overprinting remittance coupons
Diffstat (limited to 'conf/invoice_latex')
-rw-r--r-- | conf/invoice_latex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/invoice_latex b/conf/invoice_latex index fe910b24e..d04507d99 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';
|