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