freeside/httemplate/search cust_main.cgi,1.47,1.48
ivan
ivan at pouncequick.420.am
Mon Dec 6 06:36:55 PST 2004
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv28269/httemplate/search
Modified Files:
cust_main.cgi
Log Message:
fix total links and line up custom field columns
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main.cgi,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- cust_main.cgi 6 Dec 2004 14:09:29 -0000 1.47
+++ cust_main.cgi 6 Dec 2004 14:36:47 -0000 1.48
@@ -401,21 +401,26 @@
print "<TD ROWSPAN=$rowspan ALIGN=right>";
if ( $addl_col eq 'tickets' ) {
if ( @custom_priorities ) {
+ print '<TABLE>';
foreach my $priority ( @custom_priorities ) {
- print '<A HREF="'.
- FS::TicketSystem->href_customer_tickets($custnum,$priority).
- '">'.
- FS::TicketSystem->num_customer_tickets($custnum,$priority).
- " $priority</A><BR>";
+ my $ahref =
+ '<A HREF="'.
+ FS::TicketSystem->href_customer_tickets($custnum,$priority).
+ '">';
+ print "<TR><TD ALIGN=right>$ahref".
+ FS::TicketSystem->num_customer_tickets($custnum,$priority).
+ "</A></TD>".
+ "<TD ALIGN=left>$ahref$priority</A></TD></TR>";
}
+ print "<TR><TD ALIGN=right>";
}
- print '<A HREF="'.
- FS::TicketSystem->href_customer_tickets($cust_main->custnum, $p).
- '">'.
- $cust_main->get($addl_col);
- print ' total'
+ my $ahref =
+ '<A HREF="'.
+ FS::TicketSystem->href_customer_tickets($custnum).
+ '">';
+ print $ahref. $cust_main->get($addl_col). '</A>';
+ print '</TD><TD ALIGN=left>${ahref}total</A></TD></TR></TABLE>'
if @custom_priorities;
- print "</A>";
} else {
print $cust_main->get($addl_col);
}
More information about the freeside-commits
mailing list