Show bill average.

This commit is contained in:
James Cole
2016-07-05 08:57:45 +02:00
parent e8e7ab01d2
commit f1e8d1cf1e
5 changed files with 83 additions and 4 deletions

View File

@@ -32,6 +32,21 @@ interface BillRepositoryInterface
*/
public function destroy(Bill $bill): bool;
/**
* @param Bill $bill
* @param Carbon $date
*
* @return string
*/
public function getYearAverage(Bill $bill, Carbon $date): string;
/**
* @param $bill
*
* @return string
*/
public function getOverallAverage($bill): string;
/**
* Find a bill by ID.
*