[freeside-commits] freeside/rt/share/html/Elements SelectCustomerAgent, NONE, 1.1.2.2 SelectCustomerClass, NONE, 1.1.2.2 SelectCustomerTag, NONE, 1.1.2.2
Mark Wells
mark at wavetail.420.am
Fri Nov 19 18:35:49 PST 2010
Update of /home/cvs/cvsroot/freeside/rt/share/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv12184/share/html/Elements
Added Files:
Tag: FREESIDE_2_1_BRANCH
SelectCustomerAgent SelectCustomerClass SelectCustomerTag
Log Message:
search tickets on some customer fields, RT#9328
--- NEW FILE: SelectCustomerAgent ---
% return if ($RT::URI::freeside::IntegrationType ne 'Internal');
<select name="<%$Name%>">
% if ($ShowNullOption) {
<option value="">-</option>
% }
% for my $agent (qsearch('agent', {'disabled' => ''})) {
<option value="<%$agent->agentnum%>" <%
$agent->agentnum == $Default||'' ? 'selected' : ''%>
><%$agent->agent%></option>
% }
</select>
<%init></%init>
<%args>
$ShowNullOption => 1
$Name => undef
$Default => 0
</%args>
--- NEW FILE: SelectCustomerTag ---
% return if ($RT::URI::freeside::IntegrationType ne 'Internal');
<select name="<%$Name%>">
% if ($ShowNullOption) {
<option value="">-</option>
% }
% for my $tag (qsearch('part_tag', {'disabled' => ''})) {
<option value="<%$tag->tagnum%>" <%
$tag->tagnum == $Default||'' ? 'selected' : ''%>
><%$tag->tagname%></option>
% }
</select>
<%init></%init>
<%args>
$ShowNullOption => 1
$Name => undef
$Default => 0
</%args>
--- NEW FILE: SelectCustomerClass ---
% 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>
More information about the freeside-commits
mailing list