Improve report sums.

This commit is contained in:
James Cole
2017-04-17 08:31:42 +02:00
parent e48eb2ce2f
commit 7867f26120
4 changed files with 186 additions and 156 deletions

View File

@@ -33,6 +33,24 @@ interface AccountTaskerInterface
*/
public function getAccountReport(Collection $accounts, Carbon $start, Carbon $end): array;
/**
* @param Carbon $start
* @param Carbon $end
* @param Collection $accounts
*
* @return array
*/
public function getExpenseReport(Carbon $start, Carbon $end, Collection $accounts): array;
/**
* @param Carbon $start
* @param Carbon $end
* @param Collection $accounts
*
* @return array
*/
public function getIncomeReport(Carbon $start, Carbon $end, Collection $accounts): array;
/**
* @param User $user
*/