From af0f1f48b440512fb8dd717a4eb2d4285a6eea99 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Sun, 13 Oct 2002 01:20:20 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create tag 'freeside_1_4_1beta4'. --- httemplate/misc/change_pkg.cgi | 66 ------------------------------------------ 1 file changed, 66 deletions(-) delete mode 100755 httemplate/misc/change_pkg.cgi diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi deleted file mode 100755 index 5346fd9d8..000000000 --- a/httemplate/misc/change_pkg.cgi +++ /dev/null @@ -1,66 +0,0 @@ - -<% - -my $pkgnum; -if ( $cgi->param('error') ) { - #$custnum = $cgi->param('custnum'); - #%remove_pkg = map { $_ => 1 } $cgi->param('remove_pkg'); - $pkgnum = ($cgi->param('remove_pkg'))[0]; -} else { - my($query) = $cgi->keywords; - $query =~ /^(\d+)$/; - #$custnum = $1; - $pkgnum = $1; - #%remove_pkg = (); -} - -my $cust_pkg = qsearchs( 'cust_pkg', { 'pkgnum' => $pkgnum } ) - or die "unknown pkgnum $pkgnum"; -my $custnum = $cust_pkg->custnum; - -my $conf = new FS::Conf; - -my $p1 = popurl(1); - -my $cust_main = $cust_pkg->cust_main - or die "can't get cust_main record for custnum ". $cust_pkg->custnum. - " ( pkgnum ". cust_pkg->pkgnum. ")"; -my $agent = $cust_main->agent; - -print header("Change Package", menubar( - "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", - 'Main Menu' => $p, -)); - -print qq!Error: !, $cgi->param('error'), - "

" - if $cgi->param('error'); - -my $part_pkg = $cust_pkg->part_pkg; - -print small_custview( $cust_main, $conf->config('countrydefault') ). - qq!
!. - qq!!. - qq!!. - '
Current package: '. $part_pkg->pkg. ' - '. $part_pkg->comment. - qq!
New package: -
- - -END -%> -- 2.11.0