do not allow to stop already stopped timesheets (#289)

This commit is contained in:
Kevin Papst
2018-09-01 13:00:30 +02:00
committed by GitHub
parent b1546c0568
commit 62f91f4d38
15 changed files with 294 additions and 68 deletions

View File

@@ -11,8 +11,8 @@ namespace App\Model;
class DashboardSection
{
const TYPE_SIMPLE = 'simple';
const TYPE_CHART = 'chart';
public const TYPE_SIMPLE = 'simple';
public const TYPE_CHART = 'chart';
/**
* @var null|string
@@ -54,6 +54,7 @@ class DashboardSection
public function setType(string $type)
{
$this->type = $type;
return $this;
}