{include file="time_script.tpl"} {$forms.timeRecordForm.open} {if $user->isPluginEnabled('wv')} {/if}
{$i18n.label.day_view} / {$i18n.label.week_view}
{if $group_dropdown} {/if} {if $user_dropdown} {/if} {if $user->isPluginEnabled('cl')} {/if} {if $user->isPluginEnabled('iv')} {/if} {if ($custom_fields && $custom_fields->fields[0])} {/if} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} {/if} {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} {/if}
{$i18n.label.group}: {$forms.timeRecordForm.group.control}
{$i18n.label.user}: {$forms.timeRecordForm.user.control}
{$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}: {$forms.timeRecordForm.client.control}
 
{$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:{$forms.timeRecordForm.cf_1.control}
{$i18n.label.project} (*): {$forms.timeRecordForm.project.control}
{$i18n.label.task}{if $user->task_required} (*){/if}: {$forms.timeRecordForm.task.control}
{$i18n.label.start}: {$forms.timeRecordForm.start.control} 
{$i18n.label.finish}: {$forms.timeRecordForm.finish.control} 
{$i18n.label.duration}: {$forms.timeRecordForm.duration.control} {if $user->decimal_mark == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if}
{$forms.timeRecordForm.date.control}
{$i18n.label.note}: {$forms.timeRecordForm.note.control}
{$forms.timeRecordForm.btn_submit.control}
{if $time_records} {if $user->isPluginEnabled('cl')} {/if} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} {/if} {foreach $time_records as $record} {if $user->isPluginEnabled('cl')} {/if} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} {/if} {/foreach}
{$i18n.label.client}{$i18n.label.project}{$i18n.label.task}{$i18n.label.start} {$i18n.label.finish}{$i18n.label.duration} {$i18n.label.note} {$i18n.label.edit}
{$record.client|escape}{$record.project|escape}{$record.task|escape}{if $record.start}{$record.start}{else} {/if} {if $record.finish}{$record.finish}{else} {/if}{if ($record.duration == '0:00' && $record.start <> '')}{$i18n.form.time.uncompleted}{else}{$record.duration}{/if} {if $record.comment}{$record.comment|escape}{else} {/if} {if $record.invoice_id}   {else} {$i18n.label.edit} {if ($record.duration == '0:00' && $record.start <> '')} {/if} {/if}
{/if}
{if $time_records} {if $user->isPluginEnabled('mq')} {if $over_quota} {else} {/if} {/if}
{$i18n.label.week_total}: {$week_total} {$i18n.label.day_total}: {$day_total}
{$i18n.label.month_total}: {$month_total}{$i18n.form.time.over_quota}: {$quota_remaining}{$i18n.form.time.remaining_quota}: {$quota_remaining}
{/if} {$forms.timeRecordForm.close}