Wiederkehrende Rechnung: Auftragsdatum wieder richtig in Startdatum kopieren
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 16 Oct 2013 10:43:10 +0000 (12:43 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 3 Apr 2014 12:18:06 +0000 (14:18 +0200)
js/edit_periodic_invoices_config.js
templates/webpages/oe/form_header.html

index 9392eb1..44ebd19 100644 (file)
@@ -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);
index 5d4afdc..c68d6c9 100644 (file)
                      [%- END %]
                     </th>
                     <td nowrap>
-                      [% L.date_tag('transdate', transdate) %]
+                      [% L.date_tag('transdate', transdate, id='transdate') %]
                     </td>
                   </tr>
                   <tr>
                      [%- END %]
                     </th>
                     <td nowrap>
-                      [% L.date_tag('reqdate', reqdate) %]
+                      [% L.date_tag('reqdate', reqdate, id='reqdate') %]
                     </td>
                   </tr>
                   <tr>