From a6595fa854b75f109450bf1af3cc9333ba9dc723 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 6 Dec 2004 14:36:47 +0000 Subject: [PATCH] fix total links and line up custom field columns --- httemplate/search/cust_main.cgi | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi index 916ccf24e..56b4f27d4 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -401,21 +401,26 @@ END print ""; if ( $addl_col eq 'tickets' ) { if ( @custom_priorities ) { + print ''; foreach my $priority ( @custom_priorities ) { - print ''. - FS::TicketSystem->num_customer_tickets($custnum,$priority). - " $priority
"; + my $ahref = + ''; + print "". + ""; } + print "
$ahref". + FS::TicketSystem->num_customer_tickets($custnum,$priority). + "$ahref$priority
"; } - print ''. - $cust_main->get($addl_col); - print ' total' + my $ahref = + ''; + print $ahref. $cust_main->get($addl_col). ''; + print '${ahref}total
' if @custom_priorities; - print ""; } else { print $cust_main->get($addl_col); } -- 2.11.0