X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_header.html;h=497be459fe1f76b95452d7ea92af3717af6d2e7e;hb=b592435b709841b65441d5fef5c41e3ad2c91413;hp=3d1b30729fef5c4b720ae24d967b13b8350aff08;hpb=d735aab3fc2987d555c63ce0dc8e24626ca30654;p=kivitendo-erp.git
diff --git a/templates/webpages/oe/form_header.html b/templates/webpages/oe/form_header.html
index 3d1b30729..497be459f 100644
--- a/templates/webpages/oe/form_header.html
+++ b/templates/webpages/oe/form_header.html
@@ -19,7 +19,6 @@
[%- END %]
-
@@ -38,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 %]
@@ -113,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 %]
@@ -237,7 +236,7 @@
[%- IF is_sales_ord %]
[% 'Insert Date' | $T8 %] |
- [% insertdate %] |
+ [% oe_obj.itime_as_date %] |
[%- END %]