mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 10:53:37 +00:00
Fix #10507
This commit is contained in:
@@ -1094,6 +1094,10 @@ class GroupCollector implements GroupCollectorInterface
|
|||||||
->whereNull('transaction_groups.deleted_at')
|
->whereNull('transaction_groups.deleted_at')
|
||||||
->whereNull('transaction_journals.deleted_at')
|
->whereNull('transaction_journals.deleted_at')
|
||||||
->whereNull('source.deleted_at')
|
->whereNull('source.deleted_at')
|
||||||
|
|
||||||
|
// #10507 ignore opening balance.
|
||||||
|
->where('transaction_types.type', '!=', TransactionTypeEnum::OPENING_BALANCE->value)
|
||||||
|
|
||||||
->whereNotNull('transaction_groups.id')
|
->whereNotNull('transaction_groups.id')
|
||||||
->whereNull('destination.deleted_at')
|
->whereNull('destination.deleted_at')
|
||||||
->orderBy('transaction_journals.date', 'DESC')
|
->orderBy('transaction_journals.date', 'DESC')
|
||||||
|
Reference in New Issue
Block a user