diff options
author | ivan <ivan> | 2003-04-21 20:53:57 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-04-21 20:53:57 +0000 |
commit | 030bef17868168b05a67d9f5866b55da1bb9439c (patch) | |
tree | afb0ca6f648985fe710dc07b87ab5008a55c2a0b /httemplate/edit/process/cust_main.cgi | |
parent | 6eedae5614eee808d0e0c4b9d9b3fe7d1217b776 (diff) |
on-demand vs. automatic cards & checks: added DCRD and DCHK payment types
Diffstat (limited to 'httemplate/edit/process/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 5e6000c05..3700d9b96 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -10,9 +10,9 @@ $cgi->param('refnum', (split(/:/, ($cgi->param('refnum'))[0] ))[0] ); my $payby = $cgi->param('payby'); if ( $payby ) { - if ( $payby eq 'CHEK' ) { + if ( $payby eq 'CHEK' || $payby eq 'DCHK' ) { $cgi->param('payinfo', - $cgi->param('CHEK_payinfo1'). '@'. $cgi->param('CHEK_payinfo2') ); + $cgi->param($payby. '_payinfo1'). '@'. $cgi->param($payby. '_payinfo2') ); } else { $cgi->param('payinfo', $cgi->param( $payby. '_payinfo' ) ); } |