monthly budget, monthly report, unified report calculation (#2684)
This commit is contained in:
30
src/Model/BudgetStatisticModelInterface.php
Normal file
30
src/Model/BudgetStatisticModelInterface.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace App\Model;
|
||||
|
||||
/**
|
||||
* @internal do not use in plugins, no BC promise given!
|
||||
*/
|
||||
interface BudgetStatisticModelInterface
|
||||
{
|
||||
public function isMonthlyBudget(): bool;
|
||||
|
||||
public function hasTimeBudget(): bool;
|
||||
|
||||
public function getTimeBudget(): int;
|
||||
|
||||
public function getTimeBudgetSpent(): int;
|
||||
|
||||
public function hasBudget(): bool;
|
||||
|
||||
public function getBudget(): float;
|
||||
|
||||
public function getBudgetSpent(): float;
|
||||
}
|
||||
Reference in New Issue
Block a user