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/git?a=commitdiff_plain;h=57eb13371bb3387afbef6ffa4cb71dd9d9f9e33e;p=kivitendo-erp.git
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;