Some more refactoring.
[timetracker.git] / WEB-INF / templates / expense_edit.tpl
index 39198b8..953f78d 100644 (file)
@@ -150,7 +150,7 @@ function recalculateCost() {
       <td align="right">{$i18n.label.cost}:</td>
       <td>{$forms.expenseItemForm.cost.control} {$user->currency|escape}</td>
     </tr>
-{if ($user->canManageTeam() && $user->isPluginEnabled('ps'))}
+{if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))}
     <tr>
       <td align="right">&nbsp;</td>
       <td><label>{$forms.expenseItemForm.paid.control}{$i18n.label.paid}</label></td>