}
if ( $svcdb eq 'svc_phone' ) {
- $report_svc{"Avaialble phone numbers (DIDs)"} =
- [ $fsurl."search/phone_avail.html", '' ];
+ $report_svc{"Phone number (DID) availability"} =
+ [ $fsurl."search/report_phone_avail.html", '' ];
}
$report_services{$name} = [ \%report_svc, $longname ];
'RADIUS sessions' => [ $fsurl.'search/sqlradius.html', '' ],
'Call Detail Records (CDRs)' => [ $fsurl.'search/report_cdr.html', '' ],
'Time worked' => [ $fsurl.'search/report_rt_transaction.html', '' ],
+ 'Time worked summary' => [ $fsurl.'search/report_rt_ticket.html', '' ],
;
tie my %report_ticketing_statistics, 'Tie::IxHash',
'Customer classes' => [ $fsurl.'browse/cust_class.html', 'Customer classes define groups of customers for reporting.' ],
'Customer categories' => [ $fsurl.'browse/cust_category.html', 'Customer categories define groups of customer classes.' ],
;
+
+$config_cust{'Customer note classes'} = [ $fsurl.'browse/cust_note_class.html', 'Customer note classes define groups of notes for reporting.' ]
+ if ($conf->exists('note-classes') && $conf->config('note-classes') > 0);
tie my %config_agent, 'Tie::IxHash',
'Agent types' => [ $fsurl.'browse/agent_type.cgi', 'Agent types define groups of package definitions that you can then assign to particular agents' ],
if $conf->config('ticket_system') eq 'RT_Internal';
-tie my %menu, 'Tie::IxHash',
- 'Billing Main' => [ $fsurl, 'Billing start page', ],
-;
+tie my %menu, 'Tie::IxHash';
+
+if ( $conf->config('menu-prepend_links')) {
+ my @links = split(/\n/, $conf->config('menu-prepend_links'));
+ foreach my $link (@links) {
+ $link =~ /^\s*(\S+)\s+(.*?)(\s*\(([^\)]*)\))?$/ or next;
+ my($url, $label, $alt) = ($1, $2, $4);
+ $menu{$label} = [ $url, $alt ];
+ }
+}
+
+$menu{'Billing Main'} = [ $fsurl, 'Billing start page', ];
+
if ( $conf->config('ticket_system') ) {
$menu{'Ticketing Main'} =
[