diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2014-12-05 14:24:01 -0800 |
|---|---|---|
| committer | Jeremy Davis <jeremyd@freeside.biz> | 2014-12-09 13:51:16 -0500 |
| commit | 6199f898a744f2cc2f9f03450d49286866a3f4d0 (patch) | |
| tree | c5956aba2e89a768f0f7bd0031518c982628d070 /httemplate/elements | |
| parent | fa868107440f645205e7943fd370fb48e677f091 (diff) | |
disable agent types, RT#31446
Diffstat (limited to 'httemplate/elements')
| -rw-r--r-- | httemplate/elements/tr-select-agent_type.html | 11 |
1 files changed, 5 insertions, 6 deletions
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 @@ <TR> <TD ALIGN="right"><% $opt{'label'} || 'Agent Type' %></TD> <TD> - <% include( '/elements/select-agent_type.html', - 'curr_value' => $typenum, - %opt, - ) - %> + <& /elements/select-agent_type.html, + 'curr_value' => $typenum, + %opt, + &> </TD> </TR> @@ -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' => '' }); </%init> |
