From: Moritz Bunkus Date: Tue, 10 Jan 2017 14:53:51 +0000 (+0100) Subject: do/form_header.html: Element »department_id« nicht doppelt ausgeben X-Git-Tag: release-3.5.4~1756 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4a903d6db69a0d5d2083c743af64e2b733bcdc0d;p=kivitendo-erp.git do/form_header.html: Element »department_id« nicht doppelt ausgeben --- diff --git a/templates/webpages/do/form_header.html b/templates/webpages/do/form_header.html index 4bfefaabd..277181e4f 100644 --- a/templates/webpages/do/form_header.html +++ b/templates/webpages/do/form_header.html @@ -201,8 +201,9 @@ [% IF ( delivered ) %] [% L.hidden_tag('department_id', department_id) %] + [% ELSE %] + [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width: 250px', disabled = delivered )%] [% END %] - [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width: 250px', disabled = delivered )%] [%- END %]