X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime_edit.tpl;h=bc563e9eafbb739050817f084897d218b4f4a3eb;hb=aeb30899d6ec142220d83b34fd8f6c68c05e8e90;hp=a4e26a6f40b811fba2849f008adad6ea29ae83aa;hpb=7ece3d4c1cf7c91fc469373a6b8a997fd4ea3398;p=timetracker.git diff --git a/WEB-INF/templates/time_edit.tpl b/WEB-INF/templates/time_edit.tpl index a4e26a6f..bc563e9e 100644 --- a/WEB-INF/templates/time_edit.tpl +++ b/WEB-INF/templates/time_edit.tpl @@ -1,201 +1,18 @@ - +{/if} {$forms.timeRecordForm.open} @@ -217,6 +34,12 @@ function setNow(formField) { {/if} +{if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))} + + + + +{/if} {if ($custom_fields && $custom_fields->fields[0])} @@ -230,7 +53,7 @@ function setNow(formField) { {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + {/if} @@ -247,7 +70,7 @@ function setNow(formField) { {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} - + {/if}
 
{$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:{$forms.timeRecordForm.cf_1.control}
{$i18n.label.task}:{$i18n.label.task}{if $user->task_required} (*){/if}: {$forms.timeRecordForm.task.control}
{$i18n.label.duration}:{$forms.timeRecordForm.duration.control} {$i18n.form.time.duration_format}{$forms.timeRecordForm.duration.control} {if $user->decimal_mark == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if}