Revision 12b522fa
Von Werner Hahn vor etwa 6 Jahren hinzugefügt
SL/Controller/CsvImport/BankTransaction.pm | ||
---|---|---|
74 | 74 |
# * transdate |
75 | 75 |
# * remote_account_number (may be empty for records of our own bank) |
76 | 76 |
# * amount |
77 |
# * local_bank_account_id (case flatrate bank charges for two accounts in one bank: same purpose, transdate, remote_account_number(empty), amount. Just different local_bank_account_id) |
|
77 | 78 |
my $num; |
78 |
if ( $num = SL::DB::Manager::BankTransaction->get_all_count(query =>[ remote_account_number => $object->remote_account_number, transdate => $object->transdate, purpose => $object->purpose, amount => $object->amount] ) ) { |
|
79 |
if ( $num = SL::DB::Manager::BankTransaction->get_all_count(query =>[ remote_account_number => $object->remote_account_number, transdate => $object->transdate, purpose => $object->purpose, amount => $object->amount, local_bank_account_id => $object->local_bank_account_id] ) ) {
|
|
79 | 80 |
push(@{$entry->{errors}}, $::locale->text('Skipping due to existing bank transaction in database')); |
80 | 81 |
}; |
81 | 82 |
} else { |
Auch abrufbar als: Unified diff
Kontoauszugsimport 2 Konten bei einer Bank. Bankgebührenbuchung wird als schon importiert makiert
Fix für #367