X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_credit.cgi;h=29801efefa7301843c32e65ce5837e18d3505770;hb=3cda3a85eb0daa5b8b9f4d30cd0896da6ccf4a9b;hp=6e8a9c9892e76fad982982e5404699d128d33983;hpb=8ef00c68688492b2afa3dde8d3d467f89f238c40;p=freeside.git
diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi
index 6e8a9c989..29801efef 100755
--- a/httemplate/edit/cust_credit.cgi
+++ b/httemplate/edit/cust_credit.cgi
@@ -8,7 +8,6 @@
-
<% ntable("#cccccc", 2) %>
@@ -19,13 +18,13 @@
<% mt('Amount') |h %> |
- $ |
+ <% $money_char |h %> |
<& /elements/tr-select-reason.html,
'field' => 'reasonnum',
'reason_class' => 'R',
- 'control_button' => "document.getElementById('confirm_credit_button')",
+ 'control_button' => 'confirm_credit_button',
'cgi' => $cgi,
&>
@@ -34,6 +33,7 @@
|
+
% if ( $conf->exists('credits-auto-apply-disable') ) {
@@ -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"
@@ -73,7 +75,6 @@ die "access denied"
my $custnum = $cgi->param('custnum');
my $amount = $cgi->param('amount');
my $_date = time;
-my $otaker = getotaker;
my $p1 = popurl(1);
%init>