X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Freports.tpl;h=2ee48b01d8698bf32c451c771159e06c7e63a163;hb=e59d57b1fcf105382028dcfc0157a6ca84b0dc46;hp=ce804dc575fcdb601ce10cba3b7e6902a8f15257;hpb=ba0b5f34efabfeded3112115086eaa9d00f2a345;p=timetracker.git diff --git a/WEB-INF/templates/reports.tpl b/WEB-INF/templates/reports.tpl index ce804dc5..2ee48b01 100644 --- a/WEB-INF/templates/reports.tpl +++ b/WEB-INF/templates/reports.tpl @@ -209,6 +209,14 @@ function handleCheckboxes() { {$forms.reportForm.invoice.control} {/if} +{if ($user->canManageTeam() && $user->isPluginEnabled('ps'))} + + {$i18n.label.paid_status} + + + {$forms.reportForm.paid_status.control} + +{/if} {if $user->canManageTeam() || $user->isClient()} {$i18n.label.users} @@ -236,13 +244,19 @@ function handleCheckboxes() { -{if $user->isPluginEnabled('cl') || $user->isPluginEnabled('iv')} +{if $user->canManageTeam() || $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 $user->canManageTeam()} + {/if} {/if} @@ -250,7 +264,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} @@ -261,7 +275,7 @@ function handleCheckboxes() { {if ($custom_fields && $custom_fields->fields[0])} - + {else} {/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 (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}{/if}