]> wagnertech.de Git - mfinanz.git/blobdiff - js/kivi.File.js
Dateimanagement: Alle Dokumente/Anhänge von Artikeln eines Auftrags als ZIP
[mfinanz.git] / js / kivi.File.js
index 036cefee637373d437746ffad9d6247ea8f44099..68ef7ac526f2d6a04d165cc5e7ef6421f33958f5 100644 (file)
@@ -235,6 +235,18 @@ namespace('kivi.File', function(ns) {
     return true;
   }
 
+  ns.downloadOrderitemsFiles = function(type,id) {
+         var data = {
+      action:       'DownloadZip/download_orderitems_files',
+      object_type:  type,
+      object_id:    id,
+      element_type: 'part',
+      zipname:      'Order_Files_'+id,
+    };
+    $.download("controller.pl", data);
+    return false;
+  }
+
 
   ns.init = function() {
   }