diff options
author | levinse <levinse> | 2011-06-23 04:09:48 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-06-23 04:09:48 +0000 |
commit | a0dd6f2c04a3f22aa741d1d639f8985a81c6e81b (patch) | |
tree | 6f8a8e24615a28a201e6f774827f5048624fa94c /httemplate/edit/process/cust_main.cgi | |
parent | 3545cf7c664f5cd24a5c4e9cf8c7ef368ac51f1f (diff) |
echeck: add optional bank branch format, RT13360
Diffstat (limited to 'httemplate/edit/process/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 3d56a8255..df6cec9df 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -42,8 +42,11 @@ $cgi->param('payby', $payby); if ( $payby ) { if ( $payby eq 'CHEK' || $payby eq 'DCHK' ) { - $cgi->param('payinfo', - $cgi->param('payinfo1'). '@'. $cgi->param('payinfo2') ); + my $payinfo = $cgi->param('payinfo1'). '@'; + $payinfo .= $cgi->param('payinfo3').'.' + if $conf->exists('cust_main-require-bank-branch'); + $payinfo .= $cgi->param('payinfo2'); + $cgi->param('payinfo',$payinfo); } $cgi->param('paydate', $cgi->param( 'exp_month' ). '-'. $cgi->param( 'exp_year' ) ); |