From: Christopher Burger Date: Mon, 9 Jul 2018 12:27:53 +0000 (-0400) Subject: RT# 74435 - Fixed error with refund link on payment history page not allowing batch... X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=3a532ec892ee17b58691d0c04baead999ebdbab9;p=freeside.git RT# 74435 - Fixed error with refund link on payment history page not allowing batch refund when batch payment was made. --- diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm index df1410423..0769eb578 100644 --- a/FS/FS/cust_main/Billing_Realtime.pm +++ b/FS/FS/cust_main/Billing_Realtime.pm @@ -1530,7 +1530,7 @@ sub realtime_refund_bop { my $payment_gateway = $self->agent->payment_gateway( 'method' => $options{method} ); - my( $processor, $login, $password, $namespace ) = + ( $processor, $login, $password, $namespace ) = map { my $method = "gateway_$_"; $payment_gateway->$method } qw( module username password namespace ); diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi index 27c4b1937..f3dec98e1 100755 --- a/httemplate/edit/cust_refund.cgi +++ b/httemplate/edit/cust_refund.cgi @@ -105,7 +105,7 @@ % } -% elsif ($payby eq 'CHEK') { +% elsif ($payby eq 'CHEK' || $payby eq 'CARD') { %