projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d3d239c
)
Abteilung aus ausgelagerten Lieferscheinen in Rechnungen übernommen
author
Thomas Heck
<theck@linet-services.de>
Thu, 30 Aug 2012 11:51:21 +0000
(13:51 +0200)
committer
Thomas Heck
<theck@linet-services.de>
Thu, 30 Aug 2012 11:51:21 +0000
(13:51 +0200)
fixt #1950
templates/webpages/do/form_header.html
patch
|
blob
|
history
diff --git
a/templates/webpages/do/form_header.html
b/templates/webpages/do/form_header.html
index
891ee38
..
2f29a95
100644
(file)
--- a/
templates/webpages/do/form_header.html
+++ b/
templates/webpages/do/form_header.html
@@
-182,7
+182,10
@@
<tr>
<th align="right" nowrap>[% 'Department' | $T8 %]</th>
<td colspan="3">
<tr>
<th align="right" nowrap>[% 'Department' | $T8 %]</th>
<td colspan="3">
- [% 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 )%]
</td>
</tr>
[%- END %]
</td>
</tr>
[%- END %]