X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/616e9f78d6740437a76278630fe0ded8078463ad..b8741ec3:/templates/webpages/order/form.html
diff --git a/templates/webpages/order/form.html b/templates/webpages/order/form.html
index 3d4bddff3..9f8c4c68e 100644
--- a/templates/webpages/order/form.html
+++ b/templates/webpages/order/form.html
@@ -26,6 +26,10 @@
[%- IF INSTANCE_CONF.get_webdav %]
[% 'WebDAV' | $T8 %]
[%- END %]
+[%- IF SELF.order.id AND INSTANCE_CONF.get_doc_storage %]
+ [% 'Documents' | $T8 %]
+ [% 'Attachments' | $T8 %]
+[%- END %]
[%- IF SELF.order.id %]
[% 'Linked Records' | $T8 %]
[%- END %]
@@ -49,5 +53,8 @@
[%- IF SELF.order.id && ( (SELF.cv == 'customer' && INSTANCE_CONF.get_sales_order_show_delete) || (SELF.cv == 'vendor' && INSTANCE_CONF.get_purchase_order_show_delete) ) %]
[% L.button_tag('kivi.Order.delete_order()', LxERP.t8('Delete'), confirm=LxERP.t8("Are you sure?")) %]
[%- END %]
+[%- IF SELF.order.id && INSTANCE_CONF.get_doc_storage %]
+ [% L.button_tag('kivi.File.downloadOrderitemsFiles(\'' _ SELF.order.type _'\',' _ SELF.order.id _')',LxERP.t8('Download all Attachments')) %]
+[%- END %]