[freeside-commits] branch FREESIDE_2_3_BRANCH updated. ae96256d4201d95c9278083263537dd7c78ff3bb
Ivan
ivan at 420.am
Thu Aug 16 15:19:26 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via ae96256d4201d95c9278083263537dd7c78ff3bb (commit)
from 0d4d7c6197ab31d3667c13a99cf2488cdbf4a23b (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 ae96256d4201d95c9278083263537dd7c78ff3bb
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Aug 16 15:19:25 2012 -0700
fix "Post manual (offline/POS) credit card refund", RT#18926
diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi
index ba93040..1ef69fd 100755
--- a/httemplate/edit/cust_refund.cgi
+++ b/httemplate/edit/cust_refund.cgi
@@ -141,7 +141,7 @@ my $reason = $cgi->param('reason');
my $link = $cgi->param('popup') ? 'popup' : '';
my @rights = ();
-push @rights, 'Post refund' if $payby =~ /^(BILL|CASH)$/;
+push @rights, 'Post refund' if $payby =~ /^(BILL|CASH|MCRD)$/;
push @rights, 'Post check refund' if $payby eq 'BILL';
push @rights, 'Post cash refund ' if $payby eq 'CASH';
push @rights, 'Refund payment' if $payby =~ /^(CARD|CHEK)$/;
diff --git a/httemplate/edit/process/cust_refund.cgi b/httemplate/edit/process/cust_refund.cgi
index f4cce65..bde4072 100755
--- a/httemplate/edit/process/cust_refund.cgi
+++ b/httemplate/edit/process/cust_refund.cgi
@@ -31,7 +31,7 @@ my $link = $cgi->param('popup') ? 'popup' : '';
my $payby = $cgi->param('payby');
my @rights = ();
-push @rights, 'Post refund' if $payby =~ /^(BILL|CASH)$/;
+push @rights, 'Post refund' if $payby =~ /^(BILL|CASH|MCRD)$/;
push @rights, 'Post check refund' if $payby eq 'BILL';
push @rights, 'Post cash refund ' if $payby eq 'CASH';
push @rights, 'Refund payment' if $payby =~ /^(CARD|CHEK)$/;
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/cust_refund.cgi | 2 +-
httemplate/edit/process/cust_refund.cgi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list