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.approved || $record.timesheet_id || $record.invoice_id} {else}<a href="time_edit.php?id={$record.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="../images/icon_edit.png"></a>{/if}</td>
29 <td align="center">{if $record.approved || $record.timesheet_id || $record.invoice_id} {else}<a href="time_delete.php?id={$record.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="../images/icon_delete.png"></a>{/if}</td>
35 <td align="right">{$i18n.label.day_total}:</td>
44 {$forms.timeRecordForm.open}
45 <table cellspacing="4" cellpadding="7" border="0">
48 <table width = "100%">
53 <tr><td>{$i18n.label.user}:</td></tr>
54 <tr><td>{$forms.timeRecordForm.user.control}</td></tr>
56 {if $user->isPluginEnabled('cl')}
57 <tr><td>{$i18n.label.client}:</td></tr>
58 <tr><td>{$forms.timeRecordForm.client.control}</td></tr>
60 {if $user->isPluginEnabled('iv')}
61 <tr><td><label>{$forms.timeRecordForm.billable.control}{$i18n.form.time.billable}</label></td></tr>
63 {if ($custom_fields && $custom_fields->fields[0])}
64 <tr><td>{$custom_fields->fields[0]['label']|escape}:</td></tr>
65 <tr><td>{$forms.timeRecordForm.cf_1.control}</td></tr>
67 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
68 <tr><td>{$i18n.label.project}:</td></tr>
69 <tr><td>{$forms.timeRecordForm.project.control}</td></tr>
71 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
72 <tr><td>{$i18n.label.task}:</td></tr>
73 <tr><td>{$forms.timeRecordForm.task.control}</td></tr>
75 {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
76 <tr><td>{$i18n.label.start}:</td></tr>
77 <tr><td>{$forms.timeRecordForm.start.control} <input onclick="setNow('start');" type="button" value="{$i18n.button.now}"></td></tr>
79 <tr><td>{$i18n.label.finish}:</td></tr>
80 <tr><td>{$forms.timeRecordForm.finish.control} <input onclick="setNow('finish');" type="button" value="{$i18n.button.now}"></td></tr>
82 {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
83 <tr><td>{$i18n.label.duration}:</td></tr>
84 <tr><td>{$forms.timeRecordForm.duration.control}</td></tr>
86 {if $template_dropdown}
87 <tr><td>{$i18n.label.template}:</td></tr>
88 <tr><td>{$forms.timeRecordForm.template.control}</td></tr>
91 <tr><td>{$i18n.label.note}:</td></tr>
92 <tr><td>{$forms.timeRecordForm.note.control}</td></tr>
97 <td colspan="2" height="50" align="center">{$forms.timeRecordForm.btn_submit.control}</td>
103 {$forms.timeRecordForm.close}