Wiederkerende Rechnungen: Konfiguration für automatischen Versand via E-Mail
[kivitendo-erp.git] / js / edit_periodic_invoices_config.js
1 function edit_periodic_invoices_config() {
2   var width     = 800;
3   var height    = 650;
4   var parm      = centerParms(width, height) + ",width=" + width + ",height=" + height + ",status=yes,scrollbars=yes";
5
6   var config    = $('#periodic_invoices_config').val();
7   var cus_id    = $('[name=customer_id]').val();
8   var transdate = $('#transdate').val();
9
10   var url       = "oe.pl?" +
11     "action=edit_periodic_invoices_config&" +
12     "customer_id="              + encodeURIComponent(cus_id) + "&" +
13     "periodic_invoices_config=" + encodeURIComponent(config) + "&" +
14     "transdate="                + encodeURIComponent(transdate || '');
15
16   // alert(url);
17   window.open(url, "_new_generic", parm);
18 }