Optimised budget year chart.

This commit is contained in:
James Cole
2015-12-28 17:57:03 +01:00
parent ad3defb071
commit 83de3482ce
3 changed files with 81 additions and 16 deletions

View File

@@ -27,6 +27,17 @@ interface BudgetRepositoryInterface
*/
public function destroy(Budget $budget);
/**
* Returns an array with every budget in it and the expenses for each budget
* per month.
*
* @param Carbon $start
* @param Carbon $end
*
* @return array
*/
public function getBudgetsAndExpenses(Carbon $start, Carbon $end);
/**
* Takes tags into account.
*