8e873ed660d2f703be7c02589ad1d47c99685159
[freeside.git] / httemplate / elements / select-pkg_class.html
1 %  my( $classnum, %opt ) = @_;
2 %
3 %  $opt{'records'} = delete $opt{'pkg_class'}
4 %    if $opt{'pkg_class'};
5 %
6 %  #warn "***** select-pkg-class: \n". Dumper(%opt);
7 %
8 <% include( '/elements/select-table.html',
9                  'table'       => 'pkg_class',
10                  'name_col'    => 'classname',
11                  'value'       => $classnum,
12                  'empty_label' => '(none)',
13                  'hashref'     => { 'disabled' => '' },
14                  %opt,
15              )
16 %>