workflow controller

This commit is contained in:
Arno Kaimbacher 2019-02-12 12:21:35 +01:00
parent 6068889e68
commit 7c6654398d
18 changed files with 687 additions and 470 deletions

View file

@ -213,6 +213,12 @@ class Dataset extends Model
->server_date_published;
}
public function setServerState($targetType)
{
$this->attributes['server_state'] = $targetType;
//$this->server_state = $targetType;
}
public function hasProject()
{
return $this->project()->exists();