summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/invoice_html2
-rw-r--r--conf/invoice_latex2
2 files changed, 2 insertions, 2 deletions
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! <img src="cust_bill-barcode.cgi?invnum=$invnum;template=$template"><br> !;
}
%>
- Terms: <%= $terms %><BR>
+ <%= $terms ? "Terms: $terms" : '' %><BR>
<%= $po_line %>
</td>
</tr>
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}}