X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Finvoice_add.tpl;h=f5211eeef49b4f1161acc8e274238a46a300b0d6;hb=45ca7d2258832cb0d2465eb16dd646d925458106;hp=092e3ff855d9d84a542d225b38ad3266f8e29fd5;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git diff --git a/WEB-INF/templates/invoice_add.tpl b/WEB-INF/templates/invoice_add.tpl index 092e3ff8..f5211eee 100644 --- a/WEB-INF/templates/invoice_add.tpl +++ b/WEB-INF/templates/invoice_add.tpl @@ -15,12 +15,12 @@ {$i18n.label.client} (*): {$forms.invoiceForm.client.control} -{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} +{if $show_project} {$i18n.label.project}: {$forms.invoiceForm.project.control} -{/if} +{/if} {$i18n.label.start_date} (*): {$forms.invoiceForm.start.control} @@ -50,4 +50,4 @@ if (dateField && !dateField.value) { var today = new Date(); dateField.value = today.strftime("{$user->date_format}"); } - \ No newline at end of file +