[freeside-commits] freeside/httemplate/elements menu.html, 1.26, 1.27
Ivan,,,
ivan at wavetail.420.am
Sun Sep 23 11:32:30 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv10204/httemplate/elements
Modified Files:
menu.html
Log Message:
accounts w/time remaining search
Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- menu.html 16 Aug 2007 13:40:46 -0000 1.26
+++ menu.html 23 Sep 2007 18:32:28 -0000 1.27
@@ -115,8 +115,11 @@
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} =
More information about the freeside-commits
mailing list