Fonts, Travel Program

This commit is contained in:
Kevin Adametz 2023-01-25 12:47:23 +01:00
parent 93d1bea8e3
commit 561c5875a7
173 changed files with 12359 additions and 1070 deletions

View file

@ -58,4 +58,10 @@ class TravelProgramDraft extends Model
{
return $this->belongsTo(Draft::class, 'draft_id', 'id');
}
public function getWeekdaysOrAll()
{
return ($this->weekdays !== NULL && $this->weekdays[0] !== null) ? $this->weekdays : [0 => "0", 1 => "1", 2 => "2", 3 => "3", 4 => "4", 5 => "5", 6 => "6"];
}
}