]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/is.pl
Implementiert Ticket 1897 Zukunftsbuchungen vermeiden
[mfinanz.git] / bin / mozilla / is.pl
index cbddde60d85ed8b36233c465ef097a474ee34c4b..220c993aaf069c9a3272dc7e409dbb5c45c4f99f 100644 (file)
@@ -716,6 +716,8 @@ sub post {
   my $closedto = $form->datetonum($form->{closedto}, \%myconfig);
   my $invdate  = $form->datetonum($form->{invdate},  \%myconfig);
 
+  $form->error($locale->text('Cannot post transaction above the maximum future booking date!'))
+    if ($form->date_max_future($invdate, \%myconfig));
   $form->error($locale->text('Cannot post invoice for a closed period!'))
     if ($invdate <= $closedto);