X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Freports.tpl;h=b57ba8410de156957fe58fdcb08c401d5081d8ae;hb=8ec1dac1bcf71ce282ab116413d335f582b5e8f3;hp=8aa7f6de14627fd2790c8b676b9b3c254132051e;hpb=71d06cc16c8a2a70c69e06ea1bf9140b57e1554d;p=timetracker.git diff --git a/WEB-INF/templates/reports.tpl b/WEB-INF/templates/reports.tpl index 8aa7f6de..b57ba841 100644 --- a/WEB-INF/templates/reports.tpl +++ b/WEB-INF/templates/reports.tpl @@ -221,7 +221,7 @@ function handleCheckboxes() {
{/if} - {if ($user->canManageTeam() || $user->isClient()) && $user->isPluginEnabled('iv')} + {if ($user->can('manage_invoices') || $user->isClient()) && $user->isPluginEnabled('iv')} | {/if} - {if ($user->canManageTeam() && $user->isPluginEnabled('ps'))} + {if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))} | {/if} - {if $user->canManageTeam()} + {if $user->can('view_reports') || $user->can('view_all_reports')} | {/if} | {/if} +{if $user->isPluginEnabled('wu')} + |
+ | + | + | + |