This commit is contained in:
Adrian Hopek
2022-04-04 14:23:51 +02:00
parent 1ae23bd7cb
commit edbe5bb961
6 changed files with 84 additions and 5 deletions

View File

@@ -91,11 +91,6 @@ class VacationRequest extends Model
->where("to", ">=", $vacationRequest->from);
}
public function getNameAttribute(): string
{
return "{$this->id}/{$this->yearPeriod->year}";
}
public function hasFlowSkipped(): bool
{
return $this->flow_skipped;