X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/19fb04d1cfad224a0f0c4c3b88494b4605fc6d4e..cfb460aac:/bin/mozilla/ar.pl diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index 1bfe969dc..3b94d818f 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -523,6 +523,12 @@ sub mark_as_paid { $main::lxdebug->leave_sub(); } +sub show_draft { + $::form->{transdate} = DateTime->today_local->to_kivitendo if !$::form->{transdate}; + $::form->{gldate} = $::form->{transdate} if !$::form->{gldate}; + update(); +} + sub update { $main::lxdebug->enter_sub();