2 function chLocation(newLocation) { document.location = newLocation; }
5 <table cellspacing="0" cellpadding="7" border="0" width="720">
8 <table border=0 width=100%>
9 <tr><td align="center"><b style="font-size: 15pt; font-family: Arial, Helvetica, sans-serif;">{$timesheet['name']|escape} </b></td></tr>
10 <tr><td align="left"><b>{$i18n.label.user}:</b> {$timesheet['user_name']|escape}</td></tr>
11 {if $timesheet['client_id']}
12 <tr><td align="left"><b>{$i18n.label.client}:</b> {$timesheet['client_name']|escape}</td></tr>
14 {if $timesheet['submitter_comment']}
15 <tr><td align="left"><b>{$i18n.label.comment}:</b> {$timesheet['submitter_comment']|escape}</td></tr>
22 <table border="0" cellpadding="3" cellspacing="1" width="100%">
24 <td class="tableHeader">{$group_by_header|escape}</td>
25 <td class="tableHeaderCentered" width="5%">{$i18n.label.duration}</td>
26 <td class="tableHeaderCentered" width="5%">{$i18n.label.cost}</td>
28 {foreach $subtotals as $subtotal}
29 <tr class="rowReportSubtotal">
30 <td class="cellLeftAlignedSubtotal">{if $subtotal['name']}{$subtotal['name']|escape}{else} {/if}</td>
31 <td class="cellRightAlignedSubtotal">{$subtotal['time']}</td>
32 <td class="cellRightAlignedSubtotal">{if $user->can('manage_invoices') || $user->isClient()}{$subtotal['cost']}{else}{$subtotal['expenses']}{/if}</td>
35 <tr><td> </td></tr>
36 <tr class="rowReportSubtotal">
37 <td class="cellLeftAlignedSubtotal">{$i18n.label.total}</td>
38 <td nowrap class="cellRightAlignedSubtotal">{$totals['time']}</td>
39 <td nowrap class="cellRightAlignedSubtotal">{$user->currency|escape} {if $user->can('manage_invoices') || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}</td>