X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_header.html;h=497be459fe1f76b95452d7ea92af3717af6d2e7e;hb=b592435b709841b65441d5fef5c41e3ad2c91413;hp=644879c1b7f151a15b24756056a0d033189ff8c7;hpb=6e6038682b1a2b6e6bc74f1eee40eba21afcb7e9;p=kivitendo-erp.git
diff --git a/templates/webpages/oe/form_header.html b/templates/webpages/oe/form_header.html
index 644879c1b..497be459f 100644
--- a/templates/webpages/oe/form_header.html
+++ b/templates/webpages/oe/form_header.html
@@ -24,6 +24,7 @@
+
[% title %]
@@ -36,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 %]
@@ -111,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 %]
@@ -232,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 %] |
|