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 {if $user->behalfUser}
11 <tr><td align="left"><b>{$i18n.label.user}:</b> {$timesheet['user_name']|escape}</td></tr>
13 {if $timesheet['client_id']}
14 <tr><td align="left"><b>{$i18n.label.client}:</b> {$timesheet['client_name']|escape}</td></tr>
16 {if $timesheet['project_id']}
17 <tr><td align="left"><b>{$i18n.label.project}:</b> {$timesheet['project_name']|escape}</td></tr>
19 {if $timesheet['comment']}
20 <tr><td align="left"><b>{$i18n.label.comment}:</b> {$timesheet['comment']|escape}</td></tr>
22 {if $timesheet['approve_status'] == null}
23 <tr><td align="left"><b>{$i18n.label.submitted}:</b> {if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}</td></tr>
25 {if $timesheet['approve_status'] != null}
26 <tr><td align="left"><b>{$i18n.label.approved}:</b> {if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}</td></tr>
28 {if $timesheet['approve_comment']}
29 <tr><td align="left"><b>{$i18n.label.note}:</b> {$timesheet['approve_comment']|escape}</td></tr>
36 <table border="0" cellpadding="3" cellspacing="1" width="100%">
38 <td class="tableHeader">{$group_by_header|escape}</td>
39 <td class="tableHeaderCentered" width="5%">{$i18n.label.duration}</td>
41 {foreach $subtotals as $subtotal}
42 <tr class="rowReportSubtotal">
43 <td class="cellLeftAlignedSubtotal">{if $subtotal['name']}{$subtotal['name']|escape}{else} {/if}</td>
44 <td class="cellRightAlignedSubtotal">{$subtotal['time']}</td>
47 <tr><td> </td></tr>
48 <tr class="rowReportSubtotal">
49 <td class="cellLeftAlignedSubtotal">{$i18n.label.total}</td>
50 <td nowrap class="cellRightAlignedSubtotal">{$totals['time']}</td>
52 <tr><td> </td></tr>
55 {$forms.timesheetForm.open}
57 <table width="720" cellspacing="0" cellpadding="0" border="0">
61 <tr><td>{if $show_approvers}{$i18n.form.mail.to}: {$forms.timesheetForm.approver.control}{/if} {$forms.timesheetForm.btn_submit.control}</td></tr>
68 <table width="720" cellspacing="0" cellpadding="0" border="0">
72 <tr><td align="center">{$i18n.label.comment}:</td></tr>
73 <tr><td align="center">{$forms.timesheetForm.comment.control}</td></tr>
74 <tr><td align="center">{$forms.timesheetForm.btn_approve.control} {$forms.timesheetForm.btn_disapprove.control}</td></tr>
80 {$forms.timesheetForm.close}