diff options
Diffstat (limited to 'httemplate/elements/select-cust_tag.html')
-rw-r--r-- | httemplate/elements/select-cust_tag.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/httemplate/elements/select-cust_tag.html b/httemplate/elements/select-cust_tag.html new file mode 100644 index 0000000..61d4dca --- /dev/null +++ b/httemplate/elements/select-cust_tag.html @@ -0,0 +1,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> |