summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_credit.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-12-30 21:59:39 -0800
committerIvan Kohler <ivan@freeside.biz>2013-12-30 21:59:39 -0800
commit19d8baa9a52d0c40b909d5323f59237f0ad557ef (patch)
tree6c2ae66d685ee82a3b87d482ea4d7a0bf660cfdd /httemplate/edit/cust_credit.cgi
parentdfc2e50770de813580136117ff4335fc83237df5 (diff)
fix money char for credits
Diffstat (limited to 'httemplate/edit/cust_credit.cgi')
-rwxr-xr-xhttemplate/edit/cust_credit.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi
index 09300c629..a3565f125 100755
--- a/httemplate/edit/cust_credit.cgi
+++ b/httemplate/edit/cust_credit.cgi
@@ -18,7 +18,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,
@@ -65,6 +65,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"