Some code cleanup. Fixes the tests.

This commit is contained in:
James Cole
2016-04-25 18:43:09 +02:00
parent 53c80aaef8
commit eb5e55a272
32 changed files with 64 additions and 54 deletions

View File

@@ -95,8 +95,8 @@ class BalanceReportHelper implements BalanceReportHelperInterface
{
$line = new BalanceLine;
$line->setBudget($budget);
$line->setStartDate($budget->startdate); // returned by getBudgetsAndLimitsInRange
$line->setEndDate($budget->enddate); // returned by getBudgetsAndLimitsInRange
$line->setStartDate($budget->startdate); // returned by getBudgetsAndLimitsInRange()
$line->setEndDate($budget->enddate); // returned by getBudgetsAndLimitsInRange()
// loop accounts:
foreach ($accounts as $account) {