X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fcust_refund.cgi;fp=httemplate%2Fedit%2Fprocess%2Fcust_refund.cgi;h=764f2deb77445a0422b1d69340552d8e588f1273;hp=6ad468b6c8a161139b4ac4ddc5d6e95b8c3fd197;hb=fdc589c5d08623f437df749c5e43360248ccce11;hpb=159e3b1170a3011738e0937ea1b155488ee5a83c diff --git a/httemplate/edit/process/cust_refund.cgi b/httemplate/edit/process/cust_refund.cgi index 6ad468b6c..764f2deb7 100755 --- a/httemplate/edit/process/cust_refund.cgi +++ b/httemplate/edit/process/cust_refund.cgi @@ -47,12 +47,11 @@ if ( $error ) { my $refund = "$1$2"; $cgi->param('paynum') =~ /^(\d*)$/ or die "Illegal paynum!"; my $paynum = $1; - my $reason = $cgi->param('reason'); my $paydate = $cgi->param('exp_year'). '-'. $cgi->param('exp_month'). '-01'; $options{'paydate'} = $paydate if $paydate =~ /^\d{2,4}-\d{1,2}-01$/; $error = $cust_main->realtime_refund_bop( $bop, 'amount' => $refund, 'paynum' => $paynum, - 'reason' => $reason, + 'reasonnum' => $reasonnum, %options ); } else { my %hash = map {