From: Philip Reetz 
Date: Wed, 19 Mar 2008 17:58:50 +0000 (+0000)
Subject: Auch noch Buecherkontrolle
X-Git-Tag: release-2.6.0beta1~183
X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/57eb13371bb3387afbef6ffa4cb71dd9d9f9e33e?hp=9e06d0e40cb328336d6e7604ec06387a0e3b1ea7
Auch noch Buecherkontrolle
---
diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl
index 553c8383f..d341ffdfc 100644
--- a/bin/mozilla/cp.pl
+++ b/bin/mozilla/cp.pl
@@ -779,7 +779,7 @@ sub check_form {
   $datepaid = $form->datetonum($form->{datepaid}, \%myconfig);
 
   $form->error($locale->text('Cannot process payment for a closed period!'))
-    if ($datepaid <= $closedto);
+    if ($form->date_closed($form->{"datepaid"}, \%myconfig));
 
   $amount = $form->parse_amount(\%myconfig, $form->{amount});
   $form->{amount} = $amount;