X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fcust_refund.cgi;h=f4cce65359dddbed4a1c978339ab72f09ffee2d3;hb=41d0660124cf3965a4a2b4706d02e382ac4cbf01;hp=389bc990c096f90bcd5adb0dc78b310029efd402;hpb=f099e0dfa8f438a84d8f1bce36f5e5bda60481e5;p=freeside.git diff --git a/httemplate/edit/process/cust_refund.cgi b/httemplate/edit/process/cust_refund.cgi index 389bc990c..f4cce6535 100755 --- a/httemplate/edit/process/cust_refund.cgi +++ b/httemplate/edit/process/cust_refund.cgi @@ -31,10 +31,10 @@ 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)$/; 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';