X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_main.cgi;h=7d5941a16d42abd2b714fffe6d67c3ea66944d38;hb=a59c9cdd72fdf85d81007ba86e81479f6ec8e6e5;hp=5b7ccec1c611ddabce0d827febc14216b47aa0ac;hpb=c0e8da2f1e89729efa1032241e4239765a296514;p=freeside.git 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 ""; }