diff options
author | Christopher Burger <burgerc@freeside.biz> | 2019-04-12 13:16:57 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2019-04-15 07:47:57 -0400 |
commit | 6b9f3f22ef953190f3b29465879f35805dfcc457 (patch) | |
tree | 98925e09b519cbc1dd7275f4dfe0167788cac41f /httemplate/elements | |
parent | 088f2c57c91391ad6a01492286b36f786a185662 (diff) |
RT# 79913 - added ability to mass transfer customers to new agent
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/menubar.html | 7 | ||||
-rw-r--r-- | httemplate/elements/select-agent.html | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/httemplate/elements/menubar.html b/httemplate/elements/menubar.html index c14904337..ffe83ec57 100644 --- a/httemplate/elements/menubar.html +++ b/httemplate/elements/menubar.html @@ -52,7 +52,12 @@ while (@_) { } - push @html, qq!<A HREF="$url_base$url" $style>$item</A>!; + if ($item eq 'popup') { + push @html, $url; + } + else { + push @html, qq!<A HREF="$url_base$url" $style>$item</A>!; + } } diff --git a/httemplate/elements/select-agent.html b/httemplate/elements/select-agent.html index fd2c57eac..2bd0095da 100644 --- a/httemplate/elements/select-agent.html +++ b/httemplate/elements/select-agent.html @@ -3,7 +3,7 @@ 'name_col' => 'agent', 'value' => $agentnum || '', 'agent_virt' => 1, - 'empty_label' => emt('all'), + 'empty_label' => $empty_label, 'hashref' => { 'disabled' => '' }, 'order_by' => ' ORDER BY agent', 'disable_empty' => $disable_empty, @@ -18,6 +18,7 @@ $opt{'records'} = delete $opt{'agents'} if $opt{'agents'}; my $curuser = $FS::CurrentUser::CurrentUser; +my $empty_label = $opt{'empty_label'} ? $opt{'empty_label'} : 'all'; my $disable_empty = 0; if ( $opt{'agent_null_right'} ) { if ( $curuser->access_right($opt{'agent_null_right'}) ) { |