[freeside-commits] freeside/httemplate/misc timeworked.html, 1.8, 1.9
Ivan,,,
ivan at wavetail.420.am
Mon Aug 2 19:57:17 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv29476
Modified Files:
timeworked.html
Log Message:
cleaner timeworked results w/link to customer
Index: timeworked.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/timeworked.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -d -r1.8 -r1.9
--- timeworked.html 24 Nov 2009 07:42:28 -0000 1.8
+++ timeworked.html 3 Aug 2010 02:57:15 -0000 1.9
@@ -8,22 +8,11 @@
<THEAD>
<TR>
- <TH>Trans</TH>
<TH COLSPAN="2">Ticket</TH>
- <TH>Time</TH>
+ <TH>Hours</TH>
<TH COLSPAN="2">Customer</TH>
<TH>Multiplier</TH>
</TR>
-
- <TR>
- <TH>#</TH>
- <TH>#</TH>
- <TH>Subject</TH>
- <TH>hours</TH>
- <TH>#</TH>
- <TH>Name</TH>
- <TH></TH>
- </TR>
</THEAD>
<TBODY>
@@ -35,9 +24,9 @@
% my ($custnum, $name) = split(':', pop @customers, 2);
% my $link = $p. 'rt/Ticket/Display.html?id='. $ticketmap{$tr_id}.
% '#txn-'. $tr_id;
+% my $clink = $p. 'view/cust_main.cgi?'. $custnum;
<TR>
- <TD><a href="<% $link %>"><% $tr_id %></a></TD>
<TD><a href="<% $link %>"><% $ticketmap{$tr_id} %></a></TD>
<TD><a href="<% $link %>"><% $ticket{$ticketmap{$tr_id}} |h %></a></TD>
@@ -47,8 +36,8 @@
% }
<TD><% sprintf("%0.2f", $seconds/3600) %></TD>
- <TD ALIGN="right"><% $custnum %></TD>
- <TD ALIGN="right"><% $name %></TD>
+ <TD ALIGN="right"><a href="<% $clink %>"><% $custnum %></a></TD>
+ <TD ALIGN="right"><a href="<% $clink %>"><% $name %></a></TD>
<TD>
<INPUT TYPE="hidden" NAME="transactionid<%$tr_id%>" VALUE="1" >
<INPUT TYPE="hidden" NAME="seconds<%$tr_id%>" VALUE="<% $seconds %>" >
@@ -67,7 +56,7 @@
% ($custnum, $name) = split(':', $_, 2);
<TR>
- <TD ALIGN="right" COLSPAN="5" ><% $custnum %></TD>
+ <TD ALIGN="right" COLSPAN="4" ><% $custnum %></TD>
<TD ALIGN="right"><% $name %></TD>
<TD>
More information about the freeside-commits
mailing list