summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-cust_tag.html
blob: 61d4dca3beb99108b1a11c069ad4a852ee18a94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<% include( '/elements/select-table.html',
                 'table'         => 'part_tag',
                 'name_col'      => 'tagname', #tagname - tagdesc??
                 'multiple'      => 1,
                 #'value'         => $agentnum || '',
                 #'agent_virt'    => 1,
                 'hashref'       => { 'disabled' => '' },
                 'order_by'      => ' ORDER BY tagname',
                 %opt,
             )
%>
<%init>

my %opt = @_;
#my $agentnum = $opt{'curr_value'} || $opt{'value'};

$opt{'records'} = delete $opt{'part_tag'}
  if $opt{'part_tag'};

</%init>