projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed pdf reports to output paid status.
[timetracker.git]
/
WEB-INF
/
templates
/
time_edit.tpl
diff --git
a/WEB-INF/templates/time_edit.tpl
b/WEB-INF/templates/time_edit.tpl
index
9a13d4c
..
1d346bb
100644
(file)
--- a/
WEB-INF/templates/time_edit.tpl
+++ b/
WEB-INF/templates/time_edit.tpl
@@
-20,6
+20,12
@@
<td><label>{$forms.timeRecordForm.billable.control}{$i18n.form.time.billable}</label></td>
</tr>
{/if}
<td><label>{$forms.timeRecordForm.billable.control}{$i18n.form.time.billable}</label></td>
</tr>
{/if}
+{if ($user->canManageTeam() && $user->isPluginEnabled('ps'))}
+ <tr>
+ <td align="right"> </td>
+ <td><label>{$forms.timeRecordForm.paid.control}{$i18n.label.paid}</label></td>
+ </tr>
+{/if}
{if ($custom_fields && $custom_fields->fields[0])}
<tr>
<td align="right">{$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:</td><td>{$forms.timeRecordForm.cf_1.control}</td>
{if ($custom_fields && $custom_fields->fields[0])}
<tr>
<td align="right">{$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:</td><td>{$forms.timeRecordForm.cf_1.control}</td>
@@
-33,7
+39,7
@@
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
<tr>
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
<tr>
- <td align="right">{$i18n.label.task}:</td>
+ <td align="right">{$i18n.label.task}
{if $user->task_required} (*){/if}
:</td>
<td>{$forms.timeRecordForm.task.control}</td>
</tr>
{/if}
<td>{$forms.timeRecordForm.task.control}</td>
</tr>
{/if}