From: ivan Date: Mon, 7 Nov 2005 22:07:01 +0000 (+0000) Subject: fix Discover card report, closes: Bug#1270 X-Git-Tag: BEFORE_FINAL_MASONIZE~324 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=48767efdf16b2c9db3cc003128f82b30d10c777a fix Discover card report, closes: Bug#1270 --- diff --git a/httemplate/search/cust_pay.cgi b/httemplate/search/cust_pay.cgi index 9b9458e63..bf3df9846 100755 --- a/httemplate/search/cust_pay.cgi +++ b/httemplate/search/cust_pay.cgi @@ -51,8 +51,9 @@ " ) "; } elsif ( $3 eq 'Discover' ) { push @search, - " substring(cust_pay.payinfo from 1 for 4 ) = '6011' ". - " OR substring(cust_pay.payinfo from 1 for 3 ) = '650' "; + " ( substring(cust_pay.payinfo from 1 for 4 ) = '6011' ". + " OR substring(cust_pay.payinfo from 1 for 3 ) = '650' ". + " ) "; } elsif ( $3 eq 'Maestro' ) { push @search, " ( substring(cust_pay.payinfo from 1 for 2 ) = '63' ".