Revision 5d2c7ae2
Von Jan Büren vor mehr als 8 Jahren hinzugefügt
SL/Controller/BankTransaction.pm | ||
---|---|---|
79 | 79 |
push @where, (transdate => { lt => $todate }) if ($todate); |
80 | 80 |
my $bank_account = SL::DB::Manager::BankAccount->find_by( id => $::form->{filter}{bank_account} ); |
81 | 81 |
# bank_transactions no younger than starting date, |
82 |
# including starting date (same search behaviour as fromdate) |
|
82 | 83 |
# but OPEN invoices to be matched may be from before |
83 | 84 |
if ( $bank_account->reconciliation_starting_date ) { |
84 |
push @where, (transdate => { gt => $bank_account->reconciliation_starting_date });
|
|
85 |
push @where, (transdate => { ge => $bank_account->reconciliation_starting_date });
|
|
85 | 86 |
}; |
86 | 87 |
|
87 | 88 |
my $bank_transactions = SL::DB::Manager::BankTransaction->get_all(where => [ amount => {ne => \'invoice_amount'}, |
Auch abrufbar als: Unified diff
Kontoauszug verbuchen, Startdatum der Verbuchung greater/equal
Wie bei fromdate und auch sonst überall im Programm, entsprechend
das Startdatum der Kontoverbuchung noch als gültigen Wert mitnehmen.