61d4dca3beb99108b1a11c069ad4a852ee18a94b
[freeside.git] / httemplate / elements / select-cust_tag.html
1 <% include( '/elements/select-table.html',
2                  'table'         => 'part_tag',
3                  'name_col'      => 'tagname', #tagname - tagdesc??
4                  'multiple'      => 1,
5                  #'value'         => $agentnum || '',
6                  #'agent_virt'    => 1,
7                  'hashref'       => { 'disabled' => '' },
8                  'order_by'      => ' ORDER BY tagname',
9                  %opt,
10              )
11 %>
12 <%init>
13
14 my %opt = @_;
15 #my $agentnum = $opt{'curr_value'} || $opt{'value'};
16
17 $opt{'records'} = delete $opt{'part_tag'}
18   if $opt{'part_tag'};
19
20 </%init>