This commit was generated by cvs2svn to compensate for changes in r4888,
[freeside.git] / httemplate / elements / select-pkg_class.html
index 5486e08..0d8e6ac 100644 (file)
@@ -1,16 +1,18 @@
-<%
-  my( $classnum, %opt ) = @_;
-
-  my %select_opt = ();
-  $select_opt{'records'} = $opt{'pkg_class'}
-    if $opt{'pkg_class'};
-
-%><%= include( '/elements/select-table.html',
+%
+%  my( $classnum, %opt ) = @_;
+%
+%  $opt{'records'} = delete $opt{'pkg_class'}
+%    if $opt{'pkg_class'};
+%
+%  #warn "***** select-pkg-class: \n". Dumper(%opt);
+%
+%
+<% include( '/elements/select-table.html',
                  'table'       => 'pkg_class',
                  'name_col'    => 'classname',
                  'value'       => $classnum,
                  'empty_label' => '(none)',
                  #'hashref'     => { 'disabled' => '' },
-                 #%select_opt,
+                 %opt,
              )
 %>