X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a87694dc525b4eabff11029f1e5401621e2bd3bc..ed11f8c7cbf055eee2a32328b09189fcf6f29b53:/templates/webpages/oe/form_header.html
diff --git a/templates/webpages/oe/form_header.html b/templates/webpages/oe/form_header.html
index 773c0894a..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 %]
@@ -236,7 +236,7 @@
[%- IF is_sales_ord %]
| [% 'Insert Date' | $T8 %] |
- [% insertdate %] |
+ [% oe_obj.itime_as_date %] |
[%- END %]