Merge pull request 'Fix: PayPal Auto-Regeln – mehrdeutiges id in JOIN-Query qualifiziert' (#98) from fds2610-bot/Steuerkram:feature/buchungsvorlagen into main
Reviewed-on: https://codeberg.org/fds2610/Steuerkram/pulls/98
This commit is contained in:
commit
f9f89b933f
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class PayPalNvpFetchService
|
|||
{
|
||||
// Regel 1: Authorization → ignoriert
|
||||
$auths = Database::fetchAll(
|
||||
"SELECT id FROM bank_transactions bt
|
||||
"SELECT bt.id FROM bank_transactions bt
|
||||
JOIN bank_import_batches bib ON bt.batch_id = bib.id
|
||||
WHERE bib.source_id = ? AND bt.vorgang = 'Authorization' AND bt.status = 'offen'",
|
||||
[$this->sourceId]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue