From: ivan Date: Tue, 16 Aug 2011 00:37:01 +0000 (+0000) Subject: don't show empty Terms: on invoices X-Git-Tag: freeside_2_3_1~331 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f024e9d6f1a39f192bf7393c670332c9d223af79 don't show empty Terms: on invoices --- diff --git a/conf/invoice_html b/conf/invoice_html index fc553d5d5..7a8b8594e 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -86,7 +86,7 @@ $OUT .= qq!
!; } %> - Terms: <%= $terms %>
+ <%= $terms ? "Terms: $terms" : '' %>
<%= $po_line %> diff --git a/conf/invoice_latex b/conf/invoice_latex index 97401f9e1..27ca80305 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -229,7 +229,7 @@ } --@] \begin{flushright} -Terms: [@-- $terms --@]\\ +[@-- $terms ? "Terms: $terms" : '' --@]\\ [@-- $po_line --@]\\ \end{flushright} \end{minipage}}