]> wagnertech.de Git - mfinanz.git/blobdiff - SL/CA.pm
Wenn ein Enddatum angegeben wird, dann muss das auch berücksichtigt werden. Fix für...
[mfinanz.git] / SL / CA.pm
index 4453a9fd6b9568ff5acec224eb6b3116f8c4bd8d..28ffc2e73df9fa3506ee019cc59f3b2aa66b1a97 100644 (file)
--- a/SL/CA.pm
+++ b/SL/CA.pm
@@ -141,6 +141,7 @@ sub all_transactions {
   if ($form->{todate}) {
     $fromto   .= " AND ac.transdate <= '$form->{todate}'";
     $subwhere .= " AND transdate <= '$form->{todate}'";
+    $glwhere .= " AND ac.transdate <= '$form->{todate}'";
   }
 
   if ($form->{eur}) {