[freeside-commits] branch master updated. 19d8baa9a52d0c40b909d5323f59237f0ad557ef

Ivan ivan at 420.am
Mon Dec 30 21:59:40 PST 2013


The branch, master has been updated
       via  19d8baa9a52d0c40b909d5323f59237f0ad557ef (commit)
      from  dfc2e50770de813580136117ff4335fc83237df5 (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 19d8baa9a52d0c40b909d5323f59237f0ad557ef
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Dec 30 21:59:39 2013 -0800

    fix money char for credits

diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi
index 09300c6..a3565f1 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"

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/cust_credit.cgi |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list