X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fedit%2Fcust_main_county.cgi;h=3c2efec5b51658ecca0cddc99c3e281873d6e728;hb=cd6989b0380bb289bffac0b947a3bfa6eb8c773e;hp=7d5468bed2a36b5b2e7eed7e1fc0ae9c5033214f;hpb=183f64ede863fff923db7e00d962b3495e405477;p=freeside.git diff --git a/htdocs/edit/cust_main_county.cgi b/htdocs/edit/cust_main_county.cgi index 7d5468bed..3c2efec5b 100755 --- a/htdocs/edit/cust_main_county.cgi +++ b/htdocs/edit/cust_main_county.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: cust_main_county.cgi,v 1.4 1999-01-18 09:41:26 ivan Exp $ +# $Id: cust_main_county.cgi,v 1.6 1999-01-25 12:09:55 ivan Exp $ # # ivan@sisd.com 97-dec-13-16 # @@ -11,7 +11,14 @@ # lose background, FS::CGI ivan@sisd.com 98-sep-2 # # $Log: cust_main_county.cgi,v $ -# Revision 1.4 1999-01-18 09:41:26 ivan +# Revision 1.6 1999-01-25 12:09:55 ivan +# yet more mod_perl stuff +# +# Revision 1.5 1999/01/19 05:13:36 ivan +# for mod_perl: no more top-level my() variables; use vars instead +# also the last s/create/new/; +# +# Revision 1.4 1999/01/18 09:41:26 ivan # all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl # (good idea anyway) # @@ -23,6 +30,7 @@ # use strict; +use vars qw( $cgi $cust_main_county ); use CGI; use CGI::Carp qw(fatalsToBrowser); use FS::UID qw(cgisuidsetup); @@ -30,13 +38,19 @@ use FS::Record qw(qsearch qsearchs); use FS::CGI qw(header menubar popurl table); use FS::cust_main_county; -my($cgi) = new CGI; +$cgi = new CGI; &cgisuidsetup($cgi); print $cgi->header( '-expires' => 'now' ), header("Edit tax rates", menubar( 'Main Menu' => popurl(2), -)), qq!
Error: !, $cgi->param('error'), + "" + if $cgi->param('error'); + +print qq!!, table, < Country @@ -46,7 +60,6 @@ print $cgi->header( '-expires' => 'now' ), header("Edit tax rates", menubar( END -my($cust_main_county); foreach $cust_main_county ( qsearch('cust_main_county',{}) ) { my($hashref)=$cust_main_county->hashref; print <