invoice_sections_with_taxes per-agent, RT#79636
[freeside.git] / httemplate / elements / select-cust_tag.html
1 <% include( '/elements/checkboxes-table.html',
2                  'target_table'  => 'part_tag',
3                  'link_table'    => 'cust_tag',
4                  'name_col'      => 'tagname', #tagname - tagdesc??
5                  'color_col'     => 'tagcolor',
6                  'disable-able'  => 1,
7                  'order_by'      => ' ORDER BY tagname',
8                  'source_table'  => 'cust_main',
9                  'sourcenum'     => $opt{'custnum'},
10                  %opt,
11              )
12 %>
13 <%init>
14
15 my %opt = @_;
16 #my $agentnum = $opt{'curr_value'} || $opt{'value'};
17
18 $opt{'records'} = delete $opt{'part_tag'}
19   if $opt{'part_tag'};
20
21 </%init>