From 57eb13371bb3387afbef6ffa4cb71dd9d9f9e33e Mon Sep 17 00:00:00 2001 From: Philip Reetz Date: Wed, 19 Mar 2008 17:58:50 +0000 Subject: [PATCH] Auch noch Buecherkontrolle --- bin/mozilla/cp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1