{$forms.timesheetsForm.open} {if $user_dropdown} {/if}
{$i18n.label.user}: {$forms.timesheetsForm.user.control}
{if $inactive_timesheets} {/if} {if $show_client} {/if} {if $show_files} {/if} {foreach $active_timesheets as $timesheet} {if $show_client} {/if} {if $timesheet.approve_status == null} {else} {/if} {if $show_files} {if $timesheet.has_files} {else} {/if} {/if} {/foreach}
{$i18n.form.timesheets.active_timesheets}
{$i18n.label.thing_name}{$i18n.label.client}{$i18n.label.submitted} {$i18n.label.approved}
{$timesheet.name|escape}{$timesheet.client_name|escape}{if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{$i18n.label.files}{$i18n.label.files}{$i18n.label.edit} {$i18n.label.delete}

{if $inactive_timesheets} {if $show_client} {/if} {if $show_files} {/if} {foreach $inactive_timesheets as $timesheet} {if $show_client} {/if} {if $timesheet.approve_status == null} {else} {/if} {if $show_files} {if $timesheet.has_files} {else} {/if} {/if} {/foreach}
{$i18n.form.timesheets.inactive_timesheets}
{$i18n.label.thing_name}{$i18n.label.client}{$i18n.label.submitted} {$i18n.label.approved}
{$timesheet.name|escape}{$timesheet.client_name|escape}{if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{$i18n.label.files}{$i18n.label.files}{$i18n.label.edit} {$i18n.label.delete}

{/if}
{$forms.timesheetsForm.close}