freeside/fs_selfservice/FS-SelfService/cgi signup.cgi,1.1,1.2
ivan
ivan at pouncequick.420.am
Sat Mar 12 06:35:16 PST 2005
- Previous message: freeside/fs_selfservice/FS-SelfService/cgi decline.html,NONE,1.1 map.gif,NONE,1.1 promocode.html,NONE,1.1 regcode.html,NONE,1.1 signup-agentselect.html,NONE,1.1 signup-alternate.html,NONE,1.1 signup-billaddress.html,NONE,1.1 signup-freeoption.html,NONE,1.1 signup-snarf.html,NONE,1.1 signup.cgi,NONE,1.1 stateselect.html,NONE,1.1 success.html,NONE,1.1 agent.cgi,1.7,1.8 signup.html,1.2,1.3
- Next message: freeside/rt/lib/RT/URI freeside.pm,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory pouncequick:/tmp/cvs-serv10305/fs_selfservice/FS-SelfService/cgi
Modified Files:
signup.cgi
Log Message:
- bring prepaid support into this century (close: Bug#1124)
- finally get rid of fs_signup (everything is in fs_selfservice now) (Bug#413)
- organize main menu sysadmin section so it is slightly less confusing
Index: signup.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/signup.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- signup.cgi 12 Mar 2005 14:31:50 -0000 1.1
+++ signup.cgi 12 Mar 2005 14:35:12 -0000 1.2
@@ -12,24 +12,7 @@
$success_html $success_template
$decline_html $decline_template
);
- #$locales $packages
- #$pops %pop %popnum2pop
-
- #$last $first $ss $company $address1
- #$address2 $city $state $county
- #$country $zip $daytime $night $fax
-
- #$ship_last $ship_first $ship_ss $ship_company $ship_address1
- #$ship_address2 $ship_city $ship_state $ship_county
- #$ship_country $ship_zip $ship_daytime $ship_night $ship_fax
-
- #$invoicing_list $payby $payinfo
- #$paycvv $paydate $payname $referral_custnum $init_popstate
- #$pkgpart $username $_password $_password2 $sec_phrase $popnum
- #$refnum
- #$ac $exch $loc
- #$email_name $pkg
use subs qw( print_form print_okay print_decline
success_default decline_default
);
@@ -140,49 +123,11 @@
'promo_code' => scalar($cgi->param('promo_code')),
'reg_code' => uc(scalar($cgi->param('reg_code'))),
);
-#$error = $init_data->{'error'};
-#$locales = $init_data->{'cust_main_county'};
-#$packages = $init_data->{'part_pkg'};
-#$pops = $init_data->{'svc_acct_pop'};
-#@payby = @{$init_data->{'payby'}} if @{$init_data->{'payby'}};
-#$packages = $init_data->{agentnum2part_pkg}{$agentnum} if $agentnum;
if ( ( defined($cgi->param('magic')) && $cgi->param('magic') eq 'process' )
|| ( defined($cgi->param('action')) && $cgi->param('action') eq 'process_signup' )
) {
-# if ( $cgi->param('state') =~ /^(\w*)( \(([\w ]+)\))? ?\/ ?(\w+)$/ ) {
-# $state = $1;
-# $county = $3 || '';
-# $country = $4;
-# } elsif ( $cgi->param('state') =~ /^(\w*)$/ ) {
-# $state = $1;
-# $cgi->param('county') =~ /^([\w ]*)$/
-# or die "illegal county: ". $cgi->param('county');
-# $county = $1;
-# $cgi->param('country') =~ /^(\w+)$/
-# or die "illegal country: ". $cgi->param('country');
-# $country = $1;
-# } else {
-# die "illegal state: ". $cgi->param('state');
-# }
-# if ( $cgi->param('ship_state') =~ /^(\w*)( \(([\w ]+)\))? ?\/ ?(\w+)$/ ) {
-# $ship_state = $1;
-# $ship_county = $3 || '';
-# $ship_country = $4;
-# } elsif ( $cgi->param('ship_state') =~ /^(\w*)$/ ) {
-# $ship_state = $1;
-# $cgi->param('ship_county') =~ /^([\w ]*)$/
-# or die "illegal county: ". $cgi->param('ship_county');
-# $ship_county = $1;
-# #$cgi->param('ship_country') =~ /^(\w+)$/
-# $cgi->param('ship_country') =~ /^(\w*)$/
-# or die "illegal ship_country: ". $cgi->param('ship_country');
-# $ship_country = $1;
-# #} else {
-# # die "illegal ship_state: ". $cgi->param('ship_state');
-# }
-
$error = '';
$cgi->param('agentnum', $agentnum) if $agentnum;
@@ -271,47 +216,6 @@
} else {
$error = '';
-# $last = '';
-# $first = '';
-# $ss = '';
-# $company = '';
-# $address1 = '';
-# $address2 = '';
-# $city = '';
-# $state = $init_data->{statedefault};
-# $county = '';
-# $country = $init_data->{countrydefault};
-# $zip = '';
-# $daytime = '';
-# $night = '';
-# $fax = '';
-# $ship_last = '';
-# $ship_first = '';
-# $ship_company = '';
-# $ship_address1 = '';
-# $ship_address2 = '';
-# $ship_city = '';
-# $ship_state = $init_data->{statedefault};
-# $ship_county = '';
-# $ship_country = $init_data->{countrydefault};
-# $ship_zip = '';
-# $ship_daytime = '';
-# $ship_night = '';
-# $ship_fax = '';
-# $invoicing_list = '';
-# $payby = '';
-# $payinfo = '';
-# $paydate = '';
-# $payname = '';
-# $pkgpart = '';
-# $username = '';
-# $_password = '';
-# $_password2 = '';
-# $sec_phrase = '';
-# $popnum = '';
-# $referral_custnum = $cgi->param('ref') || '';
-# $init_popstate = $cgi->param('init_popstate') || '';
-# $refnum = $init_data->{'refnum'};
print_form;
}
- Previous message: freeside/fs_selfservice/FS-SelfService/cgi decline.html,NONE,1.1 map.gif,NONE,1.1 promocode.html,NONE,1.1 regcode.html,NONE,1.1 signup-agentselect.html,NONE,1.1 signup-alternate.html,NONE,1.1 signup-billaddress.html,NONE,1.1 signup-freeoption.html,NONE,1.1 signup-snarf.html,NONE,1.1 signup.cgi,NONE,1.1 stateselect.html,NONE,1.1 success.html,NONE,1.1 agent.cgi,1.7,1.8 signup.html,1.2,1.3
- Next message: freeside/rt/lib/RT/URI freeside.pm,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list