]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/gl.pl
Ueberarbeitete Buecherkontrolle
[mfinanz.git] / bin / mozilla / gl.pl
index 01d011441a102280392918c1c009e2598b0b3d44..f7dba9518fd97c509de4f8f1ac98b0499b0485cd 100644 (file)
@@ -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!'));
   }