From: Moritz Bunkus Date: Wed, 16 Oct 2013 10:43:10 +0000 (+0200) Subject: Wiederkehrende Rechnung: Auftragsdatum wieder richtig in Startdatum kopieren X-Git-Tag: release-3.2.0beta~476^2~9 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8a5aa33968209bf17536acf835c6574e292ba731;p=kivitendo-erp.git Wiederkehrende Rechnung: Auftragsdatum wieder richtig in Startdatum kopieren --- diff --git a/js/edit_periodic_invoices_config.js b/js/edit_periodic_invoices_config.js index 9392eb146..44ebd1916 100644 --- a/js/edit_periodic_invoices_config.js +++ b/js/edit_periodic_invoices_config.js @@ -9,7 +9,7 @@ function edit_periodic_invoices_config() { var url = "oe.pl?" + "action=edit_periodic_invoices_config&" + "periodic_invoices_config=" + encodeURIComponent(config) + "&" + - "transdate=" + encodeURIComponent(transdate); + "transdate=" + encodeURIComponent(transdate || ''); // alert(url); window.open(url, "_new_generic", parm); diff --git a/templates/webpages/oe/form_header.html b/templates/webpages/oe/form_header.html index 5d4afdcac..c68d6c965 100644 --- a/templates/webpages/oe/form_header.html +++ b/templates/webpages/oe/form_header.html @@ -216,7 +216,7 @@ [%- END %] - [% L.date_tag('transdate', transdate) %] + [% L.date_tag('transdate', transdate, id='transdate') %] @@ -228,7 +228,7 @@ [%- END %] - [% L.date_tag('reqdate', reqdate) %] + [% L.date_tag('reqdate', reqdate, id='reqdate') %]