projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some refactoring and cleanup in ttRegistrator class.
[timetracker.git]
/
WEB-INF
/
templates
/
expense_edit.tpl
diff --git
a/WEB-INF/templates/expense_edit.tpl
b/WEB-INF/templates/expense_edit.tpl
index
39198b8
..
953f78d
100644
(file)
--- a/
WEB-INF/templates/expense_edit.tpl
+++ b/
WEB-INF/templates/expense_edit.tpl
@@
-150,7
+150,7
@@
function recalculateCost() {
<td align="right">{$i18n.label.cost}:</td>
<td>{$forms.expenseItemForm.cost.control} {$user->currency|escape}</td>
</tr>
<td align="right">{$i18n.label.cost}:</td>
<td>{$forms.expenseItemForm.cost.control} {$user->currency|escape}</td>
</tr>
-{if ($user->can
ManageTeam(
) && $user->isPluginEnabled('ps'))}
+{if ($user->can
('manage_invoices'
) && $user->isPluginEnabled('ps'))}
<tr>
<td align="right"> </td>
<td><label>{$forms.expenseItemForm.paid.control}{$i18n.label.paid}</label></td>
<tr>
<td align="right"> </td>
<td><label>{$forms.expenseItemForm.paid.control}{$i18n.label.paid}</label></td>