fix "Post manual (offline/POS) credit card refund", RT#18926
authorIvan Kohler <ivan@freeside.biz>
Thu, 16 Aug 2012 22:19:24 +0000 (15:19 -0700)
committerIvan Kohler <ivan@freeside.biz>
Thu, 16 Aug 2012 22:19:24 +0000 (15:19 -0700)
httemplate/edit/cust_refund.cgi
httemplate/edit/process/cust_refund.cgi

index ba93040..1ef69fd 100755 (executable)
@@ -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)$/;
index f4cce65..bde4072 100755 (executable)
@@ -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)$/;