Rechnungsentwürfe beim Laden Tagesdatum setzen
[kivitendo-erp.git] / bin / mozilla / is.pl
index 1b583a6..06cb187 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();
 }