[Bps-public-commit] r8687 - RT-Extension-ActivityReports-Billing/html/Reports/Activity/Elements

tla at bestpractical.com tla at bestpractical.com
Wed Aug 22 11:49:50 EDT 2007


Author: tla
Date: Wed Aug 22 11:49:50 2007
New Revision: 8687

Modified:
   RT-Extension-ActivityReports-Billing/html/Reports/Activity/Elements/BillableActivityDetail

Log:
include full content in Description field; reorder columns; include link to ticket

Modified: RT-Extension-ActivityReports-Billing/html/Reports/Activity/Elements/BillableActivityDetail
==============================================================================
--- RT-Extension-ActivityReports-Billing/html/Reports/Activity/Elements/BillableActivityDetail	(original)
+++ RT-Extension-ActivityReports-Billing/html/Reports/Activity/Elements/BillableActivityDetail	Wed Aug 22 11:49:50 2007
@@ -9,24 +9,25 @@
 <input type="hidden" name="IncludeInvoiced" value="<% $IncludeInvoiced %>">
 <table style="width: 100%">
 <tr class="titlerow">
-<th>Queue</th><th>Date</th><th>Time</th><th>Ticket #</th><th>User</th><th>Time Worked</th><th>Invoiced</th><th>Description</th>
+<th>Queue</th><th>Date</th><th>Time</th><th>Time Worked</th><th>Invoiced</th><th>User</th><th>Ticket #</th><th>Description</th>
 </tr>
 % for my $item (@items) {
 <tr>
 <td><% $item->{queue} %></td>
 <td><% $item->{date} %></td>
 <td><% $item->{time} %></td>
-<td><% $item->{id} %></td>
-<td><% $item->{actor} %></td>
 <td><% $item->{timeworked} %></td>
 <td><% loc( $item->{invoiced} ) %>     <input type="checkbox" name="flipInvoiced_<% $item->{txnid} %>">(Change this)</td>
+<td><% $item->{actor} %></td>
+<td><a href="/Ticket/Display.html?id=<% $item->{id} %>"><% $item->{id} %></a></td>
 <td><% $item->{notes} %></td>
 </tr>
 % }
-<tr><td></td><td></td><td></td><td></td><td></td><td></td><td><& /Elements/Submit, Label => loc( 'Update invoicing data' ) &></td><td></td></tr>
+<tr><td></td><td></td><td></td><td></td><td><& /Elements/Submit, Label => loc( 'Update invoicing data' ) &></td><td></td><td></td><td></td></tr>
 </table>
 </form>
-
+<br>
+<br>
 <%args>
 $query => ''
 $start => "2005/01/01"
@@ -69,7 +70,7 @@
 		       timeworked => $txn->TimeTaken,
 		       invoiced => $invoiced,
 		       actor => $txn->CreatorObj->Name,
-		       notes => ($txn->Content ne 'This transaction appears to have no content' ? substr($txn->Content, 0, 60) :  $txn->BriefDescription)
+		       notes => ($txn->Content ne 'This transaction appears to have no content' ? $txn->Content :  $txn->Description)
 		       };
     }
 }



More information about the Bps-public-commit mailing list