[freeside-commits] freeside/httemplate/edit/process cust_main.cgi, 1.51, 1.51.2.1

Ivan,,, ivan at wavetail.420.am
Fri Jan 13 23:05:19 PST 2012


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv10621/httemplate/edit/process

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	cust_main.cgi 
Log Message:
improve echeck validation for canada, deprecate echeck-nonus and cust_main-require-bank-branch config in favor of echeck-country, RT#15982

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.51
retrieving revision 1.51.2.1
diff -u -w -d -r1.51 -r1.51.2.1
--- cust_main.cgi	23 Jun 2011 04:08:20 -0000	1.51
+++ cust_main.cgi	14 Jan 2012 07:05:17 -0000	1.51.2.1
@@ -44,7 +44,7 @@
   if ( $payby eq 'CHEK' || $payby eq 'DCHK' ) {
       my $payinfo = $cgi->param('payinfo1'). '@';
       $payinfo .= $cgi->param('payinfo3').'.' 
-            if $conf->exists('cust_main-require-bank-branch');
+            if $conf->config('echeck-country') eq 'CA';
       $payinfo .= $cgi->param('payinfo2');
       $cgi->param('payinfo',$payinfo);
   }



More information about the freeside-commits mailing list