From 9d8d3c6e4a2d2e757150402b8a89c719b8c1013f Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 17 Aug 2010 01:05:28 +0000 Subject: fix SelfService county selector, RT#8079 --- fs_selfservice/FS-SelfService/SelfService.pm | 12 ++++++++++++ fs_selfservice/FS-SelfService/cgi/signup.html | 7 ++++--- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'fs_selfservice/FS-SelfService') diff --git a/fs_selfservice/FS-SelfService/SelfService.pm b/fs_selfservice/FS-SelfService/SelfService.pm index 7e6821b60..a0e632c1b 100644 --- a/fs_selfservice/FS-SelfService/SelfService.pm +++ b/fs_selfservice/FS-SelfService/SelfService.pm @@ -1393,6 +1393,18 @@ END my $county_html = $script_html; if ( $countyflag ) { $county_html .= qq!'; } else { $county_html .= diff --git a/fs_selfservice/FS-SelfService/cgi/signup.html b/fs_selfservice/FS-SelfService/cgi/signup.html index 375137b3c..7a56a31a1 100755 --- a/fs_selfservice/FS-SelfService/cgi/signup.html +++ b/fs_selfservice/FS-SelfService/cgi/signup.html @@ -74,8 +74,6 @@ Contact Information *City - *State/Country - <%= ($county_html, $state_html, $country_html) = regionselector( { @@ -87,8 +85,11 @@ Contact Information locales => \@cust_main_county, } ); - "$county_html $state_html"; %> + * + <%= ($county_html =~ /SELECT/) ? 'County/State' : 'State' %> + + <%= "$county_html $state_html"; %> *Zip -- cgit v1.2.1 From 5250c44bd7f282c7d782bf0e8349af12376929df Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 22 Sep 2010 19:16:20 +0000 Subject: prepayment discounts rt#5318 --- .../FS-SelfService/cgi/discount_term.html | 17 +++++++++++++++ .../FS-SelfService/cgi/make_ach_payment.html | 1 + .../FS-SelfService/cgi/make_payment.html | 4 +++- fs_selfservice/FS-SelfService/cgi/myaccount.html | 10 ++++++++- fs_selfservice/FS-SelfService/cgi/selfservice.cgi | 24 ++++++++++++++++++++-- 5 files changed, 52 insertions(+), 4 deletions(-) create mode 100644 fs_selfservice/FS-SelfService/cgi/discount_term.html (limited to 'fs_selfservice/FS-SelfService') diff --git a/fs_selfservice/FS-SelfService/cgi/discount_term.html b/fs_selfservice/FS-SelfService/cgi/discount_term.html new file mode 100644 index 000000000..7d9ee4d1f --- /dev/null +++ b/fs_selfservice/FS-SelfService/cgi/discount_term.html @@ -0,0 +1,17 @@ +<%= +if ( scalar(keys %discount_terms_hash) ) { + $OUT .= ''; + $OUT .= 'Prepayment for'; + $OUT .= ''; + $OUT .= ''; + $OUT .= ''; + $OUT .= ''; +} +$OUT .= ''; +%> diff --git a/fs_selfservice/FS-SelfService/cgi/make_ach_payment.html b/fs_selfservice/FS-SelfService/cgi/make_ach_payment.html index 09391e7ae..5b81b00a4 100644 --- a/fs_selfservice/FS-SelfService/cgi/make_ach_payment.html +++ b/fs_selfservice/FS-SelfService/cgi/make_ach_payment.html @@ -21,6 +21,7 @@ +<%= include('discount_term') %> <%= include('check') %> diff --git a/fs_selfservice/FS-SelfService/cgi/make_payment.html b/fs_selfservice/FS-SelfService/cgi/make_payment.html index e454647cc..645b68ec7 100644 --- a/fs_selfservice/FS-SelfService/cgi/make_payment.html +++ b/fs_selfservice/FS-SelfService/cgi/make_payment.html @@ -20,7 +20,9 @@ $"> - + +<%= include('discount_term') %> + Card type