X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpart_pkg-fcc.html;h=bdfb99a5911ed74194f0e507ae9780ff7cb58ff3;hb=6cc3e679908ad79f0080960d30b1cab689326a07;hp=4c9cea1958e4baa330115fbb0418be90e68ce9a6;hpb=f8066fa6a33f4ac33beec675b17de96c8c0a274b;p=freeside.git diff --git a/httemplate/browse/part_pkg-fcc.html b/httemplate/browse/part_pkg-fcc.html index 4c9cea195..bdfb99a59 100755 --- a/httemplate/browse/part_pkg-fcc.html +++ b/httemplate/browse/part_pkg-fcc.html @@ -94,8 +94,6 @@ my $select = join(',', my $addl_from = FS::Report::FCC_477::join_optionnames(@optionnames); -$cgi->param('classnum', $classnum) if length($classnum); - my $link = [ $p.'edit/part_pkg.cgi?', 'pkgpart' ]; my @header = ( '#', 'Package', 'Comment' ); @@ -182,9 +180,11 @@ if ( $cgi->param('redirect') ) { my $html_init = include('/elements/init_overlib.html') . include('/elements/input-fcc_options.html', js_only => 1) . - include('.style'); + include('.style') . + include('.script'); -my $html_form = qq!
+my $html_form = qq! + ( show class: !. include('/elements/select-pkg_class.html', #'curr_value' => $classnum, @@ -195,17 +195,13 @@ my $html_form = qq! 1, ). ' ) -

' . - qq!!; +

'; + + +# restore this only after creating $html_form +$cgi->param('classnum', $classnum) if length($classnum); -my $html_foot = qq! - -
!; +my $html_foot = ''; my @menubar = ( 'Package definitions' => $p.'browse/part_pkg.cgi' ); @@ -223,3 +219,17 @@ my @menubar = } +<%def .script> + +