X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fmenu.html;h=5675c7b17e18e1bdf6c3224ace7bc8755669e61e;hb=4ddf9e2e9a5552306c3d95cb85a44586367f58c4;hp=616900c2dff1b3f48d52f3b74db920288a1b0060;hpb=6b74e2e7a98a11b8b4f62a10676ba8b37ee2ef4f;p=freeside.git diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 616900c2d..5675c7b17 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -115,8 +115,11 @@ foreach my $svcdb ( FS::part_svc->svc_tables() ) { foreach my $sort ( @$sorts ) { + my $field_info = FS::part_svc->svc_table_fields($svcdb)->{$sort}; + my $label = $field_info->{'label_sort'} || 'by '.$field_info->{'label'}; + my $title = "All $lcname"; - $title .= " by ". FS::part_svc->svc_table_fields($svcdb)->{$sort}->{'label'} + $title .= " $label" if scalar(@$sorts) > 1; $report_svc{$title} = @@ -214,6 +217,8 @@ $tools_menu{'Process payment batches'} = [ $fsurl.'search/pay_batch.cgi?magic=_d if $conf->exists('batch-enable') && $curuser->access_right('Process batches'); $tools_menu{'Job Queue'} = [ $fsurl.'search/queue.html', 'View pending job queue' ] if $curuser->access_right('Job queue'); +$tools_menu{'Time Queue'} = [ $fsurl.'search/timeworked.html', 'View pending support time' ] + if $curuser->access_right('Time queue'); $tools_menu{'Importing'} = [ \%tools_importing, 'Import tools' ] if $curuser->access_right('Import'); $tools_menu{'Exporting'} = [ \%tools_exporting, 'Export tools' ]