{if $timesheet['client_id']} {/if} {if $not_client} {if $timesheet['submitter_comment']} {/if} {if $timesheet['submit_status']} {/if} {/if} {if $timesheet['manager_comment']} {/if} {/if}
{$timesheet['name']|escape}
{$i18n.label.user}: {$timesheet['user_name']|escape}
{$i18n.label.client}: {$timesheet['client_name']|escape}
{$i18n.label.submitted}: {if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}
{$i18n.label.comment}: {$timesheet['submitter_comment']|escape}
{$i18n.label.approved}: {if $timesheet.approval_status != null}{if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}
{$i18n.label.note}: {$timesheet['manager_comment']|escape}
{foreach $subtotals as $subtotal} {/foreach}
{$group_by_header|escape} {$i18n.label.duration} {$i18n.label.cost}
{if $subtotal['name']}{$subtotal['name']|escape}{else} {/if} {$subtotal['time']} {if $user->can('manage_invoices') || $user->isClient()}{$subtotal['cost']}{else}{$subtotal['expenses']}{/if}
 
{$i18n.label.total} {$totals['time']} {$user->currency|escape} {if $user->can('manage_invoices') || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}
{$forms.timesheetForm.open} {if $show_submit}
{$i18n.form.mail.to}: {$forms.timesheetForm.approver.control} {$forms.timesheetForm.btn_submit.control}
{/if} {if $show_approve}
{$forms.timesheetForm.btn_approve.control} {$forms.timesheetForm.btn_disapprove.control}
{/if} {$forms.timesheetForm.close}