From 8a5aa33968209bf17536acf835c6574e292ba731 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 16 Oct 2013 12:43:10 +0200 Subject: [PATCH] Wiederkehrende Rechnung: Auftragsdatum wieder richtig in Startdatum kopieren --- js/edit_periodic_invoices_config.js | 2 +- templates/webpages/oe/form_header.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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') %] -- 2.20.1