From: ivan Date: Mon, 6 Dec 2004 14:36:47 +0000 (+0000) Subject: fix total links and line up custom field columns X-Git-Tag: BEFORE_FINAL_MASONIZE~815 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=a6595fa854b75f109450bf1af3cc9333ba9dc723 fix total links and line up custom field columns --- 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); }