X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/77350196300e930abc7de0df7dbf42e8cd6193b8..ed11f8c7cbf055eee2a32328b09189fcf6f29b53:/templates/webpages/oe/form_header.html
diff --git a/templates/webpages/oe/form_header.html b/templates/webpages/oe/form_header.html
index 81ed919af..497be459f 100644
--- a/templates/webpages/oe/form_header.html
+++ b/templates/webpages/oe/form_header.html
@@ -19,12 +19,12 @@
[%- END %]
-
+
[% title %]
@@ -37,7 +37,7 @@
[%- IF INSTANCE_CONF.get_webdav %]
[% 'WebDAV' | $T8 %]
[%- END %]
-[%- IF id %]
+[%- IF id AND AUTH.assert('record_links', 1) %]
[% 'Linked Records' | $T8 %]
[%- END %]
@@ -112,11 +112,11 @@
[% L.select_tag('taxzone_id', ( id ? ALL_TAXZONES : ALL_ACTIVE_TAXZONES), default=taxzone_id, title_key='description', style='width: 250px') %]
-[%- IF ALL_DEPARTMENTS %]
+[%- IF ALL_DEPARTMENTS.size %]
| [% 'Department' | $T8 %] |
- [% L.select_tag('department_id', ALL_DEPARTMENTS, default=department_id, title_sub=\department_labels, with_empty=1, style='width:250px') %]
+ [% L.select_tag('department_id', ALL_DEPARTMENTS, default=department_id, title_key = 'description', with_empty=1, style='width:250px') %]
|
[%- END %]
@@ -233,6 +233,12 @@
[% L.date_tag('reqdate', reqdate, id='reqdate') %]
+ [%- IF is_sales_ord %]
+
+ | [% 'Insert Date' | $T8 %] |
+ [% oe_obj.itime_as_date %] |
+
+ [%- END %]
| [% 'Project Number' | $T8 %] |
|