First attempt at account specific bill report.

This commit is contained in:
James Cole
2015-12-12 10:33:19 +01:00
parent afdae8bc1e
commit 9284eb3fe9
5 changed files with 115 additions and 3 deletions

View File

@@ -55,6 +55,20 @@ interface ReportHelperInterface
*/
public function getBillReport(Carbon $start, Carbon $end);
/**
* This method generates a full report for the given period on all
* the users bills and their payments.
*
* Excludes bills which have not had a payment on the mentioned accounts.
*
* @param Carbon $start
* @param Carbon $end
* @param Collection $accounts
*
* @return BillCollection
*/
public function getBillReportForList(Carbon $start, Carbon $end, Collection $accounts);
/**
* @param Carbon $start
* @param Carbon $end
@@ -65,8 +79,8 @@ interface ReportHelperInterface
public function getBalanceReport(Carbon $start, Carbon $end, $shared);
/**
* @param Carbon $start
* @param Carbon $end
* @param Carbon $start
* @param Carbon $end
* @param Collection $accounts
*
* @return Balance