<% include( '/elements/checkboxes-table.html', 'target_table' => 'part_tag', 'link_table' => 'cust_tag', 'name_col' => 'tagname', #tagname - tagdesc?? 'color_col' => 'tagcolor', 'disable-able' => 1, 'order_by' => ' ORDER BY tagname', 'source_table' => 'cust_main', 'sourcenum' => $opt{'custnum'}, %opt, ) %> <%init> my %opt = @_; #my $agentnum = $opt{'curr_value'} || $opt{'value'}; $opt{'records'} = delete $opt{'part_tag'} if $opt{'part_tag'};