X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fexpenses.tpl;h=45a8ef274dc57347350a6366cafaa2d09431af4e;hb=aeb30899d6ec142220d83b34fd8f6c68c05e8e90;hp=8e1ef0a8dbf30d3996d5483048179866cc0bf768;hpb=b10bedad0cf854c9cb49bf0582b20869cb0c458d;p=timetracker.git diff --git a/WEB-INF/templates/expenses.tpl b/WEB-INF/templates/expenses.tpl index 8e1ef0a8..45a8ef27 100644 --- a/WEB-INF/templates/expenses.tpl +++ b/WEB-INF/templates/expenses.tpl @@ -117,10 +117,10 @@ function recalculateCost() { -{if $on_behalf_control} +{if $user_dropdown} - + {/if} {if $user->isPluginEnabled('cl')} @@ -129,7 +129,7 @@ function recalculateCost() { {/if} -{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} +{if $show_project} @@ -151,7 +151,7 @@ function recalculateCost() { - +
{$i18n.label.user}:{$forms.expensesForm.onBehalfUser.control}{$forms.expensesForm.user.control}
{$forms.expensesForm.client.control}
{$i18n.label.project} (*): {$forms.expensesForm.project.control}
{$i18n.label.cost} (*):{$forms.expensesForm.cost.control} {$user->currency|escape}{$forms.expensesForm.cost.control} {$user->getCurrency()|escape}
@@ -178,7 +178,7 @@ function recalculateCost() { {if $user->isPluginEnabled('cl')} {$i18n.label.client} {/if} - {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} + {if $show_project} {$i18n.label.project} {/if} {$i18n.label.item} @@ -190,7 +190,7 @@ function recalculateCost() { {if $user->isPluginEnabled('cl')} {$item.client|escape} {/if} - {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} + {if $show_project} {$item.project|escape} {/if} {$item.item|escape}