X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_county.cgi;h=f3d28825aa2d1edc7252ff4ca665f6b65f7da7aa;hp=f88601281e3aaeb678de200fedf4506afec24dd1;hb=7bb23c47594c1111aecb5fe8fdb2042e509cca86;hpb=c14a267229fc0d6f2d2afdebab3bd34d825df2ef diff --git a/httemplate/edit/cust_main_county.cgi b/httemplate/edit/cust_main_county.cgi index f88601281..f3d28825a 100755 --- a/httemplate/edit/cust_main_county.cgi +++ b/httemplate/edit/cust_main_county.cgi @@ -1,18 +1,5 @@ + <% -# - -use strict; -use vars qw( $cgi $cust_main_county ); -use CGI; -use CGI::Carp qw(fatalsToBrowser); -use FS::UID qw(cgisuidsetup); -use FS::Record qw(qsearch qsearchs); -use FS::CGI qw(header menubar popurl table); -use FS::cust_main_county; - -$cgi = new CGI; - -&cgisuidsetup($cgi); print header("Edit tax rates", menubar( 'Main Menu' => popurl(2), @@ -27,34 +14,46 @@ print qq!
$hashref->{country} END - print "", $hashref->{state} - ? $hashref->{state} - : '(ALL)' + print "{state} + ? ' BGCOLOR="#ffffff">'.$hashref->{state} + : ' BGCOLOR="#cccccc">(ALL)' , ""; - print "", $hashref->{county} - ? $hashref->{county} - : '(ALL)' + print "{county} + ? ' BGCOLOR="#ffffff">'. $hashref->{county} + : ' BGCOLOR="#cccccc">(ALL)' , ""; + print "{taxclass} + ? ' BGCOLOR="#ffffff">'. $hashref->{taxclass} + : ' BGCOLOR="#cccccc">(ALL)' + , ""; + + print qq!!; print qq!%!; -END + qq!" VALUE="!, $hashref->{tax}, qq!" SIZE=6 MAXLENGTH=6>%!; + print qq!\$!; + print ''; }