mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Removed opening balance as possible expense for the balance thing. [skip ci]
This commit is contained in:
@@ -614,7 +614,7 @@ class BudgetRepository extends ComponentRepository implements BudgetRepositoryIn
|
|||||||
->before($end)
|
->before($end)
|
||||||
->groupBy('t_from.account_id')
|
->groupBy('t_from.account_id')
|
||||||
->groupBy('budget_transaction_journal.budget_id')
|
->groupBy('budget_transaction_journal.budget_id')
|
||||||
->transactionTypes([TransactionType::WITHDRAWAL, TransactionType::TRANSFER, TransactionType::OPENING_BALANCE])
|
->transactionTypes([TransactionType::WITHDRAWAL, TransactionType::TRANSFER]) // opening balance is not an expense.
|
||||||
->get(
|
->get(
|
||||||
[
|
[
|
||||||
't_from.account_id', 'budget_transaction_journal.budget_id',
|
't_from.account_id', 'budget_transaction_journal.budget_id',
|
||||||
|
|||||||
Reference in New Issue
Block a user