mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 16:00:13 +00:00
Removed a group clause that broke the budget report.
This commit is contained in:
@@ -86,7 +86,7 @@ class ReportQuery implements ReportQueryInterface
|
|||||||
->whereNull('budget_transaction_journal.budget_id')->whereNull('transaction_journals.deleted_at')
|
->whereNull('budget_transaction_journal.budget_id')->whereNull('transaction_journals.deleted_at')
|
||||||
->whereNull('otherJournals.deleted_at')
|
->whereNull('otherJournals.deleted_at')
|
||||||
->where('transactions.account_id', $account->id)
|
->where('transactions.account_id', $account->id)
|
||||||
->whereNotNull('transaction_group_transaction_journal.transaction_group_id')->groupBy('transaction_journals.id')
|
->whereNotNull('transaction_group_transaction_journal.transaction_group_id')
|
||||||
->first(
|
->first(
|
||||||
[
|
[
|
||||||
DB::Raw('SUM(`transactions`.`amount`) as `amount`')
|
DB::Raw('SUM(`transactions`.`amount`) as `amount`')
|
||||||
|
Reference in New Issue
Block a user