- {if !$user->isClient()}· {/if}<a class="mainMenu" href="reports.php">{$i18n.menu.reports}</a>
- {if ($user->canManageTeam() || $user->isClient()) && $user->isPluginEnabled('iv')}
+ {if $user->exists() && ($user->can('view_own_reports') || $user->can('view_reports') || $user->can('view_all_reports') || $user->can('view_client_reports'))}
+ {if !$user->isClient()}·{/if} <a class="mainMenu" href="reports.php">{$i18n.menu.reports}</a>
+ {/if}
+ {if $user->exists() && $user->isPluginEnabled('ts') && ($user->can('track_own_time') || $user->can('track_time'))}
+ · <a class="mainMenu" href="timesheets.php">{$i18n.menu.timesheets}</a>
+ {/if}
+ {if $user->exists() && $user->isPluginEnabled('iv') && ($user->can('manage_invoices') || $user->can('view_client_invoices'))}