First attempt at including a budget report.

This commit is contained in:
James Cole
2015-12-11 17:53:17 +01:00
parent 7480dc4a19
commit a785c450b1
6 changed files with 160 additions and 11 deletions

View File

@@ -315,6 +315,19 @@ class BudgetRepository extends ComponentRepository implements BudgetRepositoryIn
return bcmul($noBudgetSet, -1);
}
/**
* @param Budget $budget
* @param Carbon $start
* @param Carbon $end
* @param Collection $accounts
*
* @return string
*/
public function balanceInPeriodForList(Budget $budget, Carbon $start, Carbon $end, Collection $accounts)
{
return $this->commonBalanceInPeriodForList($budget, $start, $end, $accounts);
}
/**
* @param Budget $budget
* @param Carbon $start