]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ar.pl
Kosmetik: Alignment
[mfinanz.git] / bin / mozilla / ar.pl
index f5ea6c429a62aa61a6e43b3bb5b9866b94759b46..e1b10f63c0b5270e1a3b6444f8121f5446758f5a 100644 (file)
@@ -669,6 +669,9 @@ sub post {
 
   my $closedto  = $form->datetonum($form->{closedto},  \%myconfig);
   my $transdate = $form->datetonum($form->{transdate}, \%myconfig);
+
+  $form->error($locale->text('Cannot post transaction above the maximum future booking date!'))
+    if ($form->date_max_future($transdate, \%myconfig));
   $form->error($locale->text('Cannot post transaction for a closed period!')) if ($form->date_closed($form->{"transdate"}, \%myconfig));
 
   $form->error($locale->text('Zero amount posting!'))