mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-09 06:07:49 +00:00
Some new report data. Also, the report page now uses in excess of 3000 queries. Lol
This commit is contained in:
27
app/lib/FireflyIII/Database/Ifaces/ReportInterface.php
Normal file
27
app/lib/FireflyIII/Database/Ifaces/ReportInterface.php
Normal 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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user