]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/is.pl
Rechnungsentwürfe beim Laden Tagesdatum setzen
[mfinanz.git] / bin / mozilla / is.pl
index 1b583a6db9ad734e3fd8d1f94e7ea80fe7cc6109..06cb187d4f7f4738c2257d5a793fd9c5a157fe1f 100644 (file)
@@ -626,6 +626,9 @@ sub mark_as_paid {
 }
 
 sub show_draft {
+  # unless no lazy implementation of save draft without invdate
+  # set the current date like in version <= 3.4.1
+  $::form->{invdate}   = DateTime->today->to_lxoffice;
   update();
 }