1 {include file="time_script.tpl"}
9 <table cellspacing="3" cellpadding="0" border="0" width="100%">
11 <td class="sectionHeaderNoBorder" align="right"><a href="time.php?date={$prev_date}"><<</a></td>
12 <td class="sectionHeaderNoBorder" align="center">{$timestring}</td>
13 <td class="sectionHeaderNoBorder" align="left"><a href="time.php?date={$next_date}">>></a></td>
17 <table cellspacing="3" cellpadding="0" border="0" width="100%">
21 <table class="mobile-table-details">
22 {foreach $time_records as $record}
23 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}" {if !$record.billable} class="not_billable" {/if}>
24 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
25 <td valign="top">{$record.project|escape}</td>
27 <td align="right" valign="top">{if ($record.duration == '0:00' && $record.start <> '')}<font color="#ff0000">{/if}{$record.duration}{if ($record.duration == '0:00' && $record.start <> '')}</font>{/if}</td>
28 <td align="center">{if $record.timesheet_id|| $record.invoice_id} {else}<a href="time_edit.php?id={$record.id}">{$i18n.label.edit}</a>{/if}</td>
34 <td align="right">{$i18n.label.day_total}:</td>
43 {$forms.timeRecordForm.open}
44 <table cellspacing="4" cellpadding="7" border="0">
47 <table width = "100%">
52 <tr><td>{$i18n.label.user}:</td></tr>
53 <tr><td>{$forms.timeRecordForm.user.control}</td></tr>
55 {if $user->isPluginEnabled('cl')}
56 <tr><td>{$i18n.label.client}:</td></tr>
57 <tr><td>{$forms.timeRecordForm.client.control}</td></tr>
59 {if $user->isPluginEnabled('iv')}
60 <tr><td><label>{$forms.timeRecordForm.billable.control}{$i18n.form.time.billable}</label></td></tr>
62 {if ($custom_fields && $custom_fields->fields[0])}
63 <tr><td>{$custom_fields->fields[0]['label']|escape}:</td></tr>
64 <tr><td>{$forms.timeRecordForm.cf_1.control}</td></tr>
66 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
67 <tr><td>{$i18n.label.project}:</td></tr>
68 <tr><td>{$forms.timeRecordForm.project.control}</td></tr>
70 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
71 <tr><td>{$i18n.label.task}:</td></tr>
72 <tr><td>{$forms.timeRecordForm.task.control}</td></tr>
74 {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
75 <tr><td>{$i18n.label.start}:</td></tr>
76 <tr><td>{$forms.timeRecordForm.start.control} <input onclick="setNow('start');" type="button" value="{$i18n.button.now}"></td></tr>
78 <tr><td>{$i18n.label.finish}:</td></tr>
79 <tr><td>{$forms.timeRecordForm.finish.control} <input onclick="setNow('finish');" type="button" value="{$i18n.button.now}"></td></tr>
81 {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
82 <tr><td>{$i18n.label.duration}:</td></tr>
83 <tr><td>{$forms.timeRecordForm.duration.control}</td></tr>
86 <tr><td>{$i18n.label.note}:</td></tr>
87 <tr><td>{$forms.timeRecordForm.note.control}</td></tr>
92 <td colspan="2" height="50" align="center">{$forms.timeRecordForm.btn_submit.control}</td>
98 {$forms.timeRecordForm.close}