From a5a258c91c5dc78897d16627b8092385ceb4c4d2 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 22 Nov 2004 18:20:21 +0000 Subject: promo codes and separate signup addresses for hdn --- httemplate/edit/cust_main.cgi | 22 ++++++++++++---------- httemplate/edit/part_pkg.cgi | 11 +++++++++-- 2 files changed, 21 insertions(+), 12 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 4a8f70540..f5826f31b 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -168,8 +168,8 @@ print "

Billing address", &itable("#cccccc"), < , - + , + END @@ -181,10 +181,10 @@ if ( $conf->exists('show_ss') ) { print < -Company -${r}Address -${r}City${r}State +Company +${r}Address +${r}City${r}State END #false laziness with ship state @@ -203,12 +203,14 @@ my($county_html, $state_html, $country_html) = print "$county_html $state_html"; -print qq!${r}Zip!; +print qq!${r}Zip!; my($daytime,$night,$fax)=( $cust_main->daytime, $cust_main->night, $cust_main->fax, + '', + 'changed(this)', ); my $daytime_label = FS::Msgcat::_gettext('daytime') || 'Day Phone'; @@ -216,9 +218,9 @@ my $night_label = FS::Msgcat::_gettext('night') || 'Night Phone'; print <${r}Country$country_html -$daytime_label -$night_label -Fax +$daytime_label +$night_label +Fax END print "${r}required fields
"; diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index dc2992459..b3c389c9d 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -93,7 +93,12 @@ Package information - + + Promotional code + + + + Disable new orders @@ -257,7 +262,9 @@ my $widget = new HTML::Widgets::SelectLayers( 'options' => \%options, 'form_name' => 'dummy', 'form_action' => 'process/part_pkg.cgi', - 'form_text' => [ qw(pkg comment clone pkgnum pkgpart), @fixups ], + 'form_text' => [ qw(pkg comment promo_code clone pkgnum pkgpart), + @fixups + ], 'form_checkbox' => [ qw(setuptax recurtax disabled) ], 'form_radio' => \@form_radio, 'form_select' => \@form_select, -- cgit v1.2.1