X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/46bc75c8079099de22ccbc6281b04f42ade67f1a..6abbd83dfd7e32ea1bf3ec209031192104ecaef8:/templates/webpages/do/form_header.html
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 %]