From: ivan Date: Mon, 19 Jun 2006 06:03:18 +0000 (+0000) Subject: fix up the alternating colors on the customer search results X-Git-Tag: BEFORE_FINAL_MASONIZE~113 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=a59c9cdd72fdf85d81007ba86e81479f6ec8e6e5 fix up the alternating colors on the customer search results --- 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 ""; }