Wiederkerende Rechnungen: Konfiguration für automatischen Versand via E-Mail
[kivitendo-erp.git] / js / edit_periodic_invoices_config.js
index b969e1d..775f584 100644 (file)
@@ -1,13 +1,15 @@
 function edit_periodic_invoices_config() {
-  var width     = 750;
-  var height    = 550;
+  var width     = 800;
+  var height    = 650;
   var parm      = centerParms(width, height) + ",width=" + width + ",height=" + height + ",status=yes,scrollbars=yes";
 
   var config    = $('#periodic_invoices_config').val();
+  var cus_id    = $('[name=customer_id]').val();
   var transdate = $('#transdate').val();
 
   var url       = "oe.pl?" +
     "action=edit_periodic_invoices_config&" +
+    "customer_id="              + encodeURIComponent(cus_id) + "&" +
     "periodic_invoices_config=" + encodeURIComponent(config) + "&" +
     "transdate="                + encodeURIComponent(transdate || '');