diff options
author | ivan <ivan> | 2011-08-16 00:37:02 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-08-16 00:37:02 +0000 |
commit | 35965be444639d6d0a99e64c9cbdbb521dfed0ab (patch) | |
tree | 6f5e500491215d96cc48bc80bf378ba5447a6363 | |
parent | 33e4acc0ed54e781f528b8ad89d8e018c50fdbf3 (diff) |
don't show empty Terms: on invoices
-rw-r--r-- | conf/invoice_html | 2 | ||||
-rw-r--r-- | conf/invoice_latex | 2 |
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}}
|