[freeside-commits] freeside/conf invoice_latex, 1.44, 1.44.2.1 invoice_html, 1.37, 1.37.2.1
Ivan,,,
ivan at wavetail.420.am
Mon Aug 15 17:37:03 PDT 2011
Update of /home/cvs/cvsroot/freeside/conf
In directory wavetail.420.am:/tmp/cvs-serv28785
Modified Files:
Tag: FREESIDE_2_3_BRANCH
invoice_latex invoice_html
Log Message:
don't show empty Terms: on invoices
Index: invoice_latex
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_latex,v
retrieving revision 1.44
retrieving revision 1.44.2.1
diff -u -w -d -r1.44 -r1.44.2.1
--- invoice_latex 12 Jan 2011 11:31:55 -0000 1.44
+++ invoice_latex 16 Aug 2011 00:37:01 -0000 1.44.2.1
@@ -229,7 +229,7 @@
}
--@]
\begin{flushright}
-Terms: [@-- $terms --@]\\
+[@-- $terms ? "Terms: $terms" : '' --@]\\
[@-- $po_line --@]\\
\end{flushright}
\end{minipage}}
Index: invoice_html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_html,v
retrieving revision 1.37
retrieving revision 1.37.2.1
diff -u -w -d -r1.37 -r1.37.2.1
--- invoice_html 16 Feb 2011 07:39:04 -0000 1.37
+++ invoice_html 16 Aug 2011 00:37:01 -0000 1.37.2.1
@@ -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>
More information about the freeside-commits
mailing list