X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-cust_tag.html;fp=httemplate%2Felements%2Fselect-cust_tag.html;h=61d4dca3beb99108b1a11c069ad4a852ee18a94b;hb=556b8e9650155e74416496238cfc0e4abe64c53a;hp=0000000000000000000000000000000000000000;hpb=9414a814e49a86a832e4f56ec1a6bcc927f55e6b;p=freeside.git diff --git a/httemplate/elements/select-cust_tag.html b/httemplate/elements/select-cust_tag.html new file mode 100644 index 000000000..61d4dca3b --- /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'}; + +