mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-19 09:41:22 +00:00
Fix total savings to accurately reflect end of current period.
This commit is contained in:
@@ -63,7 +63,7 @@ class HomeController extends Controller
|
|||||||
|
|
||||||
$savingsTotal = 0;
|
$savingsTotal = 0;
|
||||||
foreach ($savings as $savingAccount) {
|
foreach ($savings as $savingAccount) {
|
||||||
$savingsTotal += Steam::balance($savingAccount);
|
$savingsTotal += Steam::balance($savingAccount, $end);
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if all books are correct.
|
// check if all books are correct.
|
||||||
|
|||||||
Reference in New Issue
Block a user