Some new report data. Also, the report page now uses in excess of 3000 queries. Lol

This commit is contained in:
James Cole
2014-12-06 09:16:54 +01:00
parent 1997666196
commit f4ecf2d1aa
6 changed files with 301 additions and 22 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace FireflyIII\Database\Ifaces;
use Carbon\Carbon;
interface ReportInterface
{
/**
* @param \Account $account
* @param Carbon $month
*
* @return float
*/
public function getExpenseByMonth(\Account $account, Carbon $month);
/**
* @param \Account $account
* @param Carbon $month
*
* @return float
*/
public function getIncomeByMonth(\Account $account, Carbon $month);
}