From: Thomas Heck Date: Thu, 30 Aug 2012 11:51:21 +0000 (+0200) Subject: Abteilung aus ausgelagerten Lieferscheinen in Rechnungen übernommen X-Git-Tag: release-3.0.0beta1~265 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6abbd83dfd7e32ea1bf3ec209031192104ecaef8;p=kivitendo-erp.git Abteilung aus ausgelagerten Lieferscheinen in Rechnungen übernommen fixt #1950 --- diff --git a/templates/webpages/do/form_header.html b/templates/webpages/do/form_header.html index 891ee38f1..2f29a953a 100644 --- a/templates/webpages/do/form_header.html +++ b/templates/webpages/do/form_header.html @@ -182,7 +182,10 @@ [% 'Department' | $T8 %] - [% L.select_tag('department_id', L.options_for_select(ALL_DEPARTMENTS, default=department_id, title="description", with_empty=1), style='width: 250px', disabled => delivered )%] + [% IF ( delivered ) %] + [% L.hidden_tag('department_id', department_id) %] + [% END %] + [% L.select_tag('department_id', L.options_for_select(ALL_DEPARTMENTS, default=department_id, title="description", with_empty=1), style='width: 250px', disabled => delivered )%] [%- END %]