New budget table for multi year report.

Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
James Cole
2016-11-02 04:55:44 +01:00
parent 33c0c1bea6
commit 124ecb1372
4 changed files with 170 additions and 6 deletions

View File

@@ -28,6 +28,16 @@ use Illuminate\Support\Collection;
interface ReportHelperInterface
{
/**
* @param Carbon $start
* @param Carbon $end
* @param Collection $accounts
*
* @return array
*/
public function getBudgetMultiYear(Carbon $start, Carbon $end, Collection $accounts): array;
/**
* This method generates a full report for the given period on all
* the users bills and their payments.
@@ -80,6 +90,14 @@ interface ReportHelperInterface
*/
public function listOfMonths(Carbon $date): array;
/**
* @param Carbon $start
* @param Carbon $end
*
* @return array
*/
public function listOfYears(Carbon $start, Carbon $end): array;
/**
* Returns an array of tags and their comparitive size with amounts bla bla.
*