X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Freports.tpl;h=8e7daf09288993965757810c12f91939a5d24f30;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=0f9b129f7d9042fafef03620829f1ba895efc645;hpb=9a9200cf19fc4de98b09834e7d598b1b4c6f44b3;p=timetracker.git diff --git a/WEB-INF/templates/reports.tpl b/WEB-INF/templates/reports.tpl index 0f9b129f..8e7daf09 100644 --- a/WEB-INF/templates/reports.tpl +++ b/WEB-INF/templates/reports.tpl @@ -244,13 +244,16 @@ function handleCheckboxes() { -{if $user->isPluginEnabled('cl') || $user->isPluginEnabled('iv')} +{if $user->isPluginEnabled('cl') || $user->isPluginEnabled('iv') || $user->isPluginEnabled('ps')} {if $user->isPluginEnabled('cl')} {/if} {if ($user->canManageTeam() || $user->isClient()) && $user->isPluginEnabled('iv')} + {/if} + {if ($user->canManageTeam() && $user->isPluginEnabled('ps'))} + {/if} {/if} @@ -258,7 +261,7 @@ function handleCheckboxes() { -{if ((($user->canManageTeam() || $user->isClient()) || $user->isPluginEnabled('ex')) && defined('COST_ON_REPORTS') && isTrue($smarty.const.COST_ON_REPORTS))} +{if (($user->canManageTeam() || $user->isClient()) || $user->isPluginEnabled('ex'))} {else}
{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}