diff options
author | cvs2git <cvs2git> | 1998-10-12 07:03:12 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 1998-10-12 07:03:12 +0000 |
commit | e1eb06c05b654a4533bab0e034e87a8de99015cc (patch) | |
tree | 448f6ca1c635eb08c0b4e51b3d40146febaf5df1 /htdocs/edit/process/cust_main_county.cgi | |
parent | 47806ec845818ba69604e0452e7c7b25d62f0772 (diff) |
This commit was manufactured by cvs2svn to create tag 'freeside_current'.freeside_current
Diffstat (limited to 'htdocs/edit/process/cust_main_county.cgi')
-rwxr-xr-x | htdocs/edit/process/cust_main_county.cgi | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/htdocs/edit/process/cust_main_county.cgi b/htdocs/edit/process/cust_main_county.cgi deleted file mode 100755 index 58eaa63ce..000000000 --- a/htdocs/edit/process/cust_main_county.cgi +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/perl -Tw -# -# process/agent.cgi: Edit cust_main_county (process form) -# -# ivan@sisd.com 97-dec-16 -# -# Changes to allow page to work at a relative position in server -# bmccane@maxbaud.net 98-apr-3 -# -# lose background, FS::CGI ivan@sisd.com 98-sep-2 - -use strict; -use CGI::Request; -use CGI::Carp qw(fatalsToBrowser); -use FS::UID qw(cgisuidsetup); -use FS::Record qw(qsearch qsearchs); -use FS::cust_main_county; -use FS::CGI qw(eidiot); - -my($req)=new CGI::Request; # create form object - -&cgisuidsetup($req->cgi); - -foreach ( $req->params ) { - /^tax(\d+)$/ or die "Illegal form $_!"; - my($taxnum)=$1; - my($old)=qsearchs('cust_main_county',{'taxnum'=>$taxnum}) - or die "Couldn't find taxnum $taxnum!"; - next unless $old->getfield('tax') ne $req->param("tax$taxnum"); - my(%hash)=$old->hash; - $hash{tax}=$req->param("tax$taxnum"); - my($new)=create FS::cust_main_county \%hash; - my($error)=$new->replace($old); - eidiot($error) if $error; -} - -$req->cgi->redirect("../../browse/cust_main_county.cgi"); - |