]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Auch noch Buecherkontrolle
authorPhilip Reetz <p.reetz@linet-services.de>
Wed, 19 Mar 2008 17:58:50 +0000 (17:58 +0000)
committerPhilip Reetz <p.reetz@linet-services.de>
Wed, 19 Mar 2008 17:58:50 +0000 (17:58 +0000)
bin/mozilla/cp.pl

index 553c8383f717ca521e2eabdfb09b672ec652bec6..d341ffdfc89855cc80c9f3f9e5b8622b32fad9b8 100644 (file)
@@ -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;