diff options
| author | mark <mark> | 2010-11-20 02:35:47 +0000 |
|---|---|---|
| committer | mark <mark> | 2010-11-20 02:35:47 +0000 |
| commit | 1faa5a1e1ee968b45a0902b63520a062ce653761 (patch) | |
| tree | c67027da4d872cd716f9f56b46338a955a2c77bd /rt/share/html/Elements/SelectCustomerClass | |
| parent | cac630a1c4071b5c92017f64e72f76ec42d1935b (diff) | |
search tickets on some customer fields, RT#9328
Diffstat (limited to 'rt/share/html/Elements/SelectCustomerClass')
| -rw-r--r-- | rt/share/html/Elements/SelectCustomerClass | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rt/share/html/Elements/SelectCustomerClass b/rt/share/html/Elements/SelectCustomerClass new file mode 100644 index 000000000..1a03cba8f --- /dev/null +++ b/rt/share/html/Elements/SelectCustomerClass @@ -0,0 +1,17 @@ +% return if ($RT::URI::freeside::IntegrationType ne 'Internal'); +<select name="<%$Name%>"> +% if ($ShowNullOption) { + <option value="">-</option> +% } +% for my $class (qsearch('cust_class', {'disabled' => ''})) { + <option value="<%$class->classnum%>" <% + $class->classnum == $Default||'' ? 'selected' : ''%> + ><%$class->classname%></option> +% } +</select> +<%init></%init> +<%args> +$ShowNullOption => 1 +$Name => undef +$Default => 0 +</%args> |
