[freeside-commits] freeside/httemplate/search cust_main.cgi, 1.64,
1.65
Ivan,,,
ivan at wavetail.420.am
Sun Jun 18 23:03:22 PDT 2006
- Previous message: [freeside-commits] freeside/FS MANIFEST,1.100,1.101
- Next message: [freeside-commits] freeside/httemplate/elements menu.html, 1.3,
1.4 select-cust_pkg-status.html, NONE,
1.1 tr-select-cust_pkg-status.html, NONE,
1.1 tr-select-cust-fields.html, NONE,
1.1 select-cust-fields.html, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv11666
Modified Files:
cust_main.cgi
Log Message:
fix up the alternating colors on the customer search results
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main.cgi,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- cust_main.cgi 19 Jun 2006 02:33:52 -0000 1.64
+++ cust_main.cgi 19 Jun 2006 06:03:18 -0000 1.65
@@ -473,6 +473,7 @@
my $rowspan = scalar(@cust_svc) || 1;
print $n1, qq!<TD CLASS="grid" BGCOLOR="$bgcolor" ROWSPAN=$rowspan><A HREF="$pkgview"><FONT SIZE=-1>$pkg - $comment</FONT></A></TD>!;
+
my($n2)='';
foreach my $cust_svc ( @cust_svc ) {
my($label, $value, $svcdb) = $cust_svc->label;
@@ -482,9 +483,19 @@
qq!<TD CLASS="grid" BGCOLOR="$bgcolor" ><A HREF="$sview/$svcdb.cgi?$svcnum"><FONT SIZE=-1>$value</FONT></A></TD>!;
$n2="</TR><TR>";
}
+
+ unless ( @cust_svc ) {
+ print qq!<TD CLASS="grid" BGCOLOR="$bgcolor" COLSPAN=2> </TD>!;
+ }
+
#print qq!</TR><TR>\n!;
$n1="</TR><TR>";
}
+
+ unless ( @{$all_pkgs{$custnum}} ) {
+ print qq!<TD CLASS="grid" BGCOLOR="$bgcolor" COLSPAN=3> </TD>!;
+ }
+
print "</TR>";
}
- Previous message: [freeside-commits] freeside/FS MANIFEST,1.100,1.101
- Next message: [freeside-commits] freeside/httemplate/elements menu.html, 1.3,
1.4 select-cust_pkg-status.html, NONE,
1.1 tr-select-cust_pkg-status.html, NONE,
1.1 tr-select-cust-fields.html, NONE,
1.1 select-cust-fields.html, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list