X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1d089d50f0f504b227dabbae611d9f028cc47656..9e06d0e40cb328336d6e7604ec06387a0e3b1ea7:/bin/mozilla/gl.pl diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index 01d011441..f7dba9518 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -1457,7 +1457,7 @@ sub post_transaction { # this is just for the wise guys $form->error($locale->text('Cannot post transaction for a closed period!')) - if ($transdate <= $closedto); + if ($form->date_closed($form->{"transdate"}, \%myconfig)); if ($form->round_amount($debit, 2) != $form->round_amount($credit, 2)) { $form->error($locale->text('Out of balance transaction!')); }