projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
accounts w/time remaining search
[freeside.git]
/
httemplate
/
elements
/
menu.html
diff --git
a/httemplate/elements/menu.html
b/httemplate/elements/menu.html
index
455c7b3
..
5675c7b
100644
(file)
--- 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 ) {
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";
my $title = "All $lcname";
- $title .= "
by ". FS::part_svc->svc_table_fields($svcdb)->{$sort}->{'label'}
+ $title .= "
$label"
if scalar(@$sorts) > 1;
$report_svc{$title} =
if scalar(@$sorts) > 1;
$report_svc{$title} =