X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-agent_type.html;h=3e6ce0752f1a726baa3ece9dbf9257463fa63c29;hp=400cb4ebb1ff0029838ede06a147138ec8fc5d60;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=6eefe7c0eb2fa41651fcc9f3d9c8259ceb77e13a diff --git a/httemplate/elements/tr-select-agent_type.html b/httemplate/elements/tr-select-agent_type.html index 400cb4ebb..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'}; -delete $opt{'agent_types'} if $opt{'agent_types'}; #? +my @agent_types = qsearch('agent_type', { 'disabled' => '' });