X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-agent_type.html;h=3e6ce0752f1a726baa3ece9dbf9257463fa63c29;hb=60cad42d5098f9d55d9215e3d87a234eaaa7dc2e;hp=9ea943b516ed8c1010732809e23b65be8e80efff;hpb=cbbef4667255ebd902e330581c60a2280eb1d660;p=freeside.git diff --git a/httemplate/elements/tr-select-agent_type.html b/httemplate/elements/tr-select-agent_type.html index 9ea943b51..3e6ce0752 100644 --- a/httemplate/elements/tr-select-agent_type.html +++ b/httemplate/elements/tr-select-agent_type.html @@ -7,11 +7,10 @@ <% $opt{'label'} || 'Agent Type' %> - <% include( '/elements/select-agent_type.html', - 'curr_value' => $typenum, - %opt, - ) - %> + <& /elements/select-agent_type.html, + 'curr_value' => $typenum, + %opt, + &> @@ -22,6 +21,6 @@ my %opt = @_; my $typenum = $opt{'curr_value'} || $opt{'value'}; -my @agent_types = qsearch('agent_type', {}); +my @agent_types = qsearch('agent_type', { 'disabled' => '' });