mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Ignore deleted transactions. [skip ci]
This commit is contained in:
parent
72ca1c20c7
commit
4b3c31a11a
@ -317,6 +317,7 @@ class AccountTasker implements AccountTaskerInterface
|
||||
->where('transaction_journals.date', '<=', $end->format('Y-m-d'))
|
||||
->where('transaction_journals.user_id', $this->user->id)
|
||||
->whereNull('transactions.deleted_at')
|
||||
->whereNull('other_side.deleted_at')
|
||||
->whereNull('transaction_journals.deleted_at')
|
||||
->whereIn('transactions.account_id', $accounts['accounts'])
|
||||
->where('other_side.amount', '=', DB::raw('transactions.amount * -1'))
|
||||
|
Loading…
Reference in New Issue
Block a user