Kontenabgleich - Anfangsdatum mit >= statt > filtern
authorG. Richardson <information@kivitendo-premium.de>
Fri, 14 Aug 2015 14:55:48 +0000 (16:55 +0200)
committerG. Richardson <information@kivitendo-premium.de>
Fri, 14 Aug 2015 14:57:56 +0000 (16:57 +0200)
Es sollen alle Bankbuchungen inklusive dem Anfangsdatum angezeigt
werden, nicht nach dem Anfangsdatum.

SL/Controller/Reconciliation.pm

index daf8f07..1236c44 100644 (file)
@@ -406,8 +406,8 @@ sub _filter_to_where {
   }
 
   if ( $self->{bank_account}->reconciliation_starting_date ) {
-    push @bt_where, (transdate => { gt => $self->{bank_account}->reconciliation_starting_date });
-    push @bb_where, (transdate => { gt => $self->{bank_account}->reconciliation_starting_date });
+    push @bt_where, (transdate => { ge => $self->{bank_account}->reconciliation_starting_date });
+    push @bb_where, (transdate => { ge => $self->{bank_account}->reconciliation_starting_date });
   }
 
   # don't try to reconcile opening and closing balance transactions