[freeside-commits] branch master updated. 51c3d90d07c9d5b3e33a1f002cf5a252ef65bb7b

Ivan ivan at 420.am
Thu Aug 16 15:19:25 PDT 2012


The branch, master has been updated
       via  51c3d90d07c9d5b3e33a1f002cf5a252ef65bb7b (commit)
      from  ec1c141729f9c3004cd0c633f2e4c7ed8bdaa418 (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 51c3d90d07c9d5b3e33a1f002cf5a252ef65bb7b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Aug 16 15:19:24 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