[freeside-commits] branch FREESIDE_3_BRANCH updated. af1b255c779c5c6d0ddd354d670e6b909c26c4e3
Christopher Burger
burgerc at freeside.biz
Wed May 22 05:18:21 PDT 2019
The branch, FREESIDE_3_BRANCH has been updated
via af1b255c779c5c6d0ddd354d670e6b909c26c4e3 (commit)
from a25adda7b5c3235e7a048d4125039e808ebca8e8 (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 af1b255c779c5c6d0ddd354d670e6b909c26c4e3
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 bea81bc12..607f31dd1 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