monthly budget, monthly report, unified report calculation (#2684)

This commit is contained in:
Kevin Papst
2021-08-06 18:38:41 +02:00
committed by GitHub
parent 21f785638c
commit cefd747e91
196 changed files with 5031 additions and 2167 deletions

View File

@@ -9,7 +9,9 @@
namespace App\Model;
class CustomerStatistic extends TimesheetCountedStatistic
use App\Model\Statistic\BudgetStatistic;
class CustomerStatistic extends BudgetStatistic
{
/**
* @var int
@@ -20,11 +22,20 @@ class CustomerStatistic extends TimesheetCountedStatistic
*/
private $projectAmount = 0;
/**
* @deprecated since 1.15 - will be removed with 2.0
* @return int
*/
public function getActivityAmount(): int
{
return $this->activityAmount;
}
/**
* @deprecated since 1.15 - will be removed with 2.0
* @param int $activityAmount
* @return $this
*/
public function setActivityAmount(int $activityAmount): CustomerStatistic
{
$this->activityAmount = $activityAmount;
@@ -32,11 +43,20 @@ class CustomerStatistic extends TimesheetCountedStatistic
return $this;
}
/**
* @deprecated since 1.15 - will be removed with 2.0
* @return int
*/
public function getProjectAmount(): int
{
return $this->projectAmount;
}
/**
* @deprecated since 1.15 - will be removed with 2.0
* @param int $projectAmount
* @return $this
*/
public function setProjectAmount(int $projectAmount): CustomerStatistic
{
$this->projectAmount = $projectAmount;