[freeside-commits] branch FREESIDE_3_BRANCH updated. 7a4df417fbc5e48c1b257f8695bcd4c2a1612d91
Ivan
ivan at 420.am
Mon Dec 30 21:59:41 PST 2013
The branch, FREESIDE_3_BRANCH has been updated
via 7a4df417fbc5e48c1b257f8695bcd4c2a1612d91 (commit)
from 1fed7d3c8a2e483177e39eadab4e5d916c86ec8f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7a4df417fbc5e48c1b257f8695bcd4c2a1612d91
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Dec 30 21:59:40 2013 -0800
fix money char for credits
diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi
index 4dba1e7..4bf140a 100755
--- a/httemplate/edit/cust_credit.cgi
+++ b/httemplate/edit/cust_credit.cgi
@@ -19,7 +19,7 @@
<TR>
<TD ALIGN="right"><% mt('Amount') |h %></TD>
- <TD BGCOLOR="#ffffff">$<INPUT TYPE="text" NAME="amount" VALUE="<% $amount |h %>" SIZE=8 MAXLENGTH=9></TD>
+ <TD BGCOLOR="#ffffff"><% $money_char |h %><INPUT TYPE="text" NAME="amount" VALUE="<% $amount |h %>" SIZE=8 MAXLENGTH=9></TD>
</TR>
<& /elements/tr-select-reason.html,
@@ -66,6 +66,8 @@
<%init>
my $conf = new FS::Conf;
+
+my $money_char = $conf->config('money_char') || '$';
my $date_format = $conf->config('date_format') || '%m/%d/%Y';
die "access denied"
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/cust_credit.cgi | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list