diff options
author | ivan <ivan> | 2012-01-14 07:05:18 +0000 |
---|---|---|
committer | ivan <ivan> | 2012-01-14 07:05:18 +0000 |
commit | 074464a707b2c8b83cc50cd0bb067660ef4d0f9f (patch) | |
tree | 0ad8867e31ae73ea793a29ca4589b6ba0fbb86dd /httemplate/edit/process | |
parent | a6446097691aa2e1b393cd1f099f304316a82689 (diff) |
improve echeck validation for canada, deprecate echeck-nonus and cust_main-require-bank-branch config in favor of echeck-country, RT#15982
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index df6cec9df..f75e2a6ae 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -44,7 +44,7 @@ if ( $payby ) { 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); } |