X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_header.html;h=497be459fe1f76b95452d7ea92af3717af6d2e7e;hb=b592435b709841b65441d5fef5c41e3ad2c91413;hp=773c0894ab7ec0806bab546de8f80506357f7178;hpb=3624b119556731da41e4ad395491ebb067f26565;p=kivitendo-erp.git
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 %]