X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Freports.tpl;h=b57ba8410de156957fe58fdcb08c401d5081d8ae;hb=8ec1dac1bcf71ce282ab116413d335f582b5e8f3;hp=5ca7a171f5b79f1ddf5d5eab7aaa14d721663732;hpb=7ece3d4c1cf7c91fc469373a6b8a997fd4ea3398;p=timetracker.git diff --git a/WEB-INF/templates/reports.tpl b/WEB-INF/templates/reports.tpl index 5ca7a171..b57ba841 100644 --- a/WEB-INF/templates/reports.tpl +++ b/WEB-INF/templates/reports.tpl @@ -201,15 +201,27 @@ function handleCheckboxes() {
{/if} - {if ($user->canManageTeam() || $user->isClient()) && $user->isPluginEnabled('iv')} + {if ($user->can('manage_invoices') || $user->isClient()) && $user->isPluginEnabled('iv')} | + {/if} + {if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))} + | + {/if} + {if $user->can('view_reports') || $user->can('view_all_reports')} + | {/if} | {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}{/if} | {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}{/if} | -{if ((($user->canManageTeam() || $user->isClient()) || $user->isPluginEnabled('ex')) && defined('COST_ON_REPORTS') && isTrue($smarty.const.COST_ON_REPORTS))} +{if ($user->can('manage_invoices') || $user->isClient()) || $user->isPluginEnabled('ex')} | {else} | @@ -266,6 +284,14 @@ function handleCheckboxes() { | {/if} +{if $user->isPluginEnabled('wu')} + |
+ | + | + | + |