diff options
author | ivan <ivan> | 2012-01-14 07:05:15 +0000 |
---|---|---|
committer | ivan <ivan> | 2012-01-14 07:05:15 +0000 |
commit | fa33561ed20c57b0f63221d6a0f9c0cf5ebbef14 (patch) | |
tree | 4228f84cbe9ec763598097aa86aecdd3b275a407 /httemplate/edit/process/cust_main.cgi | |
parent | 679fbd2023aa5d87308c2f3d7d5360cfd3c8354a (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/cust_main.cgi')
-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); } |