diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/invoice_html | 10 | ||||
-rw-r--r-- | conf/invoice_latex | 12 |
2 files changed, 17 insertions, 5 deletions
diff --git a/conf/invoice_html b/conf/invoice_html index 7ee0fdc19..b7f7b9789 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -221,9 +221,15 @@ </table> <br><br> -<%= length($summary) ? '' : $notes %> +<%= length($summary) + ? '' + : ( $smallernotes + ? '<FONT SIZE="-1">'.$notes.'</FONT>' + : $notes + ) +%> <hr NOSHADE SIZE=2 COLOR="#000000"> - <p align="center"><%= $footer %> + <p align="center" <%= $smallerfooter ? 'STYLE="font-size:75%;"' : '' %>><%= $footer %> </td></tr></table> diff --git a/conf/invoice_latex b/conf/invoice_latex index 42a9f93cf..ef6546f1a 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -82,12 +82,12 @@ $OUT .= $coupon;
}
'';
---@] \small{
+--@] [@-- $smallerfooter ? '\scriptsize{' : '\small{' --@]
[@-- $footer --@]
}[@-- $coupon ? '\vspace{\extracouponspace}' : '' --@]
}
{ % ... pages
- \small{
+ [@-- $smallerfooter ? '\scriptsize{' : '\small{' --@]
[@-- $smallfooter --@]
}
}
@@ -322,7 +322,13 @@ Terms: [@-- $terms --@]\\ --@]
\vfill
\begin{minipage}[t]{\textwidth}
- [@-- length($summary) ? '' : $notes --@]
+ [@-- length($summary)
+ ? ''
+ : ( $smallernotes
+ ? '\scriptsize{ '.$notes.' }'
+ : $notes
+ )
+ --@]
[@-- $coupon ? '\ifthenelse{\equal{\thepage}{1}}{\rule{0pt}{\extracouponspace}}{}' : '' --@]
\end{minipage}
\end{document}
|