diff options
author | jeff <jeff> | 2009-08-26 20:52:26 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-08-26 20:52:26 +0000 |
commit | a85e7c8a0f6b9bd281a761c34ac34b30dcf7663a (patch) | |
tree | e07dd9cc14c3e82d4381657c678ace30ccaca03e /fs_selfservice | |
parent | c97606ae5b88ae471c9815e45d332bf01f89cade (diff) |
improve testing need for invoicing list
Diffstat (limited to 'fs_selfservice')
-rw-r--r-- | fs_selfservice/FS-SelfService/cgi/selfservice.cgi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/selfservice.cgi b/fs_selfservice/FS-SelfService/cgi/selfservice.cgi index 2ace027a4..7c5ad839c 100644 --- a/fs_selfservice/FS-SelfService/cgi/selfservice.cgi +++ b/fs_selfservice/FS-SelfService/cgi/selfservice.cgi @@ -165,13 +165,18 @@ sub process_change_ship { sub process_change_pay { my $postal = $cgi->param( 'postal_invoicing' ); + my $payby = $cgi->param( 'payby' ); my @list = qw( payby payinfo payinfo1 payinfo2 month year payname address1 address2 city county state zip country auto paytype paystate ss stateid stateid_state invoicing_list ); push @list, 'postal_invoicing' if $postal; - unless ( $postal || $cgi->param( 'invoicing_list' ) ) { + unless ( $payby ne 'BILL' + || $postal + || $cgi->param( 'invoicing_list' ) + ) + { $action = 'change_pay'; return { %{&change_pay()}, |