From a59c9cdd72fdf85d81007ba86e81479f6ec8e6e5 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 19 Jun 2006 06:03:18 +0000 Subject: [PATCH] fix up the alternating colors on the customer search results --- httemplate/search/cust_main.cgi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi index 5b7ccec1c..7d5941a16 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -473,6 +473,7 @@ END my $rowspan = scalar(@cust_svc) || 1; print $n1, qq!$pkg - $comment!; + my($n2)=''; foreach my $cust_svc ( @cust_svc ) { my($label, $value, $svcdb) = $cust_svc->label; @@ -482,9 +483,19 @@ END qq!$value!; $n2=""; } + + unless ( @cust_svc ) { + print qq! !; + } + #print qq!\n!; $n1=""; } + + unless ( @{$all_pkgs{$custnum}} ) { + print qq! !; + } + print ""; } -- 2.11.0