fix Discover card report, closes: Bug#1270
authorivan <ivan>
Mon, 7 Nov 2005 22:07:01 +0000 (22:07 +0000)
committerivan <ivan>
Mon, 7 Nov 2005 22:07:01 +0000 (22:07 +0000)
httemplate/search/cust_pay.cgi

index 9b9458e..bf3df98 100755 (executable)
@@ -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'     ".