[freeside-commits] freeside/httemplate/edit/process cust_refund.cgi, 1.10, 1.11
Ivan,,,
ivan at wavetail.420.am
Mon Nov 8 10:39:36 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv30046/edit/process
Modified Files:
cust_refund.cgi
Log Message:
fix fallout from more granular ACLs for payments, RT#10505
Index: cust_refund.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_refund.cgi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- cust_refund.cgi 3 Nov 2010 23:44:47 -0000 1.10
+++ cust_refund.cgi 8 Nov 2010 18:39:34 -0000 1.11
@@ -31,10 +31,10 @@
my $payby = $cgi->param('payby');
my @rights = ();
-push @rights, 'Post refund' if $payby /^(BILL|CASH)$/;
+push @rights, 'Post refund' if $payby =~ /^(BILL|CASH)$/;
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)$/;
+push @rights, 'Refund payment' if $payby =~ /^(CARD|CHEK)$/;
push @rights, 'Refund credit card payment' if $payby eq 'CARD';
push @rights, 'Refund Echeck payment' if $payby eq 'CHEK';
More information about the freeside-commits
mailing list