<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.17.88.4266 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.17.88.4267 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
<td>{$forms.reportForm.paid_status.control}</td>
</tr>
{/if}
-{if $user->canManageTeam() || $user->isClient()}
+{if $user->can('view_reports') || $user->can('view_all_reports') || $user->isClient()}
<tr>
<td colspan="3"><b>{$i18n.label.users}</b></td>
</tr>
<tr>
<td colspan="3">
<table border="0" width="100%">
-{if $user->canManageTeam() || $user->isPluginEnabled('cl') || $user->isPluginEnabled('iv') || $user->isPluginEnabled('ps')}
+{if $user->can('view_reports') || $user->can('view_all_reports') || $user->isPluginEnabled('cl') || $user->isPluginEnabled('iv') || $user->isPluginEnabled('ps')}
<tr>
{if $user->isPluginEnabled('cl')}
<td width="25%"><label>{$forms.reportForm.chclient.control} {$i18n.label.client}</label></td>
{/if}
- {if ($user->canManageTeam() || $user->isClient()) && $user->isPluginEnabled('iv')}
+ {if ($user->can('manage_invoices') || $user->isClient()) && $user->isPluginEnabled('iv')}
<td width="25%"><label>{$forms.reportForm.chinvoice.control} {$i18n.label.invoice}</label></td>
{/if}
- {if ($user->canManageTeam() && $user->isPluginEnabled('ps'))}
+ {if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))}
<td width="25%"><label>{$forms.reportForm.chpaid.control} {$i18n.label.paid}</label></td>
{/if}
- {if $user->canManageTeam()}
+ {if $user->can('view_reports') || $user->can('view_all_reports')}
<td width="25%"><label>{$forms.reportForm.chip.control} {$i18n.label.ip}</label></td>
{/if}
</tr>