[freeside-commits] freeside/rt/share/html/Elements SelectCustomerReferral, NONE, 1.1
Mark Wells
mark at wavetail.420.am
Thu Feb 16 18:35:29 PST 2012
Update of /home/cvs/cvsroot/freeside/rt/share/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv9116/rt/share/html/Elements
Added Files:
SelectCustomerReferral
Log Message:
search tickets by customer advertising source, #16490
--- NEW FILE: SelectCustomerReferral ---
% return if ($RT::URI::freeside::IntegrationType ne 'Internal');
<select name="<%$Name%>">
% if ($ShowNullOption) {
<option value="">-</option>
% }
% for my $referral (qsearch('part_referral', {'disabled' => ''})) {
<option value="<%$referral->refnum%>" <%
$referral->refnum == $Default||'' ? 'selected' : ''%>
><%$referral->referral%></option>
% }
</select>
<%init></%init>
<%args>
$ShowNullOption => 1
$Name => undef
$Default => 0
</%args>
More information about the freeside-commits
mailing list