]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/Order.pm
ActionBar: Border von ActionBar buttons nicht in common.css clobbern
[mfinanz.git] / SL / Controller / Order.pm
index bb34a46552178f51493b9f592f08b73402796ca8..12c689e1c795b701ab1fe744cc74c8334223b6f4 100644 (file)
@@ -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 => [