[freeside-commits] freeside/httemplate/edit cust_refund.cgi, 1.11, 1.11.2.1
Ivan,,,
ivan at wavetail.420.am
Mon Nov 8 10:39:36 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv30051/edit
Modified Files:
Tag: FREESIDE_2_1_BRANCH
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/cust_refund.cgi,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -w -d -r1.11 -r1.11.2.1
--- cust_refund.cgi 3 Nov 2010 23:44:47 -0000 1.11
+++ cust_refund.cgi 8 Nov 2010 18:39:34 -0000 1.11.2.1
@@ -141,10 +141,10 @@
my $link = $cgi->param('popup') ? 'popup' : '';
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