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>
15 <tr><td align="left"><b>{$i18n.label.submitted}:</b> {if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}</td></tr>
16 {if $timesheet['submitter_comment']}
17 <tr><td align="left"><b>{$i18n.label.comment}:</b> {$timesheet['submitter_comment']|escape}</td></tr>
19 {if $timesheet['submit_status']}
20 <tr><td align="left"><b>{$i18n.label.approved}:</b> {if $timesheet.approval_status != null}{if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}</td></tr>{/if}
22 {if $timesheet['manager_comment']}
23 <tr><td align="left"><b>{$i18n.label.note}:</b> {$timesheet['manager_comment']|escape}</td></tr>
31 <table border="0" cellpadding="3" cellspacing="1" width="100%">
33 <td class="tableHeader">{$group_by_header|escape}</td>
34 <td class="tableHeaderCentered" width="5%">{$i18n.label.duration}</td>
35 <td class="tableHeaderCentered" width="5%">{$i18n.label.cost}</td>
37 {foreach $subtotals as $subtotal}
38 <tr class="rowReportSubtotal">
39 <td class="cellLeftAlignedSubtotal">{if $subtotal['name']}{$subtotal['name']|escape}{else} {/if}</td>
40 <td class="cellRightAlignedSubtotal">{$subtotal['time']}</td>
41 <td class="cellRightAlignedSubtotal">{if $user->can('manage_invoices') || $user->isClient()}{$subtotal['cost']}{else}{$subtotal['expenses']}{/if}</td>
44 <tr><td> </td></tr>
45 <tr class="rowReportSubtotal">
46 <td class="cellLeftAlignedSubtotal">{$i18n.label.total}</td>
47 <td nowrap class="cellRightAlignedSubtotal">{$totals['time']}</td>
48 <td nowrap class="cellRightAlignedSubtotal">{$user->currency|escape} {if $user->can('manage_invoices') || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}</td>
52 {$forms.timesheetForm.open}
54 <table width="720" cellspacing="0" cellpadding="0" border="0">
58 <tr><td>{$i18n.form.mail.to}: {$forms.timesheetForm.approver.control} {$forms.timesheetForm.btn_submit.control}</td></tr>
65 <table width="720" cellspacing="0" cellpadding="0" border="0">
69 <tr><td align="center">{$i18n.label.comment}:</td></tr>
70 <tr><td align="center">{$forms.timesheetForm.comment.control}</td></tr>
71 <tr><td align="center">{$forms.timesheetForm.btn_approve.control} {$forms.timesheetForm.btn_disapprove.control}</td></tr>
77 {$forms.timesheetForm.close}