X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7d020076fcfe27c34c9a68e97df7d969f33c08e2..b581288faa3ae062cef17a50f7d9ad8b2da9822f:/SL/Controller/Order.pm diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index bb34a4655..12c689e1c 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -1134,6 +1134,12 @@ sub _setup_edit_action_bar { t8('E-mail'), call => [ 'kivi.Order.email' ], ], + action => [ + t8('Download attachments of all parts'), + call => [ 'kivi.File.downloadOrderitemsFiles', $::form->{type}, $::form->{id} ], + disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef, + only_if => $::instance_conf->get_doc_storage, + ], ], # end of combobox "Export" action => [