mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 17:31:09 -06:00
Fixed bug in account chart [skip ci]
This commit is contained in:
parent
2d77481ff5
commit
92cf059102
@ -88,7 +88,7 @@ class Account extends Ardent
|
|||||||
->leftJoin(
|
->leftJoin(
|
||||||
'transaction_journals', 'transaction_journals.id', '=', 'transactions.transaction_journal_id'
|
'transaction_journals', 'transaction_journals.id', '=', 'transactions.transaction_journal_id'
|
||||||
)
|
)
|
||||||
->where('transaction_journals.date', '<', $date->format('Y-m-d'))->sum('transactions.amount')
|
->where('transaction_journals.date', '<=', $date->format('Y-m-d'))->sum('transactions.amount')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user