From fc3c94d637caecb7932c09fb1e7baceaad069eda Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 22 May 2010 20:00:28 +0000 Subject: [PATCH] consistent with other places, showing database primary keys other than custnum, invnum is stilly --- httemplate/search/svc_acct.cgi | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/httemplate/search/svc_acct.cgi b/httemplate/search/svc_acct.cgi index d7619493a..1407d9e30 100755 --- a/httemplate/search/svc_acct.cgi +++ b/httemplate/search/svc_acct.cgi @@ -69,12 +69,12 @@ my $link_cust = sub { my %search_hash = (); my @extra_sql = (); -my @header = ( '#', 'Service', 'Account' ); -my @fields = ( 'svcnum', 'svc', 'email' ); -my @links = ( $link, $link, $link ); -my $align = 'rll'; -my @color = ( '', '', '' ); -my @style = ( '', '', '' ); +my @header = ( 'Service', 'Account' ); +my @fields = ( 'svc', 'email' ); +my @links = ( $link, $link ); +my $align = 'll'; +my @color = ( '', '' ); +my @style = ( '', '' ); my @footer = (); my $conf = new FS::Conf; @@ -151,7 +151,7 @@ if ( $cgi->param('magic') =~ /^(all|unlinked)$/ ) { push @color, ''; push @style, ''; - @footer = ( '', 'Total', '', '', '', + @footer = ( 'Total', '', '', '', sub { format_time($tot_time) }, #time ); @@ -201,6 +201,8 @@ if ( $cgi->param('magic') =~ /^(all|unlinked)$/ ) { ; } + push @footer, '', ''; + } } elsif ( $cgi->param('magic') =~ /^nologin$/ ) { -- 2.11.0