prevent notes from bleeding onto coupon RT#5537
authorjeff <jeff>
Wed, 10 Jun 2009 23:30:46 +0000 (23:30 +0000)
committerjeff <jeff>
Wed, 10 Jun 2009 23:30:46 +0000 (23:30 +0000)
conf/invoice_latex

index 0cd4812..7facc19 100644 (file)
@@ -318,5 +318,8 @@ Terms: [@-- $terms --@]\\
 \r
 --@]\r
 \vfill\r
-[@-- $notes --@]\r
+\begin{minipage}[t]{\textwidth}\r
+  [@-- $notes --@]\r
+  [@-- $coupon ? '\ifthenelse{\equal{\thepage}{1}}{\rule{0pt}{\extracouponspace}}{}' : '' --@]\r
+\end{minipage}\r
 \end{document}\r