fix per-user commission reports to filter packages they didn't order, RT#15634
[freeside.git] / rt / share / html / Elements / SelectCustomerTag
1 % return if ($RT::URI::freeside::IntegrationType ne 'Internal');
2 <select name="<%$Name%>">
3 % if ($ShowNullOption) {
4   <option value="">-</option>
5 % }
6 % for my $tag (qsearch('part_tag', {'disabled' => ''})) {
7   <option value="<%$tag->tagnum%>" <% 
8   $tag->tagnum == $Default||'' ? 'selected' : ''%>
9   ><%$tag->tagname%></option>
10 % }
11 </select>
12 <%init></%init>
13 <%args>
14 $ShowNullOption => 1
15 $Name => undef
16 $Default => 0
17 </%args>