Fix total savings to accurately reflect end of current period.

This commit is contained in:
James Cole 2015-04-09 19:10:24 +02:00
parent 9c8ba66873
commit 950c4045b0

View File

@ -63,7 +63,7 @@ class HomeController extends Controller
$savingsTotal = 0;
foreach ($savings as $savingAccount) {
$savingsTotal += Steam::balance($savingAccount);
$savingsTotal += Steam::balance($savingAccount, $end);
}
// check if all books are correct.