[freeside-commits] branch FREESIDE_4_BRANCH updated. c1c461c35a370e10f011af54fa67f9bbc117dfc4
Christopher Burger
burgerc at freeside.biz
Tue May 14 07:55:11 PDT 2019
The branch, FREESIDE_4_BRANCH has been updated
via c1c461c35a370e10f011af54fa67f9bbc117dfc4 (commit)
from 2f6f9c28f41be0f92139fb5593df61040cb31b17 (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 c1c461c35a370e10f011af54fa67f9bbc117dfc4
Author: Christopher Burger <burgerc at freeside.biz>
Date: Tue May 14 10:34:28 2019 -0400
RT# 83306 - fixed realtime refunds
diff --git a/httemplate/edit/process/cust_refund.cgi b/httemplate/edit/process/cust_refund.cgi
index f248d54b7..d582b128f 100755
--- a/httemplate/edit/process/cust_refund.cgi
+++ b/httemplate/edit/process/cust_refund.cgi
@@ -39,7 +39,12 @@ $cgi->param('reasonnum') =~ /^(-?\d+)$/ or die "Illegal reasonnum";
my ($reasonnum, $error) = $m->comp('/misc/process/elements/reason');
$cgi->param('reasonnum', $reasonnum) unless $error;
-$error = "No batch download format configured that allows electronic refunds" unless (FS::pay_batch->can_handle_electronic_refunds && !$error);
+if ( $cgi->param('batch') ) {
+ $error = "No batch download format configured that allows electronic refunds via batch processing."
+ unless (FS::pay_batch->can_handle_electronic_refunds && !$error);
+}
+
+#die "my error\n".$error;
if ( $error ) {
# do nothing
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/process/cust_refund.cgi | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list